Searched refs:willReturn (Results 1 – 10 of 10) sorted by relevance
46 Inst->mayThrow() || !Inst->willReturn()) in isSafeToMove()
1022 return CB->use_empty() && CB->willReturn() && CB->doesNotThrow() && in isRemovable()
696 return mayWriteToMemory() || mayThrow() || !willReturn(); in mayHaveSideEffects()704 bool Instruction::willReturn() const { in willReturn() function in Instruction
644 bool willReturn() const;
622 bool willReturn() const { return hasFnAttribute(Attribute::WillReturn); } in willReturn() function
1695 return I.willReturn(); in functionWillReturn()1703 if (!F || F->willReturn() || !functionWillReturn(*F)) in addWillReturn()
1105 return L->getHeader()->getParent()->willReturn(); in isFinite()
5459 return !I->mayThrow() && I->willReturn(); in isGuaranteedToTransferExecutionToSuccessor()
446 if (!I->willReturn()) in wouldInstructionBeTriviallyDead()3394 if (!F.hasFnAttribute(Attribute::MustProgress) && F.willReturn()) { in inferAttributesFromOthers()
2721 if (!CB.willReturn() || !CB.doesNotThrow()) in isRemovableWrite()4033 if (isa<PHINode>(I) || I->isEHPad() || I->mayThrow() || !I->willReturn() || in TryToSinkInstruction()