/external/clang/lib/StaticAnalyzer/Core/ |
D | BlockCounter.cpp | 25 const StackFrameContext *CallSite; member in __anon92b705870111::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/swiftshader/third_party/llvm-7.0/llvm/test/Transforms/CallSiteSplitting/ |
D | callsite-instructions-before-call.ll | 10 br i1 %tobool, label %TBB, label %CallSite 16 br i1 %tobool1, label %CallSite, label %End 18 CallSite: ; preds = %TBB, %Header 23 End: ; preds = %CallSite, %TBB 24 %somepointerphi = phi i32* [ %somepointer, %CallSite ], [ null, %TBB ] 32 ; CHECK: br label %CallSite 36 ; CHECK: br label %CallSite 37 ; CHECK: CallSite: 44 br i1 %tobool, label %TBB, label %CallSite 50 br i1 %tobool1, label %CallSite, label %End [all …]
|
/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() argument 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-7.0/llvm/include/llvm/IR/ |
D | CallSite.h | 666 class CallSite : public CallSiteBase<Function, BasicBlock, Value, User, Use, 670 CallSite() = default; 671 CallSite(CallSiteBase B) : CallSiteBase(B) {} in CallSite() function 672 CallSite(CallInst *CI) : CallSiteBase(CI) {} in CallSite() function 673 CallSite(InvokeInst *II) : CallSiteBase(II) {} in CallSite() function 674 explicit CallSite(Instruction *II) : CallSiteBase(II) {} in CallSite() function 675 explicit CallSite(Value *V) : CallSiteBase(V) {} in CallSite() function 677 bool operator==(const CallSite &CS) const { return I == CS.I; } 678 bool operator!=(const CallSite &CS) const { return I != CS.I; } 679 bool operator<(const CallSite &CS) const { [all …]
|
/external/tensorflow/tensorflow/compiler/xla/service/ |
D | call_graph.h | 59 class CallSite { 61 CallSite(HloInstruction* instruction, in CallSite() function 102 const std::vector<CallSite>& callsites() const { return callsites_; } in callsites() 108 const CallSite* GetCallSite(const HloInstruction* instruction) const; 114 const std::vector<CallSite>& caller_callsites() const { in caller_callsites() 143 void AddCallerCallSite(const CallSite& caller_callsite); 164 std::vector<CallSite> callsites_; 171 std::vector<CallSite> caller_callsites_;
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Scalar/ |
D | CallSiteSplitting.cpp | 87 static void addNonNullAttribute(CallSite CS, Value *Op) { in addNonNullAttribute() 96 static void setConstantInArgument(CallSite CS, Value *Op, in setConstantInArgument() 110 static bool isCondRelevantToAnyCallArgument(ICmpInst *Cmp, CallSite CS) { in isCondRelevantToAnyCallArgument() 114 for (CallSite::arg_iterator I = CS.arg_begin(), E = CS.arg_end(); I != E; in isCondRelevantToAnyCallArgument() 131 static void recordCondition(CallSite CS, BasicBlock *From, BasicBlock *To, in recordCondition() 153 static void recordConditions(CallSite CS, BasicBlock *Pred, in recordConditions() 167 static void addConditions(CallSite CS, const ConditionsTy &Conditions) { in addConditions() 186 static bool canSplitCallSite(CallSite CS, TargetTransformInfo &TTI) { in canSplitCallSite() 303 CallSite CS, in splitCallSite() 333 CallSite NewCS(NewCI); in splitCallSite() [all …]
|
D | PlaceSafepoints.cpp | 182 std::vector<CallSite> &ParsePointsNeeded /*rval*/, 185 static bool needsStatepoint(const CallSite &CS, const TargetLibraryInfo &TLI) { in needsStatepoint() 220 if (auto CS = CallSite(&I)) in containsUnconditionalCallSafepoint() 363 static bool doesNotRequireEntrySafepointBefore(const CallSite &CS) { in doesNotRequireEntrySafepointBefore() 427 if (auto CS = CallSite(Cursor)) { in findLocationForEntrySafepoint() 503 std::vector<CallSite> ParsePointNeeded; in runOnFunction() 592 std::vector<CallSite> RuntimeCalls; in runOnFunction() 625 std::vector<CallSite> &ParsePointsNeeded /*rval*/, in INITIALIZE_PASS_DEPENDENCY() 690 ParsePointsNeeded.push_back(CallSite(CI)); in INITIALIZE_PASS_DEPENDENCY()
|
/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-7.0/llvm/lib/Transforms/IPO/ |
D | AlwaysInliner.cpp | 37 SmallSetVector<CallSite, 16> Calls; in run() 46 if (auto CS = CallSite(U)) in run() 50 for (CallSite CS : Calls) in run() 110 InlineCost getInlineCost(CallSite CS) override; 145 InlineCost AlwaysInlinerLegacyPass::getInlineCost(CallSite CS) { in getInlineCost()
|
D | Inliner.cpp | 267 CallSite CS, InlineFunctionInfo &IFI, in InlineCallIfPossible() 298 shouldBeDeferred(Function *Caller, CallSite CS, InlineCost IC, in shouldBeDeferred() 300 function_ref<InlineCost(CallSite CS)> GetInlineCost) { in shouldBeDeferred() 328 CallSite CS2(U); in shouldBeDeferred() 372 shouldInline(CallSite CS, function_ref<InlineCost(CallSite CS)> GetInlineCost, in shouldInline() 469 function_ref<InlineCost(CallSite CS)> GetInlineCost, in inlineCallsImpl() 484 SmallVector<std::pair<CallSite, int>, 16> CallSites; in inlineCallsImpl() 500 CallSite CS(cast<Value>(&I)); in inlineCallsImpl() 554 CallSite CS = CallSites[CSi].first; in inlineCallsImpl() 647 CallSites.push_back(std::make_pair(CallSite(Ptr), NewHistoryID)); in inlineCallsImpl() [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/Transforms/Utils/ |
D | CallPromotionUtils.h | 29 bool isLegalToPromote(CallSite CS, Function *Callee, 39 Instruction *promoteCall(CallSite CS, Function *Callee, 49 Instruction *promoteCallWithIfThenElse(CallSite CS, Function *Callee,
|
/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-7.0/llvm/include/llvm/Analysis/ |
D | InlineCost.h | 26 class CallSite; variable 179 int getCallsiteCost(CallSite CS, const DataLayout &DL); 193 CallSite CS, const InlineParams &Params, TargetTransformInfo &CalleeTTI, 204 getInlineCost(CallSite CS, Function *Callee, const InlineParams &Params,
|
/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);
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/AMDGPU/ |
D | AMDGPUInline.cpp | 65 unsigned getInlineThreshold(CallSite CS) const; 67 InlineCost getInlineCost(CallSite CS) override; 104 unsigned AMDGPUInliner::getInlineThreshold(CallSite CS) const { in getInlineThreshold() 154 static bool isWrapperOnlyCall(CallSite CS) { in isWrapperOnlyCall() 172 InlineCost AMDGPUInliner::getInlineCost(CallSite CS) { in getInlineCost()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Utils/ |
D | CallPromotionUtils.cpp | 162 static void createRetBitCast(CallSite CS, Type *RetTy, CastInst **RetBitCast) { in createRetBitCast() 257 static Instruction *versionCallSite(CallSite CS, Value *Callee, in versionCallSite() 320 bool llvm::isLegalToPromote(CallSite CS, Function *Callee, in isLegalToPromote() 364 Instruction *llvm::promoteCall(CallSite CS, Function *Callee, in promoteCall() 413 Instruction *llvm::promoteCallWithIfThenElse(CallSite CS, Function *Callee, in promoteCallWithIfThenElse() 422 return promoteCall(CallSite(NewInst), Callee); in promoteCallWithIfThenElse()
|
/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/swiftshader/third_party/llvm-7.0/llvm/lib/Analysis/ |
D | CallGraph.cpp | 67 ExternalCallingNode->addCalledFunction(CallSite(), Node); in addToCallGraph() 72 Node->addCalledFunction(CallSite(), CallsExternalNode.get()); in addToCallGraph() 77 if (auto CS = CallSite(&I)) { in addToCallGraph() 189 void CallGraphNode::removeCallEdgeFor(CallSite CS) { in removeCallEdgeFor() 232 void CallGraphNode::replaceCallEdge(CallSite CS, in replaceCallEdge() 233 CallSite NewCS, CallGraphNode *NewNode){ in replaceCallEdge()
|
/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/swiftshader/third_party/llvm-7.0/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); 467 CallSite CS, Value *State) { in rewriteSetJmpCallSite() 497 CallSite NewCS; in rewriteSetJmpCallSite() 540 CallSite CS) { in getStateForCallSite() 629 CallSite CS) { in isStateStoreNeeded() 683 CallSite CS(&I); in addStateStores() 750 CallSite CS(&I); in addStateStores() 767 SmallVector<CallSite, 1> SetJmp3CallSites; in addStateStores() [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/unittests/Analysis/ |
D | ProfileSummaryInfoTest.cpp | 124 CallSite CS1(BB1->getFirstNonPHI()); in TEST_F() 164 CallSite CS1(BB1->getFirstNonPHI()); in TEST_F() 166 CallSite CS2(CI2); in TEST_F() 196 CallSite CS1(BB1->getFirstNonPHI()); in TEST_F() 203 CallSite CS2(CI2); in TEST_F()
|