Lines Matching refs:cast

367     cast<TruncInst>(this)->setHasNoUnsignedWrap(b);  in setHasNoUnsignedWrap()
374 cast<TruncInst>(this)->setHasNoSignedWrap(b); in setHasNoSignedWrap()
378 cast<PossiblyExactOperator>(this)->setIsExact(b); in setIsExact()
391 return cast<TruncInst>(this)->hasNoUnsignedWrap(); in hasNoUnsignedWrap()
398 return cast<TruncInst>(this)->hasNoSignedWrap(); in hasNoSignedWrap()
407 return cast<Operator>(this)->hasPoisonGeneratingFlags(); in hasPoisonGeneratingFlags()
416 cast<OverflowingBinaryOperator>(this)->setHasNoUnsignedWrap(false); in dropPoisonGeneratingFlags()
417 cast<OverflowingBinaryOperator>(this)->setHasNoSignedWrap(false); in dropPoisonGeneratingFlags()
424 cast<PossiblyExactOperator>(this)->setIsExact(false); in dropPoisonGeneratingFlags()
428 cast<PossiblyDisjointInst>(this)->setIsDisjoint(false); in dropPoisonGeneratingFlags()
432 cast<GetElementPtrInst>(this)->setNoWrapFlags(GEPNoWrapFlags::none()); in dropPoisonGeneratingFlags()
441 cast<TruncInst>(this)->setHasNoUnsignedWrap(false); in dropPoisonGeneratingFlags()
442 cast<TruncInst>(this)->setHasNoSignedWrap(false); in dropPoisonGeneratingFlags()
517 return cast<PossiblyExactOperator>(this)->isExact(); in isExact()
522 cast<FPMathOperator>(this)->setFast(B); in setFast()
527 cast<FPMathOperator>(this)->setHasAllowReassoc(B); in setHasAllowReassoc()
532 cast<FPMathOperator>(this)->setHasNoNaNs(B); in setHasNoNaNs()
537 cast<FPMathOperator>(this)->setHasNoInfs(B); in setHasNoInfs()
542 cast<FPMathOperator>(this)->setHasNoSignedZeros(B); in setHasNoSignedZeros()
547 cast<FPMathOperator>(this)->setHasAllowReciprocal(B); in setHasAllowReciprocal()
552 cast<FPMathOperator>(this)->setHasAllowContract(B); in setHasAllowContract()
557 cast<FPMathOperator>(this)->setHasApproxFunc(B); in setHasApproxFunc()
562 cast<FPMathOperator>(this)->setFastMathFlags(FMF); in setFastMathFlags()
567 cast<FPMathOperator>(this)->copyFastMathFlags(FMF); in copyFastMathFlags()
572 return cast<FPMathOperator>(this)->isFast(); in isFast()
577 return cast<FPMathOperator>(this)->hasAllowReassoc(); in hasAllowReassoc()
582 return cast<FPMathOperator>(this)->hasNoNaNs(); in hasNoNaNs()
587 return cast<FPMathOperator>(this)->hasNoInfs(); in hasNoInfs()
592 return cast<FPMathOperator>(this)->hasNoSignedZeros(); in hasNoSignedZeros()
597 return cast<FPMathOperator>(this)->hasAllowReciprocal(); in hasAllowReciprocal()
602 return cast<FPMathOperator>(this)->hasAllowContract(); in hasAllowContract()
607 return cast<FPMathOperator>(this)->hasApproxFunc(); in hasApproxFunc()
612 return cast<FPMathOperator>(this)->getFastMathFlags(); in getFastMathFlags()
794 return AI->getAllocatedType() == cast<AllocaInst>(I2)->getAllocatedType() && in hasSameSpecialState()
795 (AI->getAlign() == cast<AllocaInst>(I2)->getAlign() || in hasSameSpecialState()
798 return LI->isVolatile() == cast<LoadInst>(I2)->isVolatile() && in hasSameSpecialState()
799 (LI->getAlign() == cast<LoadInst>(I2)->getAlign() || in hasSameSpecialState()
801 LI->getOrdering() == cast<LoadInst>(I2)->getOrdering() && in hasSameSpecialState()
802 LI->getSyncScopeID() == cast<LoadInst>(I2)->getSyncScopeID(); in hasSameSpecialState()
804 return SI->isVolatile() == cast<StoreInst>(I2)->isVolatile() && in hasSameSpecialState()
805 (SI->getAlign() == cast<StoreInst>(I2)->getAlign() || in hasSameSpecialState()
807 SI->getOrdering() == cast<StoreInst>(I2)->getOrdering() && in hasSameSpecialState()
808 SI->getSyncScopeID() == cast<StoreInst>(I2)->getSyncScopeID(); in hasSameSpecialState()
810 return CI->getPredicate() == cast<CmpInst>(I2)->getPredicate(); in hasSameSpecialState()
812 return CI->isTailCall() == cast<CallInst>(I2)->isTailCall() && in hasSameSpecialState()
813 CI->getCallingConv() == cast<CallInst>(I2)->getCallingConv() && in hasSameSpecialState()
814 CI->getAttributes() == cast<CallInst>(I2)->getAttributes() && in hasSameSpecialState()
815 CI->hasIdenticalOperandBundleSchema(*cast<CallInst>(I2)); in hasSameSpecialState()
817 return CI->getCallingConv() == cast<InvokeInst>(I2)->getCallingConv() && in hasSameSpecialState()
818 CI->getAttributes() == cast<InvokeInst>(I2)->getAttributes() && in hasSameSpecialState()
819 CI->hasIdenticalOperandBundleSchema(*cast<InvokeInst>(I2)); in hasSameSpecialState()
821 return CI->getCallingConv() == cast<CallBrInst>(I2)->getCallingConv() && in hasSameSpecialState()
822 CI->getAttributes() == cast<CallBrInst>(I2)->getAttributes() && in hasSameSpecialState()
823 CI->hasIdenticalOperandBundleSchema(*cast<CallBrInst>(I2)); in hasSameSpecialState()
825 return IVI->getIndices() == cast<InsertValueInst>(I2)->getIndices(); in hasSameSpecialState()
827 return EVI->getIndices() == cast<ExtractValueInst>(I2)->getIndices(); in hasSameSpecialState()
829 return FI->getOrdering() == cast<FenceInst>(I2)->getOrdering() && in hasSameSpecialState()
830 FI->getSyncScopeID() == cast<FenceInst>(I2)->getSyncScopeID(); in hasSameSpecialState()
832 return CXI->isVolatile() == cast<AtomicCmpXchgInst>(I2)->isVolatile() && in hasSameSpecialState()
833 CXI->isWeak() == cast<AtomicCmpXchgInst>(I2)->isWeak() && in hasSameSpecialState()
835 cast<AtomicCmpXchgInst>(I2)->getSuccessOrdering() && in hasSameSpecialState()
837 cast<AtomicCmpXchgInst>(I2)->getFailureOrdering() && in hasSameSpecialState()
839 cast<AtomicCmpXchgInst>(I2)->getSyncScopeID(); in hasSameSpecialState()
841 return RMWI->getOperation() == cast<AtomicRMWInst>(I2)->getOperation() && in hasSameSpecialState()
842 RMWI->isVolatile() == cast<AtomicRMWInst>(I2)->isVolatile() && in hasSameSpecialState()
843 RMWI->getOrdering() == cast<AtomicRMWInst>(I2)->getOrdering() && in hasSameSpecialState()
844 RMWI->getSyncScopeID() == cast<AtomicRMWInst>(I2)->getSyncScopeID(); in hasSameSpecialState()
847 cast<ShuffleVectorInst>(I2)->getShuffleMask(); in hasSameSpecialState()
850 cast<GetElementPtrInst>(I2)->getSourceElementType(); in hasSameSpecialState()
877 const PHINode *otherPHI = cast<PHINode>(I); in isIdenticalToWhenDefined()
915 const Instruction *I = cast<Instruction>(U.getUser()); in isUsedOutsideOfBlock()
943 return !cast<CallBase>(this)->onlyWritesMemory(); in mayReadFromMemory()
945 return !cast<StoreInst>(this)->isUnordered(); in mayReadFromMemory()
963 return !cast<CallBase>(this)->onlyReadsMemory(); in mayWriteToMemory()
965 return !cast<LoadInst>(this)->isUnordered(); in mayWriteToMemory()
978 return cast<LoadInst>(this)->getOrdering() != AtomicOrdering::NotAtomic; in isAtomic()
980 return cast<StoreInst>(this)->getOrdering() != AtomicOrdering::NotAtomic; in isAtomic()
1013 return cast<AtomicRMWInst>(this)->isVolatile(); in isVolatile()
1015 return cast<StoreInst>(this)->isVolatile(); in isVolatile()
1017 return cast<LoadInst>(this)->isVolatile(); in isVolatile()
1019 return cast<AtomicCmpXchgInst>(this)->isVolatile(); in isVolatile()
1029 return cast<ConstantInt>(II->getArgOperand(2))->isOne(); in isVolatile()
1031 return cast<ConstantInt>(II->getArgOperand(3))->isOne(); in isVolatile()
1041 return cast<StoreInst>(this)->getValueOperand()->getType(); in getAccessType()
1046 return cast<AtomicCmpXchgInst>(this)->getNewValOperand()->getType(); in getAccessType()
1099 return !cast<CallInst>(this)->doesNotThrow(); in mayThrow()
1101 return cast<CleanupReturnInst>(this)->unwindsToCaller(); in mayThrow()
1103 return cast<CatchSwitchInst>(this)->unwindsToCaller(); in mayThrow()
1109 BasicBlock *UnwindDest = cast<InvokeInst>(this)->getUnwindDest(); in mayThrow()
1196 return cast<FPMathOperator>(this)->hasAllowReassoc() && in isAssociative()
1197 cast<FPMathOperator>(this)->hasNoSignedZeros(); in isAssociative()
1306 New = cast<clas>(this)->cloneImpl(); \ in clone()