/external/llvm/include/llvm/Support/ |
CallSite.h | 111 ValTy *getArgument(unsigned ArgNo) const { 112 assert(arg_begin() + ArgNo < arg_end() && "Argument # out of range!"); 113 return *(arg_begin() + ArgNo); 116 void setArgument(unsigned ArgNo, Value* newVal) { 118 assert(arg_begin() + ArgNo < arg_end() && "Argument # out of range!"); 119 getInstruction()->setOperand(ArgNo, newVal); 251 bool doesNotCapture(unsigned ArgNo) const { 252 return paramHasAttr(ArgNo + 1, Attribute::NoCapture); 256 bool isByValArgument(unsigned ArgNo) const { 257 return paramHasAttr(ArgNo + 1, Attribute::ByVal) [all...] |
/external/llvm/lib/ExecutionEngine/Interpreter/ |
ExternalFunctions.cpp | 200 const unsigned ArgNo = A->getArgNo(); 201 Type *ArgTy = FTy->getParamType(ArgNo); 202 args[ArgNo] = ffiTypeFor(ArgTy); 212 const unsigned ArgNo = A->getArgNo(); 213 Type *ArgTy = FTy->getParamType(ArgNo); 214 values[ArgNo] = ffiValueFor(ArgTy, ArgVals[ArgNo], ArgDataPtr); 336 unsigned ArgNo = 2; 372 sprintf(Buffer, FmtBuf, uint32_t(Args[ArgNo++].IntVal.getZExtValue())); 388 sprintf(Buffer, FmtBuf, Args[ArgNo++].IntVal.getZExtValue()) [all...] |
/external/clang/lib/Lex/ |
MacroArgs.cpp | 297 const Token &MacroArgs::getStringifiedArgument(unsigned ArgNo, 301 assert(ArgNo < NumUnexpArgTokens && "Invalid argument number!"); 307 if (StringifiedArgs[ArgNo].isNot(tok::string_literal)) 308 StringifiedArgs[ArgNo] = StringifyArgument(getUnexpArgument(ArgNo), PP, 312 return StringifiedArgs[ArgNo];
|
TokenLexer.cpp | 193 int ArgNo = Macro->getArgumentNum(Tokens[i+1].getIdentifierInfo()); 194 assert(ArgNo != -1 && "Token following # is not an argument?"); 203 Res = ActualArgs->getStringifiedArgument(ArgNo, PP, 208 Res = MacroArgs::StringifyArgument(ActualArgs->getUnexpArgument(ArgNo), 229 int ArgNo = II ? Macro->getArgumentNum(II) : -1; 230 if (ArgNo == -1) { 258 Macro, ArgNo, PP)) 269 const Token *ArgTok = ActualArgs->getUnexpArgument(ArgNo); 271 ResultArgToks = &ActualArgs->getPreExpArgument(ArgNo, Macro, PP)[0]; 320 const Token *ArgToks = ActualArgs->getUnexpArgument(ArgNo); [all...] |
/external/clang/include/clang/Lex/ |
MacroArgs.h | 91 const Token &getStringifiedArgument(unsigned ArgNo, Preprocessor &PP,
|
/external/llvm/lib/Analysis/ |
AliasAnalysis.cpp | 435 unsigned ArgNo = 0; 438 CI != CE; ++CI, ++ArgNo) { 443 (!CS.doesNotCapture(ArgNo) && !CS.isByValArgument(ArgNo))) 453 if (CS.doesNotAccessMemory(ArgNo)) 455 if (CS.onlyReadsMemory(ArgNo)) {
|
BasicAliasAnalysis.cpp | 716 unsigned ArgNo = 0; 718 CI != CE; ++CI, ++ArgNo) { 723 (!CS.doesNotCapture(ArgNo) && !CS.isByValArgument(ArgNo))) [all...] |
/external/clang/lib/Basic/ |
Diagnostic.cpp | 723 unsigned ArgNo = *DiagStr++ - '0'; 726 unsigned ArgNo2 = ArgNo; 728 DiagnosticsEngine::ArgumentKind Kind = getArgKind(ArgNo); 747 const char ArgStr1[] = { '%', static_cast<char>('0' + ArgNo) }; 761 const std::string &S = getArgStdStr(ArgNo); 767 const char *S = getArgCStr(ArgNo); 779 int Val = getArgSInt(ArgNo); 798 unsigned Val = getArgUInt(ArgNo); 817 const IdentifierInfo *II = getArgIdentifier(ArgNo); 835 getDiags()->ConvertArgToString(Kind, getRawArg(ArgNo), [all...] |
/external/llvm/utils/TableGen/ |
CodeGenTarget.cpp | 553 unsigned ArgNo = Property->getValueAsInt("ArgNo"); 554 ArgumentAttributes.push_back(std::make_pair(ArgNo, NoCapture)); 556 unsigned ArgNo = Property->getValueAsInt("ArgNo"); 557 ArgumentAttributes.push_back(std::make_pair(ArgNo, ReadOnly)); 559 unsigned ArgNo = Property->getValueAsInt("ArgNo"); 560 ArgumentAttributes.push_back(std::make_pair(ArgNo, ReadNone));
|
IntrinsicEmitter.cpp | 326 unsigned ArgNo = ArgCodes.size(); 329 // Encode what sort of argument it must be in the low 2 bits of the ArgNo. 330 return Sig.push_back((ArgNo << 2) | Tmp); 591 unsigned argNo = intrinsic.ArgumentAttributes[ai].first; 609 } while (ai != ae && intrinsic.ArgumentAttributes[ai].first == argNo); 612 << argNo+1 << ", AttrVec);\n";
|
/external/llvm/lib/Transforms/IPO/ |
DeadArgumentElimination.cpp | 385 unsigned ArgNo = UnusedArgs[I]; 387 Value *Arg = CS.getArgument(ArgNo); 388 CS.setArgument(ArgNo, UndefValue::get(Arg->getType())); 473 unsigned ArgNo = CS.getArgumentNo(U); 475 if (ArgNo >= F->getFunctionType()->getNumParams()) 479 assert(CS.getArgument(ArgNo) 485 RetOrArg Use = CreateArg(F, ArgNo); [all...] |
ArgumentPromotion.cpp | 220 unsigned ArgNo = Arg->getArgNo(); 229 if (!CS.getArgument(ArgNo)->isDereferenceablePointer()) [all...] |
/external/llvm/lib/Transforms/Scalar/ |
MemCpyOptimizer.cpp | 338 bool processByValArgument(CallSite CS, unsigned ArgNo); [all...] |
TailRecursionElimination.cpp | 313 unsigned ArgNo = 0; 316 ++ArgNo; 321 if (CI->getArgOperand(ArgNo) == Arg)
|
CodeGenPrepare.cpp | [all...] |
/external/clang/lib/CodeGen/ |
CGDebugInfo.h | 255 unsigned ArgNo, CGBuilderTy &Builder); 296 unsigned ArgNo, CGBuilderTy &Builder);
|
CGCall.cpp | [all...] |
CGDebugInfo.cpp | [all...] |
CGDecl.cpp | [all...] |
/external/llvm/include/llvm/ |
DIBuilder.h | 498 /// @param ArgNo If this variable is an arugment then this argument's 505 unsigned ArgNo = 0); 518 /// @param ArgNo If this variable is an arugment then this argument's 523 unsigned ArgNo = 0); [all...] |
/external/llvm/lib/Transforms/Utils/ |
InlineFunction.cpp | 587 unsigned ArgNo = 0; 589 E = CalledFunc->arg_end(); I != E; ++I, ++AI, ++ArgNo) { 596 if (CS.isByValArgument(ArgNo)) { 598 CalledFunc->getParamAlignment(ArgNo+1)); [all...] |
/external/llvm/lib/Transforms/InstCombine/ |
InstCombineLoadStoreAlloca.cpp | 87 unsigned ArgNo = CS.getArgumentNo(UI); 89 (CS.getInstruction()->use_empty() || CS.doesNotCapture(ArgNo))) 94 if (CS.isByValArgument(ArgNo))
|
/external/llvm/lib/IR/ |
DIBuilder.cpp | [all...] |
/external/llvm/lib/Target/PowerPC/ |
PPCISelLowering.cpp | [all...] |
/external/llvm/lib/CodeGen/AsmPrinter/ |
DwarfDebug.cpp | [all...] |