Home
last modified time | relevance | path

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

/openbsd-src/gnu/llvm/llvm/include/llvm/Transforms/Utils/
H A DCallPromotionUtils.h31 bool isLegalToPromote(const CallBase &CB, Function *Callee,
/openbsd-src/gnu/llvm/llvm/lib/CodeGen/
H A DTypePromotion.cpp171 bool isLegalToPromote(Value *V);
759 bool TypePromotionImpl::isLegalToPromote(Value *V) { in isLegalToPromote() function in TypePromotionImpl
781 if (!isSupportedValue(V) || !shouldPromote(V) || !isLegalToPromote(V)) in TryToPromote()
805 if (!isSupportedValue(V) || (shouldPromote(V) && !isLegalToPromote(V))) { in TryToPromote()
/openbsd-src/gnu/llvm/llvm/lib/Transforms/Utils/
H A DCallPromotionUtils.cpp382 bool llvm::isLegalToPromote(const CallBase &CB, Function *Callee, in isLegalToPromote() function in llvm
612 if (!isLegalToPromote(CB, DirectCallee)) in tryPromoteCall()
/openbsd-src/gnu/llvm/llvm/lib/Transforms/Instrumentation/
H A DIndirectCallPromotion.cpp226 if (!isLegalToPromote(CB, TargetFunction, &Reason)) { in getPromotionCandidatesForCallSite()
/openbsd-src/gnu/llvm/llvm/lib/Transforms/IPO/
H A DSampleProfile.cpp959 R->getValue() != &F && isLegalToPromote(CI, R->getValue(), &Reason)) { in tryPromoteAndInlineCandidate()