Home
last modified time | relevance | path

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

/llvm-project-15.0.7/llvm/lib/Transforms/Scalar/
H A DSink.cpp46 Inst->mayThrow() || !Inst->willReturn()) in isSafeToMove()
H A DDeadStoreElimination.cpp1022 return CB->use_empty() && CB->willReturn() && CB->doesNotThrow() && in isRemovable()
/llvm-project-15.0.7/llvm/lib/IR/
H A DInstruction.cpp696 return mayWriteToMemory() || mayThrow() || !willReturn(); in mayHaveSideEffects()
704 bool Instruction::willReturn() const { in willReturn() function in Instruction
/llvm-project-15.0.7/llvm/include/llvm/IR/
H A DInstruction.h644 bool willReturn() const;
H A DFunction.h622 bool willReturn() const { return hasFnAttribute(Attribute::WillReturn); } in willReturn() function
/llvm-project-15.0.7/llvm/lib/Transforms/IPO/
H A DFunctionAttrs.cpp1695 return I.willReturn(); in functionWillReturn()
1703 if (!F || F->willReturn() || !functionWillReturn(*F)) in addWillReturn()
/llvm-project-15.0.7/llvm/lib/Analysis/
H A DLoopInfo.cpp1105 return L->getHeader()->getParent()->willReturn(); in isFinite()
H A DValueTracking.cpp5459 return !I->mayThrow() && I->willReturn(); in isGuaranteedToTransferExecutionToSuccessor()
/llvm-project-15.0.7/llvm/lib/Transforms/Utils/
H A DLocal.cpp446 if (!I->willReturn()) in wouldInstructionBeTriviallyDead()
3394 if (!F.hasFnAttribute(Attribute::MustProgress) && F.willReturn()) { in inferAttributesFromOthers()
/llvm-project-15.0.7/llvm/lib/Transforms/InstCombine/
H A DInstructionCombining.cpp2721 if (!CB.willReturn() || !CB.doesNotThrow()) in isRemovableWrite()
4033 if (isa<PHINode>(I) || I->isEHPad() || I->mayThrow() || !I->willReturn() || in TryToSinkInstruction()