/external/clang/lib/Lex/ |
H A D | MacroArgs.cpp | 297 const Token &MacroArgs::getStringifiedArgument(unsigned ArgNo, argument 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];
|
H A D | TokenLexer.cpp | 189 int ArgNo = Macro->getArgumentNum(Tokens[i+1].getIdentifierInfo()); local 190 assert(ArgNo != -1 && "Token following # is not an argument?"); 199 Res = ActualArgs->getStringifiedArgument(ArgNo, PP, 204 Res = MacroArgs::StringifyArgument(ActualArgs->getUnexpArgument(ArgNo), 233 int ArgNo = II ? Macro->getArgumentNum(II) : -1; local 234 if (ArgNo == -1) { 258 Macro, ArgNo, PP)) 269 const Token *ArgTok = ActualArgs->getUnexpArgument(ArgNo); 271 ResultArgToks = &ActualArgs->getPreExpArgument(ArgNo, Macro, PP)[0]; 315 const Token *ArgToks = ActualArgs->getUnexpArgument(ArgNo); [all...] |
/external/llvm/lib/Transforms/Scalar/ |
H A D | CorrelatedValuePropagation.cpp | 311 unsigned ArgNo = 0; local 316 if (Type && !CS.paramHasAttr(ArgNo + 1, Attribute::NonNull) && 320 Indices.push_back(ArgNo + 1); 321 ArgNo++; 324 assert(ArgNo == CS.arg_size() && "sanity check");
|
H A D | TailRecursionElimination.cpp | 489 unsigned ArgNo = 0; local 492 ++ArgNo; 497 if (CI->getArgOperand(ArgNo) == Arg)
|
H A D | MemCpyOptimizer.cpp | 344 bool processByValArgument(CallSite CS, unsigned ArgNo); 1070 bool MemCpyOpt::processByValArgument(CallSite CS, unsigned ArgNo) { argument 1073 Value *ByValArg = CS.getArgument(ArgNo); 1097 unsigned ByValAlign = CS.getParamAlignment(ArgNo+1); 1136 CS.setArgument(ArgNo, TmpCast);
|
/external/llvm/bindings/go/llvm/ |
H A D | DIBuilderBindings.cpp | 99 unsigned ArgNo, LLVMMetadataRef File, unsigned Line, LLVMMetadataRef Ty, 103 unwrap<DIScope>(Scope), Name, ArgNo, unwrap<DIFile>(File), Line, 97 LLVMDIBuilderCreateParameterVariable( LLVMDIBuilderRef Dref, LLVMMetadataRef Scope, const char *Name, unsigned ArgNo, LLVMMetadataRef File, unsigned Line, LLVMMetadataRef Ty, int AlwaysPreserve, unsigned Flags) argument
|
/external/llvm/lib/Analysis/ |
H A D | AliasAnalysis.cpp | 333 unsigned ArgNo = 0; local 336 CI != CE; ++CI, ++ArgNo) { 341 (!CS.doesNotCapture(ArgNo) && !CS.isByValArgument(ArgNo))) 350 if (CS.doesNotAccessMemory(ArgNo)) 352 if (CS.onlyReadsMemory(ArgNo)) {
|
H A D | InlineCost.cpp | 518 unsigned ArgNo = A->getArgNo(); local 519 return CandidateCS.paramHasAttr(ArgNo+1, Attr);
|
H A D | BasicAliasAnalysis.cpp | 705 unsigned ArgNo = 0; local 707 CI != CE; ++CI, ++ArgNo) { 712 (!CS.doesNotCapture(ArgNo) && !CS.isByValArgument(ArgNo)))
|
/external/llvm/lib/ExecutionEngine/Interpreter/ |
H A D | ExternalFunctions.cpp | 198 const unsigned ArgNo = A->getArgNo(); local 199 Type *ArgTy = FTy->getParamType(ArgNo); 200 args[ArgNo] = ffiTypeFor(ArgTy); 210 const unsigned ArgNo = A->getArgNo(); local 211 Type *ArgTy = FTy->getParamType(ArgNo); 212 values[ArgNo] = ffiValueFor(ArgTy, ArgVals[ArgNo], ArgDataPtr); 328 unsigned ArgNo = 2; local 364 sprintf(Buffer, FmtBuf, uint32_t(Args[ArgNo++].IntVal.getZExtValue())); 380 sprintf(Buffer, FmtBuf, Args[ArgNo [all...] |
/external/llvm/utils/TableGen/ |
H A D | CodeGenTarget.cpp | 593 unsigned ArgNo = Property->getValueAsInt("ArgNo"); local 594 ArgumentAttributes.push_back(std::make_pair(ArgNo, NoCapture)); 596 unsigned ArgNo = Property->getValueAsInt("ArgNo"); local 597 ArgumentAttributes.push_back(std::make_pair(ArgNo, ReadOnly)); 599 unsigned ArgNo = Property->getValueAsInt("ArgNo"); local 600 ArgumentAttributes.push_back(std::make_pair(ArgNo, ReadNone));
|
H A D | IntrinsicEmitter.cpp | 343 unsigned ArgNo = ArgCodes.size(); local 346 // Encode what sort of argument it must be in the low 3 bits of the ArgNo. 347 return Sig.push_back((ArgNo << 3) | Tmp);
|
/external/llvm/lib/Transforms/IPO/ |
H A D | ArgumentPromotion.cpp | 264 unsigned ArgNo = PtrArg->getArgNo(); local 267 .removeAttribute(F->getContext(), ArgNo + 1, Attribute::StructRet) 268 .addAttribute(F->getContext(), ArgNo + 1, Attribute::NoAlias)); 273 .removeAttribute(F->getContext(), ArgNo + 1, 275 .addAttribute(F->getContext(), ArgNo + 1, Attribute::NoAlias)); 348 unsigned ArgNo = Arg->getArgNo(); local 356 if (!isDereferenceablePointer(CS.getArgument(ArgNo), DL)) 989 // the argument specified by ArgNo.
|
H A D | DeadArgumentElimination.cpp | 367 unsigned ArgNo = UnusedArgs[I]; local 369 Value *Arg = CS.getArgument(ArgNo); 370 CS.setArgument(ArgNo, UndefValue::get(Arg->getType())); 487 unsigned ArgNo = CS.getArgumentNo(U); local 489 if (ArgNo >= F->getFunctionType()->getNumParams()) 493 assert(CS.getArgument(ArgNo) 499 RetOrArg Use = CreateArg(F, ArgNo);
|
H A D | GlobalOpt.cpp | 2771 unsigned ArgNo = 0; local 2773 ++AI, ++ArgNo) 2774 setVal(&*AI, ActualArgs[ArgNo]);
|
/external/llvm/lib/Transforms/InstCombine/ |
H A D | InstCombineLoadStoreAlloca.cpp | 95 unsigned ArgNo = CS.getArgumentNo(&U); local 96 if (CS.isInAllocaArgument(ArgNo)) 103 (CS.getInstruction()->use_empty() || CS.doesNotCapture(ArgNo))) 108 if (CS.isByValArgument(ArgNo))
|
H A D | InstCombineCalls.cpp | 1946 unsigned ArgNo = 0; local 1949 if (V->getType()->isPointerTy() && !CS.paramHasAttr(ArgNo+1, Attribute::NonNull) && 1951 Indices.push_back(ArgNo + 1); 1952 ArgNo++; 1955 assert(ArgNo == CS.arg_size() && "sanity check");
|
/external/clang/lib/Basic/ |
H A D | Diagnostic.cpp | 721 unsigned ArgNo = *DiagStr++ - '0'; local 724 unsigned ArgNo2 = ArgNo; 726 DiagnosticsEngine::ArgumentKind Kind = getArgKind(ArgNo); 745 const char ArgStr1[] = { '%', static_cast<char>('0' + ArgNo) }; 759 const std::string &S = getArgStdStr(ArgNo); 765 const char *S = getArgCStr(ArgNo); 777 int Val = getArgSInt(ArgNo); 796 unsigned Val = getArgUInt(ArgNo); 815 tok::TokenKind Kind = static_cast<tok::TokenKind>(getRawArg(ArgNo)); 837 const IdentifierInfo *II = getArgIdentifier(ArgNo); [all...] |
/external/clang/lib/CodeGen/ |
H A D | CGDecl.cpp | 1739 unsigned ArgNo) { 1753 setBlockContextParameter(IPD, ArgNo, Arg.getDirectValue()); 1857 DI->EmitDeclareOfArgVariable(&D, DeclPtr.getPointer(), ArgNo, Builder); 1738 EmitParmDecl(const VarDecl &D, ParamValue Arg, unsigned ArgNo) argument
|
H A D | CGDebugInfo.cpp | 2923 llvm::Optional<unsigned> ArgNo, 2962 if (isa<ImplicitParamDecl>(VD) && ArgNo && *ArgNo == 1) 2987 auto *D = ArgNo 2989 *ArgNo, Unit, Line, Ty) 3035 ArgNo 3036 ? DBuilder.createParameterVariable(Scope, Name, *ArgNo, Unit, Line, 3132 unsigned ArgNo, 3135 EmitDeclare(VD, AI, ArgNo, Builder); 3150 unsigned ArgNo, 2922 EmitDeclare(const VarDecl *VD, llvm::Value *Storage, llvm::Optional<unsigned> ArgNo, CGBuilderTy &Builder) argument 3131 EmitDeclareOfArgVariable(const VarDecl *VD, llvm::Value *AI, unsigned ArgNo, CGBuilderTy &Builder) argument 3148 EmitDeclareOfBlockLiteralArgVariable(const CGBlockInfo &block, llvm::Value *Arg, unsigned ArgNo, llvm::Value *LocalAddr, CGBuilderTy &Builder) argument [all...] |
/external/llvm/lib/IR/ |
H A D | DIBuilder.cpp | 609 DIScope *Scope, StringRef Name, unsigned ArgNo, DIFile *File, 619 File, LineNo, DITypeRef::get(Ty), ArgNo, Flags); 636 /* ArgNo */ 0, File, LineNo, Ty, AlwaysPreserve, 641 DIScope *Scope, StringRef Name, unsigned ArgNo, DIFile *File, 643 assert(ArgNo && "Expected non-zero argument number for parameter"); 644 return createLocalVariable(VMContext, PreservedVariables, Scope, Name, ArgNo, 606 createLocalVariable( LLVMContext &VMContext, DenseMap<MDNode *, std::vector<TrackingMDNodeRef>> &PreservedVariables, DIScope *Scope, StringRef Name, unsigned ArgNo, DIFile *File, unsigned LineNo, DIType *Ty, bool AlwaysPreserve, unsigned Flags) argument 640 createParameterVariable( DIScope *Scope, StringRef Name, unsigned ArgNo, DIFile *File, unsigned LineNo, DIType *Ty, bool AlwaysPreserve, unsigned Flags) argument
|
/external/llvm/lib/Transforms/Utils/ |
H A D | InlineFunction.cpp | 1153 unsigned ArgNo = 0; local 1155 E = CalledFunc->arg_end(); I != E; ++I, ++AI, ++ArgNo) { 1162 if (CS.isByValArgument(ArgNo)) { 1164 CalledFunc->getParamAlignment(ArgNo+1));
|
/external/llvm/lib/CodeGen/SelectionDAG/ |
H A D | TargetLowering.cpp | 2329 unsigned ArgNo = 0; // ArgNo - The argument of the CallInst. local 2347 OpInfo.CallOperandVal = const_cast<Value *>(CS.getArgument(ArgNo++)); 2365 OpInfo.CallOperandVal = const_cast<Value *>(CS.getArgument(ArgNo++));
|
/external/llvm/lib/Transforms/Instrumentation/ |
H A D | MemorySanitizer.cpp | 2813 unsigned ArgNo = CS.getArgumentNo(ArgIt); variable 2814 bool IsByVal = CS.paramHasAttr(ArgNo + 1, Attribute::ByVal);
|
/external/llvm/lib/CodeGen/ |
H A D | CodeGenPrepare.cpp | 3972 unsigned ArgNo = 0; local 3981 Value *OpVal = CS->getArgOperand(ArgNo++); 3984 ArgNo++;
|