/external/llvm/lib/Transforms/Utils/ |
D | SimplifyLibCalls.cpp | 195 Function *Callee = CI->getCalledFunction(); in optimizeStrCat() local 197 FunctionType *FT = Callee->getFunctionType(); in optimizeStrCat() 243 Function *Callee = CI->getCalledFunction(); in optimizeStrNCat() local 245 FunctionType *FT = Callee->getFunctionType(); in optimizeStrNCat() 285 Function *Callee = CI->getCalledFunction(); in optimizeStrChr() local 287 FunctionType *FT = Callee->getFunctionType(); in optimizeStrChr() 330 Function *Callee = CI->getCalledFunction(); in optimizeStrRChr() local 332 FunctionType *FT = Callee->getFunctionType(); in optimizeStrRChr() 365 Function *Callee = CI->getCalledFunction(); in optimizeStrCmp() local 367 FunctionType *FT = Callee->getFunctionType(); in optimizeStrCmp() [all …]
|
/external/llvm/lib/Transforms/IPO/ |
D | Inliner.cpp | 91 static void AdjustCallerSSPLevel(Function *Caller, Function *Callee) { in AdjustCallerSSPLevel() argument 103 if (Callee->hasFnAttribute(Attribute::SafeStack)) { in AdjustCallerSSPLevel() 106 } else if (Callee->hasFnAttribute(Attribute::StackProtectReq) && in AdjustCallerSSPLevel() 110 } else if (Callee->hasFnAttribute(Attribute::StackProtectStrong) && in AdjustCallerSSPLevel() 115 } else if (Callee->hasFnAttribute(Attribute::StackProtect) && in AdjustCallerSSPLevel() 133 Function *Callee = CS.getCalledFunction(); in InlineCallIfPossible() local 138 BasicAAResult BAR(createLegacyPMBasicAAResult(P, *Callee)); in InlineCallIfPossible() 142 AAResults AAR(createLegacyPMAAResults(P, *Callee, BAR)); in InlineCallIfPossible() 149 AdjustCallerSSPLevel(Caller, Callee); in InlineCallIfPossible() 291 Function *Callee = CS.getCalledFunction(); in getInlineThreshold() local [all …]
|
D | InlineAlways.cpp | 96 Function *Callee = CS.getCalledFunction(); in getInlineCost() local 101 if (Callee && !Callee->isDeclaration() && in getInlineCost() 103 ICA->isInlineViable(*Callee)) in getInlineCost()
|
/external/llvm/lib/Analysis/ |
D | CallGraph.cpp | 88 const Function *Callee = CS.getCalledFunction(); in addToCallGraph() local 89 if (!Callee || !Intrinsic::isLeaf(Callee->getIntrinsicID())) in addToCallGraph() 94 else if (!Callee->isIntrinsic()) in addToCallGraph() 95 Node->addCalledFunction(CS, getOrInsertFunction(Callee)); in addToCallGraph() 220 void CallGraphNode::removeAnyCallEdgeTo(CallGraphNode *Callee) { in removeAnyCallEdgeTo() argument 222 if (CalledFunctions[i].second == Callee) { in removeAnyCallEdgeTo() 223 Callee->DropRef(); in removeAnyCallEdgeTo() 232 void CallGraphNode::removeOneAbstractEdgeTo(CallGraphNode *Callee) { in removeOneAbstractEdgeTo() argument 236 if (CR.second == Callee && CR.first == nullptr) { in removeOneAbstractEdgeTo() 237 Callee->DropRef(); in removeOneAbstractEdgeTo()
|
D | CallGraphSCCPass.cpp | 252 Function *Callee = CS.getCalledFunction(); in RefreshCallGraph() local 254 if (!Callee || !(Callee->isIntrinsic())) in RefreshCallGraph() 268 Function *Callee = CS.getCalledFunction(); in RefreshCallGraph() local 269 if (Callee && Callee->isIntrinsic()) continue; in RefreshCallGraph() 300 if (Function *Callee = CS.getCalledFunction()) { in RefreshCallGraph() local 301 CalleeNode = CG.getOrInsertFunction(Callee); in RefreshCallGraph() 307 << Callee->getName() << "'\n"); in RefreshCallGraph() 324 if (Function *Callee = CS.getCalledFunction()) { in RefreshCallGraph() local 325 CalleeNode = CG.getOrInsertFunction(Callee); in RefreshCallGraph()
|
D | LazyCallGraph.cpp | 78 void LazyCallGraph::Node::insertEdgeInternal(Function &Callee) { in insertEdgeInternal() argument 79 if (Node *N = G->lookup(Callee)) in insertEdgeInternal() 82 CalleeIndexMap.insert(std::make_pair(&Callee, Callees.size())); in insertEdgeInternal() 83 Callees.push_back(&Callee); in insertEdgeInternal() 91 void LazyCallGraph::Node::removeEdgeInternal(Function &Callee) { in removeEdgeInternal() argument 92 auto IndexMapI = CalleeIndexMap.find(&Callee); in removeEdgeInternal() 531 void LazyCallGraph::insertEdge(Node &CallerN, Function &Callee) { in insertEdge() argument 535 return CallerN.insertEdgeInternal(Callee); in insertEdge() 538 void LazyCallGraph::removeEdge(Node &CallerN, Function &Callee) { in removeEdge() argument 542 return CallerN.removeEdgeInternal(Callee); in removeEdge() [all …]
|
D | InlineCost.cpp | 165 Function &Callee, int Threshold, CallSite CSArg) in CallAnalyzer() argument 166 : TTI(TTI), ACT(ACT), F(Callee), CandidateCS(CSArg), Threshold(Threshold), in CallAnalyzer() 817 Value *Callee = CS.getCalledValue(); in visitCallSite() local 825 Function *F = dyn_cast_or_null<Function>(SimplifiedValues.lookup(Callee)); in visitCallSite() 1362 Function *Callee, in functionsHaveCompatibleAttributes() argument 1364 return TTI.areInlineCompatible(Caller, Callee) && in functionsHaveCompatibleAttributes() 1365 attributeMatches(Caller, Callee, Attribute::SanitizeAddress) && in functionsHaveCompatibleAttributes() 1366 attributeMatches(Caller, Callee, Attribute::SanitizeMemory) && in functionsHaveCompatibleAttributes() 1367 attributeMatches(Caller, Callee, Attribute::SanitizeThread); in functionsHaveCompatibleAttributes() 1370 InlineCost InlineCostAnalysis::getInlineCost(CallSite CS, Function *Callee, in getInlineCost() argument [all …]
|
D | MemoryBuiltins.cpp | 93 Function *Callee = CS.getCalledFunction(); in getCalledFunction() local 94 if (!Callee || !Callee->isDeclaration()) in getCalledFunction() 96 return Callee; in getCalledFunction() 108 Function *Callee = getCalledFunction(V, LookThroughBitCast); in getAllocationData() local 109 if (!Callee) in getAllocationData() 113 StringRef FnName = Callee->getName(); in getAllocationData() 131 FunctionType *FTy = Callee->getFunctionType(); in getAllocationData() 307 Function *Callee = CI->getCalledFunction(); in isFreeCall() local 308 if (Callee == nullptr) in isFreeCall() 311 StringRef FnName = Callee->getName(); in isFreeCall() [all …]
|
/external/llvm/include/llvm/Analysis/ |
D | LazyCallGraph.h | 180 void insertEdgeInternal(Function &Callee); 186 void removeEdgeInternal(Function &Callee); 447 void insertEdge(Node &Caller, Function &Callee); 450 void insertEdge(Function &Caller, Function &Callee) { in insertEdge() argument 451 return insertEdge(get(Caller), Callee); in insertEdge() 455 void removeEdge(Node &Caller, Function &Callee); 458 void removeEdge(Function &Caller, Function &Callee) { in removeEdge() argument 459 return removeEdge(get(Caller), Callee); in removeEdge()
|
D | InlineCost.h | 135 InlineCost getInlineCost(CallSite CS, Function *Callee, int Threshold); 138 bool isInlineViable(Function &Callee);
|
/external/llvm/lib/Transforms/ObjCARC/ |
D | ObjCARCAPElim.cpp | 72 if (const Function *Callee = CS.getCalledFunction()) { in MayAutorelease() local 73 if (Callee->isDeclaration() || Callee->mayBeOverridden()) in MayAutorelease() 75 for (const BasicBlock &BB : *Callee) { in MayAutorelease()
|
/external/clang/examples/analyzer-plugin/ |
D | MainCallChecker.cpp | 21 const Expr *Callee = CE->getCallee(); in checkPreStmt() local 22 const FunctionDecl *FD = state->getSVal(Callee, LC).getAsFunctionDecl(); in checkPreStmt() 42 report->addRange(Callee->getSourceRange()); in checkPreStmt()
|
/external/clang/lib/Sema/ |
D | SemaCUDA.cpp | 93 const FunctionDecl *Callee) { in IdentifyCUDAPreference() argument 97 assert(Callee && "Callee must be valid."); in IdentifyCUDAPreference() 98 CUDAFunctionTarget CalleeTarget = IdentifyCUDATarget(Callee); in IdentifyCUDAPreference() 152 const FunctionDecl *Callee) { in CheckCUDATarget() argument 156 return IdentifyCUDAPreference(Caller,Callee) == CFP_Never; in CheckCUDATarget() 164 CalleeTarget = IdentifyCUDATarget(Callee); in CheckCUDATarget() 202 << Callee->getNameAsString() << Caller->getNameAsString(); in CheckCUDATarget()
|
/external/valgrind/docs/internals/ |
D | register-uses.txt | 11 Reg Callee Arg 34 Reg Callee Arg 61 Reg Callee Arg 98 Reg Callee Arg 108 Reg Callee Arg 140 Reg Callee Arg 153 r21 y "Callee saved" GSP 154 r22-28 y "Callee saved" 180 Reg Callee Arg 217 Reg Callee Arg [all …]
|
/external/clang/lib/StaticAnalyzer/Checkers/ |
D | NoReturnFunctionChecker.cpp | 48 const Expr *Callee = CE.getOriginExpr(); in checkPostCall() local 49 if (!BuildSinks && Callee) in checkPostCall() 50 BuildSinks = getFunctionExtInfo(Callee->getType()).getNoReturn(); in checkPostCall()
|
D | MallocSizeofChecker.cpp | 223 const FunctionDecl *Callee = i->AllocCall->getDirectCallee(); in checkASTCodeBody() local 224 if (Callee && Callee->getIdentifier()) in checkASTCodeBody() 225 OS << '\'' << Callee->getIdentifier()->getName() << '\''; in checkASTCodeBody()
|
/external/clang/unittests/Tooling/ |
D | LookupTest.cpp | 37 const auto *Callee = cast<DeclRefExpr>(Expr->getCallee()->IgnoreImplicit()); in TEST() local 38 const ValueDecl *FD = Callee->getDecl(); in TEST() 40 Callee->getQualifier(), Visitor.DeclStack.back()->getDeclContext(), FD, in TEST()
|
/external/llvm/test/Transforms/Inline/ |
D | 2003-09-14-InlineValue.ll | 5 define internal i32 @Callee() { 12 %V = invoke i32 @Callee( )
|
/external/llvm/lib/Target/Mips/ |
D | MipsCCState.cpp | 58 MipsCCState::getSpecialCallingConvForCallee(const SDNode *Callee, in getSpecialCallingConvForCallee() argument 63 dyn_cast<const GlobalAddressSDNode>(Callee)) { in getSpecialCallingConvForCallee() 79 originalTypeIsF128(CLI.RetTy, CLI.Callee.getNode())); in PreAnalyzeCallResultForF128()
|
/external/clang/lib/CodeGen/ |
D | CGExprCXX.cpp | 28 CodeGenFunction &CGF, const CXXMethodDecl *MD, llvm::Value *Callee, in commonEmitCXXMemberOrOperatorCall() argument 73 const CXXMethodDecl *MD, llvm::Value *Callee, ReturnValueSlot ReturnValue, in EmitCXXMemberOrOperatorCall() argument 79 *this, MD, Callee, ReturnValue, This, ImplicitParam, ImplicitParamTy, CE, in EmitCXXMemberOrOperatorCall() 82 Callee, ReturnValue, Args, MD); in EmitCXXMemberOrOperatorCall() 86 const CXXMethodDecl *MD, llvm::Value *Callee, ReturnValueSlot ReturnValue, in EmitCXXStructorCall() argument 90 commonEmitCXXMemberOrOperatorCall(*this, MD, Callee, ReturnValue, This, in EmitCXXStructorCall() 93 Callee, ReturnValue, Args, MD); in EmitCXXStructorCall() 118 llvm::Value *Callee = CGM.GetAddrOfFunction(MD); in EmitCXXMemberCallExpr() local 119 return EmitCall(getContext().getPointerType(MD->getType()), Callee, CE, in EmitCXXMemberCallExpr() 227 llvm::Value *Callee; in EmitCXXMemberOrOperatorMemberCallExpr() local [all …]
|
D | CGCUDARuntime.cpp | 47 llvm::Value *Callee = CGF.EmitScalarExpr(E->getCallee()); in EmitCUDAKernelCallExpr() local 48 CGF.EmitCall(E->getCallee()->getType(), Callee, E, ReturnValue, TargetDecl); in EmitCUDAKernelCallExpr()
|
/external/llvm/include/llvm/CodeGen/ |
D | FastISel.h | 71 const Value *Callee; member 91 Callee(nullptr), Symbol(nullptr), CS(nullptr), Call(nullptr), in CallLoweringInfo() 98 Callee = Target; in setCallee() 121 Callee = Call.getCalledValue(); 144 Callee = Target; 573 const Value *Callee, bool ForceRetVoidTy,
|
/external/llvm/lib/Transforms/InstCombine/ |
D | InstCombineCalls.cpp | 1917 static IntrinsicInst *FindInitTrampoline(Value *Callee) { in FindInitTrampoline() argument 1918 Callee = Callee->stripPointerCasts(); in FindInitTrampoline() 1919 IntrinsicInst *AdjustTramp = dyn_cast<IntrinsicInst>(Callee); in FindInitTrampoline() 1968 Value *Callee = CS.getCalledValue(); in visitCallSite() local 1969 if (!isa<Function>(Callee) && transformConstExprCastCall(CS)) in visitCallSite() 1972 if (Function *CalleeF = dyn_cast<Function>(Callee)) in visitCallSite() 1981 new StoreInst(ConstantInt::getTrue(Callee->getContext()), in visitCallSite() 1982 UndefValue::get(Type::getInt1PtrTy(Callee->getContext())), in visitCallSite() 1998 if (isa<ConstantPointerNull>(Callee) || isa<UndefValue>(Callee)) { in visitCallSite() 2013 new StoreInst(ConstantInt::getTrue(Callee->getContext()), in visitCallSite() [all …]
|
/external/llvm/test/Instrumentation/MemorySanitizer/ |
D | byval-alignment.ll | 16 call void @Callee(i32 1, %struct.S* byval align 16 %agg.tmp) 20 declare void @Callee(i32, %struct.S* byval align 16)
|
/external/llvm/test/CodeGen/Thumb2/ |
D | 2010-08-10-VarSizedAllocaBug.ll | 5 define internal fastcc i32 @Callee(i32 %i) nounwind { 7 ; CHECK-LABEL: Callee: 43 %1 = tail call fastcc i32 @Callee(i32 %0) nounwind ; <i32> [#uses=1]
|