/external/swiftshader/third_party/LLVM/lib/VMCore/ |
D | Function.cpp | 64 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/ |
D | Argument.h | 55 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/ |
D | Argument.h | 55 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/ |
D | Function.cpp | 61 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/ |
D | ac_llvm_helper.cpp | 45 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/ |
D | FunctionAttrs.cpp | 511 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()
|
D | IPConstantPropagation.cpp | 215 New = CS.getArgument(A->getArgNo()); in PropagateConstantReturn() 240 New = CS.getArgument(A->getArgNo()); in PropagateConstantReturn()
|
D | ArgumentPromotion.cpp | 291 unsigned ArgNo = PtrArg->getArgNo(); in PromoteArguments() 376 unsigned ArgNo = Arg->getArgNo(); in AllCallersPassInValidPointerForArgument()
|
/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 | NVPTXLowerKernelArgs.cpp | 155 AllocA->setAlignment(Func->getParamAlignment(Arg->getArgNo() + 1)); in handleByValParam()
|
/external/llvm/lib/Target/AMDGPU/ |
D | AMDGPUOpenCLImageTypeLoweringPass.cpp | 221 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()
|
D | AMDGPUTargetTransformInfo.cpp | 297 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/ |
D | IPConstantPropagation.cpp | 243 New = CS.getArgument(A->getArgNo()); in PropagateConstantReturn() 269 New = CS.getArgument(A->getArgNo()); in PropagateConstantReturn()
|
/external/swiftshader/third_party/LLVM/include/llvm/ |
D | Argument.h | 49 unsigned getArgNo() const;
|
/external/mesa3d/src/gallium/state_trackers/clover/llvm/ |
D | metadata.hpp | 110 detail::get_kernel_metadata_operands(f, name)[arg.getArgNo()]) in get_argument_metadata()
|
/external/llvm/lib/Analysis/ |
D | AliasAnalysisSummary.cpp | 62 return argNumberToAttr(Arg->getArgNo()); in getGlobalOrArgAttrFromValue()
|
/external/spirv-llvm/lib/SPIRV/libSPIRV/ |
D | SPIRVFunction.h | 56 unsigned getArgNo()const { return ArgNo;} in getArgNo() function
|
/external/swiftshader/third_party/LLVM/lib/ExecutionEngine/Interpreter/ |
D | ExternalFunctions.cpp | 199 const unsigned ArgNo = A->getArgNo(); in ffiInvoke() 211 const unsigned ArgNo = A->getArgNo(); in ffiInvoke()
|
/external/llvm/lib/ExecutionEngine/Interpreter/ |
D | ExternalFunctions.cpp | 198 const unsigned ArgNo = A->getArgNo(); in ffiInvoke() 210 const unsigned ArgNo = A->getArgNo(); in ffiInvoke()
|
/external/mesa3d/src/gallium/state_trackers/clover/llvm/codegen/ |
D | common.cpp | 151 arg.getArgNo() + 1, ::llvm::Attribute::SExt); in make_kernel_args()
|
/external/tensorflow/tensorflow/compiler/xla/service/cpu/ |
D | ir_function.cc | 174 function_->addAttribute(argument.getArgNo() + 1, llvm::Attribute::NoAlias); in Initialize()
|
/external/mesa3d/src/gallium/auxiliary/gallivm/ |
D | lp_bld_misc.cpp | 765 A->addAttr(llvm::AttributeSet::get(A->getContext(), A->getArgNo() + 1, B)); in lp_add_attr_dereferenceable()
|
/external/clang/lib/CodeGen/ |
D | CGCall.cpp | 2120 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/ |
D | CloneFunction.cpp | 96 .getParamAttributes(I->getArgNo() + 1)); in CloneFunctionInto()
|
/external/llvm/lib/Transforms/Utils/ |
D | CloneFunction.cpp | 110 OldAttrs.getParamAttributes(OldArg.getArgNo() + 1); in CloneFunctionInto()
|