HomeSort by relevance Sort by last modified time
    Searched refs:CallSite (Results 1 - 25 of 65) sorted by null

1 2 3

  /external/clang/test/CodeGenCXX/
2003-11-27-MultipleInheritanceThunk.cpp 4 struct CallSite {
7 CallSite(const CallSite &CS);
13 virtual int getModRefInfo(CallSite CS);
23 int getModRefInfo(CallSite CS) {
x86_32-arguments.cpp 34 // CHECK: %struct.CallSite* byval align 4 %CS)
35 struct CallSite {
37 CallSite(unsigned XX) : Ptr(XX) {}
42 virtual void getModRefInfo(CallSite CS) = 0;
50 void getModRefInfo(CallSite CS);
53 void BasicAliasAnalysis::getModRefInfo(CallSite CS) {
  /external/clang/lib/StaticAnalyzer/Core/
BlockCounter.cpp 25 const StackFrameContext *CallSite;
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,
    [all...]
  /external/llvm/include/llvm/Transforms/IPO/
InlinerPass.h 23 class CallSite;
59 unsigned getInlineThreshold(CallSite CS) const;
66 virtual InlineCost getInlineCost(CallSite CS) = 0;
71 virtual float getInlineFudgeFactor(CallSite CS) = 0;
91 /// inline at the given CallSite.
92 bool shouldInline(CallSite CS);
  /external/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
BlockCounter.h 40 unsigned getNumVisited(const StackFrameContext *CallSite,
51 const StackFrameContext *CallSite,
  /external/clang/test/SemaCXX/
invalid-instantiated-field-decl.cpp 15 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/llvm/include/llvm/Analysis/
InlineCost.h 29 class CallSite;
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);
CallGraph.h 58 #include "llvm/Support/CallSite.h"
254 "Cannot steal callsite information if I already have some");
261 void addCalledFunction(CallSite CS, CallGraphNode *M) {
279 void removeCallEdgeFor(CallSite CS);
286 /// removeOneAbstractEdgeTo - Remove one edge associated with a null callsite
293 void replaceCallEdge(CallSite CS, CallSite NewCS, CallGraphNode *NewNode);
MemoryDependenceAnalysis.h 30 class CallSite;
361 const NonLocalDepInfo &getNonLocalCallDependency(CallSite QueryCS);
417 MemDepResult getCallSiteDependencyFrom(CallSite C, bool isReadOnlyCall,
  /external/valgrind/tsan/
ts_race_verifier.cc 59 struct CallSite {
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>::const_iterator it = writes.begin()
    [all...]
  /external/llvm/include/llvm/Support/
CallSite.h 1 //===-- 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.
240 /// hasArgument - Returns true if this CallSite passes the given Value* as an
266 class CallSite : public CallSiteBase<Function, Value, User, Instruction,
271 CallSite() {}
272 CallSite(Base B) : Base(B) {}
273 CallSite(Value* V) : Base(V) {}
274 CallSite(CallInst *CI) : Base(CI) {}
275 CallSite(InvokeInst *II) : Base(II) {
    [all...]
  /external/llvm/lib/Analysis/
CaptureTracking.cpp 26 #include "llvm/Support/CallSite.h"
73 CallSite CS(I);
87 CallSite::arg_iterator B = CS.arg_begin(), E = CS.arg_end();
88 for (CallSite::arg_iterator A = B; A != E; ++A)
AliasAnalysisEvaluator.cpp 118 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();
203 for (SetVector<CallSite>::iterator C = CallSites.begin(),
233 for (SetVector<CallSite>::iterator C = CallSites.begin(),
235 for (SetVector<CallSite>::iterator D = CallSites.begin(); D != Ce; ++D) {
InlineCost.cpp 15 #include "llvm/Support/CallSite.h"
309 int InlineCostAnalyzer::ConstantFunctionBonus(CallSite CS, Constant *C) {
330 Bonus += ConstantFunctionBonus(CallSite(CI), C);
334 Bonus += ConstantFunctionBonus(CallSite(II), C);
369 int InlineCostAnalyzer::getInlineSize(CallSite CS, Function *Callee) {
387 CallSite::arg_iterator I = CS.arg_begin();
422 int InlineCostAnalyzer::getInlineBonuses(CallSite CS, Function *Callee) {
459 CallSite::arg_iterator I = CS.arg_begin();
472 InlineCost InlineCostAnalyzer::getInlineCost(CallSite CS,
477 InlineCost InlineCostAnalyzer::getInlineCost(CallSite CS
    [all...]
  /external/llvm/lib/Analysis/IPA/
CallGraph.cpp 19 #include "llvm/Support/CallSite.h"
119 ExternalCallingNode->addCalledFunction(CallSite(), Node);
134 || !CallSite(cast<Instruction>(U)).isCallee(I)) {
136 ExternalCallingNode->addCalledFunction(CallSite(), Node);
144 Node->addCalledFunction(CallSite(), CallsExternalNode);
150 CallSite CS(cast<Value>(II));
282 void CallGraphNode::removeCallEdgeFor(CallSite CS) {
284 assert(I != CalledFunctions.end() && "Cannot find callsite to remove!");
307 /// removeOneAbstractEdgeTo - Remove one edge associated with a null callsite
325 void CallGraphNode::replaceCallEdge(CallSite CS
    [all...]
  /external/llvm/lib/Transforms/IPO/
InlineAlways.cpp 23 #include "llvm/Support/CallSite.h"
44 InlineCost getInlineCost(CallSite CS) {
47 float getInlineFudgeFactor(CallSite CS) {
InlineSimple.cpp 22 #include "llvm/Support/CallSite.h"
44 InlineCost getInlineCost(CallSite CS) {
47 float getInlineFudgeFactor(CallSite CS) {
Inliner.cpp 26 #include "llvm/Support/CallSite.h"
76 static bool InlineCallIfPossible(CallSite CS, InlineFunctionInfo &IFI,
125 // reuse and makes a callsite (C) available for inlining. When we process
197 unsigned Inliner::getInlineThreshold(CallSite CS) const {
217 /// at the given CallSite.
218 bool Inliner::shouldInline(CallSite CS) {
260 CallSite CS2(*I);
345 SmallVector<std::pair<CallSite, int>, 16> CallSites;
359 CallSite CS(cast<Value>(I));
402 CallSite CS = CallSites[CSi].first
    [all...]
IPConstantPropagation.cpp 25 #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/
AnalysisWrappers.cpp 22 #include "llvm/Support/CallSite.h"
45 CallSite CS(cast<Value>(User));
48 for (CallSite::arg_iterator AI = CS.arg_begin(),
  /external/llvm/include/llvm/Transforms/Utils/
Cloning.h 39 class CallSite;
209 bool InlineFunction(CallSite CS, InlineFunctionInfo &IFI);
  /external/llvm/lib/Transforms/Utils/
BasicInliner.cpp 20 #include "llvm/Support/CallSite.h"
78 std::vector<CallSite> CallSites;
85 CallSite CS(cast<Value>(I));
100 CallSite CS = CallSites[index];
  /external/llvm/lib/ExecutionEngine/Interpreter/
Interpreter.h 21 #include "llvm/Support/CallSite.h"
76 CallSite Caller; // Holds the call that called subframes.
165 void visitCallSite(CallSite CS);
166 void visitCallInst(CallInst &I) { visitCallSite (CallSite (&I)); }
167 void visitInvokeInst(InvokeInst &I) { visitCallSite (CallSite (&I)); }
  /external/llvm/lib/CodeGen/
SjLjEHPrepare.cpp 63 Value *CallSite;
83 void insertCallSiteStore(Instruction *I, int Number, Value *CallSite);
84 void markInvokeCallSite(InvokeInst *II, int InvokeNo, Value *CallSite,
141 Value *CallSite) {
145 new StoreInst(CallSiteNoC, CallSite, true, I); // volatile
186 Value *CallSite,
211 insertCallSiteStore(II, InvokeNo, CallSite);
518 CallSite = GetElementPtrInst::Create(FunctionContext, Idxs, "call_site",
573 // Insert a load of the callsite in the dispatch block, and a switch on its
581 Value *DispatchLoad = new LoadInst(CallSite, "invoke.num", true
    [all...]
  /external/clang/include/clang/Analysis/
AnalysisContext.h 264 // The callsite where this stack frame is established.
265 const Stmt *CallSite;
267 // The parent block of the callsite.
270 // The index of the callsite in the CFGBlock.
277 : LocationContext(StackFrame, ctx, parent), CallSite(s),
283 const Stmt *getCallSite() const { return CallSite; }

Completed in 5802 milliseconds

1 2 3