/external/clang/lib/StaticAnalyzer/Core/ |
D | BlockCounter.cpp | 25 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/ |
D | 2003-11-27-MultipleInheritanceThunk.cpp | 5 struct CallSite { struct 8 CallSite(const CallSite &CS); argument 14 virtual int getModRefInfo(CallSite CS); 24 int getModRefInfo(CallSite CS) { in getModRefInfo()
|
D | x86_32-arguments.cpp | 35 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/ |
D | InlineCost.h | 29 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/ |
D | CallSite.h | 266 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/ |
D | InlinerPass.h | 23 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/ |
D | InlinerPass.h | 24 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/ |
D | CallGraph.cpp | 119 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/ |
D | CallSite.h | 601 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/ |
D | AliasAnalysisEvaluator.cpp | 118 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()
|
D | InlineCost.cpp | 310 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()
|
D | CaptureTracking.cpp | 73 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/ |
D | CallGraph.cpp | 62 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()
|
D | AliasAnalysisSummary.h | 151 Optional<InstantiatedValue> instantiateInterfaceValue(InterfaceValue, CallSite); 159 CallSite); 168 CallSite);
|
D | InlineCost.cpp | 90 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 …]
|
D | AliasAnalysisSummary.cpp | 78 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/ |
D | Inliner.cpp | 76 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/ |
D | PlaceSafepoints.cpp | 177 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/ |
D | InlineCost.h | 23 class CallSite; variable 113 InlineCost getInlineCost(CallSite CS, int DefaultThreshold, 122 InlineCost getInlineCost(CallSite CS, Function *Callee, int DefaultThreshold,
|
/external/llvm/lib/Transforms/IPO/ |
D | Inliner.cpp | 78 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/ |
D | X86WinEHState.cpp | 76 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/ |
D | invalid-instantiated-field-decl.cpp | 30 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/ |
D | SjLjEHPrepare.cpp | 62 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/ |
D | BlockCounter.h | 38 unsigned getNumVisited(const StackFrameContext *CallSite, 49 const StackFrameContext *CallSite,
|
/external/swiftshader/third_party/LLVM/lib/Transforms/Utils/ |
D | BasicInliner.cpp | 78 std::vector<CallSite> CallSites; in inlineFunctions() 85 CallSite CS(cast<Value>(I)); in inlineFunctions() 100 CallSite CS = CallSites[index]; in inlineFunctions()
|