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

1234

/freebsd-9.3-release/contrib/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();
121 Function *Callee = CS.getCalledFunction(); local
129 AdjustCallerSSPLevel(Caller, Callee);
271 Function *Callee = CS.getCalledFunction(); local
272 bool InlineHint = Callee && !Callee->isDeclaration() &&
273 Callee->getAttributes().hasAttribute(AttributeSet::FunctionIndex,
473 Function *Callee = CS.getCalledFunction(); local
482 // Update the call graph by deleting the edge from Callee t
[all...]
H A DPruneEH.cpp118 } else if (Function *Callee = CI->getCalledFunction()) {
119 CallGraphNode *CalleeNode = CG[Callee];
/freebsd-9.3-release/contrib/llvm/lib/Transforms/Utils/
H A DSimplifyLibCalls.cpp59 virtual Value *callOptimizer(Function *Callee, CallInst *CI, IRBuilder<> &B)
178 virtual Value *callOptimizer(Function *Callee, CallInst *CI, IRBuilder<> &B) { argument
180 FunctionType *FT = Callee->getFunctionType();
201 virtual Value *callOptimizer(Function *Callee, CallInst *CI, IRBuilder<> &B) { argument
203 FunctionType *FT = Callee->getFunctionType();
224 virtual Value *callOptimizer(Function *Callee, CallInst *CI, IRBuilder<> &B) { argument
226 FunctionType *FT = Callee->getFunctionType();
248 virtual Value *callOptimizer(Function *Callee, CallInst *CI, IRBuilder<> &B) { argument
250 StringRef Name = Callee->getName();
251 FunctionType *FT = Callee
293 callOptimizer(Function *Callee, CallInst *CI, IRBuilder<> &B) argument
343 callOptimizer(Function *Callee, CallInst *CI, IRBuilder<> &B) argument
372 callOptimizer(Function *Callee, CallInst *CI, IRBuilder<> &B) argument
422 callOptimizer(Function *Callee, CallInst *CI, IRBuilder<> &B) argument
466 callOptimizer(Function *Callee, CallInst *CI, IRBuilder<> &B) argument
512 callOptimizer(Function *Callee, CallInst *CI, IRBuilder<> &B) argument
548 callOptimizer(Function *Callee, CallInst *CI, IRBuilder<> &B) argument
593 callOptimizer(Function *Callee, CallInst *CI, IRBuilder<> &B) argument
643 callOptimizer(Function *Callee, CallInst *CI, IRBuilder<> &B) argument
672 callOptimizer(Function *Callee, CallInst *CI, IRBuilder<> &B) argument
708 callOptimizer(Function *Callee, CallInst *CI, IRBuilder<> &B) argument
756 callOptimizer(Function *Callee, CallInst *CI, IRBuilder<> &B) argument
778 callOptimizer(Function *Callee, CallInst *CI, IRBuilder<> &B) argument
813 callOptimizer(Function *Callee, CallInst *CI, IRBuilder<> &B) argument
832 callOptimizer(Function *Callee, CallInst *CI, IRBuilder<> &B) argument
861 callOptimizer(Function *Callee, CallInst *CI, IRBuilder<> &B) argument
893 callOptimizer(Function *Callee, CallInst *CI, IRBuilder<> &B) argument
957 callOptimizer(Function *Callee, CallInst *CI, IRBuilder<> &B) argument
1009 callOptimizer(Function *Callee, CallInst *CI, IRBuilder<> &B) argument
1028 callOptimizer(Function *Callee, CallInst *CI, IRBuilder<> &B) argument
1047 callOptimizer(Function *Callee, CallInst *CI, IRBuilder<> &B) argument
1075 callOptimizer(Function *Callee, CallInst *CI, IRBuilder<> &B) argument
1112 callOptimizer(Function *Callee, CallInst *CI, IRBuilder<> &B) argument
1139 callOptimizer(Function *Callee, CallInst *CI, IRBuilder<> &B) argument
1207 callOptimizer(Function *Callee, CallInst *CI, IRBuilder<> &B) argument
1248 Value *Callee = M->getOrInsertFunction(Name, Op->getType(), local
1264 callOptimizer(Function *Callee, CallInst *CI, IRBuilder<> &B) argument
1301 Function *Callee = CI->getCalledFunction(); local
1380 Value *Callee = M->getOrInsertFunction(Name, OrigCallee->getAttributes(), local
1415 callOptimizer(Function *Callee, CallInst *CI, IRBuilder<> &B) argument
1449 callOptimizer(Function *Callee, CallInst *CI, IRBuilder<> &B) argument
1466 callOptimizer(Function *Callee, CallInst *CI, IRBuilder<> &B) argument
1482 callOptimizer(Function *Callee, CallInst *CI, IRBuilder<> &B) argument
1497 callOptimizer(Function *Callee, CallInst *CI, IRBuilder<> &B) argument
1517 callOptimizer(Function *Callee, CallInst *CI, IRBuilder<> &) argument
1535 isReportingError(Function *Callee, CallInst *CI) argument
1563 optimizeFixedFormatString(Function *Callee, CallInst *CI, IRBuilder<> &B) argument
1619 callOptimizer(Function *Callee, CallInst *CI, IRBuilder<> &B) argument
1647 OptimizeFixedFormatString(Function *Callee, CallInst *CI, IRBuilder<> &B) argument
1712 callOptimizer(Function *Callee, CallInst *CI, IRBuilder<> &B) argument
1740 optimizeFixedFormatString(Function *Callee, CallInst *CI, IRBuilder<> &B) argument
1793 callOptimizer(Function *Callee, CallInst *CI, IRBuilder<> &B) argument
1821 callOptimizer(Function *Callee, CallInst *CI, IRBuilder<> &B) argument
1857 callOptimizer(Function *Callee, CallInst *CI, IRBuilder<> &B) argument
1882 callOptimizer(Function *Callee, CallInst *CI, IRBuilder<> &B) argument
2001 Function *Callee = CI->getCalledFunction(); local
[all...]
/freebsd-9.3-release/contrib/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();
/freebsd-9.3-release/contrib/llvm/lib/Analysis/IPA/
H A DCallGraph.cpp55 const Function *Callee = CS.getCalledFunction(); local
56 if (!Callee)
59 else if (!Callee->isIntrinsic())
60 Node->addCalledFunction(CS, getOrInsertFunction(Callee));
221 void CallGraphNode::removeAnyCallEdgeTo(CallGraphNode *Callee) { argument
223 if (CalledFunctions[i].second == Callee) {
224 Callee->DropRef();
233 void CallGraphNode::removeOneAbstractEdgeTo(CallGraphNode *Callee) { argument
237 if (CR.second == Callee && CR.first == 0) {
238 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.cpp146 Function &Callee, int Threshold)
147 : TD(TD), TTI(TTI), F(Callee), Threshold(Threshold), Cost(0),
770 Value *Callee = CS.getCalledValue(); local
778 Function *F = dyn_cast_or_null<Function>(SimplifiedValues.lookup(Callee));
1220 /// \brief Test that there are no attribute conflicts between Caller and Callee
1223 Function *Callee) {
1224 return attributeMatches(Caller, Callee, Attribute::SanitizeAddress) &&
1225 attributeMatches(Caller, Callee, Attribute::SanitizeMemory) &&
1226 attributeMatches(Caller, Callee, Attribute::SanitizeThread);
1229 InlineCost InlineCostAnalysis::getInlineCost(CallSite CS, Function *Callee, argument
145 CallAnalyzer(const DataLayout *TD, const TargetTransformInfo &TTI, Function &Callee, int Threshold) argument
1222 functionsHaveCompatibleAttributes(Function *Caller, Function *Callee) argument
[all...]
H A DGlobalsModRef.cpp414 if (Function *Callee = CI->second->getFunction()) {
415 if (FunctionRecord *CalleeFR = getFunctionInfo(Callee)) {
428 CallGraphNode *CalleeNode = CG[Callee];
465 Function *Callee = Intrinsic->getCalledFunction(); local
466 ModRefBehavior Behaviour = AliasAnalysis::getModRefBehavior(Callee);
/freebsd-9.3-release/contrib/llvm/tools/clang/lib/StaticAnalyzer/Checkers/
H A DNoReturnFunctionChecker.cpp46 const Expr *Callee = CE.getOriginExpr(); local
47 if (!BuildSinks && Callee)
48 BuildSinks = getFunctionExtInfo(Callee->getType()).getNoReturn();
H A DMallocSizeofChecker.cpp221 const FunctionDecl *Callee = i->AllocCall->getDirectCallee(); local
222 if (Callee && Callee->getIdentifier())
223 OS << '\'' << Callee->getIdentifier()->getName() << '\'';
/freebsd-9.3-release/contrib/llvm/include/llvm/Analysis/
H A DInlineCost.h134 InlineCost getInlineCost(CallSite CS, Function *Callee, int Threshold);
137 bool isInlineViable(Function &Callee);
H A DCallGraph.h285 void removeAnyCallEdgeTo(CallGraphNode *Callee);
289 void removeOneAbstractEdgeTo(CallGraphNode *Callee);
/freebsd-9.3-release/contrib/llvm/tools/clang/lib/CodeGen/
H A DCGCUDARuntime.cpp46 llvm::Value *Callee = CGF.EmitScalarExpr(E->getCallee()); local
47 CGF.EmitCall(E->getCallee()->getType(), Callee, E->getLocStart(),
H A DCGExprCXX.cpp29 llvm::Value *Callee,
63 Callee, ReturnValue, Args, MD);
88 llvm::Value *Callee = CGM.GetAddrOfFunction(MD); local
89 return EmitCall(getContext().getPointerType(MD->getType()), Callee,
180 llvm::Value *Callee; local
193 Callee = BuildAppleKextVirtualCall(MD, ME->getQualifier(), Ty);
195 Callee = CGM.GetAddrOfCXXDestructor(Dtor, Dtor_Complete, FInfo, Ty);
199 Callee = CGM.GetAddrOfFunction(GlobalDecl(DDtor, Dtor_Complete), Ty);
201 EmitCXXMemberCall(MD, CE->getExprLoc(), Callee, ReturnValue, This,
208 Callee
27 EmitCXXMemberCall(const CXXMethodDecl *MD, SourceLocation CallLoc, llvm::Value *Callee, ReturnValueSlot ReturnValue, llvm::Value *This, llvm::Value *ImplicitParam, QualType ImplicitParamTy, CallExpr::const_arg_iterator ArgBeg, CallExpr::const_arg_iterator ArgEnd) argument
262 llvm::Value *Callee = local
298 llvm::Value *Callee = EmitCXXOperatorMemberCallee(E, MD, This); local
933 EmitNewDeleteCall(CodeGenFunction &CGF, const FunctionDecl *Callee, const FunctionProtoType *CalleeType, const CallArgList &Args) argument
[all...]
/freebsd-9.3-release/contrib/llvm/tools/clang/lib/StaticAnalyzer/Core/
H A DCheckerContext.cpp24 const Expr *Callee = CE->getCallee(); local
25 SVal L = State->getSVal(Callee, Pred->getLocationContext());
/freebsd-9.3-release/contrib/llvm/lib/Target/Mips/
H A DMips16ISelLowering.h47 CallLoweringInfo &CLI, SDValue Callee, SDValue Chain) const;
H A DMipsSEISelLowering.h65 CallLoweringInfo &CLI, SDValue Callee, SDValue Chain) const;
/freebsd-9.3-release/contrib/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
1238 Value *Callee = CS.getCalledValue(); local
[all...]
/freebsd-9.3-release/contrib/llvm/lib/Analysis/
H A DMemoryBuiltins.cpp84 Function *Callee = CS.getCalledFunction();
85 if (!Callee || !Callee->isDeclaration())
87 return Callee;
99 Function *Callee = getCalledFunction(V, LookThroughBitCast);
100 if (!Callee)
104 StringRef FnName = Callee->getName();
127 FunctionType *FTy = Callee->getFunctionType();
320 Function *Callee = CI->getCalledFunction();
321 if (Callee
[all...]
H A DAliasAnalysisEvaluator.cpp163 Value *Callee = CS.getCalledValue(); local
165 if (!isa<Function>(Callee) && isInterestingPointer(Callee))
166 Pointers.insert(Callee);
/freebsd-9.3-release/contrib/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 ?
/freebsd-9.3-release/contrib/llvm/include/llvm/IR/
H A DIRBuilder.h554 InvokeInst *CreateInvoke(Value *Callee, BasicBlock *NormalDest, argument
556 return Insert(InvokeInst::Create(Callee, NormalDest, UnwindDest,
560 InvokeInst *CreateInvoke(Value *Callee, BasicBlock *NormalDest, argument
563 return Insert(InvokeInst::Create(Callee, NormalDest, UnwindDest, Arg1),
566 InvokeInst *CreateInvoke3(Value *Callee, BasicBlock *NormalDest, argument
571 return Insert(InvokeInst::Create(Callee, NormalDest, UnwindDest, Args),
575 InvokeInst *CreateInvoke(Value *Callee, BasicBlock *NormalDest, argument
578 return Insert(InvokeInst::Create(Callee, NormalDest, UnwindDest, Args),
1304 CallInst *CreateCall(Value *Callee, const Twine &Name = "") { argument
1305 return Insert(CallInst::Create(Callee), Nam
1307 CreateCall(Value *Callee, Value *Arg, const Twine &Name = �) argument
1310 CreateCall2(Value *Callee, Value *Arg1, Value *Arg2, const Twine &Name = �) argument
1315 CreateCall3(Value *Callee, Value *Arg1, Value *Arg2, Value *Arg3, const Twine &Name = �) argument
1320 CreateCall4(Value *Callee, Value *Arg1, Value *Arg2, Value *Arg3, Value *Arg4, const Twine &Name = �) argument
1325 CreateCall5(Value *Callee, Value *Arg1, Value *Arg2, Value *Arg3, Value *Arg4, Value *Arg5, const Twine &Name = �) argument
1331 CreateCall(Value *Callee, ArrayRef<Value *> Args, const Twine &Name = �) argument
[all...]
/freebsd-9.3-release/contrib/llvm/lib/IR/
H A DIRBuilder.cpp55 static CallInst *createCallHelper(Value *Callee, ArrayRef<Value *> Ops, argument
57 CallInst *CI = CallInst::Create(Callee, Ops, "");
/freebsd-9.3-release/contrib/llvm/lib/Target/Hexagon/
H A DHexagonISelLowering.h84 IsEligibleForTailCallOptimization(SDValue Callee,
125 SDValue Callee) const;

Completed in 203 milliseconds

1234