Home
last modified time | relevance | path

Searched refs:CallSite (Results 1 - 25 of 83) sorted by relevance

1234

/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/IR/
H A DCallSite.h1 //===- CallSite.h - Abstract Call & Invoke instrs ---------------*- C++ -*-===//
9 // This file defines the CallSite class, which is a handy wrapper for code that
21 // accessors of CallSite are employed.
138 /// Return the intrinsic ID of the intrinsic called by this CallSite,
140 /// intrinsic, or if this CallSite is an indirect call.
145 // Intrinsics.h into every header that uses CallSite. in getIntrinsicID()
656 /// Returns true if this CallSite passes the given Value* as an argument to
672 class CallSite : public CallSiteBase<Function, BasicBlock, Value, User, Use, class
676 CallSite() = default;
677 CallSite(CallSiteBas function in llvm::CallSite
678 CallSite(CallInst *CI) : CallSiteBase(CI) {} CallSite() function in llvm::CallSite
679 CallSite(InvokeInst *II) : CallSiteBase(II) {} CallSite() function in llvm::CallSite
680 CallSite(CallBrInst *CBI) : CallSiteBase(CBI) {} CallSite() function in llvm::CallSite
681 explicit CallSite(Instruction *II) : CallSiteBase(II) {} CallSite() function in llvm::CallSite
682 explicit CallSite(Value *V) : CallSiteBase(V) {} CallSite() function in llvm::CallSite
[all...]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Scalar/
H A 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 NewC in splitCallSite()
[all...]
H A DTailRecursionElimination.cpp67 #include "llvm/IR/CallSite.h"
129 CallSite CS(I);
171 void callUsesLocalStack(CallSite CS, bool IsNocapture) {
487 CallSite::arg_iterator I = CallSite(CI).arg_begin(),
488 E = CallSite(CI).arg_end();
H A DSCCP.cpp35 #include "llvm/IR/CallSite.h"
650 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 C in tryToReplaceWithConstant()
[all...]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/IPO/
H A DInliner.cpp40 #include "llvm/IR/CallSite.h"
275 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()
416 /// CallSite. If we return the cost, we will emit an optimisation remark later
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 C in inlineCallsImpl()
[all...]
H A DAlwaysInliner.cpp19 #include "llvm/IR/CallSite.h"
46 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()
H A DArgumentPromotion.cpp56 #include "llvm/IR/CallSite.h"
108 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 NewC in promoteArguments()
[all...]
H A DFunctionAttrs.cpp36 #include "llvm/IR/CallSite.h"
163 for (CallSite::arg_iterator CI = Call->arg_begin(), CE = Call->arg_end(); in checkFunctionMemoryAccess()
365 CallSite CS(U->getUser());
493 CallSite CS(I); in determinePointerReadAttrs()
517 // imply the CallSite is an indirect call or invoke; and we'd take the in determinePointerReadAttrs()
538 // The accessors used on CallSite here do the right thing for calls and in determinePointerReadAttrs()
641 if (auto CS = CallSite(&I)) {
907 CallSite CS(RVI);
1016 CallSite CS(RVI);
1226 const CallSite C
[all...]
H A DPartialInlining.cpp33 #include "llvm/IR/CallSite.h"
287 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 C in computeCallsiteToProfCountMap()
[all...]
H A DDeadArgumentElimination.cpp25 #include "llvm/IR/CallSite.h"
178 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/
H A DCallPromotionUtils.h17 #include "llvm/IR/CallSite.h"
28 bool isLegalToPromote(CallSite CS, Function *Callee,
38 Instruction *promoteCall(CallSite CS, Function *Callee,
48 Instruction *promoteCallWithIfThenElse(CallSite CS, Function *Callee,
H A DEvaluator.h20 #include "llvm/IR/CallSite.h"
77 Function *getCalleeWithFormalArgs(CallSite &CS,
82 bool getFormalParams(CallSite &CS, Function *F,
H A DCloning.h25 #include "llvm/IR/CallSite.h"
204 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/IR/
H A DAbstractCallSite.cpp19 #include "llvm/IR/CallSite.h"
68 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/Target/AMDGPU/
H A DAMDGPUInline.cpp26 #include "llvm/IR/CallSite.h"
70 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()
H A DAMDGPUFixFunctionBitcasts.cpp34 void visitCallSite(CallSite CS) { in visitCallSite()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Utils/
H A 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()
H A DInlineFunction.cpp37 #include "llvm/IR/CallSite.h"
90 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 IC in InlineFunction()
[all...]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/X86/
H A DX86WinEHState.cpp22 #include "llvm/IR/CallSite.h"
70 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 C in addStateStores()
[all...]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Analysis/
H A DProfileSummaryInfo.h31 class CallSite;
138 /// Returns true if CallSite \p CS is considered hot.
139 bool isHotCallSite(const CallSite &CS, BlockFrequencyInfo *BFI);
141 bool isColdCallSite(const CallSite &CS, BlockFrequencyInfo *BFI);
H A DTypeMetadataUtils.h18 #include "llvm/IR/CallSite.h"
36 CallSite CS;
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/ExecutionEngine/Interpreter/
H A DInterpreter.h18 #include "llvm/IR/CallSite.h"
64 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/lib/Target/WebAssembly/
H A 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/
H A DCoroEarly.cpp14 #include "llvm/IR/CallSite.h"
31 void lowerResumeOrDestroy(CallSite CS, CoroSubFnInst::ResumeKind);
50 void Lowerer::lowerResumeOrDestroy(CallSite CS, in lowerResumeOrDestroy()
159 if (auto CS = CallSite(&I)) { in lowerEarlyIntrinsics()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Transforms/IPO/
H A DInliner.h16 #include "llvm/IR/CallSite.h"
54 virtual InlineCost getInlineCost(CallSite CS) = 0;

Completed in 22 milliseconds

1234