Home
last modified time | relevance | path

Searched refs:getArgNo (Results 1 – 16 of 16) sorted by relevance

/external/llvm/lib/IR/
DFunction.cpp59 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 …]
DCore.cpp1813 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/
DIPConstantPropagation.cpp244 New = CS.getArgument(A->getArgNo()); in PropagateConstantReturn()
269 New = CS.getArgument(A->getArgNo()); in PropagateConstantReturn()
DFunctionAttrs.cpp563 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()
DDeadArgumentElimination.cpp359 UnusedArgs.push_back(Arg->getArgNo()); in RemoveDeadArgumentsFromCallers()
DArgumentPromotion.cpp316 unsigned ArgNo = Arg->getArgNo(); in AllCallersPassInValidPointerForArgument()
/external/llvm/include/llvm/IR/
DArgument.h56 unsigned getArgNo() const;
/external/llvm/lib/Target/NVPTX/
DNVPTXUtilities.cpp172 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()
DNVPTXLowerStructArgs.cpp73 AllocA->setAlignment(Func->getParamAlignment(Arg->getArgNo() + 1)); in handleParam()
/external/llvm/lib/ExecutionEngine/Interpreter/
DExternalFunctions.cpp200 const unsigned ArgNo = A->getArgNo(); in ffiInvoke()
212 const unsigned ArgNo = A->getArgNo(); in ffiInvoke()
/external/clang/lib/CodeGen/
DCGCall.cpp1743 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/
DCloneFunction.cpp103 OldAttrs.getParamAttributes(OldArg.getArgNo() + 1); in CloneFunctionInto()
DInlineFunction.cpp647 Value *Arg = CS.getArgument(I->getArgNo()); in AddAlignmentAssumptions()
/external/llvm/lib/Transforms/Instrumentation/
DDataFlowSanitizer.cpp901 Shadow = IRB.CreateLoad(getArgTLS(A->getArgNo(), ArgTLSPos)); in getShadow()
905 unsigned ArgIdx = A->getArgNo() + F->getArgumentList().size() / 2; in getShadow()
/external/llvm/lib/Analysis/
DCFLAliasAnalysis.cpp820 return argNumberToAttrIndex(Arg->getArgNo()); in valueToAttrIndex()
DScalarEvolution.cpp512 unsigned LArgNo = LA->getArgNo(), RArgNo = RA->getArgNo(); in compare()