Home
last modified time | relevance | path

Searched refs:isLegalToPromote (Results 1 – 6 of 6) sorted by relevance

/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/Transforms/Utils/
H A DCallPromotionUtils.h30 bool isLegalToPromote(const CallBase &CB, Function *Callee,
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/AMDGPU/
H A DAMDGPUFixFunctionBitcasts.cpp40 if (Callee && isLegalToPromote(CB, Callee)) { in visitCallBase()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/CodeGen/
H A DTypePromotion.cpp178 bool isLegalToPromote(Value *V);
795 bool TypePromotion::isLegalToPromote(Value *V) { in isLegalToPromote() function in TypePromotion
817 if (!isSupportedValue(V) || !shouldPromote(V) || !isLegalToPromote(V)) in TryToPromote()
841 if (!isSupportedValue(V) || (shouldPromote(V) && !isLegalToPromote(V))) { in TryToPromote()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/Utils/
H A DCallPromotionUtils.cpp382 bool llvm::isLegalToPromote(const CallBase &CB, Function *Callee, in isLegalToPromote() function in llvm
587 if (!isLegalToPromote(CB, DirectCallee)) in tryPromoteCall()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/Instrumentation/
H A DIndirectCallPromotion.cpp285 if (!isLegalToPromote(CB, TargetFunction, &Reason)) { in getPromotionCandidatesForCallSite()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/IPO/
H A DSampleProfile.cpp879 R->getValue() != &F && isLegalToPromote(CI, R->getValue(), &Reason)) { in tryPromoteAndInlineCandidate()