Home
last modified time | relevance | path

Searched refs:ArgIdx (Results 1 – 17 of 17) sorted by relevance

/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/
DMemoryLocation.cpp129 unsigned ArgIdx, in getForArgument() argument
133 const Value *Arg = Call->getArgOperand(ArgIdx); in getForArgument()
145 assert((ArgIdx == 0 || ArgIdx == 1) && in getForArgument()
155 assert(ArgIdx == 1 && "Invalid argument index"); in getForArgument()
165 if (ArgIdx == 0) in getForArgument()
167 assert(ArgIdx == 2 && "Invalid argument index"); in getForArgument()
175 assert(ArgIdx == 0 && "Invalid argument index"); in getForArgument()
183 assert(ArgIdx == 0 && "Invalid argument index"); in getForArgument()
199 assert((ArgIdx == 0 || ArgIdx == 1) && in getForArgument()
201 if (ArgIdx == 1) in getForArgument()
[all …]
DAliasAnalysis.cpp136 ModRefInfo AAResults::getArgModRefInfo(const CallBase *Call, unsigned ArgIdx) { in getArgModRefInfo() argument
140 Result = intersectModRef(Result, AA->getArgModRefInfo(Call, ArgIdx)); in getArgModRefInfo()
216 unsigned ArgIdx = std::distance(Call->arg_begin(), AI); in getModRefInfo() local
218 MemoryLocation::getForArgument(Call, ArgIdx, TLI); in getModRefInfo()
221 ModRefInfo ArgMask = getArgModRefInfo(Call, ArgIdx); in getModRefInfo()
DBasicAliasAnalysis.cpp772 static bool isWriteOnlyParam(const CallBase *Call, unsigned ArgIdx, in isWriteOnlyParam() argument
774 if (Call->paramHasAttr(ArgIdx, Attribute::WriteOnly)) in isWriteOnlyParam()
787 if (ArgIdx == 0) in isWriteOnlyParam()
798 unsigned ArgIdx) { in getArgModRefInfo() argument
800 if (isWriteOnlyParam(Call, ArgIdx, TLI)) in getArgModRefInfo()
803 if (Call->paramHasAttr(ArgIdx, Attribute::ReadOnly)) in getArgModRefInfo()
806 if (Call->paramHasAttr(ArgIdx, Attribute::ReadNone)) in getArgModRefInfo()
809 return AAResultBase::getArgModRefInfo(Call, ArgIdx); in getArgModRefInfo()
DAliasSetTracker.cpp499 int ArgIdx = IdxArgPair.index(); in add() local
504 MemoryLocation::getForArgument(Call, ArgIdx, nullptr); in add()
505 ModRefInfo ArgMask = AA.getArgModRefInfo(Call, ArgIdx); in add()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Analysis/
DAliasAnalysis.h411 ModRefInfo getArgModRefInfo(const CallBase *Call, unsigned ArgIdx);
802 ModRefInfo getArgModRefInfo(const CallBase *Call, unsigned ArgIdx) { in getArgModRefInfo() argument
803 return AA.getArgModRefInfo(Call, ArgIdx); in getArgModRefInfo()
858 unsigned ArgIdx) = 0;
908 ModRefInfo getArgModRefInfo(const CallBase *Call, unsigned ArgIdx) override { in getArgModRefInfo() argument
909 return Result.getArgModRefInfo(Call, ArgIdx); in getArgModRefInfo()
985 ModRefInfo getArgModRefInfo(const CallBase *Call, unsigned ArgIdx) { in getArgModRefInfo() argument
986 return AAR ? AAR->getArgModRefInfo(Call, ArgIdx) in getArgModRefInfo()
987 : CurrentResult.getArgModRefInfo(Call, ArgIdx); in getArgModRefInfo()
1042 ModRefInfo getArgModRefInfo(const CallBase *Call, unsigned ArgIdx) { in getArgModRefInfo() argument
DMemoryLocation.h236 static MemoryLocation getForArgument(const CallBase *Call, unsigned ArgIdx,
238 static MemoryLocation getForArgument(const CallBase *Call, unsigned ArgIdx, in getForArgument() argument
240 return getForArgument(Call, ArgIdx, &TLI); in getForArgument()
DBasicAliasAnalysis.h98 ModRefInfo getArgModRefInfo(const CallBase *Call, unsigned ArgIdx);
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/
DR600OpenCLImageTypeLoweringPass.cpp124 AccessQualFromMD(MDNode *KernelMDNode, unsigned ArgIdx) { in AccessQualFromMD() argument
126 return cast<MDString>(ArgAQNode->getOperand(ArgIdx + 1))->getString(); in AccessQualFromMD()
130 ArgTypeFromMD(MDNode *KernelMDNode, unsigned ArgIdx) { in ArgTypeFromMD() argument
132 return cast<MDString>(ArgTypeNode->getOperand(ArgIdx + 1))->getString(); in ArgTypeFromMD()
DSIISelLowering.cpp2131 for (unsigned i = 0, e = Ins.size(), ArgIdx = 0; i != e; ++i) { in LowerFormalArguments() local
2138 CCValAssign &VA = ArgLocs[ArgIdx++]; in LowerFormalArguments()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/ARM/
DARMFastISel.cpp2350 unsigned ArgIdx = i - CS.arg_begin(); in SelectCall() local
2351 if (CS.paramHasAttr(ArgIdx, Attribute::SExt)) in SelectCall()
2353 if (CS.paramHasAttr(ArgIdx, Attribute::ZExt)) in SelectCall()
2357 if (CS.paramHasAttr(ArgIdx, Attribute::InReg) || in SelectCall()
2358 CS.paramHasAttr(ArgIdx, Attribute::StructRet) || in SelectCall()
2359 CS.paramHasAttr(ArgIdx, Attribute::SwiftSelf) || in SelectCall()
2360 CS.paramHasAttr(ArgIdx, Attribute::SwiftError) || in SelectCall()
2361 CS.paramHasAttr(ArgIdx, Attribute::Nest) || in SelectCall()
2362 CS.paramHasAttr(ArgIdx, Attribute::ByVal)) in SelectCall()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/CodeGen/
DFastISel.h596 bool lowerCallOperands(const CallInst *CI, unsigned ArgIdx, unsigned NumArgs,
DTargetLowering.h202 void setAttributes(const CallBase *Call, unsigned ArgIdx);
204 void setAttributes(ImmutableCallSite *CS, unsigned ArgIdx) { in setAttributes() argument
205 return setAttributes(cast<CallBase>(CS->getInstruction()), ArgIdx); in setAttributes()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/SelectionDAG/
DTargetLowering.cpp106 unsigned ArgIdx) { in setAttributes() argument
107 IsSExt = Call->paramHasAttr(ArgIdx, Attribute::SExt); in setAttributes()
108 IsZExt = Call->paramHasAttr(ArgIdx, Attribute::ZExt); in setAttributes()
109 IsInReg = Call->paramHasAttr(ArgIdx, Attribute::InReg); in setAttributes()
110 IsSRet = Call->paramHasAttr(ArgIdx, Attribute::StructRet); in setAttributes()
111 IsNest = Call->paramHasAttr(ArgIdx, Attribute::Nest); in setAttributes()
112 IsByVal = Call->paramHasAttr(ArgIdx, Attribute::ByVal); in setAttributes()
113 IsInAlloca = Call->paramHasAttr(ArgIdx, Attribute::InAlloca); in setAttributes()
114 IsReturned = Call->paramHasAttr(ArgIdx, Attribute::Returned); in setAttributes()
115 IsSwiftSelf = Call->paramHasAttr(ArgIdx, Attribute::SwiftSelf); in setAttributes()
[all …]
DSelectionDAGBuilder.h569 const CallBase *Call, unsigned ArgIdx,
DFastISel.cpp867 bool FastISel::lowerCallOperands(const CallInst *CI, unsigned ArgIdx, in lowerCallOperands() argument
875 for (unsigned ArgI = ArgIdx, ArgE = ArgIdx + NumArgs; ArgI != ArgE; ++ArgI) { in lowerCallOperands()
DSelectionDAGBuilder.cpp8674 unsigned ArgIdx, unsigned NumArgs, SDValue Callee, Type *ReturnTy, in populateCallLoweringInfo() argument
8681 for (unsigned ArgI = ArgIdx, ArgE = ArgIdx + NumArgs; in populateCallLoweringInfo()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Instrumentation/
DDataFlowSanitizer.cpp1047 unsigned ArgIdx = A->getArgNo() + F->arg_size() / 2; in getShadow() local
1049 while (ArgIdx--) in getShadow()