Home
last modified time | relevance | path

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

1234567

/external/clang/lib/StaticAnalyzer/Core/
DBlockCounter.cpp25 const StackFrameContext *CallSite; member in __anonef28e55c0111::CountKey
30 : CallSite(CS), BlockID(ID) {} in CountKey()
33 return (CallSite == RHS.CallSite) && (BlockID == RHS.BlockID); in operator ==()
37 return std::tie(CallSite, BlockID) < std::tie(RHS.CallSite, RHS.BlockID); in operator <()
41 ID.AddPointer(CallSite); in Profile()
58 unsigned BlockCounter::getNumVisited(const StackFrameContext *CallSite, in getNumVisited() argument
61 CountMap::data_type* T = M.lookup(CountKey(CallSite, BlockID)); in getNumVisited()
75 const StackFrameContext *CallSite, in IncrementCount() argument
78 CountKey(CallSite, BlockID), in IncrementCount()
79 BC.getNumVisited(CallSite, BlockID)+1).getRoot()); in IncrementCount()
/external/clang/test/CodeGenCXX/
D2003-11-27-MultipleInheritanceThunk.cpp5 struct CallSite { struct
8 CallSite(const CallSite &CS); argument
14 virtual int getModRefInfo(CallSite CS);
24 int getModRefInfo(CallSite CS) { in getModRefInfo()
Dx86_32-arguments.cpp35 struct CallSite { struct
37 CallSite(unsigned XX) : Ptr(XX) {} in CallSite() function
42 virtual void getModRefInfo(CallSite CS) = 0;
50 void getModRefInfo(CallSite CS);
53 void BasicAliasAnalysis::getModRefInfo(CallSite CS) { in getModRefInfo()
/external/swiftshader/third_party/LLVM/include/llvm/Analysis/
DInlineCost.h29 class CallSite; variable
132 int ConstantFunctionBonus(CallSite CS, Constant *C);
133 int getInlineSize(CallSite CS, Function *Callee);
134 int getInlineBonuses(CallSite CS, Function *Callee);
143 InlineCost getInlineCost(CallSite CS,
150 InlineCost getInlineCost(CallSite CS,
168 float getInlineFudgeFactor(CallSite CS);
/external/swiftshader/third_party/LLVM/include/llvm/Support/
DCallSite.h266 class CallSite : public CallSiteBase<Function, Value, User, Instruction,
271 CallSite() {} in CallSite() function
272 CallSite(Base B) : Base(B) {} in CallSite() function
273 CallSite(Value* V) : Base(V) {} in CallSite() function
274 CallSite(CallInst *CI) : Base(CI) {} in CallSite() function
275 CallSite(InvokeInst *II) : Base(II) {} in CallSite() function
276 CallSite(Instruction *II) : Base(II) {} in CallSite() function
278 bool operator==(const CallSite &CS) const { return I == CS.I; }
279 bool operator!=(const CallSite &CS) const { return I != CS.I; }
280 bool operator<(const CallSite &CS) const {
[all …]
/external/swiftshader/third_party/LLVM/include/llvm/Transforms/IPO/
DInlinerPass.h23 class CallSite; variable
59 unsigned getInlineThreshold(CallSite CS) const;
66 virtual InlineCost getInlineCost(CallSite CS) = 0;
71 virtual float getInlineFudgeFactor(CallSite CS) = 0;
92 bool shouldInline(CallSite CS);
/external/llvm/include/llvm/Transforms/IPO/
DInlinerPass.h24 class CallSite; variable
56 virtual InlineCost getInlineCost(CallSite CS) = 0;
78 bool shouldInline(CallSite CS);
84 bool shouldBeDeferred(Function *Caller, CallSite CS, InlineCost IC,
/external/swiftshader/third_party/LLVM/lib/Analysis/IPA/
DCallGraph.cpp119 ExternalCallingNode->addCalledFunction(CallSite(), Node); in addToCallGraph()
134 || !CallSite(cast<Instruction>(U)).isCallee(I)) { in addToCallGraph()
136 ExternalCallingNode->addCalledFunction(CallSite(), Node); in addToCallGraph()
144 Node->addCalledFunction(CallSite(), CallsExternalNode); in addToCallGraph()
150 CallSite CS(cast<Value>(II)); in addToCallGraph()
282 void CallGraphNode::removeCallEdgeFor(CallSite CS) { in removeCallEdgeFor()
325 void CallGraphNode::replaceCallEdge(CallSite CS, in replaceCallEdge()
326 CallSite NewCS, CallGraphNode *NewNode){ in replaceCallEdge()
/external/llvm/include/llvm/IR/
DCallSite.h601 class CallSite : public CallSiteBase<Function, BasicBlock, Value, User, Use,
605 CallSite() {} in CallSite() function
606 CallSite(CallSiteBase B) : CallSiteBase(B) {} in CallSite() function
607 CallSite(CallInst *CI) : CallSiteBase(CI) {} in CallSite() function
608 CallSite(InvokeInst *II) : CallSiteBase(II) {} in CallSite() function
609 explicit CallSite(Instruction *II) : CallSiteBase(II) {} in CallSite() function
610 explicit CallSite(Value *V) : CallSiteBase(V) {} in CallSite() function
612 bool operator==(const CallSite &CS) const { return I == CS.I; }
613 bool operator!=(const CallSite &CS) const { return I != CS.I; }
614 bool operator<(const CallSite &CS) const {
[all …]
/external/swiftshader/third_party/LLVM/lib/Analysis/
DAliasAnalysisEvaluator.cpp118 PrintModRefResults(const char *Msg, bool P, CallSite CSA, CallSite CSB, in PrintModRefResults()
135 SetVector<CallSite> CallSites; in runOnFunction()
145 if (CallSite CS = cast<Value>(&Inst)) { in runOnFunction()
151 for (CallSite::arg_iterator AI = CS.arg_begin(), AE = CS.arg_end(); in runOnFunction()
203 for (SetVector<CallSite>::iterator C = CallSites.begin(), in runOnFunction()
233 for (SetVector<CallSite>::iterator C = CallSites.begin(), in runOnFunction()
235 for (SetVector<CallSite>::iterator D = CallSites.begin(); D != Ce; ++D) { in runOnFunction()
DInlineCost.cpp310 int InlineCostAnalyzer::ConstantFunctionBonus(CallSite CS, Constant *C) { in ConstantFunctionBonus()
331 Bonus += ConstantFunctionBonus(CallSite(CI), C); in CountBonusForConstant()
335 Bonus += ConstantFunctionBonus(CallSite(II), C); in CountBonusForConstant()
370 int InlineCostAnalyzer::getInlineSize(CallSite CS, Function *Callee) { in getInlineSize()
388 CallSite::arg_iterator I = CS.arg_begin(); in getInlineSize()
423 int InlineCostAnalyzer::getInlineBonuses(CallSite CS, Function *Callee) { in getInlineBonuses()
460 CallSite::arg_iterator I = CS.arg_begin(); in getInlineBonuses()
473 InlineCost InlineCostAnalyzer::getInlineCost(CallSite CS, in getInlineCost()
478 InlineCost InlineCostAnalyzer::getInlineCost(CallSite CS, in getInlineCost()
573 float InlineCostAnalyzer::getInlineFudgeFactor(CallSite CS) { in getInlineFudgeFactor()
DCaptureTracking.cpp73 CallSite CS(I); in PointerMayBeCaptured()
87 CallSite::arg_iterator B = CS.arg_begin(), E = CS.arg_end(); in PointerMayBeCaptured()
88 for (CallSite::arg_iterator A = B; A != E; ++A) in PointerMayBeCaptured()
/external/llvm/lib/Analysis/
DCallGraph.cpp62 ExternalCallingNode->addCalledFunction(CallSite(), Node); in addToCallGraph()
75 ExternalCallingNode->addCalledFunction(CallSite(), Node); in addToCallGraph()
80 Node->addCalledFunction(CallSite(), CallsExternalNode.get()); in addToCallGraph()
85 if (auto CS = CallSite(&I)) { in addToCallGraph()
203 void CallGraphNode::removeCallEdgeFor(CallSite CS) { in removeCallEdgeFor()
246 void CallGraphNode::replaceCallEdge(CallSite CS, in replaceCallEdge()
247 CallSite NewCS, CallGraphNode *NewNode){ in replaceCallEdge()
DAliasAnalysisSummary.h151 Optional<InstantiatedValue> instantiateInterfaceValue(InterfaceValue, CallSite);
159 CallSite);
168 CallSite);
DInlineCost.cpp90 CallSite CandidateCS;
141 bool simplifyCallSite(Function *F, CallSite CS);
159 void updateThreshold(CallSite CS, Function &Callee);
162 bool allowSizeGrowth(CallSite CS);
195 bool visitCallSite(CallSite CS);
208 CallSite CSArg) in CallAnalyzer()
221 bool analyzeCall(CallSite CS);
589 bool CallAnalyzer::allowSizeGrowth(CallSite CS) { in allowSizeGrowth()
615 void CallAnalyzer::updateThreshold(CallSite CS, Function &Callee) { in updateThreshold()
853 bool CallAnalyzer::simplifyCallSite(Function *F, CallSite CS) { in simplifyCallSite()
[all …]
DAliasAnalysisSummary.cpp78 CallSite CS) { in instantiateInterfaceValue()
87 instantiateExternalRelation(ExternalRelation ERelation, CallSite CS) { in instantiateExternalRelation()
98 CallSite CS) { in instantiateExternalAttribute()
/external/swiftshader/third_party/LLVM/lib/Transforms/IPO/
DInliner.cpp76 static bool InlineCallIfPossible(CallSite CS, InlineFunctionInfo &IFI, in InlineCallIfPossible()
197 unsigned Inliner::getInlineThreshold(CallSite CS) const { in getInlineThreshold()
218 bool Inliner::shouldInline(CallSite CS) { in shouldInline()
260 CallSite CS2(*I); in shouldInline()
345 SmallVector<std::pair<CallSite, int>, 16> CallSites; in runOnSCC()
359 CallSite CS(cast<Value>(I)); in runOnSCC()
402 CallSite CS = CallSites[CSi].first; in runOnSCC()
457 CallSites.push_back(std::make_pair(CallSite(Ptr), NewHistoryID)); in runOnSCC()
/external/llvm/lib/Transforms/Scalar/
DPlaceSafepoints.cpp177 std::vector<CallSite> &ParsePointsNeeded /*rval*/);
179 static bool needsStatepoint(const CallSite &CS) { in needsStatepoint()
213 if (auto CS = CallSite(&I)) in containsUnconditionalCallSafepoint()
354 static bool doesNotRequireEntrySafepointBefore(const CallSite &CS) { in doesNotRequireEntrySafepointBefore()
418 if (auto CS = CallSite(Cursor)) { in findLocationForEntrySafepoint()
491 std::vector<CallSite> ParsePointNeeded; in runOnFunction()
580 std::vector<CallSite> RuntimeCalls; in runOnFunction()
613 std::vector<CallSite> &ParsePointsNeeded /*rval*/) { in INITIALIZE_PASS_DEPENDENCY()
677 ParsePointsNeeded.push_back(CallSite(CI)); in INITIALIZE_PASS_DEPENDENCY()
/external/llvm/include/llvm/Analysis/
DInlineCost.h23 class CallSite; variable
113 InlineCost getInlineCost(CallSite CS, int DefaultThreshold,
122 InlineCost getInlineCost(CallSite CS, Function *Callee, int DefaultThreshold,
/external/llvm/lib/Transforms/IPO/
DInliner.cpp78 static bool InlineCallIfPossible(Pass &P, CallSite CS, InlineFunctionInfo &IFI, in InlineCallIfPossible()
225 static void emitAnalysis(CallSite CS, const Twine &Msg) { in emitAnalysis()
232 bool Inliner::shouldBeDeferred(Function *Caller, CallSite CS, InlineCost IC, in shouldBeDeferred()
262 CallSite CS2(U); in shouldBeDeferred()
303 bool Inliner::shouldInline(CallSite CS) { in shouldInline()
393 SmallVector<std::pair<CallSite, int>, 16> CallSites; in inlineCalls()
407 CallSite CS(cast<Value>(&I)); in inlineCalls()
452 CallSite CS = CallSites[CSi].first; in inlineCalls()
522 CallSites.push_back(std::make_pair(CallSite(Ptr), NewHistoryID)); in inlineCalls()
/external/llvm/lib/Target/X86/
DX86WinEHState.cpp76 bool isStateStoreNeeded(EHPersonality Personality, CallSite CS);
77 void rewriteSetJmpCallSite(IRBuilder<> &Builder, Function &F, CallSite CS,
82 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 …]
/external/clang/test/SemaCXX/
Dinvalid-instantiated-field-decl.cpp30 class CallSite; // expected-note {{forward declaration of 'CallSite'}}
34 …SmallVector<CallSite, 2> DevirtualizedCalls; // expected-note {{in instantiation of template class…
/external/swiftshader/third_party/LLVM/lib/CodeGen/
DSjLjEHPrepare.cpp62 Value *CallSite; member in __anonee5476f10111::SjLjEHPass
82 void insertCallSiteStore(Instruction *I, int Number, Value *CallSite);
83 void markInvokeCallSite(InvokeInst *II, int InvokeNo, Value *CallSite,
140 Value *CallSite) { in insertCallSiteStore() argument
144 new StoreInst(CallSiteNoC, CallSite, true, I); // volatile in insertCallSiteStore()
185 Value *CallSite, in markInvokeCallSite() argument
210 insertCallSiteStore(II, InvokeNo, CallSite); in markInvokeCallSite()
517 CallSite = GetElementPtrInst::Create(FunctionContext, Idxs, "call_site", in insertSjLjEHSupport()
580 Value *DispatchLoad = new LoadInst(CallSite, "invoke.num", true, in insertSjLjEHSupport()
668 markInvokeCallSite(Invokes[i], i+1, CallSite, DispatchSwitch); in insertSjLjEHSupport()
[all …]
/external/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
DBlockCounter.h38 unsigned getNumVisited(const StackFrameContext *CallSite,
49 const StackFrameContext *CallSite,
/external/swiftshader/third_party/LLVM/lib/Transforms/Utils/
DBasicInliner.cpp78 std::vector<CallSite> CallSites; in inlineFunctions()
85 CallSite CS(cast<Value>(I)); in inlineFunctions()
100 CallSite CS = CallSites[index]; in inlineFunctions()

1234567