OpenGrok
Home
Sort by:
relevance
|
last modified time
|
path
Full Search
in project(s):
src
xsrc
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:Callee
(Results
1 - 25
of
259
) sorted by relevancy
1
2
3
4
5
6
7
8
9
10
11
/src/external/apache2/llvm/dist/llvm/include/llvm/Transforms/Utils/
CallPromotionUtils.h
23
/// Return true if the given indirect call site can be made to call \p
Callee
.
30
bool isLegalToPromote(const CallBase &CB, Function *
Callee
,
33
/// Promote the given indirect call site to unconditionally call \p
Callee
.
37
/// of the
callee
, bitcast instructions are inserted where appropriate. If \p
40
CallBase &promoteCall(CallBase &CB, Function *
Callee
,
43
/// Promote the given indirect call site to conditionally call \p
Callee
.
50
CallBase &promoteCallWithIfThenElse(CallBase &CB, Function *
Callee
,
/src/external/apache2/llvm/dist/llvm/lib/Target/AMDGPU/
AMDGPUFixFunctionBitcasts.cpp
38
auto *
Callee
=
40
if (
Callee
&& isLegalToPromote(CB,
Callee
)) {
41
promoteCall(CB,
Callee
);
AMDGPUAnnotateKernelFeatures.cpp
43
bool propagateUniformWorkGroupAttribute(Function &Caller, Function &
Callee
);
193
static bool handleAttr(Function &Parent, const Function &
Callee
,
195
if (
Callee
.hasFnAttribute(Name)) {
202
static void copyFeaturesToFunction(Function &Parent, const Function &
Callee
,
204
if (handleAttr(Parent,
Callee
, "amdgpu-queue-ptr"))
208
handleAttr(Parent,
Callee
, AttrName);
218
Function *
Callee
= std::get<1>(I)->getFunction();
219
if (
Callee
)
220
Changed = propagateUniformWorkGroupAttribute(*Caller, *
Callee
);
228
Function &Caller, Function &
Callee
) {
[
all
...]
/src/external/apache2/llvm/dist/llvm/tools/llvm-xray/
trie-node.h
45
///
callee
lists and durations. The caller must provide storage where new merged
64
for (auto *
Callee
: Left.Callees) {
65
LeftCalleesByFuncId[
Callee
->FuncId] =
Callee
;
72
for (auto *
Callee
: Right.Callees) {
73
auto iter = LeftCalleesByFuncId.find(
Callee
->FuncId);
76
mergeTrieNodes(*(iter->second), *
Callee
, Node, NodeStore, MergeFn));
79
Node->Callees.push_back(
Callee
);
/src/external/apache2/llvm/dist/clang/lib/Analysis/plugins/SampleAnalyzer/
MainCallChecker.cpp
20
const Expr *
Callee
= CE->getCallee();
21
const FunctionDecl *FD = C.getSVal(
Callee
).getAsFunctionDecl();
26
// Get the name of the
callee
.
41
report->addRange(
Callee
->getSourceRange());
/src/external/apache2/llvm/dist/llvm/lib/IR/
AbstractCallSite.cpp
31
"Number of invalid abstract call sites created (unknown
callee
)");
37
const Function *
Callee
= CB.getCalledFunction();
38
if (!
Callee
)
41
MDNode *CallbackMD =
Callee
->getMetadata(LLVMContext::MD_callback);
78
// Then handle direct or indirect calls. Thus, if U is the
callee
of the
87
Function *
Callee
= CB->getCalledFunction();
88
if (!
Callee
) {
94
MDNode *CallbackMD =
Callee
->getMetadata(LLVMContext::MD_callback);
139
if (!
Callee
->isVarArg())
152
for (unsigned u =
Callee
->arg_size(); u < NumCallOperands; u++
[
all
...]
/src/external/apache2/llvm/dist/llvm/lib/Analysis/
SyntheticCountsUtils.cpp
59
auto
Callee
= CGT::edge_dest(E.second);
60
AdditionalCounts[
Callee
] += OptProfCount.getValue();
72
auto
Callee
= CGT::edge_dest(E.second);
73
AddCount(
Callee
, OptProfCount.getValue());
ReplayInlineAdvisor.cpp
46
auto
Callee
= Pair.first.split(" inlined into").first.rsplit(": ").second;
50
if (
Callee
.empty() || CallSite.empty())
53
std::string Combined = (
Callee
+ CallSite).str();
71
StringRef
Callee
= CB.getCalledFunction()->getName();
72
std::string Combined = (
Callee
+ CallSiteLoc).str();
FunctionPropertiesAnalysis.cpp
40
const auto *
Callee
= CS->getCalledFunction();
41
if (
Callee
&& !
Callee
->isIntrinsic() && !
Callee
->isDeclaration())
InlineAdvisor.cpp
59
<< NV("
Callee
",
Callee
) << " will not be inlined into "
67
emitInlinedInto(ORE, DLoc, Block, *
Callee
, *Caller, *OIC);
72
emitInlinedInto(ORE, DLoc, Block, *
Callee
, *Caller, *OIC);
95
Function &
Callee
= *CB.getCalledFunction();
96
auto &CalleeTTI = FAM.getResult<TargetIRAnalysis>(
Callee
);
98
Callee
.getContext().getDiagHandlerPtr()->isMissedOptRemarkEnabled(
118
: Advisor(Advisor), Caller(CB.getCaller()),
Callee
(CB.getCalledFunction()),
136
Advisor->ImportedFunctionsStats->recordInline(*Caller, *
Callee
);
148
Advisor->markFunctionAsDeleted(
Callee
);
[
all
...]
CallGraph.cpp
103
const Function *
Callee
= Call->getCalledFunction();
104
if (!
Callee
|| !Intrinsic::isLeaf(
Callee
->getIntrinsicID()))
109
else if (!
Callee
->isIntrinsic())
110
Node->addCalledFunction(Call, getOrInsertFunction(
Callee
));
232
// the specified
callee
function. This takes more time to execute than
234
void CallGraphNode::removeAnyCallEdgeTo(CallGraphNode *
Callee
) {
236
if (CalledFunctions[i].second ==
Callee
) {
237
Callee
->DropRef();
245
/// from this node to the specified
callee
function
[
all
...]
MLInlineAdvisor.cpp
58
if (Function *
Callee
= CS->getCalledFunction()) {
59
if (!
Callee
->isDeclaration()) {
91
// In bottom up traversal, an inlinable
callee
is either in the
134
Function *
Callee
= Advice.getCallee();
149
// the caller, and maybe the
callee
(by deleting the latter).
151
// For edges, we 'forget' the edges that the caller and
callee
used to have
161
FAM.getResult<FunctionPropertiesAnalysis>(*
Callee
)
177
auto &
Callee
= *CB.getCalledFunction();
182
auto &TIR = FAM.getResult<TargetIRAnalysis>(
Callee
);
191
&Caller == &
Callee
)
[
all
...]
StackSafetyAnalysis.cpp
42
"Number of total
callee
lookups on combined index.");
44
"Number of failed
callee
lookups on combined index.");
46
"Number of total
callee
lookups on module index.");
48
"Number of failed
callee
lookups on module index.");
55
STATISTIC(NumIndexCalleeUnhandled, "Number of index
callee
which are unhandled.");
56
STATISTIC(NumIndexCalleeMultipleWeak, "Number of index
callee
non-unique weak.");
57
STATISTIC(NumIndexCalleeMultipleExternal, "Number of index
callee
non-unique external.");
100
const CalleeTy *
Callee
= nullptr;
104
CallInfo(const CalleeTy *
Callee
, size_t ParamNo)
105
:
Callee
(Callee), ParamNo(ParamNo) {
[
all
...]
/src/external/apache2/llvm/dist/llvm/lib/Transforms/Utils/
CallPromotionUtils.cpp
125
/// that of the
callee
. If this is the case, we have to cast the returned value
191
///
callee
. The original call site is moved into the "else" block, and a clone
282
static CallBase &versionCallSite(CallBase &CB, Value *
Callee
,
289
// Create the compare. The called value and
callee
must have the same type to
291
if (CB.getCalledOperand()->getType() !=
Callee
->getType())
292
Callee
= Builder.CreateBitCast(
Callee
, CB.getCalledOperand()->getType());
293
auto *Cond = Builder.CreateICmpEQ(CB.getCalledOperand(),
Callee
);
382
bool llvm::isLegalToPromote(const CallBase &CB, Function *
Callee
,
386
auto &DL =
Callee
->getParent()->getDataLayout()
[
all
...]
/src/external/apache2/llvm/dist/clang/lib/Sema/
SemaSYCL.cpp
35
bool Sema::checkSYCLDeviceFunction(SourceLocation Loc, FunctionDecl *
Callee
) {
38
assert(
Callee
&& "
Callee
may not be null.");
/src/external/apache2/llvm/dist/llvm/include/llvm/Transforms/IPO/
ProfiledCallGraph.h
59
ContextTrieNode *
Callee
= &Child.second;
60
addProfiledFunction(
Callee
->getFuncName());
61
Queue.push(
Callee
);
68
// and
callee
need to have context profile.
75
ContextTrieNode *
Callee
= &Child.second;
76
addProfiledFunction(
Callee
->getFuncName());
77
Queue.push(
Callee
);
78
addProfiledCall(Caller->getFuncName(),
Callee
->getFuncName());
/src/external/apache2/llvm/dist/llvm/lib/Transforms/IPO/
Inliner.cpp
248
Function *
Callee
= CB.getCalledFunction();
251
AAResults &AAR = AARGetter(*
Callee
);
260
ImportedFunctionsStats.recordInline(*Caller, *
Callee
);
262
AttributeFuncs::mergeAttributesForInlining(*Caller, *
Callee
);
320
// When inlining a
callee
produces new call sites, we want to keep track of
321
// the fact that they were inlined from the
callee
. This allows us to avoid
343
if (Function *
Callee
= CB->getCalledFunction())
344
if (
Callee
->isDeclaration()) {
350
<< NV("
Callee
",
Callee
) << " will not be inlined into
[
all
...]
AlwaysInliner.cpp
50
// When
callee
coroutine function is inlined into caller coroutine function
186
Function *
Callee
= CB.getCalledFunction();
190
if (!
Callee
)
193
// When
callee
coroutine function is inlined into caller coroutine function
197
if (
Callee
->isPresplitCoroutine())
201
if (
Callee
->isDeclaration())
207
auto IsViable = isInlineViable(*
Callee
);
/src/external/apache2/llvm/dist/clang/lib/StaticAnalyzer/Checkers/
NoReturnFunctionChecker.cpp
47
const Expr *
Callee
= CE.getOriginExpr();
48
if (!BuildSinks &&
Callee
)
49
BuildSinks = getFunctionExtInfo(
Callee
->getType()).getNoReturn();
/src/external/apache2/llvm/dist/llvm/lib/Target/NVPTX/
NVVMReflect.cpp
120
Function *
Callee
= Call->getCalledFunction();
121
if (!
Callee
|| (
Callee
->getName() != NVVM_REFLECT_FUNCTION &&
122
Callee
->getIntrinsicID() != Intrinsic::nvvm_reflect))
/src/external/apache2/llvm/dist/clang/lib/StaticAnalyzer/Checkers/WebKit/
UncountedCallArgsChecker.cpp
78
// fewer arguments than the
callee
has parameters.
133
const auto *
Callee
= CE->getDirectCallee();
134
if (!
Callee
)
137
auto overloadedOperatorType =
Callee
->getOverloadedOperator();
147
if (isCtorOfRefCounted(
Callee
))
150
auto name = safeGetName(
Callee
);
/src/external/apache2/llvm/dist/llvm/include/llvm/Analysis/
MLInlineAdvisor.h
79
: Advisor->getIRSize(*
Callee
)),
83
Advisor->getLocalCalls(*
Callee
))) {}
92
Function *getCallee() const { return
Callee
; }
/src/external/apache2/llvm/dist/llvm/lib/Transforms/ObjCARC/
ObjCARCAPElim.cpp
45
if (const Function *
Callee
= CB.getCalledFunction()) {
46
if (!
Callee
->hasExactDefinition())
48
for (const BasicBlock &BB : *
Callee
) {
/src/external/apache2/llvm/dist/clang/examples/CallSuperAttribute/
CallSuperAttrInfo.cpp
51
const CXXMethodDecl *
Callee
= nullptr;
57
Callee
= MustCalled;
60
if (
Callee
)
61
MustCalledMethods.erase(
Callee
);
/src/external/apache2/llvm/dist/llvm/lib/Transforms/Instrumentation/
ValueProfilePlugins.inc
84
Value *
Callee
= cast<CallBase>(I)->getCalledOperand();
87
Candidates.emplace_back(CandidateInfo{
Callee
, InsertPt, AnnotatedInst});
Completed in 59 milliseconds
1
2
3
4
5
6
7
8
9
10
11
Indexes created Sat Sep 26 00:25:34 UTC 2026