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

123

/external/clang/test/CodeGenCXX/
H A D2003-11-27-MultipleInheritanceThunk.cpp4 struct CallSite { struct
7 CallSite(const CallSite &CS);
13 virtual int getModRefInfo(CallSite CS);
23 int getModRefInfo(CallSite CS) {
H A Dx86_32-arguments.cpp34 // CHECK: %struct.CallSite* byval align 4 %CS)
35 struct CallSite { struct
37 CallSite(unsigned XX) : Ptr(XX) {} function in struct:CallSite
42 virtual void getModRefInfo(CallSite CS) = 0;
50 void getModRefInfo(CallSite CS);
53 void BasicAliasAnalysis::getModRefInfo(CallSite CS) {
/external/clang/lib/StaticAnalyzer/Core/
H A DBlockCounter.cpp25 const StackFrameContext *CallSite; member in class:__anon3938::CountKey
30 : CallSite(CS), BlockID(ID) {}
33 return (CallSite == RHS.CallSite) && (BlockID == RHS.BlockID);
37 return (CallSite == RHS.CallSite) ? (BlockID < RHS.BlockID)
38 : (CallSite < RHS.CallSite);
42 ID.AddPointer(CallSite);
59 unsigned BlockCounter::getNumVisited(const StackFrameContext *CallSite, argument
75 IncrementCount(BlockCounter BC, const StackFrameContext *CallSite, unsigned BlockID) argument
[all...]
/external/llvm/include/llvm/Transforms/IPO/
H A DInlinerPass.h23 class CallSite;
59 unsigned getInlineThreshold(CallSite CS) const;
66 virtual InlineCost getInlineCost(CallSite CS) = 0;
84 /// inline at the given CallSite.
85 bool shouldInline(CallSite CS);
/external/clang/test/SemaCXX/
H A Dinvalid-instantiated-field-decl.cpp15 typedef typename SmallVectorImpl<T>::U U; // expected-error {{no type named 'U' in 'SmallVectorImpl<CallSite>'}}
18 MinUs = (static_cast<unsigned int>(sizeof(T))*N + // expected-error {{invalid application of 'sizeof' to an incomplete type 'CallSite'}}
30 class CallSite; // expected-note {{forward declaration of 'CallSite'}}
34 SmallVector<CallSite, 2> DevirtualizedCalls; // expected-note {{in instantiation of template class 'SmallVector<CallSite, 2>' requested}}
/external/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
H A DBlockCounter.h40 unsigned getNumVisited(const StackFrameContext *CallSite,
51 const StackFrameContext *CallSite,
/external/llvm/include/llvm/Analysis/
H A DInlineCost.h28 class CallSite;
119 InlineCost getInlineCost(CallSite CS, int Threshold);
128 InlineCost getInlineCost(CallSite CS, Function *Callee, int Threshold);
H A DCallGraph.h58 #include "llvm/Support/CallSite.h"
261 void addCalledFunction(CallSite CS, CallGraphNode *M) {
279 void removeCallEdgeFor(CallSite CS);
293 void replaceCallEdge(CallSite CS, CallSite NewCS, CallGraphNode *NewNode);
H A DMemoryDependenceAnalysis.h30 class CallSite;
362 const NonLocalDepInfo &getNonLocalCallDependency(CallSite QueryCS);
418 MemDepResult getCallSiteDependencyFrom(CallSite C, bool isReadOnlyCall,
H A DMemoryBuiltins.h189 SizeOffsetType visitCallSite(CallSite CS);
252 SizeOffsetEvalType visitCallSite(CallSite CS);
/external/valgrind/tsan/
H A Dts_race_verifier.cc59 struct CallSite { struct
65 vector<CallSite> reads;
66 vector<CallSite> writes;
139 vector<CallSite>& writes = typedCallSites->writes;
140 vector<CallSite>& reads = typedCallSites->reads;
141 for (vector<CallSite>::const_iterator it = writes.begin();
145 for (vector<CallSite>::const_iterator it = reads.begin();
158 vector<CallSite>& writes = typedCallSites->writes;
159 vector<CallSite>& reads = typedCallSites->reads;
160 for (vector<CallSite>
[all...]
/external/llvm/include/llvm/Support/
H A DCallSite.h1 //===-- llvm/Support/CallSite.h - Abstract Call & Invoke instrs -*- C++ -*-===//
10 // This file defines the CallSite class, which is a handy wrapper for code that
22 // accessors of CallSite are employed.
255 /// hasArgument - Returns true if this CallSite passes the given Value* as an
281 class CallSite : public CallSiteBase<Function, Value, User, Instruction, class in namespace:llvm
286 CallSite() {} function in class:llvm::CallSite
287 CallSite(Base B) : Base(B) {} function in class:llvm::CallSite
288 CallSite(Value* V) : Base(V) {} function in class:llvm::CallSite
289 CallSite(CallInst *CI) : Base(CI) {} function in class:llvm::CallSite
290 CallSite(InvokeIns function in class:llvm::CallSite
291 CallSite(Instruction *II) : Base(II) {} function in class:llvm::CallSite
[all...]
/external/llvm/lib/Transforms/IPO/
H A DInlineAlways.cpp23 #include "llvm/Support/CallSite.h"
45 virtual InlineCost getInlineCost(CallSite CS);
76 CallSite CS(II);
107 InlineCost AlwaysInliner::getInlineCost(CallSite CS) {
H A DInlineSimple.cpp22 #include "llvm/Support/CallSite.h"
42 InlineCost getInlineCost(CallSite CS) {
H A DInliner.cpp27 #include "llvm/Support/CallSite.h"
83 static bool InlineCallIfPossible(CallSite CS, InlineFunctionInfo &IFI,
204 unsigned Inliner::getInlineThreshold(CallSite CS) const {
227 /// at the given CallSite.
228 bool Inliner::shouldInline(CallSite CS) {
278 CallSite CS2(*I);
356 SmallVector<std::pair<CallSite, int>, 16> CallSites;
370 CallSite CS(cast<Value>(I));
413 CallSite CS = CallSites[CSi].first;
466 CallSites.push_back(std::make_pair(CallSite(Pt
[all...]
H A DIPConstantPropagation.cpp25 #include "llvm/Support/CallSite.h"
99 CallSite CS(cast<Instruction>(U));
105 CallSite::arg_iterator AI = CS.arg_begin();
224 CallSite CS(*UI);
/external/llvm/tools/opt/
H A DAnalysisWrappers.cpp22 #include "llvm/Support/CallSite.h"
45 CallSite CS(cast<Value>(User));
48 for (CallSite::arg_iterator AI = CS.arg_begin(),
/external/llvm/lib/Analysis/IPA/
H A DCallGraph.cpp19 #include "llvm/Support/CallSite.h"
119 ExternalCallingNode->addCalledFunction(CallSite(), Node);
132 ExternalCallingNode->addCalledFunction(CallSite(), Node);
137 Node->addCalledFunction(CallSite(), CallsExternalNode);
143 CallSite CS(cast<Value>(II));
279 void CallGraphNode::removeCallEdgeFor(CallSite CS) {
322 void CallGraphNode::replaceCallEdge(CallSite CS,
323 CallSite NewCS, CallGraphNode *NewNode){
/external/llvm/lib/Analysis/
H A DCaptureTracking.cpp104 CallSite CS(I);
118 CallSite::arg_iterator B = CS.arg_begin(), E = CS.arg_end();
119 for (CallSite::arg_iterator A = B; A != E; ++A)
H A DAliasAnalysisEvaluator.cpp118 PrintModRefResults(const char *Msg, bool P, CallSite CSA, CallSite CSB,
135 SetVector<CallSite> CallSites;
145 if (CallSite CS = cast<Value>(&Inst)) {
151 for (CallSite::arg_iterator AI = CS.arg_begin(), AE = CS.arg_end();
201 for (SetVector<CallSite>::iterator C = CallSites.begin(),
229 for (SetVector<CallSite>::iterator C = CallSites.begin(),
231 for (SetVector<CallSite>::iterator D = CallSites.begin(); D != Ce; ++D) {
/external/llvm/include/llvm/Transforms/Utils/
H A DCloning.h39 class CallSite;
202 bool InlineFunction(CallSite CS, InlineFunctionInfo &IFI, bool InsertLifetime = true);
/external/llvm/lib/ExecutionEngine/Interpreter/
H A DInterpreter.h21 #include "llvm/Support/CallSite.h"
76 CallSite Caller; // Holds the call that called subframes.
171 void visitCallSite(CallSite CS);
172 void visitCallInst(CallInst &I) { visitCallSite (CallSite (&I)); }
173 void visitInvokeInst(InvokeInst &I) { visitCallSite (CallSite (&I)); }
/external/llvm/tools/llvm-diff/
H A DDifferenceEngine.cpp26 #include "llvm/Support/CallSite.h"
230 bool diffCallSites(CallSite L, CallSite R, bool Complain) {
266 return diffCallSites(CallSite(L), CallSite(R), Complain);
283 if (diffCallSites(CallSite(LI), CallSite(RI), Complain))
/external/clang/include/clang/Analysis/
H A DAnalysisContext.h251 const Stmt *CallSite; member in class:clang::StackFrameContext
263 : LocationContext(StackFrame, ctx, parent), CallSite(s),
269 const Stmt *getCallSite() const { return CallSite; }
/external/llvm/lib/Transforms/InstCombine/
H A DInstCombine.h23 class CallSite;
220 Instruction *visitCallSite(CallSite CS);
222 bool transformConstExprCastCall(CallSite CS);
223 Instruction *transformCallThroughTrampoline(CallSite CS,

Completed in 2117 milliseconds

123