Home
last modified time | relevance | path

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

12

/external/swiftshader/third_party/LLVM/lib/VMCore/
DFunction.cpp64 unsigned Argument::getArgNo() const { in getArgNo() function in Argument
80 return getParent()->paramHasAttr(getArgNo()+1, Attribute::ByVal); in hasByValAttr()
85 return getParent()->getParamAlignment(getArgNo()+1); in getParamAlignment()
93 return getParent()->paramHasAttr(getArgNo()+1, Attribute::Nest); in hasNestAttr()
100 return getParent()->paramHasAttr(getArgNo()+1, Attribute::NoAlias); in hasNoAliasAttr()
107 return getParent()->paramHasAttr(getArgNo()+1, Attribute::NoCapture); in hasNoCaptureAttr()
121 getParent()->addAttribute(getArgNo() + 1, attr); in addAttr()
126 getParent()->removeAttribute(getArgNo() + 1, attr); in removeAttr()
/external/swiftshader/third_party/llvm-subzero/include/llvm/IR/
DArgument.h55 unsigned getArgNo() const;
130 addAttr(AttributeSet::get(getContext(), getArgNo() + 1, Kind)); in addAttr()
137 removeAttr(AttributeSet::get(getContext(), getArgNo() + 1, Kind)); in removeAttr()
/external/llvm/include/llvm/IR/
DArgument.h55 unsigned getArgNo() const;
130 addAttr(AttributeSet::get(getContext(), getArgNo() + 1, Kind)); in addAttr()
137 removeAttr(AttributeSet::get(getContext(), getArgNo() + 1, Kind)); in removeAttr()
/external/llvm/lib/IR/
DFunction.cpp61 unsigned Argument::getArgNo() const { in getArgNo() function in Argument
79 hasAttribute(getArgNo()+1, Attribute::NonNull)) in hasNonNullAttr()
96 hasAttribute(getArgNo()+1, Attribute::SwiftSelf); in hasSwiftSelfAttr()
101 hasAttribute(getArgNo()+1, Attribute::SwiftError); in hasSwiftErrorAttr()
114 return Attrs.hasAttribute(getArgNo() + 1, Attribute::ByVal) || in hasByValOrInAllocaAttr()
115 Attrs.hasAttribute(getArgNo() + 1, Attribute::InAlloca); in hasByValOrInAllocaAttr()
120 return getParent()->getParamAlignment(getArgNo()+1); in getParamAlignment()
127 return getParent()->getDereferenceableBytes(getArgNo()+1); in getDereferenceableBytes()
133 return getParent()->getDereferenceableOrNullBytes(getArgNo()+1); in getDereferenceableOrNullBytes()
186 hasAttribute(getArgNo()+1, Attribute::ReadOnly) || in onlyReadsMemory()
[all …]
/external/mesa3d/src/amd/common/
Dac_llvm_helper.cpp45 A->addAttr(llvm::AttributeSet::get(A->getContext(), A->getArgNo() + 1, B)); in ac_add_attr_dereferenceable()
52 unsigned ArgNo = A->getArgNo(); in ac_is_sgpr_param()
/external/llvm/lib/Transforms/IPO/
DFunctionAttrs.cpp511 A->addAttr(AttributeSet::get(F->getContext(), A->getArgNo() + 1, B)); in addArgumentAttrs()
531 AttributeSet::get(F->getContext(), A->getArgNo() + 1, B)); in addArgumentAttrs()
559 A->addAttr(AttributeSet::get(A->getContext(), A->getArgNo() + 1, B)); in addArgumentAttrs()
584 A->addAttr(AttributeSet::get(A->getContext(), A->getArgNo() + 1, B)); in addArgumentAttrs()
626 A->addAttr(AttributeSet::get(A->getContext(), A->getArgNo() + 1, B)); in addArgumentAttrs()
663 A->removeAttr(AttributeSet::get(A->getContext(), A->getArgNo() + 1, R)); in addArgumentAttrs()
664 A->addAttr(AttributeSet::get(A->getContext(), A->getArgNo() + 1, B)); in addArgumentAttrs()
DIPConstantPropagation.cpp215 New = CS.getArgument(A->getArgNo()); in PropagateConstantReturn()
240 New = CS.getArgument(A->getArgNo()); in PropagateConstantReturn()
DArgumentPromotion.cpp291 unsigned ArgNo = PtrArg->getArgNo(); in PromoteArguments()
376 unsigned ArgNo = Arg->getArgNo(); in AllCallersPassInValidPointerForArgument()
/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()
DNVPTXLowerKernelArgs.cpp155 AllocA->setAlignment(Func->getParamAlignment(Arg->getArgNo() + 1)); in handleByValParam()
/external/llvm/lib/Target/AMDGPU/
DAMDGPUOpenCLImageTypeLoweringPass.cpp221 StringRef Type = ArgTypeFromMD(KernelMDNode, Arg.getArgNo()); in replaceImageAndSamplerUses()
225 StringRef AccessQual = AccessQualFromMD(KernelMDNode, Arg.getArgNo()); in replaceImageAndSamplerUses()
297 if (IsImageType(ArgTypeFromMD(KernelMDNode, Arg.getArgNo()))) { in addImplicitArgs()
DAMDGPUTargetTransformInfo.cpp297 if (F->getAttributes().hasAttribute(A->getArgNo() + 1, Attribute::InReg) || in isArgPassedInSGPR()
298 F->getAttributes().hasAttribute(A->getArgNo() + 1, Attribute::ByVal)) in isArgPassedInSGPR()
/external/swiftshader/third_party/LLVM/lib/Transforms/IPO/
DIPConstantPropagation.cpp243 New = CS.getArgument(A->getArgNo()); in PropagateConstantReturn()
269 New = CS.getArgument(A->getArgNo()); in PropagateConstantReturn()
/external/swiftshader/third_party/LLVM/include/llvm/
DArgument.h49 unsigned getArgNo() const;
/external/mesa3d/src/gallium/state_trackers/clover/llvm/
Dmetadata.hpp110 detail::get_kernel_metadata_operands(f, name)[arg.getArgNo()]) in get_argument_metadata()
/external/llvm/lib/Analysis/
DAliasAnalysisSummary.cpp62 return argNumberToAttr(Arg->getArgNo()); in getGlobalOrArgAttrFromValue()
/external/spirv-llvm/lib/SPIRV/libSPIRV/
DSPIRVFunction.h56 unsigned getArgNo()const { return ArgNo;} in getArgNo() function
/external/swiftshader/third_party/LLVM/lib/ExecutionEngine/Interpreter/
DExternalFunctions.cpp199 const unsigned ArgNo = A->getArgNo(); in ffiInvoke()
211 const unsigned ArgNo = A->getArgNo(); in ffiInvoke()
/external/llvm/lib/ExecutionEngine/Interpreter/
DExternalFunctions.cpp198 const unsigned ArgNo = A->getArgNo(); in ffiInvoke()
210 const unsigned ArgNo = A->getArgNo(); in ffiInvoke()
/external/mesa3d/src/gallium/state_trackers/clover/llvm/codegen/
Dcommon.cpp151 arg.getArgNo() + 1, ::llvm::Attribute::SExt); in make_kernel_args()
/external/tensorflow/tensorflow/compiler/xla/service/cpu/
Dir_function.cc174 function_->addAttribute(argument.getArgNo() + 1, llvm::Attribute::NoAlias); in Initialize()
/external/mesa3d/src/gallium/auxiliary/gallivm/
Dlp_bld_misc.cpp765 A->addAttr(llvm::AttributeSet::get(A->getContext(), A->getArgNo() + 1, B)); in lp_add_attr_dereferenceable()
/external/clang/lib/CodeGen/
DCGCall.cpp2120 AI->addAttr(llvm::AttributeSet::get(getLLVMContext(), AI->getArgNo() + 1, in EmitFunctionProlog()
2213 AI->getArgNo() + 1, in EmitFunctionProlog()
2232 AI->getArgNo() + 1, Attrs)); in EmitFunctionProlog()
2235 AI->getArgNo() + 1, in EmitFunctionProlog()
2247 AI->getArgNo() + 1, in EmitFunctionProlog()
2267 AI->getArgNo() + 1, Attrs)); in EmitFunctionProlog()
2273 AI->getArgNo() + 1, in EmitFunctionProlog()
/external/swiftshader/third_party/LLVM/lib/Transforms/Utils/
DCloneFunction.cpp96 .getParamAttributes(I->getArgNo() + 1)); in CloneFunctionInto()
/external/llvm/lib/Transforms/Utils/
DCloneFunction.cpp110 OldAttrs.getParamAttributes(OldArg.getArgNo() + 1); in CloneFunctionInto()

12