Searched refs:willReturn (Results 1 – 11 of 11) sorted by relevance
46 Inst->mayThrow() || !Inst->willReturn()) in isSafeToMove()
1198 if (I.mayThrow() || !I.willReturn()) { in collectMovablePreheaderInsts()
1129 return CB->use_empty() && CB->willReturn() && CB->doesNotThrow() && in isRemovable()
1032 return mayWriteToMemory() || mayThrow() || !willReturn(); in mayHaveSideEffects()1040 bool Instruction::willReturn() const { in willReturn() function in Instruction
786 bool willReturn() const LLVM_READONLY;
635 bool willReturn() const { return hasFnAttribute(Attribute::WillReturn); } in willReturn() function
1767 return I.willReturn(); in functionWillReturn()1775 if (!F || F->willReturn() || !functionWillReturn(*F)) in addWillReturn()
1110 return L->getHeader()->getParent()->willReturn(); in isFinite()
7037 return !I->mayThrow() && I->willReturn(); in isGuaranteedToTransferExecutionToSuccessor()
442 if (!I->willReturn()) { in wouldInstructionBeTriviallyDead()4139 if (!F.hasFnAttribute(Attribute::MustProgress) && F.willReturn()) { in inferAttributesFromOthers()
2697 if (!CB.willReturn() || !CB.doesNotThrow()) in isRemovableWrite()4244 if (isa<PHINode>(I) || I->isEHPad() || I->mayThrow() || !I->willReturn() || in tryToSinkInstruction()