/external/clang/lib/StaticAnalyzer/Core/ |
D | BlockCounter.cpp | 25 const StackFrameContext *CallSite; member in __anon4e673a630111::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/llvm-project/clang/lib/StaticAnalyzer/Core/ |
D | BlockCounter.cpp | 24 const StackFrameContext *CallSite; member in __anon22e687910111::CountKey 29 : CallSite(CS), BlockID(ID) {} in CountKey() 32 return (CallSite == RHS.CallSite) && (BlockID == RHS.BlockID); in operator ==() 36 return std::tie(CallSite, BlockID) < std::tie(RHS.CallSite, RHS.BlockID); in operator <() 40 ID.AddPointer(CallSite); in Profile() 57 unsigned BlockCounter::getNumVisited(const StackFrameContext *CallSite, in getNumVisited() argument 60 CountMap::data_type* T = M.lookup(CountKey(CallSite, BlockID)); in getNumVisited() 74 const StackFrameContext *CallSite, in IncrementCount() argument 77 CountKey(CallSite, BlockID), in IncrementCount() 78 BC.getNumVisited(CallSite, BlockID)+1).getRoot()); in IncrementCount()
|
/external/llvm-project/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 …]
|
D | callsite-split-preserve-debug.ll | 6 ; CHECK-LABEL: CallSite: 11 br i1 undef, label %CallSite, label %land.rhs 14 br label %CallSite 16 CallSite: ; preds = %land.rhs, %entry 27 ; CHECK-LABEL: CallSite: 34 br i1 %tobool, label %TBB, label %CallSite 37 br i1 undef, label %CallSite, label %End 39 CallSite: ; preds = %TBB, %Header 45 End: ; preds = %CallSite, %TBB
|
/external/llvm-project/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/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-10.0/llvm/include/llvm/IR/ |
D | CallSite.h | 672 class CallSite : public CallSiteBase<Function, BasicBlock, Value, User, Use, 676 CallSite() = default; 677 CallSite(CallSiteBase B) : CallSiteBase(B) {} in CallSite() function 678 CallSite(CallInst *CI) : CallSiteBase(CI) {} in CallSite() function 679 CallSite(InvokeInst *II) : CallSiteBase(II) {} in CallSite() function 680 CallSite(CallBrInst *CBI) : CallSiteBase(CBI) {} in CallSite() function 681 explicit CallSite(Instruction *II) : CallSiteBase(II) {} in CallSite() function 682 explicit CallSite(Value *V) : CallSiteBase(V) {} in CallSite() function 684 bool operator==(const CallSite &CS) const { return I == CS.I; } 685 bool operator!=(const CallSite &CS) const { return I != CS.I; } [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/llvm-project/llvm/lib/Transforms/IPO/ |
D | SampleContextTracker.cpp | 30 ContextTrieNode *ContextTrieNode::getChildContext(const LineLocation &CallSite, in getChildContext() argument 33 return getChildContext(CallSite); in getChildContext() 35 uint32_t Hash = nodeHash(CalleeName, CallSite); in getChildContext() 43 ContextTrieNode::getChildContext(const LineLocation &CallSite) { in getChildContext() argument 50 if (ChildNode.CallSiteLoc == CallSite) { in getChildContext() 62 const LineLocation &CallSite, ContextTrieNode &&NodeToMove, in moveToChildContext() argument 64 uint32_t Hash = nodeHash(NodeToMove.getFuncName(), CallSite); in moveToChildContext() 70 NewNode.CallSiteLoc = CallSite; in moveToChildContext() 105 void ContextTrieNode::removeChildContext(const LineLocation &CallSite, in removeChildContext() argument 107 uint32_t Hash = nodeHash(CalleeName, CallSite); in removeChildContext() [all …]
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Scalar/ |
D | CallSiteSplitting.cpp | 88 static void addNonNullAttribute(CallSite CS, Value *Op) { in addNonNullAttribute() 97 static void setConstantInArgument(CallSite CS, Value *Op, in setConstantInArgument() 111 static bool isCondRelevantToAnyCallArgument(ICmpInst *Cmp, CallSite CS) { in isCondRelevantToAnyCallArgument() 115 for (CallSite::arg_iterator I = CS.arg_begin(), E = CS.arg_end(); I != E; in isCondRelevantToAnyCallArgument() 132 static void recordCondition(CallSite CS, BasicBlock *From, BasicBlock *To, in recordCondition() 155 static void recordConditions(CallSite CS, BasicBlock *Pred, in recordConditions() 168 static void addConditions(CallSite CS, const ConditionsTy &Conditions) { in addConditions() 187 static bool canSplitCallSite(CallSite CS, TargetTransformInfo &TTI) { in canSplitCallSite() 307 CallSite CS, in splitCallSite() 339 CallSite NewCS(NewCI); in splitCallSite() [all …]
|
/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/llvm-project/llvm/include/llvm/Transforms/IPO/ |
D | SampleContextTracker.h | 43 ContextTrieNode *getChildContext(const LineLocation &CallSite, 45 ContextTrieNode *getChildContext(const LineLocation &CallSite); 46 ContextTrieNode *getOrCreateChildContext(const LineLocation &CallSite, 50 ContextTrieNode &moveToChildContext(const LineLocation &CallSite, 54 void removeChildContext(const LineLocation &CallSite, StringRef CalleeName);
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/IPO/ |
D | AlwaysInliner.cpp | 46 SmallSetVector<CallSite, 16> Calls; in run() 55 if (auto CS = CallSite(U)) in run() 59 for (CallSite CS : Calls) in run() 119 InlineCost getInlineCost(CallSite CS) override; 154 InlineCost AlwaysInlinerLegacyPass::getInlineCost(CallSite CS) { in getInlineCost()
|
D | Inliner.cpp | 275 CallSite CS, InlineFunctionInfo &IFI, in InlineCallIfPossible() 307 shouldBeDeferred(Function *Caller, CallSite CS, InlineCost IC, in shouldBeDeferred() 309 function_ref<InlineCost(CallSite CS)> GetInlineCost) { in shouldBeDeferred() 348 CallSite CS2(U); in shouldBeDeferred() 419 shouldInline(CallSite CS, function_ref<InlineCost(CallSite CS)> GetInlineCost, in shouldInline() 519 static void setInlineRemark(CallSite &CS, StringRef message) { in setInlineRemark() 533 function_ref<InlineCost(CallSite CS)> GetInlineCost, in inlineCallsImpl() 548 SmallVector<std::pair<CallSite, int>, 16> CallSites; in inlineCallsImpl() 564 CallSite CS(cast<Value>(&I)); in inlineCallsImpl() 619 CallSite CS = CallSites[CSi].first; in inlineCallsImpl() [all …]
|
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Transforms/Utils/ |
D | CallPromotionUtils.h | 28 bool isLegalToPromote(CallSite CS, Function *Callee, 38 Instruction *promoteCall(CallSite CS, Function *Callee, 48 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/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-10.0/llvm/lib/IR/ |
D | AbstractCallSite.cpp | 68 CS = CallSite(U->getUser()); in AbstractCallSite() 89 CS = CallSite(); in AbstractCallSite() 96 CS = CallSite(); in AbstractCallSite() 115 CS = CallSite(); in AbstractCallSite()
|
/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-10.0/llvm/lib/Target/AMDGPU/ |
D | AMDGPUInline.cpp | 70 unsigned getInlineThreshold(CallSite CS) const; 72 InlineCost getInlineCost(CallSite CS) override; 109 unsigned AMDGPUInliner::getInlineThreshold(CallSite CS) const { in getInlineThreshold() 159 static bool isWrapperOnlyCall(CallSite CS) { in isWrapperOnlyCall() 177 InlineCost AMDGPUInliner::getInlineCost(CallSite CS) { in getInlineCost()
|
/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()
|