Searched refs:Callee (Results 1 - 25 of 117) sorted by relevance

12345

/external/llvm/lib/Transforms/IPO/
H A DInlineAlways.cpp90 Function *Callee = CS.getCalledFunction(); local
95 if (Callee && !Callee->isDeclaration() &&
96 Callee->getAttributes().hasAttribute(AttributeSet::FunctionIndex,
98 ICA->isInlineViable(*Callee))
H A DInliner.cpp77 static void AdjustCallerSSPLevel(Function *Caller, Function *Callee) { argument
88 CalleeAttr = Callee->getAttributes();
120 Function *Callee = CS.getCalledFunction(); local
128 AdjustCallerSSPLevel(Caller, Callee);
248 Function *Callee = CS.getCalledFunction(); local
249 bool InlineHint = Callee && !Callee->isDeclaration() &&
250 Callee->getAttributes().hasAttribute(AttributeSet::FunctionIndex,
450 Function *Callee = CS.getCalledFunction(); local
459 // Update the call graph by deleting the edge from Callee t
[all...]
/external/clang/examples/analyzer-plugin/
H A DMainCallChecker.cpp21 const Expr *Callee = CE->getCallee(); local
22 const FunctionDecl *FD = state->getSVal(Callee, LC).getAsFunctionDecl();
41 report->addRange(Callee->getSourceRange());
/external/llvm/lib/Transforms/Instrumentation/
H A DProfilingUtils.h33 void InsertProfilingShutdownCall(Function *Callee, Module *Mod);
/external/llvm/lib/Transforms/ObjCARC/
H A DObjCARCAPElim.cpp71 if (const Function *Callee = CS.getCalledFunction()) {
72 if (Callee->isDeclaration() || Callee->mayBeOverridden())
74 for (Function::const_iterator I = Callee->begin(), E = Callee->end();
/external/llvm/lib/Transforms/Utils/
H A DSimplifyLibCalls.cpp53 virtual Value *callOptimizer(Function *Callee, CallInst *CI, IRBuilder<> &B)
157 virtual Value *callOptimizer(Function *Callee, CallInst *CI, IRBuilder<> &B) { argument
159 FunctionType *FT = Callee->getFunctionType();
180 virtual Value *callOptimizer(Function *Callee, CallInst *CI, IRBuilder<> &B) { argument
182 FunctionType *FT = Callee->getFunctionType();
203 virtual Value *callOptimizer(Function *Callee, CallInst *CI, IRBuilder<> &B) { argument
205 FunctionType *FT = Callee->getFunctionType();
227 virtual Value *callOptimizer(Function *Callee, CallInst *CI, IRBuilder<> &B) { argument
229 StringRef Name = Callee->getName();
230 FunctionType *FT = Callee
272 callOptimizer(Function *Callee, CallInst *CI, IRBuilder<> &B) argument
322 callOptimizer(Function *Callee, CallInst *CI, IRBuilder<> &B) argument
351 callOptimizer(Function *Callee, CallInst *CI, IRBuilder<> &B) argument
401 callOptimizer(Function *Callee, CallInst *CI, IRBuilder<> &B) argument
445 callOptimizer(Function *Callee, CallInst *CI, IRBuilder<> &B) argument
491 callOptimizer(Function *Callee, CallInst *CI, IRBuilder<> &B) argument
527 callOptimizer(Function *Callee, CallInst *CI, IRBuilder<> &B) argument
572 callOptimizer(Function *Callee, CallInst *CI, IRBuilder<> &B) argument
622 callOptimizer(Function *Callee, CallInst *CI, IRBuilder<> &B) argument
651 callOptimizer(Function *Callee, CallInst *CI, IRBuilder<> &B) argument
687 callOptimizer(Function *Callee, CallInst *CI, IRBuilder<> &B) argument
735 callOptimizer(Function *Callee, CallInst *CI, IRBuilder<> &B) argument
757 callOptimizer(Function *Callee, CallInst *CI, IRBuilder<> &B) argument
792 callOptimizer(Function *Callee, CallInst *CI, IRBuilder<> &B) argument
811 callOptimizer(Function *Callee, CallInst *CI, IRBuilder<> &B) argument
840 callOptimizer(Function *Callee, CallInst *CI, IRBuilder<> &B) argument
872 callOptimizer(Function *Callee, CallInst *CI, IRBuilder<> &B) argument
936 callOptimizer(Function *Callee, CallInst *CI, IRBuilder<> &B) argument
988 callOptimizer(Function *Callee, CallInst *CI, IRBuilder<> &B) argument
1007 callOptimizer(Function *Callee, CallInst *CI, IRBuilder<> &B) argument
1026 callOptimizer(Function *Callee, CallInst *CI, IRBuilder<> &B) argument
1054 callOptimizer(Function *Callee, CallInst *CI, IRBuilder<> &B) argument
1091 callOptimizer(Function *Callee, CallInst *CI, IRBuilder<> &B) argument
1118 callOptimizer(Function *Callee, CallInst *CI, IRBuilder<> &B) argument
1178 callOptimizer(Function *Callee, CallInst *CI, IRBuilder<> &B) argument
1219 Value *Callee = M->getOrInsertFunction(Name, Op->getType(), local
1237 callOptimizer(Function *Callee, CallInst *CI, IRBuilder<> &B) argument
1271 callOptimizer(Function *Callee, CallInst *CI, IRBuilder<> &B) argument
1288 callOptimizer(Function *Callee, CallInst *CI, IRBuilder<> &B) argument
1304 callOptimizer(Function *Callee, CallInst *CI, IRBuilder<> &B) argument
1319 callOptimizer(Function *Callee, CallInst *CI, IRBuilder<> &B) argument
1337 optimizeFixedFormatString(Function *Callee, CallInst *CI, IRBuilder<> &B) argument
1393 callOptimizer(Function *Callee, CallInst *CI, IRBuilder<> &B) argument
1421 OptimizeFixedFormatString(Function *Callee, CallInst *CI, IRBuilder<> &B) argument
1486 callOptimizer(Function *Callee, CallInst *CI, IRBuilder<> &B) argument
1514 optimizeFixedFormatString(Function *Callee, CallInst *CI, IRBuilder<> &B) argument
1561 callOptimizer(Function *Callee, CallInst *CI, IRBuilder<> &B) argument
1589 callOptimizer(Function *Callee, CallInst *CI, IRBuilder<> &B) argument
1622 callOptimizer(Function *Callee, CallInst *CI, IRBuilder<> &B) argument
1644 callOptimizer(Function *Callee, CallInst *CI, IRBuilder<> &B) argument
1759 Function *Callee = CI->getCalledFunction(); local
[all...]
/external/llvm/lib/Analysis/IPA/
H A DCallGraph.cpp145 const Function *Callee = CS.getCalledFunction(); local
146 if (!Callee)
149 else if (!Callee->isIntrinsic())
150 Node->addCalledFunction(CS, getOrInsertFunction(Callee));
295 void CallGraphNode::removeAnyCallEdgeTo(CallGraphNode *Callee) { argument
297 if (CalledFunctions[i].second == Callee) {
298 Callee->DropRef();
307 void CallGraphNode::removeOneAbstractEdgeTo(CallGraphNode *Callee) { argument
311 if (CR.second == Callee && CR.first == 0) {
312 Callee
[all...]
H A DCallGraphSCCPass.cpp253 Function *Callee = CS.getCalledFunction(); local
254 if (Callee && Callee->isIntrinsic()) continue;
285 if (Function *Callee = CS.getCalledFunction()) {
286 CalleeNode = CG.getOrInsertFunction(Callee);
292 << Callee->getName() << "'\n");
309 if (Function *Callee = CS.getCalledFunction()) {
310 CalleeNode = CG.getOrInsertFunction(Callee);
H A DInlineCost.cpp138 Function &Callee, int Threshold)
139 : TD(TD), TTI(TTI), F(Callee), Threshold(Threshold), Cost(0),
757 Value *Callee = CS.getCalledValue(); local
765 Function *F = dyn_cast_or_null<Function>(SimplifiedValues.lookup(Callee));
1170 InlineCost InlineCostAnalysis::getInlineCost(CallSite CS, Function *Callee, argument
1173 if (!Callee)
1178 if (Callee->getAttributes().hasAttribute(AttributeSet::FunctionIndex,
1180 if (isInlineViable(*Callee))
1188 if (Callee->mayBeOverridden() ||
1189 Callee
137 CallAnalyzer(const DataLayout *TD, const TargetTransformInfo &TTI, Function &Callee, int Threshold) argument
[all...]
/external/clang/lib/StaticAnalyzer/Checkers/
H A DNoReturnFunctionChecker.cpp41 const Expr *Callee = CE->getCallee(); local
43 bool BuildSinks = getFunctionExtInfo(Callee->getType()).getNoReturn();
46 SVal L = state->getSVal(Callee, C.getLocationContext());
H A DMallocSizeofChecker.cpp221 const FunctionDecl *Callee = i->AllocCall->getDirectCallee(); local
222 if (Callee && Callee->getIdentifier())
223 OS << '\'' << Callee->getIdentifier()->getName() << '\'';
/external/clang/lib/CodeGen/
H A DCGCUDARuntime.cpp46 llvm::Value *Callee = CGF.EmitScalarExpr(E->getCallee()); local
47 CGF.EmitCall(E->getCallee()->getType(), Callee, ReturnValue,
H A DMicrosoftCXXABI.cpp249 llvm::Value *Callee = CGM.GetAddrOfCXXConstructor(D, Ctor_Complete); local
259 CGF.EmitCXXMemberCall(D, SourceLocation(), Callee, ReturnValueSlot(), This,
277 llvm::Value *Callee = CGF.BuildVirtualCall(Dtor, Dtor_Deleting, This, Ty); local
284 return CGF.EmitCXXMemberCall(Dtor, CallLoc, Callee, ReturnValue, This,
/external/clang/lib/StaticAnalyzer/Core/
H A DCheckerContext.cpp24 const Expr *Callee = CE->getCallee(); local
25 SVal L = State->getSVal(Callee, Pred->getLocationContext());
/external/llvm/include/llvm/Analysis/
H A DInlineCost.h135 InlineCost getInlineCost(CallSite CS, Function *Callee, int Threshold);
138 bool isInlineViable(Function &Callee);
/external/llvm/lib/Target/Mips/
H A DMipsSEISelLowering.h39 CallLoweringInfo &CLI, SDValue Callee, SDValue Chain) const;
H A DMips16ISelLowering.h49 CallLoweringInfo &CLI, SDValue Callee, SDValue Chain) const;
H A DMipsSEISelLowering.cpp123 CallLoweringInfo &CLI, SDValue Callee, SDValue Chain) const {
128 RegsToPass.push_front(std::make_pair(T9Reg, Callee));
130 Ops.push_back(Callee);
133 InternalLinkage, CLI, Callee, Chain);
120 getOpndList(SmallVectorImpl<SDValue> &Ops, std::deque< std::pair<unsigned, SDValue> > &RegsToPass, bool IsPICCall, bool GlobalOrExternal, bool InternalLinkage, CallLoweringInfo &CLI, SDValue Callee, SDValue Chain) const argument
/external/llvm/lib/Target/MBlaze/
H A DMBlazeISelDAGToDAG.cpp227 SDValue Callee = Node->getOperand(1); local
231 if ((isa<GlobalAddressSDNode>(Callee)) ||
232 (isa<ExternalSymbolSDNode>(Callee)))
238 SDValue Ops[] = { Callee, GPReg, Chain };
247 Chain = CurDAG->getCopyToReg(Chain, dl, R20Reg, Callee, InFlag);
/external/llvm/lib/Transforms/InstCombine/
H A DInstCombineCalls.cpp862 static IntrinsicInst *FindInitTrampoline(Value *Callee) { argument
863 Callee = Callee->stripPointerCasts();
864 IntrinsicInst *AdjustTramp = dyn_cast<IntrinsicInst>(Callee);
888 Value *Callee = CS.getCalledValue(); local
889 if (!isa<Function>(Callee) && transformConstExprCastCall(CS))
892 if (Function *CalleeF = dyn_cast<Function>(Callee))
901 new StoreInst(ConstantInt::getTrue(Callee->getContext()),
902 UndefValue::get(Type::getInt1PtrTy(Callee->getContext())),
918 if (isa<ConstantPointerNull>(Callee) || is
982 Function *Callee = local
1254 Value *Callee = CS.getCalledValue(); local
[all...]
/external/llvm/lib/Analysis/
H A DMemoryBuiltins.cpp80 Function *Callee = CS.getCalledFunction();
81 if (!Callee || !Callee->isDeclaration())
83 return Callee;
95 Function *Callee = getCalledFunction(V, LookThroughBitCast);
96 if (!Callee)
100 StringRef FnName = Callee->getName();
123 FunctionType *FTy = Callee->getFunctionType();
309 Function *Callee = CI->getCalledFunction();
310 if (Callee
[all...]
H A DAliasAnalysisEvaluator.cpp146 Value *Callee = CS.getCalledValue(); local
148 if (!isa<Function>(Callee) && isInterestingPointer(Callee))
149 Pointers.insert(Callee);
/external/llvm/lib/CodeGen/
H A DIntrinsicLowering.cpp344 const Function *Callee = CI->getCalledFunction(); local
345 assert(Callee && "Cannot lower an indirect call!");
348 switch (Callee->getIntrinsicID()) {
351 Callee->getName() + "'!");
354 Callee->getName()+"'!");
419 << (Callee->getIntrinsicID() == Intrinsic::stacksave ?
422 if (Callee->getIntrinsicID() == Intrinsic::stacksave)
430 << (Callee->getIntrinsicID() == Intrinsic::returnaddress ?
/external/llvm/lib/Target/Hexagon/
H A DHexagonISelLowering.h83 IsEligibleForTailCallOptimization(SDValue Callee,
121 SDValue Callee) const;
/external/llvm/lib/Target/Sparc/
H A DSparcISelLowering.h92 unsigned getSRetArgSize(SelectionDAG &DAG, SDValue Callee) const;

Completed in 332 milliseconds

12345