Home
last modified time | relevance | path

Searched refs:CallSite (Results 1 – 25 of 84) sorted by relevance

1234

/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/IR/
DCallSite.h672 class CallSite : public CallSiteBase<Function, BasicBlock, Value, User, Use,
676 CallSite() = default;
677 CallSite(CallSiteBase B) : CallSiteBase(B) {} in CallSite() function
678 CallSite(CallInst *CI) : CallSiteBase(CI) {} in CallSite() function
679 CallSite(InvokeInst *II) : CallSiteBase(II) {} in CallSite() function
680 CallSite(CallBrInst *CBI) : CallSiteBase(CBI) {} in CallSite() function
681 explicit CallSite(Instruction *II) : CallSiteBase(II) {} in CallSite() function
682 explicit CallSite(Value *V) : CallSiteBase(V) {} in CallSite() function
684 bool operator==(const CallSite &CS) const { return I == CS.I; }
685 bool operator!=(const CallSite &CS) const { return I != CS.I; }
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Scalar/
DCallSiteSplitting.cpp88 static void addNonNullAttribute(CallSite CS, Value *Op) { in addNonNullAttribute()
97 static void setConstantInArgument(CallSite CS, Value *Op, in setConstantInArgument()
111 static bool isCondRelevantToAnyCallArgument(ICmpInst *Cmp, CallSite CS) { in isCondRelevantToAnyCallArgument()
115 for (CallSite::arg_iterator I = CS.arg_begin(), E = CS.arg_end(); I != E; in isCondRelevantToAnyCallArgument()
132 static void recordCondition(CallSite CS, BasicBlock *From, BasicBlock *To, in recordCondition()
155 static void recordConditions(CallSite CS, BasicBlock *Pred, in recordConditions()
168 static void addConditions(CallSite CS, const ConditionsTy &Conditions) { in addConditions()
187 static bool canSplitCallSite(CallSite CS, TargetTransformInfo &TTI) { in canSplitCallSite()
307 CallSite CS, in splitCallSite()
339 CallSite NewCS(NewCI); in splitCallSite()
[all …]
DTailRecursionElimination.cpp129 CallSite CS(I); in walk()
171 void callUsesLocalStack(CallSite CS, bool IsNocapture) { in callUsesLocalStack()
487 CallSite::arg_iterator I = CallSite(CI).arg_begin(), in findTRECandidate()
488 E = CallSite(CI).arg_end(); in findTRECandidate()
DSCCP.cpp650 void visitCallSite (CallSite CS);
1199 void SCCPSolver::visitCallSite(CallSite CS) { in visitCallSite()
1275 for (CallSite::arg_iterator AI = CS.arg_begin(), E = CS.arg_end(); in visitCallSite()
1314 CallSite::arg_iterator CAI = CS.arg_begin(); in visitCallSite()
1449 if (CallSite CS = CallSite(&I)) in ResolvedUndefsIn()
1478 if (CallSite CS = CallSite(&I)) { in ResolvedUndefsIn()
1782 CallSite CS(CI); in tryToReplaceWithConstant()
1945 if (!CallSite(U)) in findReturnsToZap()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/IPO/
DInliner.cpp275 CallSite CS, InlineFunctionInfo &IFI, in InlineCallIfPossible()
307 shouldBeDeferred(Function *Caller, CallSite CS, InlineCost IC, in shouldBeDeferred()
309 function_ref<InlineCost(CallSite CS)> GetInlineCost) { in shouldBeDeferred()
348 CallSite CS2(U); in shouldBeDeferred()
419 shouldInline(CallSite CS, function_ref<InlineCost(CallSite CS)> GetInlineCost, in shouldInline()
519 static void setInlineRemark(CallSite &CS, StringRef message) { in setInlineRemark()
533 function_ref<InlineCost(CallSite CS)> GetInlineCost, in inlineCallsImpl()
548 SmallVector<std::pair<CallSite, int>, 16> CallSites; in inlineCallsImpl()
564 CallSite CS(cast<Value>(&I)); in inlineCallsImpl()
619 CallSite CS = CallSites[CSi].first; in inlineCallsImpl()
[all …]
DAlwaysInliner.cpp46 SmallSetVector<CallSite, 16> Calls; in run()
55 if (auto CS = CallSite(U)) in run()
59 for (CallSite CS : Calls) in run()
119 InlineCost getInlineCost(CallSite CS) override;
154 InlineCost AlwaysInlinerLegacyPass::getInlineCost(CallSite CS) { in getInlineCost()
DArgumentPromotion.cpp108 Optional<function_ref<void(CallSite OldCS, CallSite NewCS)>> in doPromotion()
244 CallSite CS(F->user_back()); in doPromotion()
252 CallSite::arg_iterator AI = CS.arg_begin(); in doPromotion()
328 CallSite NewCS; in doPromotion()
495 CallSite CS(U); in allCallersPassValidPointerForArgument()
852 CallSite CS(U.getUser()); in areFunctionArgsABICompatible()
869 Optional<function_ref<void(CallSite OldCS, CallSite NewCS)>> in promoteArguments()
908 CallSite CS(U.getUser()); in promoteArguments()
945 CallSite CS(U.getUser()); in promoteArguments()
1138 auto ReplaceCallSite = [&](CallSite OldCS, CallSite NewCS) { in runOnSCC()
DFunctionAttrs.cpp163 for (CallSite::arg_iterator CI = Call->arg_begin(), CE = Call->arg_end(); in checkFunctionMemoryAccess()
365 CallSite CS(U->getUser()); in captured()
493 CallSite CS(I); in determinePointerReadAttrs()
641 if (auto CS = CallSite(&I)) { in addArgumentAttrsFromCallsites()
907 CallSite CS(RVI); in isFunctionMallocLike()
1016 CallSite CS(RVI); in isReturnNonNull()
1226 const CallSite CS(&I); in InstrBreaksNonConvergent()
1250 CallSite CS(&I); in InstrBreaksNoFree()
1371 if (auto CS = CallSite(&I)) { in addNoRecurseAttrs()
1442 if (auto CS = CallSite(&I)) in run()
[all …]
DPartialInlining.cpp287 bool shouldPartialInline(CallSite CS, FunctionCloner &Cloner,
306 static CallSite getCallSite(User *U) { in getCallSite()
307 CallSite CS; in getCallSite()
309 CS = CallSite(CI); in getCallSite()
311 CS = CallSite(II); in getCallSite()
317 static CallSite getOneCallSiteTo(Function *F) { in getOneCallSiteTo()
323 CallSite CS = getOneCallSiteTo(F); in getOneDebugLoc()
762 CallSite CS, FunctionCloner &Cloner, in shouldPartialInline()
949 CallSite CS = getCallSite(User); in computeCallsiteToProfCountMap()
1158 CallSite OCS = PartialInlinerImpl::getOneCallSiteTo(OutlinedFunc); in doMultiRegionFunctionOutlining()
[all …]
DDeadArgumentElimination.cpp178 CallSite CS(*I++); in DeleteDeadVarargs()
199 CallSite NewCS; in DeleteDeadVarargs()
307 CallSite CS(U.getUser()); in RemoveDeadArgumentsFromCallers()
879 CallSite CS(F->user_back()); in RemoveDeadStuffFromFunction()
893 CallSite::arg_iterator I = CS.arg_begin(); in RemoveDeadStuffFromFunction()
918 for (CallSite::arg_iterator E = CS.arg_end(); I != E; ++I, ++i) { in RemoveDeadStuffFromFunction()
937 CallSite NewCS; in RemoveDeadStuffFromFunction()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Transforms/Utils/
DCallPromotionUtils.h28 bool isLegalToPromote(CallSite CS, Function *Callee,
38 Instruction *promoteCall(CallSite CS, Function *Callee,
48 Instruction *promoteCallWithIfThenElse(CallSite CS, Function *Callee,
DEvaluator.h77 Function *getCalleeWithFormalArgs(CallSite &CS,
82 bool getFormalParams(CallSite &CS, Function *F,
DCloning.h204 SmallVector<CallSite, 8> InlinedCallSites;
235 InlineResult InlineFunction(CallSite CS, InlineFunctionInfo &IFI,
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/
DAMDGPUInline.cpp70 unsigned getInlineThreshold(CallSite CS) const;
72 InlineCost getInlineCost(CallSite CS) override;
109 unsigned AMDGPUInliner::getInlineThreshold(CallSite CS) const { in getInlineThreshold()
159 static bool isWrapperOnlyCall(CallSite CS) { in isWrapperOnlyCall()
177 InlineCost AMDGPUInliner::getInlineCost(CallSite CS) { in getInlineCost()
DAMDGPUFixFunctionBitcasts.cpp34 void visitCallSite(CallSite CS) { in visitCallSite()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/IR/
DAbstractCallSite.cpp68 CS = CallSite(U->getUser()); in AbstractCallSite()
89 CS = CallSite(); in AbstractCallSite()
96 CS = CallSite(); in AbstractCallSite()
115 CS = CallSite(); in AbstractCallSite()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Utils/
DCallPromotionUtils.cpp161 static void createRetBitCast(CallSite CS, Type *RetTy, CastInst **RetBitCast) { in createRetBitCast()
256 static Instruction *versionCallSite(CallSite CS, Value *Callee, in versionCallSite()
319 bool llvm::isLegalToPromote(CallSite CS, Function *Callee, in isLegalToPromote()
365 Instruction *llvm::promoteCall(CallSite CS, Function *Callee, in promoteCall()
449 Instruction *llvm::promoteCallWithIfThenElse(CallSite CS, Function *Callee, in promoteCallWithIfThenElse()
458 return promoteCall(CallSite(NewInst), Callee); in promoteCallWithIfThenElse()
DInlineFunction.cpp90 return InlineFunction(CallSite(CB), IFI, CalleeAAR, InsertLifetime); in InlineFunction()
770 static void PropagateParallelLoopAccessMetadata(CallSite CS, in PropagateParallelLoopAccessMetadata()
813 static void CloneAliasScopeMetadata(CallSite CS, ValueToValueMapTy &VMap) { in CloneAliasScopeMetadata()
919 static void AddAliasScopeMetadata(CallSite CS, ValueToValueMapTy &VMap, in AddAliasScopeMetadata()
1141 static void AddAlignmentAssumptions(CallSite CS, InlineFunctionInfo &IFI) { in AddAlignmentAssumptions()
1179 static void UpdateCallGraphAfterInlining(CallSite CS, in UpdateCallGraphAfterInlining()
1560 llvm::InlineResult llvm::InlineFunction(CallSite CS, InlineFunctionInfo &IFI, in InlineFunction()
1707 CallSite::arg_iterator AI = CS.arg_begin(); in InlineFunction()
1766 CallSite ICS(I); in InlineFunction()
2081 CallSite CS(I); in InlineFunction()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/X86/
DX86WinEHState.cpp70 bool isStateStoreNeeded(EHPersonality Personality, CallSite CS);
71 void rewriteSetJmpCallSite(IRBuilder<> &Builder, Function &F, CallSite CS,
76 WinEHFuncInfo &FuncInfo, CallSite CS);
459 CallSite CS, Value *State) { in rewriteSetJmpCallSite()
489 CallSite NewCS; in rewriteSetJmpCallSite()
532 CallSite CS) { in getStateForCallSite()
621 CallSite CS) { in isStateStoreNeeded()
675 CallSite CS(&I); in addStateStores()
742 CallSite CS(&I); in addStateStores()
759 SmallVector<CallSite, 1> SetJmp3CallSites; in addStateStores()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/ExecutionEngine/Interpreter/
DInterpreter.h64 CallSite Caller; // Holds the call that called subframes.
153 void visitCallSite(CallSite CS);
154 void visitCallInst(CallInst &I) { visitCallSite (CallSite (&I)); } in visitCallInst()
155 void visitInvokeInst(InvokeInst &I) { visitCallSite (CallSite (&I)); } in visitInvokeInst()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Analysis/
DProfileSummaryInfo.h31 class CallSite; variable
139 bool isHotCallSite(const CallSite &CS, BlockFrequencyInfo *BFI);
141 bool isColdCallSite(const CallSite &CS, BlockFrequencyInfo *BFI);
DTypeMetadataUtils.h36 CallSite CS;
/third_party/typescript/src/services/
DcallHierarchy.ts291 interface CallSite { interface
296 function convertEntryToCallSite(entry: FindAllReferences.Entry): CallSite | undefined {
312 function getCallSiteGroupKey(entry: CallSite) {
320 function convertCallSiteGroupToIncomingCall(program: Program, entries: readonly CallSite[]) {
335 …function createCallSiteCollector(program: Program, callSites: CallSite[]): (node: Node | undefined…
478 const callSites: CallSite[] = [];
510 function convertCallSiteGroupToOutgoingCall(program: Program, entries: readonly CallSite[]) {
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/WebAssembly/
DWebAssemblyOptimizeReturned.cpp45 void visitCallSite(CallSite CS);
58 void OptimizeReturned::visitCallSite(CallSite CS) { in visitCallSite()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Coroutines/
DCoroEarly.cpp31 void lowerResumeOrDestroy(CallSite CS, CoroSubFnInst::ResumeKind);
50 void Lowerer::lowerResumeOrDestroy(CallSite CS, in lowerResumeOrDestroy()
159 if (auto CS = CallSite(&I)) { in lowerEarlyIntrinsics()

1234