Home
last modified time | relevance | path

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

1234

/external/clang/lib/StaticAnalyzer/Core/
DBlockCounter.cpp25 const StackFrameContext *CallSite; member in __anonf52a87bd0111::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() argument
42 virtual void getModRefInfo(CallSite CS) = 0;
50 void getModRefInfo(CallSite CS);
53 void BasicAliasAnalysis::getModRefInfo(CallSite CS) { in getModRefInfo()
/external/llvm/include/llvm/Transforms/IPO/
DInlinerPass.h23 class CallSite; variable
60 unsigned getInlineThreshold(CallSite CS) const;
67 virtual InlineCost getInlineCost(CallSite CS) = 0;
86 bool shouldInline(CallSite CS);
/external/llvm/include/llvm/IR/
DCallSite.h470 class CallSite : public CallSiteBase<Function, BasicBlock, Value, User, Use,
474 CallSite() {} in CallSite() function
475 CallSite(CallSiteBase B) : CallSiteBase(B) {} in CallSite() function
476 CallSite(CallInst *CI) : CallSiteBase(CI) {} in CallSite() function
477 CallSite(InvokeInst *II) : CallSiteBase(II) {} in CallSite() function
478 explicit CallSite(Instruction *II) : CallSiteBase(II) {} in CallSite() function
479 explicit CallSite(Value *V) : CallSiteBase(V) {} in CallSite() function
481 bool operator==(const CallSite &CS) const { return I == CS.I; }
482 bool operator!=(const CallSite &CS) const { return I != CS.I; }
483 bool operator<(const CallSite &CS) const {
[all …]
DStatepoint.h300 : public StatepointBase<Function, Instruction, Value, CallSite> {
301 typedef StatepointBase<Function, Instruction, Value, CallSite> Base;
305 explicit Statepoint(CallSite CS) : Base(CS) {} in Statepoint()
319 GCRelocateOperands(CallSite CS) : RelocateCS(CS) { assert(isGCRelocate(CS)); } in GCRelocateOperands()
/external/llvm/lib/Transforms/Scalar/
DPlaceSafepoints.cpp193 std::vector<CallSite> &ParsePointsNeeded /*rval*/);
195 static bool needsStatepoint(const CallSite &CS) { in needsStatepoint()
209 static Value *ReplaceWithStatepoint(const CallSite &CS);
233 if (auto CS = CallSite(&I)) in containsUnconditionalCallSafepoint()
378 static bool doesNotRequireEntrySafepointBefore(const CallSite &CS) { in doesNotRequireEntrySafepointBefore()
443 if (auto CS = CallSite(cursor)) { in findLocationForEntrySafepoint()
458 std::vector<CallSite> &Found /*rval*/) { in findCallSafepoints()
463 CallSite CS(inst); in findCallSafepoints()
568 std::vector<CallSite> ParsePointNeeded; in runOnFunction()
659 std::vector<CallSite> RuntimeCalls; in runOnFunction()
[all …]
/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()
86 CallSite CS(cast<Value>(II)); in addToCallGraph()
205 void CallGraphNode::removeCallEdgeFor(CallSite CS) { in removeCallEdgeFor()
248 void CallGraphNode::replaceCallEdge(CallSite CS, in replaceCallEdge()
249 CallSite NewCS, CallGraphNode *NewNode){ in replaceCallEdge()
DInlineCost.cpp60 CallSite CandidateCS;
111 bool simplifyCallSite(Function *F, CallSite CS);
153 bool visitCallSite(CallSite CS);
165 Function &Callee, int Threshold, CallSite CSArg) in CallAnalyzer()
177 bool analyzeCall(CallSite CS);
731 bool CallAnalyzer::simplifyCallSite(Function *F, CallSite CS) { in simplifyCallSite()
742 for (CallSite::arg_iterator I = CS.arg_begin(), E = CS.arg_end(); in simplifyCallSite()
760 bool CallAnalyzer::visitCallSite(CallSite CS) { in visitCallSite()
1067 bool CallAnalyzer::analyzeCall(CallSite CS) { in analyzeCall()
1158 CallSite Site(U); in analyzeCall()
[all …]
DCallGraphSCCPass.cpp219 !CallSite(I->first) || in RefreshCallGraph()
220 (CallSite(I->first).getCalledFunction() && in RefreshCallGraph()
221 CallSite(I->first).getCalledFunction()->isIntrinsic() && in RefreshCallGraph()
223 CallSite(I->first).getCalledFunction()->getIntrinsicID()))) { in RefreshCallGraph()
250 CallSite CS(I->first); in RefreshCallGraph()
266 CallSite CS(cast<Value>(I)); in RefreshCallGraph()
DCaptureTracking.cpp238 CallSite CS(I); in PointerMayBeCaptured()
252 CallSite::data_operand_iterator B = in PointerMayBeCaptured()
254 for (CallSite::data_operand_iterator A = B; A != E; ++A) in PointerMayBeCaptured()
DAliasAnalysisEvaluator.cpp121 PrintModRefResults(const char *Msg, bool P, CallSite CSA, CallSite CSB, in PrintModRefResults()
148 SmallSetVector<CallSite, 16> CallSites; in runOnFunction()
164 if (auto CS = CallSite(&Inst)) { in runOnFunction()
170 for (CallSite::arg_iterator AI = CS.arg_begin(), AE = CS.arg_end(); in runOnFunction()
/external/v8/src/
Dmessages.cc169 CallSite::CallSite(Isolate* isolate, Handle<JSObject> call_site_obj) in CallSite() function in v8::internal::CallSite
198 Handle<Object> CallSite::GetFileName() { in GetFileName()
206 Handle<Object> CallSite::GetFunctionName() { in GetFunctionName()
223 Handle<Object> CallSite::GetScriptNameOrSourceUrl() { in GetScriptNameOrSourceUrl()
251 Handle<Object> CallSite::GetMethodName() { in GetMethodName()
308 int CallSite::GetLineNumber() { in GetLineNumber()
320 int CallSite::GetColumnNumber() { in GetColumnNumber()
332 bool CallSite::IsNative() { in IsNative()
340 bool CallSite::IsToplevel() { in IsToplevel()
347 bool CallSite::IsEval() { in IsEval()
[all …]
/external/llvm/include/llvm/Analysis/
DInlineCost.h23 class CallSite; variable
126 InlineCost getInlineCost(CallSite CS, int Threshold);
135 InlineCost getInlineCost(CallSite CS, Function *Callee, int Threshold);
DCallGraph.h235 void addCalledFunction(CallSite CS, CallGraphNode *M) { in addCalledFunction()
252 void removeCallEdgeFor(CallSite CS);
269 void replaceCallEdge(CallSite CS, CallSite NewCS, CallGraphNode *NewNode);
DMemoryDependenceAnalysis.h30 class CallSite; variable
368 const NonLocalDepInfo &getNonLocalCallDependency(CallSite QueryCS);
443 MemDepResult getCallSiteDependencyFrom(CallSite C, bool isReadOnlyCall,
/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/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
DBlockCounter.h38 unsigned getNumVisited(const StackFrameContext *CallSite,
49 const StackFrameContext *CallSite,
/external/llvm/lib/Transforms/IPO/
DInliner.cpp130 static bool InlineCallIfPossible(Pass &P, CallSite CS, InlineFunctionInfo &IFI, in InlineCallIfPossible()
277 unsigned Inliner::getInlineThreshold(CallSite CS) const { in getInlineThreshold()
338 static void emitAnalysis(CallSite CS, const Twine &Msg) { in emitAnalysis()
346 bool Inliner::shouldInline(CallSite CS) { in shouldInline()
402 CallSite CS2(U); in shouldInline()
489 SmallVector<std::pair<CallSite, int>, 16> CallSites; in runOnSCC()
503 CallSite CS(cast<Value>(&I)); in runOnSCC()
548 CallSite CS = CallSites[CSi].first; in runOnSCC()
618 CallSites.push_back(std::make_pair(CallSite(Ptr), NewHistoryID)); in runOnSCC()
DInlineAlways.cpp54 InlineCost getInlineCost(CallSite CS) override;
95 InlineCost AlwaysInliner::getInlineCost(CallSite CS) { in getInlineCost()
DIPConstantPropagation.cpp100 CallSite CS(cast<Instruction>(UR)); in PropagateConstantsIntoArguments()
106 CallSite::arg_iterator AI = CS.arg_begin(); in PropagateConstantsIntoArguments()
225 CallSite CS(U.getUser()); in PropagateConstantReturn()
/external/llvm/tools/opt/
DAnalysisWrappers.cpp44 CallSite CS(cast<Value>(UI)); in runOnModule()
47 for (CallSite::arg_iterator AI = CS.arg_begin(), in runOnModule()
/external/llvm/lib/Target/WebAssembly/
DWebAssemblyOptimizeReturned.cpp46 void visitCallSite(CallSite CS);
55 void OptimizeReturned::visitCallSite(CallSite CS) { in visitCallSite()
/external/llvm/lib/ExecutionEngine/Interpreter/
DInterpreter.h68 CallSite Caller; // Holds the call that called subframes.
172 void visitCallSite(CallSite CS);
173 void visitCallInst(CallInst &I) { visitCallSite (CallSite (&I)); } in visitCallInst()
174 void visitInvokeInst(InvokeInst &I) { visitCallSite (CallSite (&I)); } in visitInvokeInst()
/external/llvm/lib/Transforms/Utils/
DInlineFunction.cpp60 return InlineFunction(CallSite(CI), IFI, CalleeAAR, InsertLifetime); in InlineFunction()
64 return InlineFunction(CallSite(II), IFI, CalleeAAR, InsertLifetime); in InlineFunction()
392 static void CloneAliasScopeMetadata(CallSite CS, ValueToValueMapTy &VMap) { in CloneAliasScopeMetadata()
501 static void AddAliasScopeMetadata(CallSite CS, ValueToValueMapTy &VMap, in AddAliasScopeMetadata()
726 static void AddAlignmentAssumptions(CallSite CS, InlineFunctionInfo &IFI) { in AddAlignmentAssumptions()
766 static void UpdateCallGraphAfterInlining(CallSite CS, in UpdateCallGraphAfterInlining()
804 CallSite CS = CallSite(NewCall); in UpdateCallGraphAfterInlining()
818 if (Function *F = CallSite(NewCall).getCalledFunction()) { in UpdateCallGraphAfterInlining()
820 CallerNode->addCalledFunction(CallSite(NewCall), CG[F]); in UpdateCallGraphAfterInlining()
825 CallerNode->addCalledFunction(CallSite(NewCall), I->second); in UpdateCallGraphAfterInlining()
[all …]

1234