/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/ |
D | AMDGPUInline.cpp | 115 Function *Callee = CS.getCalledFunction(); in getInlineThreshold() local 116 bool InlineHint = Callee && !Callee->isDeclaration() && in getInlineThreshold() 117 Callee->hasFnAttribute(Attribute::InlineHint); in getInlineThreshold() 121 TTIWP->getTTI(*Callee).getInliningThresholdMultiplier(); in getInlineThreshold() 124 if (!Callee) in getInlineThreshold() 160 Function *Callee = CS.getCalledFunction(); in isWrapperOnlyCall() local 161 if (!Callee || Callee->size() != 1) in isWrapperOnlyCall() 163 const BasicBlock &BB = Callee->getEntryBlock(); in isWrapperOnlyCall() 170 << Callee->getName() << '\n'); in isWrapperOnlyCall() 178 Function *Callee = CS.getCalledFunction(); in getInlineCost() local [all …]
|
D | AMDGPUAnnotateKernelFeatures.cpp | 52 bool propagateUniformWorkGroupAttribute(Function &Caller, Function &Callee); 188 static bool handleAttr(Function &Parent, const Function &Callee, in handleAttr() argument 190 if (Callee.hasFnAttribute(Name)) { in handleAttr() 197 static void copyFeaturesToFunction(Function &Parent, const Function &Callee, in copyFeaturesToFunction() argument 207 if (handleAttr(Parent, Callee, "amdgpu-queue-ptr")) in copyFeaturesToFunction() 211 handleAttr(Parent, Callee, AttrName); in copyFeaturesToFunction() 221 Function *Callee = std::get<1>(I)->getFunction(); in processUniformWorkGroupAttribute() local 222 if (Callee) in processUniformWorkGroupAttribute() 223 Changed = propagateUniformWorkGroupAttribute(*Caller, *Callee); in processUniformWorkGroupAttribute() 231 Function &Caller, Function &Callee) { in propagateUniformWorkGroupAttribute() argument [all …]
|
D | AMDGPUFixFunctionBitcasts.cpp | 37 auto Callee = dyn_cast<Function>(CS.getCalledValue()->stripPointerCasts()); in visitCallSite() local 38 if (Callee && isLegalToPromote(CS, Callee)) { in visitCallSite() 39 promoteCall(CS, Callee); in visitCallSite()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/IPO/ |
D | Inliner.cpp | 279 Function *Callee = CS.getCalledFunction(); in InlineCallIfPossible() local 282 AAResults &AAR = AARGetter(*Callee); in InlineCallIfPossible() 291 ImportedFunctionsStats.recordInline(*Caller, *Callee); in InlineCallIfPossible() 293 AttributeFuncs::mergeAttributesForInlining(*Caller, *Callee); in InlineCallIfPossible() 425 Function *Callee = CS.getCalledFunction(); in shouldInline() local 439 << NV("Callee", Callee) << " not inlined into " in shouldInline() 451 << NV("Callee", Callee) << " not inlined into " in shouldInline() 465 << "Not inlining. Cost of inlining " << NV("Callee", Callee) in shouldInline() 508 const BasicBlock *Block, const Function &Callee, in emit_inlined_into() argument 514 << ore::NV("Callee", &Callee) << " inlined into " in emit_inlined_into() [all …]
|
D | PruneEH.cpp | 127 if (Function *Callee = CI->getCalledFunction()) { in runImpl() local 128 CallGraphNode *CalleeNode = CG[Callee]; in runImpl() 247 const Function *Callee = Call->getCalledFunction(); in DeleteBasicBlock() local 248 if (!Callee || !Intrinsic::isLeaf(Callee->getIntrinsicID())) in DeleteBasicBlock() 250 else if (!Callee->isIntrinsic()) in DeleteBasicBlock()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Utils/ |
D | CallPromotionUtils.cpp | 256 static Instruction *versionCallSite(CallSite CS, Value *Callee, in versionCallSite() argument 265 if (CS.getCalledValue()->getType() != Callee->getType()) in versionCallSite() 266 Callee = Builder.CreateBitCast(Callee, CS.getCalledValue()->getType()); in versionCallSite() 267 auto *Cond = Builder.CreateICmpEQ(CS.getCalledValue(), Callee); in versionCallSite() 319 bool llvm::isLegalToPromote(CallSite CS, Function *Callee, in isLegalToPromote() argument 323 auto &DL = Callee->getParent()->getDataLayout(); in isLegalToPromote() 328 Type *FuncRetTy = Callee->getReturnType(); in isLegalToPromote() 337 unsigned NumParams = Callee->getFunctionType()->getNumParams(); in isLegalToPromote() 341 if (CS.arg_size() != NumParams && !Callee->isVarArg()) { in isLegalToPromote() 351 Type *FormalTy = Callee->getFunctionType()->getFunctionParamType(I); in isLegalToPromote() [all …]
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/ |
D | StackSafetyAnalysis.cpp | 61 const GlobalValue *Callee = nullptr; member 69 PassAsArgInfo(const GlobalValue *Callee, size_t ParamNo, ConstantRange Offset) in PassAsArgInfo() 70 : Callee(Callee), ParamNo(ParamNo), Offset(Offset) {} in PassAsArgInfo() 72 StringRef getName() const { return Callee->getName(); } in getName() 338 const GlobalValue *Callee = in analyzeAllUses() local 340 if (!Callee) { in analyzeAllUses() 345 assert(isa<Function>(Callee) || isa<GlobalAlias>(Callee)); in analyzeAllUses() 351 US.Calls.emplace_back(Callee, A - B, Offset); in analyzeAllUses() 407 ConstantRange getArgumentAccessRange(const GlobalValue *Callee, 410 void updateOneNode(const GlobalValue *Callee, [all …]
|
D | CallGraph.cpp | 77 const Function *Callee = Call->getCalledFunction(); in addToCallGraph() local 78 if (!Callee || !Intrinsic::isLeaf(Callee->getIntrinsicID())) in addToCallGraph() 83 else if (!Callee->isIntrinsic()) in addToCallGraph() 84 Node->addCalledFunction(Call, getOrInsertFunction(Callee)); in addToCallGraph() 202 void CallGraphNode::removeAnyCallEdgeTo(CallGraphNode *Callee) { in removeAnyCallEdgeTo() argument 204 if (CalledFunctions[i].second == Callee) { in removeAnyCallEdgeTo() 205 Callee->DropRef(); in removeAnyCallEdgeTo() 214 void CallGraphNode::removeOneAbstractEdgeTo(CallGraphNode *Callee) { in removeOneAbstractEdgeTo() argument 218 if (CR.second == Callee && CR.first == nullptr) { in removeOneAbstractEdgeTo() 219 Callee->DropRef(); in removeOneAbstractEdgeTo()
|
D | SyntheticCountsUtils.cpp | 60 auto Callee = CGT::edge_dest(E.second); in propagateFromSCC() local 61 AdditionalCounts[Callee] += OptProfCount.getValue(); in propagateFromSCC() 73 auto Callee = CGT::edge_dest(E.second); in propagateFromSCC() local 74 AddCount(Callee, OptProfCount.getValue()); in propagateFromSCC()
|
D | CallGraphSCCPass.cpp | 274 Function *Callee = Call->getCalledFunction(); in RefreshCallGraph() local 276 if (!Callee || !(Callee->isIntrinsic())) in RefreshCallGraph() 291 Function *Callee = Call->getCalledFunction(); in RefreshCallGraph() local 292 if (Callee && Callee->isIntrinsic()) in RefreshCallGraph() 324 if (Function *Callee = Call->getCalledFunction()) { in RefreshCallGraph() local 325 CalleeNode = CG.getOrInsertFunction(Callee); in RefreshCallGraph() 331 << Callee->getName() << "'\n"); in RefreshCallGraph() 348 if (Function *Callee = Call->getCalledFunction()) { in RefreshCallGraph() local 349 CalleeNode = CG.getOrInsertFunction(Callee); in RefreshCallGraph()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/IR/ |
D | AbstractCallSite.cpp | 38 const Function *Callee = ICS.getCalledFunction(); in getCallbackUses() local 39 if (!Callee) in getCallbackUses() 42 MDNode *CallbackMD = Callee->getMetadata(LLVMContext::MD_callback); in getCallbackUses() 86 Function *Callee = CS.getCalledFunction(); in AbstractCallSite() local 87 if (!Callee) { in AbstractCallSite() 93 MDNode *CallbackMD = Callee->getMetadata(LLVMContext::MD_callback); in AbstractCallSite() 138 if (!Callee->isVarArg()) in AbstractCallSite() 151 for (unsigned u = Callee->arg_size(); u < NumCallOperands; u++) in AbstractCallSite()
|
/third_party/skia/third_party/externals/swiftshader/third_party/subzero/crosstest/ |
D | test_calling_conv_main.cpp | 49 CalleePtrTy Callee; variable 70 CalleePtrTy Callee; in testCaller() member 99 Callee = Funcs[f].Callee; in testCaller() 132 CalleePtrTy Callee, Subzero_Callee; in testCallee() member 157 Callee = Funcs[f].Callee; in testCallee() 161 Callee = Funcs[f].Subzero_Callee; in testCallee()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/configs/common/lib/IR/ |
D | AttributesCompatFunc.inc | 530 const Function &Callee) { 533 Ret &= isEqual<SanitizeAddressAttr>(Caller, Callee); 534 Ret &= isEqual<SanitizeThreadAttr>(Caller, Callee); 535 Ret &= isEqual<SanitizeMemoryAttr>(Caller, Callee); 536 Ret &= isEqual<SanitizeHWAddressAttr>(Caller, Callee); 537 Ret &= isEqual<SanitizeMemTagAttr>(Caller, Callee); 538 Ret &= isEqual<SafeStackAttr>(Caller, Callee); 539 Ret &= isEqual<ShadowCallStackAttr>(Caller, Callee); 545 const Function &Callee) { 546 setAND<UnsafeFPMathAttr>(Caller, Callee); [all …]
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/configs/common/include/llvm/IR/ |
D | Attributes.inc | 530 const Function &Callee) { 533 Ret &= isEqual<SanitizeAddressAttr>(Caller, Callee); 534 Ret &= isEqual<SanitizeThreadAttr>(Caller, Callee); 535 Ret &= isEqual<SanitizeMemoryAttr>(Caller, Callee); 536 Ret &= isEqual<SanitizeHWAddressAttr>(Caller, Callee); 537 Ret &= isEqual<SanitizeMemTagAttr>(Caller, Callee); 538 Ret &= isEqual<SafeStackAttr>(Caller, Callee); 539 Ret &= isEqual<ShadowCallStackAttr>(Caller, Callee); 545 const Function &Callee) { 546 setAND<UnsafeFPMathAttr>(Caller, Callee); [all …]
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Transforms/Utils/ |
D | CallPromotionUtils.h | 28 bool isLegalToPromote(CallSite CS, Function *Callee, 38 Instruction *promoteCall(CallSite CS, Function *Callee, 48 Instruction *promoteCallWithIfThenElse(CallSite CS, Function *Callee,
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-subzero/build/Windows/include/llvm/IR/ |
D | Attributes.gen | 436 const Function &Callee) { 439 Ret &= isEqual<SanitizeAddressAttr>(Caller, Callee); 440 Ret &= isEqual<SanitizeThreadAttr>(Caller, Callee); 441 Ret &= isEqual<SanitizeMemoryAttr>(Caller, Callee); 442 Ret &= isEqual<SafeStackAttr>(Caller, Callee); 448 const Function &Callee) { 449 adjustCallerSSPLevel(Caller, Callee); 450 setAND<LessPreciseFPMADAttr>(Caller, Callee); 451 setAND<NoInfsFPMathAttr>(Caller, Callee); 452 setAND<NoNansFPMathAttr>(Caller, Callee); [all …]
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-subzero/build/Linux/include/llvm/IR/ |
D | Attributes.gen | 436 const Function &Callee) { 439 Ret &= isEqual<SanitizeAddressAttr>(Caller, Callee); 440 Ret &= isEqual<SanitizeThreadAttr>(Caller, Callee); 441 Ret &= isEqual<SanitizeMemoryAttr>(Caller, Callee); 442 Ret &= isEqual<SafeStackAttr>(Caller, Callee); 448 const Function &Callee) { 449 adjustCallerSSPLevel(Caller, Callee); 450 setAND<LessPreciseFPMADAttr>(Caller, Callee); 451 setAND<NoInfsFPMathAttr>(Caller, Callee); 452 setAND<NoNansFPMathAttr>(Caller, Callee); [all …]
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-subzero/include/llvm/IR/ |
D | Attributes.inc | 436 const Function &Callee) { 439 Ret &= isEqual<SanitizeAddressAttr>(Caller, Callee); 440 Ret &= isEqual<SanitizeThreadAttr>(Caller, Callee); 441 Ret &= isEqual<SanitizeMemoryAttr>(Caller, Callee); 442 Ret &= isEqual<SafeStackAttr>(Caller, Callee); 448 const Function &Callee) { 449 adjustCallerSSPLevel(Caller, Callee); 450 setAND<LessPreciseFPMADAttr>(Caller, Callee); 451 setAND<NoInfsFPMathAttr>(Caller, Callee); 452 setAND<NoNansFPMathAttr>(Caller, Callee); [all …]
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-subzero/build/Fuchsia/include/llvm/IR/ |
D | Attributes.gen | 436 const Function &Callee) { 439 Ret &= isEqual<SanitizeAddressAttr>(Caller, Callee); 440 Ret &= isEqual<SanitizeThreadAttr>(Caller, Callee); 441 Ret &= isEqual<SanitizeMemoryAttr>(Caller, Callee); 442 Ret &= isEqual<SafeStackAttr>(Caller, Callee); 448 const Function &Callee) { 449 adjustCallerSSPLevel(Caller, Callee); 450 setAND<LessPreciseFPMADAttr>(Caller, Callee); 451 setAND<NoInfsFPMathAttr>(Caller, Callee); 452 setAND<NoNansFPMathAttr>(Caller, Callee); [all …]
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-subzero/build/MacOS/include/llvm/IR/ |
D | Attributes.gen | 436 const Function &Callee) { 439 Ret &= isEqual<SanitizeAddressAttr>(Caller, Callee); 440 Ret &= isEqual<SanitizeThreadAttr>(Caller, Callee); 441 Ret &= isEqual<SanitizeMemoryAttr>(Caller, Callee); 442 Ret &= isEqual<SafeStackAttr>(Caller, Callee); 448 const Function &Callee) { 449 adjustCallerSSPLevel(Caller, Callee); 450 setAND<LessPreciseFPMADAttr>(Caller, Callee); 451 setAND<NoInfsFPMathAttr>(Caller, Callee); 452 setAND<NoNansFPMathAttr>(Caller, Callee); [all …]
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-subzero/build/Android/include/llvm/IR/ |
D | Attributes.gen | 436 const Function &Callee) { 439 Ret &= isEqual<SanitizeAddressAttr>(Caller, Callee); 440 Ret &= isEqual<SanitizeThreadAttr>(Caller, Callee); 441 Ret &= isEqual<SanitizeMemoryAttr>(Caller, Callee); 442 Ret &= isEqual<SafeStackAttr>(Caller, Callee); 448 const Function &Callee) { 449 adjustCallerSSPLevel(Caller, Callee); 450 setAND<LessPreciseFPMADAttr>(Caller, Callee); 451 setAND<NoInfsFPMathAttr>(Caller, Callee); 452 setAND<NoNansFPMathAttr>(Caller, Callee); [all …]
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/WebAssembly/ |
D | WebAssemblyLowerEmscriptenEHSjLj.cpp | 268 bool canLongjmp(Module &M, const Value *Callee) const; 269 bool isEmAsmCall(Module &M, const Value *Callee) const; 450 Value *Callee = CI->getCalledValue(); in getInvokeWrapper() local 452 if (auto *F = dyn_cast<Function>(Callee)) in getInvokeWrapper() 455 auto *CalleeTy = cast<PointerType>(Callee->getType())->getElementType(); in getInvokeWrapper() 477 const Value *Callee) const { in canLongjmp() 478 if (auto *CalleeF = dyn_cast<Function>(Callee)) in canLongjmp() 486 if (isa<InlineAsm>(Callee)) in canLongjmp() 488 StringRef CalleeName = Callee->getName(); in canLongjmp() 502 if (Callee->getName().startswith("__cxa_find_matching_catch_")) in canLongjmp() [all …]
|
/third_party/mesa3d/src/gallium/drivers/swr/rasterizer/jitter/ |
D | builder_misc.h | 121 CallInst* CALL(Value* Callee, const std::initializer_list<Value*>& args, const llvm::Twine& name = … 122 CallInst* CALL(Value* Callee) in CALL() argument 128 return CALLA(FunctionCallee(cast<Function>(Callee))); in CALL() 130 return CALLA(Callee); in CALL() 133 CallInst* CALL(Value* Callee, Value* arg); 134 CallInst* CALL2(Value* Callee, Value* arg1, Value* arg2); 135 CallInst* CALL3(Value* Callee, Value* arg1, Value* arg2, Value* arg3);
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/NVPTX/ |
D | NVVMReflect.cpp | 119 Function *Callee = Call->getCalledFunction(); in runOnFunction() local 120 if (!Callee || (Callee->getName() != NVVM_REFLECT_FUNCTION && in runOnFunction() 121 Callee->getIntrinsicID() != Intrinsic::nvvm_reflect)) in runOnFunction()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Coroutines/ |
D | Coroutines.cpp | 195 const Function *Callee = Call->getCalledFunction(); in buildCGN() local 196 if (!Callee || !Intrinsic::isLeaf(Callee->getIntrinsicID())) in buildCGN() 201 else if (!Callee->isIntrinsic()) in buildCGN() 202 Node->addCalledFunction(Call, CG.getOrInsertFunction(Callee)); in buildCGN() 218 CallGraphNode *Callee = CG.getOrInsertFunction(F); in updateCallGraph() local 219 Nodes.push_back(Callee); in updateCallGraph() 220 buildCGN(CG, Callee); in updateCallGraph() 489 static void propagateCallAttrsFromCallee(CallInst *Call, Function *Callee) { in propagateCallAttrsFromCallee() argument 490 Call->setCallingConv(Callee->getCallingConv()); in propagateCallAttrsFromCallee() 494 static void addCallToCallGraph(CallGraph *CG, CallInst *Call, Function *Callee){ in addCallToCallGraph() argument [all …]
|