OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:CGN
(Results
1 - 10
of
10
) sorted by null
/external/llvm/lib/Transforms/IPO/
PruneEH.cpp
240
CallGraphNode *
CGN
= CG[BB->getParent()];
252
CGN
->removeCallEdgeFor(CS);
254
CGN
->removeCallEdgeFor(CS);
Inliner.cpp
580
auto RemoveCGN = [&](CallGraphNode *
CGN
) {
582
CGN
->removeAllCalledFunctions();
587
CG.getExternalCallingNode()->removeAnyCallEdgeTo(
CGN
);
590
FunctionsToRemove.push_back(
CGN
);
596
CallGraphNode *
CGN
= I.second.get();
597
Function *F =
CGN
->getFunction();
621
DeadFunctionsInComdats.push_back(
CGN
);
626
RemoveCGN(
CGN
);
644
for (CallGraphNode *
CGN
: DeadFunctionsInComdats) {
645
Function *F =
CGN
->getFunction()
[
all
...]
ArgumentPromotion.cpp
96
PromoteArguments(CallGraphNode *
CGN
, CallGraph &CG,
242
PromoteArguments(CallGraphNode *
CGN
, CallGraph &CG,
245
Function *F =
CGN
->getFunction();
[
all
...]
/external/swiftshader/third_party/LLVM/lib/Transforms/IPO/
PruneEH.cpp
238
CallGraphNode *
CGN
= CG[BB->getParent()];
243
CGN
->removeCallEdgeFor(CI);
245
CGN
->removeCallEdgeFor(II);
Inliner.cpp
524
CallGraphNode *
CGN
= I->second;
525
if (
CGN
->getFunction() == 0)
528
Function *F =
CGN
->getFunction();
543
CGN
->removeAllCalledFunctions();
548
CG.getExternalCallingNode()->removeAnyCallEdgeTo(
CGN
);
551
FunctionsToRemove.insert(
CGN
);
ArgumentPromotion.cpp
77
CallGraphNode *PromoteArguments(CallGraphNode *
CGN
);
106
if (CallGraphNode *
CGN
= PromoteArguments(*I)) {
108
SCC.ReplaceNode(*I,
CGN
);
122
CallGraphNode *ArgPromotion::PromoteArguments(CallGraphNode *
CGN
) {
123
Function *F =
CGN
->getFunction();
[
all
...]
/external/llvm/lib/Analysis/
CallGraph.cpp
134
// functions (ie, there are no edges in it's
CGN
). The easiest way to do this
137
Function *CallGraph::removeFunctionFromModule(CallGraphNode *
CGN
) {
138
assert(
CGN
->empty() && "Cannot remove function from call "
140
Function *F =
CGN
->getFunction(); // Get the function for the call graph node
166
auto &
CGN
= FunctionMap[F];
167
if (
CGN
)
168
return
CGN
.get();
171
CGN
= llvm::make_unique<CallGraphNode>(const_cast<Function *>(F));
172
return
CGN
.get();
CallGraphSCCPass.cpp
146
for (CallGraphNode *
CGN
: CurSCC) {
147
if (Function *F =
CGN
->getFunction()) {
184
for (CallGraphNode *
CGN
: CurSCC)
185
CGN
->dump();
195
CallGraphNode *
CGN
= *SCCIdx;
196
Function *F =
CGN
->getFunction();
200
//
CGN
with those actually in the function.
207
for (CallGraphNode::iterator I =
CGN
->begin(), E =
CGN
->end(); I != E; ) {
237
CGN
->removeCallEdge(I)
[
all
...]
/external/swiftshader/third_party/LLVM/lib/Analysis/IPA/
CallGraph.cpp
219
// functions (ie, there are no edges in it's
CGN
). The easiest way to do this
222
Function *CallGraph::removeFunctionFromModule(CallGraphNode *
CGN
) {
223
assert(
CGN
->empty() && "Cannot remove function from call "
225
Function *F =
CGN
->getFunction(); // Get the function for the call graph node
226
delete
CGN
; // Delete the call graph node for this func
252
CallGraphNode *&
CGN
= FunctionMap[F];
253
if (
CGN
) return
CGN
;
256
return
CGN
= new CallGraphNode(const_cast<Function*>(F));
CallGraphSCCPass.cpp
188
CallGraphNode *
CGN
= *SCCIdx;
189
Function *F =
CGN
->getFunction();
193
//
CGN
with those actually in the function.
200
for (CallGraphNode::iterator I =
CGN
->begin(), E =
CGN
->end(); I != E; ) {
225
CGN
->removeCallEdge(I);
232
E =
CGN
->end();
293
// Update the edge target in
CGN
.
294
CGN
->replaceCallEdge(CS, CS, CalleeNode);
302
// If the call site didn't exist in the
CGN
yet, add it
[
all
...]
Completed in 5109 milliseconds