HomeSort by relevance Sort by last modified time
    Searched refs:Callee (Results 1 - 25 of 467) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /external/swiftshader/third_party/LLVM/lib/Analysis/
MemoryBuiltins.cpp 37 Function *Callee = CI->getCalledFunction();
38 if (Callee == 0 || !Callee->isDeclaration())
40 if (Callee->getName() != "malloc" &&
41 Callee->getName() != "_Znwj" && // operator new(unsigned int)
42 Callee->getName() != "_Znwm" && // operator new(unsigned long)
43 Callee->getName() != "_Znaj" && // operator new[](unsigned int)
44 Callee->getName() != "_Znam") // operator new[](unsigned long)
50 FunctionType *FTy = Callee->getFunctionType();
192 Function *Callee = CI->getCalledFunction()
    [all...]
InlineCost.cpp 235 // Look at the size of the callee.
267 // performance boost for using a specialization of Callee with argument
269 int InlineCostAnalyzer::getSpecializationBonus(Function *Callee,
272 if (Callee->mayBeOverridden())
278 if (Callee->getCallingConv() == CallingConv::Cold)
281 // Get information about the callee.
282 FunctionInfo *CalleeFI = &CachedFunctionInfo[Callee];
286 CalleeFI->analyzeFunction(Callee, TD);
290 for (Function::arg_iterator I = Callee->arg_begin(), E = Callee->arg_end()
    [all...]
  /external/llvm/lib/Transforms/IPO/
InlineAlways.cpp 93 Function *Callee = CS.getCalledFunction();
98 if (Callee && !Callee->isDeclaration() &&
99 CS.hasFnAttr(Attribute::AlwaysInline) && isInlineViable(*Callee))
Inliner.cpp 81 Function *Callee = CS.getCalledFunction();
86 BasicAAResult BAR(createLegacyPMBasicAAResult(P, *Callee));
90 AAResults AAR(createLegacyPMAAResults(P, *Callee, BAR));
97 AttributeFuncs::mergeAttributesForInlining(*Caller, *Callee);
240 // elsewhere, and the current candidate callee (call it C) is large enough
395 // When inlining a callee produces new call sites, we want to keep track of
396 // the fact that they were inlined from the callee. This allows us to avoid
416 if (Function *Callee = CS.getCalledFunction())
417 if (Callee->isDeclaration())
455 Function *Callee = CS.getCalledFunction()
    [all...]
InlineSimple.cpp 62 Function *Callee = CS.getCalledFunction();
63 TargetTransformInfo &TTI = TTIWP->getTTI(*Callee);
  /external/swiftshader/third_party/LLVM/lib/Transforms/Instrumentation/
ProfilingUtils.h 33 void InsertProfilingShutdownCall(Function *Callee, Module *Mod);
  /external/swiftshader/third_party/LLVM/include/llvm/Analysis/
InlineCost.h 133 int getInlineSize(CallSite CS, Function *Callee);
134 int getInlineBonuses(CallSite CS, Function *Callee);
146 /// the function call or not. The callee is explicitly specified, to allow
149 /// weight it yourself in cases where this callee will not always be called.
151 Function *Callee,
155 /// performance boost for using a specialization of Callee with argument
157 int getSpecializationBonus(Function *Callee,
161 /// impact of creating a specialized version of Callee with argument
163 InlineCost getSpecializationCost(Function *Callee,
175 /// growCachedCostInfo - update the cached cost info for Caller after Callee
    [all...]
  /external/swiftshader/third_party/subzero/crosstest/
test_calling_conv_main.cpp 29 // The crosstest code consists of caller / callee function pairs.
32 // function located at Callee.
34 // The callee function writes the argument numbered ArgNum into the
38 // llc, pass arguments to the callee in the same way. The Caller() and
39 // Subzero_Caller() functions both call the same callee (which has been
44 // Callee() and Subzero_Callee() are being tested to ensure that both
49 CalleePtrTy Callee;
70 CalleePtrTy Callee;
73 #define X(caller, callee, argc) \
75 STR(caller), STR(callee), argc, &caller, &Subzero_::caller,
    [all...]
test_calling_conv.h 20 extern CalleePtrTy Callee;
test_calling_conv.cpp 12 // llc. "Caller" functions test the handling of out-args, and "callee"
26 CALL_AS_TYPE(callee_i_Ty, Callee)(arg1);
36 CALL_AS_TYPE(callee_vvvvv_Ty, Callee)(arg1, arg2, arg3, arg4, arg5);
53 CALL_AS_TYPE(callee_vlvilvfvdviv_Ty, Callee)(arg1, arg2, arg3, arg4, arg5,
  /external/clang/examples/analyzer-plugin/
MainCallChecker.cpp 21 const Expr *Callee = CE->getCallee();
22 const FunctionDecl *FD = state->getSVal(Callee, LC).getAsFunctionDecl();
27 // Get the name of the callee.
42 report->addRange(Callee->getSourceRange());
  /external/swiftshader/third_party/LLVM/lib/Transforms/IPO/
Inliner.cpp 79 Function *Callee = CS.getCalledFunction();
89 if (Callee->hasFnAttr(Attribute::StackProtectReq))
91 else if (Callee->hasFnAttr(Attribute::StackProtect) &&
208 Function *Callee = CS.getCalledFunction();
209 if (HintThreshold > thres && Callee && !Callee->isDeclaration() &&
210 Callee->hasFnAttr(Attribute::InlineHint))
247 // and the current candidate callee (call it C) is large enough that
347 // When inlining a callee produces new call sites, we want to keep track of
348 // the fact that they were inlined from the callee. This allows us to avoi
    [all...]
InlineAlways.cpp 53 void growCachedCostInfo(Function* Caller, Function* Callee) {
54 CA.growCachedCostInfo(Caller, Callee);
  /external/swiftshader/third_party/LLVM/lib/Transforms/Utils/
BasicInliner.cpp 101 if (Function *Callee = CS.getCalledFunction()) {
104 if (Callee->isDeclaration() ||
105 CS.getInstruction()->getParent()->getParent() == Callee) {
134 if (Callee->use_empty() && (Callee->hasLocalLinkage() ||
135 Callee->hasAvailableExternallyLinkage()))
136 DeadFunctions.insert(Callee);
  /external/clang/lib/StaticAnalyzer/Checkers/
NoReturnFunctionChecker.cpp 48 const Expr *Callee = CE.getOriginExpr();
49 if (!BuildSinks && Callee)
50 BuildSinks = getFunctionExtInfo(Callee->getType()).getNoReturn();
  /external/clang/unittests/Tooling/
LookupTest.cpp 37 const auto *Callee = cast<DeclRefExpr>(Expr->getCallee()->IgnoreImplicit());
38 const ValueDecl *FD = Callee->getDecl();
40 Callee->getQualifier(), Visitor.DeclStack.back()->getDeclContext(), FD,
  /external/swiftshader/third_party/LLVM/lib/Analysis/IPA/
CallGraph.cpp 135 // Not a call, or being used as a parameter rather than as the callee.
152 const Function *Callee = CS.getCalledFunction();
153 if (Callee)
154 Node->addCalledFunction(CS, getOrInsertFunction(Callee));
295 // the specified callee function. This takes more time to execute than
297 void CallGraphNode::removeAnyCallEdgeTo(CallGraphNode *Callee) {
299 if (CalledFunctions[i].second == Callee) {
300 Callee->DropRef();
308 /// from this node to the specified callee function.
309 void CallGraphNode::removeOneAbstractEdgeTo(CallGraphNode *Callee) {
    [all...]
  /external/swiftshader/third_party/LLVM/lib/Transforms/Scalar/
SimplifyLibCalls.cpp 63 virtual Value *CallOptimizer(Function *Callee, CallInst *CI, IRBuilder<> &B)
135 virtual Value *CallOptimizer(Function *Callee, CallInst *CI, IRBuilder<> &B) {
137 FunctionType *FT = Callee->getFunctionType();
185 virtual Value *CallOptimizer(Function *Callee, CallInst *CI, IRBuilder<> &B) {
187 FunctionType *FT = Callee->getFunctionType();
233 virtual Value *CallOptimizer(Function *Callee, CallInst *CI, IRBuilder<> &B) {
235 FunctionType *FT = Callee->getFunctionType();
283 virtual Value *CallOptimizer(Function *Callee, CallInst *CI, IRBuilder<> &B) {
285 FunctionType *FT = Callee->getFunctionType();
324 virtual Value *CallOptimizer(Function *Callee, CallInst *CI, IRBuilder<> &B)
    [all...]
  /external/llvm/lib/Analysis/
CallGraph.cpp 86 const Function *Callee = CS.getCalledFunction();
87 if (!Callee || !Intrinsic::isLeaf(Callee->getIntrinsicID()))
92 else if (!Callee->isIntrinsic())
93 Node->addCalledFunction(CS, getOrInsertFunction(Callee));
216 // the specified callee function. This takes more time to execute than
218 void CallGraphNode::removeAnyCallEdgeTo(CallGraphNode *Callee) {
220 if (CalledFunctions[i].second == Callee) {
221 Callee->DropRef();
229 /// from this node to the specified callee function
    [all...]
  /external/clang/lib/CodeGen/
CGCUDARuntime.cpp 47 llvm::Value *Callee = CGF.EmitScalarExpr(E->getCallee());
48 CGF.EmitCall(E->getCallee()->getType(), Callee, E, ReturnValue, TargetDecl);
  /external/llvm/include/llvm/Analysis/
InlineCost.h 117 /// \brief Get an InlineCost with the callee explicitly specified.
119 /// pointer. This behaves exactly as the version with no explicit callee
122 InlineCost getInlineCost(CallSite CS, Function *Callee, int DefaultThreshold,
132 bool isInlineViable(Function &Callee);
  /external/llvm/lib/Transforms/Utils/
SimplifyLibCalls.cpp 183 Function *Callee = CI->getCalledFunction();
184 FunctionType *FT = Callee->getFunctionType();
339 Function *Callee = CI->getCalledFunction();
351 Type *PT = Callee->getFunctionType()->getParamType(0);
363 Function *Callee = CI->getCalledFunction();
393 Type *PT = Callee->getFunctionType()->getParamType(0);
882 Function *Callee = CI->getCalledFunction();
    [all...]
  /external/llvm/lib/Transforms/ObjCARC/
ObjCARCAPElim.cpp 72 if (const Function *Callee = CS.getCalledFunction()) {
73 if (!Callee->hasExactDefinition())
75 for (const BasicBlock &BB : *Callee) {
  /external/llvm/lib/Target/NVPTX/
NVVMReflect.cpp 159 Function *Callee = Call->getCalledFunction();
160 if (!Callee || (Callee->getName() != NVVM_REFLECT_FUNCTION &&
161 Callee->getIntrinsicID() != Intrinsic::nvvm_reflect))
  /external/swiftshader/third_party/LLVM/include/llvm/Transforms/IPO/
InlinerPass.h 56 /// given on the comand line. It is higher if the callee is marked with the
78 /// growCachedCostInfo - update the cached cost info for Caller after Callee
80 virtual void growCachedCostInfo(Function *Caller, Function *Callee) = 0;

Completed in 598 milliseconds

1 2 3 4 5 6 7 8 91011>>