Home
last modified time | relevance | path

Searched refs:CallBase (Results 1 – 25 of 98) sorted by relevance

1234

/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);
414 FunctionModRefBehavior getModRefBehavior(const CallBase *Call);
430 bool doesNotAccessMemory(const CallBase *Call) { in doesNotAccessMemory()
458 bool onlyReadsMemory(const CallBase *Call) { in onlyReadsMemory()
524 ModRefInfo getModRefInfo(const CallBase *Call, const MemoryLocation &Loc);
527 ModRefInfo getModRefInfo(const CallBase *Call, const Value *P, in getModRefInfo()
637 ModRefInfo getModRefInfo(Instruction *I, const CallBase *Call);
642 ModRefInfo getModRefInfo(const CallBase *Call1, const CallBase *Call2);
697 ModRefInfo getModRefInfo(Instruction *I, const CallBase *Call2,
699 ModRefInfo getModRefInfo(const CallBase *Call, const MemoryLocation &Loc,
[all …]
DTypeBasedAliasAnalysis.h47 FunctionModRefBehavior getModRefBehavior(const CallBase *Call);
49 ModRefInfo getModRefInfo(const CallBase *Call, const MemoryLocation &Loc,
51 ModRefInfo getModRefInfo(const CallBase *Call1, const CallBase *Call2,
DInlineCost.h25 class CallBase; variable
202 int getCallsiteCost(CallBase &Call, const DataLayout &DL);
216 CallBase &Call, const InlineParams &Params, TargetTransformInfo &CalleeTTI,
227 getInlineCost(CallBase &Call, Function *Callee, const InlineParams &Params,
DConstantFolding.h25 class CallBase; variable
146 bool canConstantFoldCallTo(const CallBase *Call, const Function *F);
150 Constant *ConstantFoldCall(const CallBase *Call, Function *F,
162 bool isMathLibCallNoop(const CallBase *Call, const TargetLibraryInfo *TLI);
DScopedNoAliasAA.h44 ModRefInfo getModRefInfo(const CallBase *Call, const MemoryLocation &Loc,
46 ModRefInfo getModRefInfo(const CallBase *Call1, const CallBase *Call2,
DBasicAliasAnalysis.h87 ModRefInfo getModRefInfo(const CallBase *Call, const MemoryLocation &Loc,
90 ModRefInfo getModRefInfo(const CallBase *Call1, const CallBase *Call2,
98 ModRefInfo getArgModRefInfo(const CallBase *Call, unsigned ArgIdx);
101 FunctionModRefBehavior getModRefBehavior(const CallBase *Call);
DGlobalsModRef.h98 ModRefInfo getModRefInfo(const CallBase *Call, const MemoryLocation &Loc,
109 FunctionModRefBehavior getModRefBehavior(const CallBase *Call);
124 ModRefInfo getModRefInfoForArgument(const CallBase *Call,
DCallGraph.h232 void addCalledFunction(CallBase *Call, CallGraphNode *M) { in addCalledFunction()
249 void removeCallEdgeFor(CallBase &Call);
266 void replaceCallEdge(CallBase &Call, CallBase &NewCall,
DValueTracking.h321 const Value *getArgumentAliasingToReturnedPointer(const CallBase *Call,
324 getArgumentAliasingToReturnedPointer(CallBase *Call, in getArgumentAliasingToReturnedPointer()
327 const_cast<const CallBase *>(Call), MustPreserveNullness)); in getArgumentAliasingToReturnedPointer()
337 const CallBase *Call, bool MustPreserveNullness);
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/CFGuard/
DCFGuard.cpp101 void insertCFGuardCheck(CallBase *CB);
142 void insertCFGuardDispatch(CallBase *CB);
158 void CFGuard::insertCFGuardCheck(CallBase *CB) { in insertCFGuardCheck()
182 void CFGuard::insertCFGuardDispatch(CallBase *CB) { in insertCFGuardDispatch()
207 CallBase *NewCB; in insertCFGuardDispatch()
261 SmallVector<CallBase *, 8> IndirectCalls; in runOnFunction()
269 auto *CB = dyn_cast<CallBase>(&I); in runOnFunction()
284 for (CallBase *CB : IndirectCalls) { in runOnFunction()
288 for (CallBase *CB : IndirectCalls) { in runOnFunction()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/IR/
DStatepoint.cpp20 bool llvm::isStatepoint(const CallBase *Call) { in isStatepoint()
27 if (auto *Call = dyn_cast<CallBase>(V)) in isStatepoint()
36 bool llvm::isGCRelocate(const CallBase *Call) { in isGCRelocate()
41 if (auto *Call = dyn_cast<CallBase>(V)) in isGCRelocate()
46 bool llvm::isGCResult(const CallBase *Call) { return isa<GCResultInst>(Call); } in isGCResult()
49 if (auto *Call = dyn_cast<CallBase>(V)) in isGCResult()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/IR/
DStatepoint.h58 bool isStatepoint(const CallBase *Call);
62 bool isGCRelocate(const CallBase *Call);
65 bool isGCResult(const CallBase *Call);
294 const CallBase> {
296 const CallBase>;
300 explicit ImmutableStatepoint(const CallBase *Call) : Base(Call) {} in ImmutableStatepoint()
306 : public StatepointBase<Function, Instruction, Value, CallBase> {
307 using Base = StatepointBase<Function, Instruction, Value, CallBase>;
311 explicit Statepoint(CallBase *Call) : Base(Call) {} in Statepoint()
336 const CallBase *getStatepoint() const { in getStatepoint()
[all …]
DCallSite.h122 if (const CallBase *CB = dyn_cast<CallBase>(getInstruction())) in isIndirectCall()
133 cast<CallBase>(getInstruction())->getFunctionType() && in setCalledFunction()
255 return cast<CallBase>(getInstruction())->data_operands_begin(); in data_operands_begin()
259 return cast<CallBase>(getInstruction())->data_operands_end(); in data_operands_end()
316 return cast<CallBase>(getInstruction())->isInlineAsm(); in isInlineAsm()
598 cast<CallBase>(getInstruction())->getOperandBundlesAsDefs(Defs); in getOperandBundlesAsDefs()
668 return cast<CallBase>(getInstruction())->op_end() - 1; in getCallee()
DInstrTypes.h1105 class CallBase : public Instruction {
1114 CallBase(AttributeList const &A, FunctionType *FT, ArgsTy &&... Args)
1165 return const_cast<CallBase *>(this)->data_operands_begin();
1173 return const_cast<CallBase *>(this)->data_operands_end();
1213 return const_cast<CallBase *>(this)->arg_begin();
1223 return const_cast<CallBase *>(this)->arg_end();
1323 return const_cast<CallBase *>(this)->getCaller();
1928 bool hasIdenticalOperandBundleSchema(const CallBase &Other) const {
2070 auto *NonConstThis = const_cast<CallBase *>(this);
2087 auto *NonConstThis = const_cast<CallBase *>(this);
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/
DInlineCost.cpp127 CallBase &CandidateCall;
166 virtual void onCallArgumentSetup(const CallBase &Call) {} in onCallArgumentSetup()
172 virtual void onLoweredCall(Function *F, CallBase &Call, bool IsIndirectCall) { in onLoweredCall()
276 bool simplifyCallSite(Function *F, CallBase &Call);
293 bool allowSizeGrowth(CallBase &Call);
328 bool visitCallBase(CallBase &Call);
344 Function &Callee, CallBase &Call) in CallAnalyzer()
402 bool isColdCallSite(CallBase &Call, BlockFrequencyInfo *CallerBFI);
408 void updateThreshold(CallBase &Call, Function &Callee);
410 Optional<int> getHotCallSiteThreshold(CallBase &Call,
[all …]
DAliasAnalysis.cpp136 ModRefInfo AAResults::getArgModRefInfo(const CallBase *Call, unsigned ArgIdx) { in getArgModRefInfo()
150 ModRefInfo AAResults::getModRefInfo(Instruction *I, const CallBase *Call2) { in getModRefInfo()
155 ModRefInfo AAResults::getModRefInfo(Instruction *I, const CallBase *Call2, in getModRefInfo()
158 if (const auto *Call1 = dyn_cast<CallBase>(I)) { in getModRefInfo()
177 ModRefInfo AAResults::getModRefInfo(const CallBase *Call, in getModRefInfo()
183 ModRefInfo AAResults::getModRefInfo(const CallBase *Call, in getModRefInfo()
245 ModRefInfo AAResults::getModRefInfo(const CallBase *Call1, in getModRefInfo()
246 const CallBase *Call2) { in getModRefInfo()
251 ModRefInfo AAResults::getModRefInfo(const CallBase *Call1, in getModRefInfo()
252 const CallBase *Call2, AAQueryInfo &AAQI) { in getModRefInfo()
[all …]
DAliasAnalysisSummary.cpp76 CallBase &Call) { in instantiateInterfaceValue()
85 instantiateExternalRelation(ExternalRelation ERelation, CallBase &Call) { in instantiateExternalRelation()
96 CallBase &Call) { in instantiateExternalAttribute()
DAliasAnalysisEvaluator.cpp69 static inline void PrintModRefResults(const char *Msg, bool P, CallBase *CallA, in PrintModRefResults()
70 CallBase *CallB, Module *M) { in PrintModRefResults()
100 SmallSetVector<CallBase *, 16> Calls; in runInternal()
116 if (auto *Call = dyn_cast<CallBase>(&Inst)) { in runInternal()
232 for (CallBase *Call : Calls) { in runInternal()
282 for (CallBase *CallA : Calls) { in runInternal()
283 for (CallBase *CallB : Calls) { in runInternal()
DScopedNoAliasAA.cpp99 ModRefInfo ScopedNoAliasAAResult::getModRefInfo(const CallBase *Call, in getModRefInfo()
116 ModRefInfo ScopedNoAliasAAResult::getModRefInfo(const CallBase *Call1, in getModRefInfo()
117 const CallBase *Call2, in getModRefInfo()
DCallGraph.cpp76 if (auto *Call = dyn_cast<CallBase>(&I)) { in addToCallGraph()
187 void CallGraphNode::removeCallEdgeFor(CallBase &Call) { in removeCallEdgeFor()
230 void CallGraphNode::replaceCallEdge(CallBase &Call, CallBase &NewCall, in replaceCallEdge()
DAliasAnalysisSummary.h204 CallBase &Call);
233 instantiateExternalRelation(ExternalRelation ERelation, CallBase &Call);
242 CallBase &Call);
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Scalar/
DPlaceSafepoints.cpp181 std::vector<CallBase *> &ParsePointsNeeded /*rval*/,
184 static bool needsStatepoint(CallBase *Call, const TargetLibraryInfo &TLI) { in needsStatepoint()
218 if (auto *Call = dyn_cast<CallBase>(&I)) in containsUnconditionalCallSafepoint()
361 static bool doesNotRequireEntrySafepointBefore(CallBase *Call) { in doesNotRequireEntrySafepointBefore()
424 if (auto *Call = dyn_cast<CallBase>(Cursor)) { in findLocationForEntrySafepoint()
500 std::vector<CallBase *> ParsePointNeeded; in runOnFunction()
589 std::vector<CallBase *> RuntimeCalls; in runOnFunction()
622 std::vector<CallBase *> &ParsePointsNeeded /*rval*/, in INITIALIZE_PASS_DEPENDENCY()
DRewriteStatepointsForGC.cpp288 static ArrayRef<Use> GetDeoptBundleOperands(const CallBase *Call) { in GetDeoptBundleOperands()
373 DominatorTree &DT, GCPtrLivenessData &OriginalLivenessData, CallBase *Call, in analyzeParsePointLiveness()
1177 CallBase *Call, in findBasePointers()
1199 CallBase *Call,
1203 Function &F, DominatorTree &DT, ArrayRef<CallBase *> toUpdate, in recomputeLiveInValues()
1398 static StringRef getDeoptLowering(CallBase *Call) { in getDeoptLowering()
1415 makeStatepointExplicitImpl(CallBase *Call, /* to replace */ in makeStatepointExplicitImpl()
1602 makeStatepointExplicit(DominatorTree &DT, CallBase *Call, in makeStatepointExplicit()
1891 static void insertUseHolderAfter(CallBase *Call, const ArrayRef<Value *> Values, in insertUseHolderAfter()
1917 Function &F, DominatorTree &DT, ArrayRef<CallBase *> toUpdate, in findLiveReferences()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Transforms/IPO/
DAttributor.h174 if (auto *CB = dyn_cast<CallBase>(&V)) in value()
195 static const IRPosition callsite_function(const CallBase &CB) { in callsite_function()
196 return IRPosition(const_cast<CallBase &>(CB), IRP_CALL_SITE); in callsite_function()
200 static const IRPosition callsite_returned(const CallBase &CB) { in callsite_returned()
201 return IRPosition(const_cast<CallBase &>(CB), IRP_CALL_SITE_RETURNED); in callsite_returned()
205 static const IRPosition callsite_argument(const CallBase &CB, in callsite_argument()
207 return IRPosition(const_cast<CallBase &>(CB), Kind(ArgNo)); in callsite_argument()
212 return IRPosition::callsite_function(cast<CallBase>(*ICS.getInstruction())); in callsite_function()
217 return IRPosition::callsite_returned(cast<CallBase>(*ICS.getInstruction())); in callsite_returned()
223 return IRPosition::callsite_argument(cast<CallBase>(*ICS.getInstruction()), in callsite_argument()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/
DAMDGPUPropagateAttributes.cpp200 SmallVector<std::pair<CallBase *, Function *>, 32> ToReplace; in process()
206 CallBase *CI = dyn_cast<CallBase>(I); in process()

1234