Home
last modified time | relevance | path

Searched defs:ArgNo (Results 1 – 25 of 60) sorted by relevance

123

/freebsd/contrib/llvm-project/llvm/utils/TableGen/Basic/
H A DCodeGenIntrinsics.cpp210 unsigned ArgNo = R->getValueAsInt("ArgNo"); in setProperty() local
213 unsigned ArgNo = R->getValueAsInt("ArgNo"); in setProperty() local
216 unsigned ArgNo = R->getValueAsInt("ArgNo"); in setProperty() local
219 unsigned ArgNo = R->getValueAsInt("ArgNo"); in setProperty() local
222 unsigned ArgNo = R->getValueAsInt("ArgNo"); in setProperty() local
225 unsigned ArgNo = R->getValueAsInt("ArgNo"); in setProperty() local
228 unsigned ArgNo = R->getValueAsInt("ArgNo"); in setProperty() local
231 unsigned ArgNo = R->getValueAsInt("ArgNo"); in setProperty() local
234 unsigned ArgNo = R->getValueAsInt("ArgNo"); in setProperty() local
237 unsigned ArgNo = R->getValueAsInt("ArgNo"); in setProperty() local
[all …]
/freebsd/contrib/llvm-project/llvm/include/llvm/IR/
H A DFunction.h479 MaybeAlign getParamAlign(unsigned ArgNo) const { in getParamAlign()
483 MaybeAlign getParamStackAlign(unsigned ArgNo) const { in getParamStackAlign()
488 Type *getParamByValType(unsigned ArgNo) const { in getParamByValType()
493 Type *getParamStructRetType(unsigned ArgNo) const { in getParamStructRetType()
498 Type *getParamInAllocaType(unsigned ArgNo) const { in getParamInAllocaType()
503 Type *getParamByRefType(unsigned ArgNo) const { in getParamByRefType()
508 Type *getParamPreallocatedType(unsigned ArgNo) const { in getParamPreallocatedType()
514 uint64_t getParamDereferenceableBytes(unsigned ArgNo) const { in getParamDereferenceableBytes()
521 uint64_t getParamDereferenceableOrNullBytes(unsigned ArgNo) const { in getParamDereferenceableOrNullBytes()
526 FPClassTest getParamNoFPClass(unsigned ArgNo) const { in getParamNoFPClass()
H A DAbstractCallSite.h169 int getCallArgOperandNo(unsigned ArgNo) const { in getCallArgOperandNo()
183 Value *getCallArgOperand(unsigned ArgNo) const { in getCallArgOperand()
H A DArgument.h33 unsigned ArgNo; variable
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DCallSiteSplitting.cpp87 unsigned ArgNo = 0; in addNonNullAttribute() local
97 unsigned ArgNo = 0; in setConstantInArgument() local
112 unsigned ArgNo = 0; in isCondRelevantToAnyCallArgument() local
337 unsigned ArgNo = 0; in splitCallSite() local
H A DMemCpyOptimizer.cpp1881 bool MemCpyOptPass::processByValArgument(CallBase &CB, unsigned ArgNo) { in processByValArgument()
1964 bool MemCpyOptPass::processImmutArgument(CallBase &CB, unsigned ArgNo) { in processImmutArgument()
/freebsd/contrib/llvm-project/llvm/lib/Target/BPF/
H A DBPFPreserveStaticOffset.cpp170 static void setParamElementType(CallInst *Call, unsigned ArgNo, Type *Type) { in setParamElementType()
175 static void setParamReadNone(CallInst *Call, unsigned ArgNo) { in setParamReadNone()
180 static void setParamReadOnly(CallInst *Call, unsigned ArgNo) { in setParamReadOnly()
185 static void setParamWriteOnly(CallInst *Call, unsigned ArgNo) { in setParamWriteOnly()
268 static unsigned getOperandAsUnsigned(CallInst *Call, unsigned ArgNo) { in getOperandAsUnsigned()
/freebsd/contrib/llvm-project/llvm/lib/IR/
H A DFunction.cpp119 Argument::Argument(Type *Ty, const Twine &Name, Function *Par, unsigned ArgNo) in Argument()
657 void Function::addParamAttr(unsigned ArgNo, Attribute::AttrKind Kind) { in addParamAttr()
661 void Function::addParamAttr(unsigned ArgNo, Attribute Attr) { in addParamAttr()
665 void Function::addParamAttrs(unsigned ArgNo, const AttrBuilder &Attrs) { in addParamAttrs()
701 void Function::removeParamAttr(unsigned ArgNo, Attribute::AttrKind Kind) { in removeParamAttr()
705 void Function::removeParamAttr(unsigned ArgNo, StringRef Kind) { in removeParamAttr()
709 void Function::removeParamAttrs(unsigned ArgNo, const AttributeMask &Attrs) { in removeParamAttrs()
714 void Function::addDereferenceableParamAttr(unsigned ArgNo, uint64_t Bytes) { in addDereferenceableParamAttr()
731 bool Function::hasParamAttribute(unsigned ArgNo, in hasParamAttribute()
771 Attribute Function::getParamAttribute(unsigned ArgNo, in getParamAttribute()
[all …]
H A DMDBuilder.cpp128 for (int ArgNo : Arguments) in createCallbackEncoding() local
/freebsd/contrib/llvm-project/llvm/lib/ExecutionEngine/Interpreter/
H A DExternalFunctions.cpp221 const unsigned ArgNo = A->getArgNo(); in ffiInvoke() local
233 const unsigned ArgNo = A->getArgNo(); in ffiInvoke() local
359 unsigned ArgNo = 2; in lle_X_sprintf() local
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DBuildLibCalls.cpp116 static bool setDoesNotCapture(Function &F, unsigned ArgNo) { in setDoesNotCapture()
124 static bool setDoesNotAlias(Function &F, unsigned ArgNo) { in setDoesNotAlias()
132 static bool setOnlyReadsMemory(Function &F, unsigned ArgNo) { in setOnlyReadsMemory()
140 static bool setOnlyWritesMemory(Function &F, unsigned ArgNo) { in setOnlyWritesMemory()
160 for (unsigned ArgNo = 0; ArgNo < F.arg_size(); ++ArgNo) { in setArgsNoUndef() local
170 static bool setArgNoUndef(Function &F, unsigned ArgNo) { in setArgNoUndef()
185 static bool setReturnedArg(Function &F, unsigned ArgNo) { in setReturnedArg()
215 static bool setAlignedAllocParam(Function &F, unsigned ArgNo) { in setAlignedAllocParam()
222 static bool setAllocatedPointerParam(Function &F, unsigned ArgNo) { in setAllocatedPointerParam()
1251 static void setArgExtAttr(Function &F, unsigned ArgNo, in setArgExtAttr()
H A DCallPromotionUtils.cpp519 for (unsigned ArgNo = 0; ArgNo < CalleeParamNum; ++ArgNo) { in promoteCall() local
H A DInlineFunction.cpp1404 unsigned ArgNo = Arg->getArgNo(); in AddParamAndFnBasicAttributes() local
2331 unsigned ArgNo = 0; in InlineFunction() local
2580 for (unsigned ArgNo = 0; in InlineFunction() local
/freebsd/contrib/llvm-project/llvm/lib/Transforms/IPO/
H A DArgumentPromotion.cpp131 unsigned ArgNo = 0, NewArgNo = 0; in doPromotion() local
651 unsigned int ArgNo = Arg->getArgNo(); in findArgParts() local
825 unsigned ArgNo = PtrArg->getArgNo(); in promoteArguments() local
H A DDeadArgumentElimination.cpp195 for (unsigned ArgNo = 0; ArgNo < NumArgs; ++ArgNo) in deleteDeadVarargs() local
322 for (unsigned ArgNo : UnusedArgs) { in removeDeadArgumentsFromCallers() local
448 unsigned ArgNo = CB->getArgOperandNo(U); in surveyUse() local
H A DThinLTOBitcodeWriter.cpp109 auto ExternalizeTypeId = [&](CallInst *CI, unsigned ArgNo) { in promoteTypeIds()
H A DAttributorAttributes.cpp450 unsigned ArgNo = QueryingAA.getIRPosition().getCallSiteArgNo(); in clampCallSiteArgumentStates() local
504 int ArgNo = Pos.getCallSiteArgNo(); in getArgumentStateFromCallBaseContext() local
1887 unsigned ArgNo = CB->getArgOperandNo(&U); in updateImpl() local
1977 unsigned ArgNo = getIRPosition().getCallSiteArgNo(); in updateImpl() local
2322 unsigned ArgNo = CB->getArgOperandNo(&U); in updateImpl() local
2512 unsigned ArgNo = CB->getArgOperandNo(U); in getKnownNonNullAndDerefBytesForUse() local
3912 unsigned ArgNo = CB->getArgOperandNo(&U); in isKnownNoAliasDueToNoAliasPreservation() local
5179 unsigned ArgNo = CB->getArgOperandNo(U); in getKnownAlignForUse() local
5761 int ArgNo = IRP.getCalleeArgNo(); in determineFunctionCaptureCapabilities() local
5858 unsigned ArgNo = CB->getArgOperandNo(&U); in checkUse() local
[all …]
/freebsd/contrib/llvm-project/clang/lib/Lex/
H A DTokenLexer.cpp372 int ArgNo = Macro->getParameterNum(Tokens[I+1].getIdentifierInfo()); in ExpandFunctionArguments() local
419 int ArgNo = II ? Macro->getParameterNum(II) : -1; in ExpandFunctionArguments() local
/freebsd/contrib/llvm-project/llvm/lib/Analysis/
H A DLint.cpp234 unsigned ArgNo = 0; in visitCallBase() local
271 unsigned ArgNo = 0; in visitCallBase() local
H A DAliasAnalysis.cpp669 unsigned ArgNo = 0; in callCapturesBefore() local
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/GlobalISel/
H A DInlineAsmLowering.cpp235 unsigned ArgNo = 0; // ArgNo - The argument of the CallInst. in lowerInlineAsm() local
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/
H A DFunctionLoweringInfo.cpp75 unsigned ArgNo = CallI->getArgOperandNo(&U); in getPreferredExtendForValue() local
/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DCGCall.cpp1494 unsigned ArgNo = 0; in construct() local
1662 unsigned ArgNo = 0; in GetFunctionType() local
2227 unsigned NumRequiredArgs, unsigned ArgNo) { in IsArgumentMaybeUndef()
2672 unsigned ArgNo = 0; in ConstructAttributeList() local
2882 QualType ArgType, unsigned ArgNo) { in getNonNullAttr()
2971 unsigned ArgNo = 0; in EmitFunctionProlog() local
4363 unsigned ArgNo = PVD ? PVD->getFunctionScopeIndex() : ParmNum; in EmitNonNullArgCheck() local
5116 unsigned ArgNo = 0; in EmitCall() local
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DAMDGPUHSAMetadataStreamer.cpp275 auto ArgNo = Arg.getArgNo(); in emitKernelArg() local
/freebsd/contrib/llvm-project/llvm/include/llvm/Analysis/
H A DTargetLibraryInfo.h545 for (auto ArgNo : ArgNos) variable

123