/external/llvm/lib/IR/ |
D | Function.cpp | 59 unsigned Argument::getArgNo() const { in getArgNo() function in Argument 77 hasAttribute(getArgNo()+1, Attribute::NonNull)) in hasNonNullAttr() 90 hasAttribute(getArgNo()+1, Attribute::ByVal); in hasByValAttr() 98 hasAttribute(getArgNo()+1, Attribute::InAlloca); in hasInAllocaAttr() 104 return Attrs.hasAttribute(getArgNo() + 1, Attribute::ByVal) || in hasByValOrInAllocaAttr() 105 Attrs.hasAttribute(getArgNo() + 1, Attribute::InAlloca); in hasByValOrInAllocaAttr() 110 return getParent()->getParamAlignment(getArgNo()+1); in getParamAlignment() 117 return getParent()->getDereferenceableBytes(getArgNo()+1); in getDereferenceableBytes() 125 hasAttribute(getArgNo()+1, Attribute::Nest); in hasNestAttr() 133 hasAttribute(getArgNo()+1, Attribute::NoAlias); in hasNoAliasAttr() [all …]
|
D | Core.cpp | 1813 A->addAttr(AttributeSet::get(A->getContext(), A->getArgNo() + 1, B)); in LLVMAddAttribute() 1819 A->removeAttr(AttributeSet::get(A->getContext(), A->getArgNo() + 1, B)); in LLVMRemoveAttribute() 1825 Raw(A->getArgNo()+1); in LLVMGetAttribute() 1833 A->addAttr(AttributeSet::get(A->getContext(),A->getArgNo() + 1, B)); in LLVMSetParamAlignment()
|
/external/llvm/lib/Transforms/IPO/ |
D | IPConstantPropagation.cpp | 244 New = CS.getArgument(A->getArgNo()); in PropagateConstantReturn() 269 New = CS.getArgument(A->getArgNo()); in PropagateConstantReturn()
|
D | FunctionAttrs.cpp | 563 A->addAttr(AttributeSet::get(F->getContext(), A->getArgNo() + 1, B)); in AddArgumentAttrs() 581 A->addAttr(AttributeSet::get(F->getContext(), A->getArgNo()+1, B)); in AddArgumentAttrs() 610 A->addAttr(AttributeSet::get(A->getContext(), A->getArgNo() + 1, B)); in AddArgumentAttrs() 634 A->addAttr(AttributeSet::get(A->getContext(), A->getArgNo() + 1, B)); in AddArgumentAttrs() 675 A->addAttr(AttributeSet::get(A->getContext(), A->getArgNo() + 1, B)); in AddArgumentAttrs() 710 A->addAttr(AttributeSet::get(A->getContext(), A->getArgNo() + 1, B)); in AddArgumentAttrs()
|
D | DeadArgumentElimination.cpp | 359 UnusedArgs.push_back(Arg->getArgNo()); in RemoveDeadArgumentsFromCallers()
|
D | ArgumentPromotion.cpp | 316 unsigned ArgNo = Arg->getArgNo(); in AllCallersPassInValidPointerForArgument()
|
/external/llvm/include/llvm/IR/ |
D | Argument.h | 56 unsigned getArgNo() const;
|
/external/llvm/lib/Target/NVPTX/ |
D | NVPTXUtilities.cpp | 172 if (std::find(annot.begin(), annot.end(), arg->getArgNo()) != annot.end()) in isSampler() 187 if (std::find(annot.begin(), annot.end(), arg->getArgNo()) != annot.end()) in isImageReadOnly() 202 if (std::find(annot.begin(), annot.end(), arg->getArgNo()) != annot.end()) in isImageWriteOnly() 217 if (std::find(annot.begin(), annot.end(), arg->getArgNo()) != annot.end()) in isImageReadWrite()
|
D | NVPTXLowerStructArgs.cpp | 73 AllocA->setAlignment(Func->getParamAlignment(Arg->getArgNo() + 1)); in handleParam()
|
/external/llvm/lib/ExecutionEngine/Interpreter/ |
D | ExternalFunctions.cpp | 200 const unsigned ArgNo = A->getArgNo(); in ffiInvoke() 212 const unsigned ArgNo = A->getArgNo(); in ffiInvoke()
|
/external/clang/lib/CodeGen/ |
D | CGCall.cpp | 1743 AI->addAttr(llvm::AttributeSet::get(getLLVMContext(), AI->getArgNo() + 1, in EmitFunctionProlog() 1841 AI->getArgNo() + 1, in EmitFunctionProlog() 1860 AI->getArgNo() + 1, Attrs)); in EmitFunctionProlog() 1863 AI->getArgNo() + 1, in EmitFunctionProlog() 1875 AI->getArgNo() + 1, in EmitFunctionProlog() 1895 AI->getArgNo() + 1, Attrs)); in EmitFunctionProlog() 1901 AI->getArgNo() + 1, in EmitFunctionProlog()
|
/external/llvm/lib/Transforms/Utils/ |
D | CloneFunction.cpp | 103 OldAttrs.getParamAttributes(OldArg.getArgNo() + 1); in CloneFunctionInto()
|
D | InlineFunction.cpp | 647 Value *Arg = CS.getArgument(I->getArgNo()); in AddAlignmentAssumptions()
|
/external/llvm/lib/Transforms/Instrumentation/ |
D | DataFlowSanitizer.cpp | 901 Shadow = IRB.CreateLoad(getArgTLS(A->getArgNo(), ArgTLSPos)); in getShadow() 905 unsigned ArgIdx = A->getArgNo() + F->getArgumentList().size() / 2; in getShadow()
|
/external/llvm/lib/Analysis/ |
D | CFLAliasAnalysis.cpp | 820 return argNumberToAttrIndex(Arg->getArgNo()); in valueToAttrIndex()
|
D | ScalarEvolution.cpp | 512 unsigned LArgNo = LA->getArgNo(), RArgNo = RA->getArgNo(); in compare()
|