Home
last modified time | relevance | path

Searched refs:willReturn (Results 1 – 17 of 17) sorted by relevance

/freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DSink.cpp52 Inst->mayThrow() || !Inst->willReturn()) in isSafeToMove()
H A DLoopFuse.cpp1198 if (I.mayThrow() || !I.willReturn()) { in collectMovablePreheaderInsts()
H A DDeadStoreElimination.cpp1290 return CB->use_empty() && CB->willReturn() && CB->doesNotThrow() && in isRemovable()
/freebsd/contrib/llvm-project/llvm/lib/Analysis/
H A DCaptureTracking.cpp282 if (Call->onlyReadsMemory() && Call->doesNotThrow() && Call->willReturn() && in DetermineUseCaptureKind()
H A DLoopInfo.cpp1153 return L->getHeader()->getParent()->willReturn(); in isFinite()
H A DValueTracking.cpp7834 return !I->mayThrow() && I->willReturn(); in isGuaranteedToTransferExecutionToSuccessor()
/freebsd/contrib/llvm-project/clang/lib/CIR/Lowering/DirectToLLVM/
H A DLowerToLLVM.cpp238 bool &noUnwind, bool &willReturn) { in convertSideEffectForCall() argument
245 willReturn = false; in convertSideEffectForCall()
254 willReturn = true; in convertSideEffectForCall()
263 willReturn = true; in convertSideEffectForCall()
891 bool willReturn = false; in rewriteCallOrInvoke() local
893 memoryEffects, noUnwind, willReturn); in rewriteCallOrInvoke()
924 newOp.setWillReturn(willReturn); in rewriteCallOrInvoke()
H A DLowerToLLVM.h35 bool &noUnwind, bool &willReturn);
/freebsd/contrib/llvm-project/llvm/lib/Transforms/IPO/
H A DFunctionAttrs.cpp1268 if (F->onlyReadsMemory() && F->doesNotThrow() && F->willReturn() && in addArgumentAttrs()
2211 return I.willReturn(); in functionWillReturn()
2219 if (!F || F->willReturn() || !functionWillReturn(*F)) in addWillReturn()
/freebsd/contrib/llvm-project/llvm/lib/IR/
H A DInstruction.cpp1199 return mayWriteToMemory() || mayThrow() || !willReturn(); in mayHaveSideEffects()
1207 bool Instruction::willReturn() const { in willReturn() function in Instruction
/freebsd/contrib/llvm-project/llvm/include/llvm/IR/
H A DFunction.h661 bool willReturn() const { return hasFnAttribute(Attribute::WillReturn); } in willReturn() function
H A DInstruction.h875 LLVM_ABI bool willReturn() const LLVM_READONLY;
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Instrumentation/
H A DIndirectCallPromotion.cpp252 if (isa<PHINode>(I) || I->isEHPad() || I->mayThrow() || !I->willReturn() || in tryToSinkInstruction()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DLocal.cpp445 if (!I->willReturn()) { in wouldInstructionBeTriviallyDead()
4346 if (!F.hasFnAttribute(Attribute::MustProgress) && F.willReturn()) { in inferAttributesFromOthers()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstructionCombining.cpp3398 if (!CB.willReturn() || !CB.doesNotThrow()) in isRemovableWrite()
5191 if (isa<PHINode>(I) || I->isEHPad() || I->mayThrow() || !I->willReturn() || in tryToSinkInstruction()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Vectorize/
H A DVPlanRecipes.cpp163 return mayWriteToMemory() || !Fn->doesNotThrow() || !Fn->willReturn(); in mayHaveSideEffects()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/
H A DSelectionDAGBuilder.cpp5317 HasChain && F->onlyReadsMemory() && F->willReturn() && F->doesNotThrow(); in visitTargetIntrinsic()