Lines Matching refs:cast
100 cast<OverflowingBinaryOperator>(this)->setHasNoUnsignedWrap(b); in setHasNoUnsignedWrap()
104 cast<OverflowingBinaryOperator>(this)->setHasNoSignedWrap(b); in setHasNoSignedWrap()
108 cast<PossiblyExactOperator>(this)->setIsExact(b); in setIsExact()
112 return cast<OverflowingBinaryOperator>(this)->hasNoUnsignedWrap(); in hasNoUnsignedWrap()
116 return cast<OverflowingBinaryOperator>(this)->hasNoSignedWrap(); in hasNoSignedWrap()
120 return cast<PossiblyExactOperator>(this)->isExact(); in isExact()
128 cast<FPMathOperator>(this)->setHasUnsafeAlgebra(B); in setHasUnsafeAlgebra()
135 cast<FPMathOperator>(this)->setHasNoNaNs(B); in setHasNoNaNs()
142 cast<FPMathOperator>(this)->setHasNoInfs(B); in setHasNoInfs()
150 cast<FPMathOperator>(this)->setHasNoSignedZeros(B); in setHasNoSignedZeros()
158 cast<FPMathOperator>(this)->setHasAllowReciprocal(B); in setHasAllowReciprocal()
166 cast<FPMathOperator>(this)->setFastMathFlags(FMF); in setFastMathFlags()
171 cast<FPMathOperator>(this)->copyFastMathFlags(FMF); in copyFastMathFlags()
177 return cast<FPMathOperator>(this)->hasUnsafeAlgebra(); in hasUnsafeAlgebra()
183 return cast<FPMathOperator>(this)->hasNoNaNs(); in hasNoNaNs()
189 return cast<FPMathOperator>(this)->hasNoInfs(); in hasNoInfs()
195 return cast<FPMathOperator>(this)->hasNoSignedZeros(); in hasNoSignedZeros()
201 return cast<FPMathOperator>(this)->hasAllowReciprocal(); in hasAllowReciprocal()
209 return cast<FPMathOperator>(this)->getFastMathFlags(); in getFastMathFlags()
347 return AI->getAllocatedType() == cast<AllocaInst>(I2)->getAllocatedType() && in haveSameSpecialState()
348 (AI->getAlignment() == cast<AllocaInst>(I2)->getAlignment() || in haveSameSpecialState()
351 return LI->isVolatile() == cast<LoadInst>(I2)->isVolatile() && in haveSameSpecialState()
352 (LI->getAlignment() == cast<LoadInst>(I2)->getAlignment() || in haveSameSpecialState()
354 LI->getOrdering() == cast<LoadInst>(I2)->getOrdering() && in haveSameSpecialState()
355 LI->getSynchScope() == cast<LoadInst>(I2)->getSynchScope(); in haveSameSpecialState()
357 return SI->isVolatile() == cast<StoreInst>(I2)->isVolatile() && in haveSameSpecialState()
358 (SI->getAlignment() == cast<StoreInst>(I2)->getAlignment() || in haveSameSpecialState()
360 SI->getOrdering() == cast<StoreInst>(I2)->getOrdering() && in haveSameSpecialState()
361 SI->getSynchScope() == cast<StoreInst>(I2)->getSynchScope(); in haveSameSpecialState()
363 return CI->getPredicate() == cast<CmpInst>(I2)->getPredicate(); in haveSameSpecialState()
365 return CI->isTailCall() == cast<CallInst>(I2)->isTailCall() && in haveSameSpecialState()
366 CI->getCallingConv() == cast<CallInst>(I2)->getCallingConv() && in haveSameSpecialState()
367 CI->getAttributes() == cast<CallInst>(I2)->getAttributes() && in haveSameSpecialState()
368 CI->hasIdenticalOperandBundleSchema(*cast<CallInst>(I2)); in haveSameSpecialState()
370 return CI->getCallingConv() == cast<InvokeInst>(I2)->getCallingConv() && in haveSameSpecialState()
371 CI->getAttributes() == cast<InvokeInst>(I2)->getAttributes() && in haveSameSpecialState()
372 CI->hasIdenticalOperandBundleSchema(*cast<InvokeInst>(I2)); in haveSameSpecialState()
374 return IVI->getIndices() == cast<InsertValueInst>(I2)->getIndices(); in haveSameSpecialState()
376 return EVI->getIndices() == cast<ExtractValueInst>(I2)->getIndices(); in haveSameSpecialState()
378 return FI->getOrdering() == cast<FenceInst>(I2)->getOrdering() && in haveSameSpecialState()
379 FI->getSynchScope() == cast<FenceInst>(I2)->getSynchScope(); in haveSameSpecialState()
381 return CXI->isVolatile() == cast<AtomicCmpXchgInst>(I2)->isVolatile() && in haveSameSpecialState()
382 CXI->isWeak() == cast<AtomicCmpXchgInst>(I2)->isWeak() && in haveSameSpecialState()
384 cast<AtomicCmpXchgInst>(I2)->getSuccessOrdering() && in haveSameSpecialState()
386 cast<AtomicCmpXchgInst>(I2)->getFailureOrdering() && in haveSameSpecialState()
387 CXI->getSynchScope() == cast<AtomicCmpXchgInst>(I2)->getSynchScope(); in haveSameSpecialState()
389 return RMWI->getOperation() == cast<AtomicRMWInst>(I2)->getOperation() && in haveSameSpecialState()
390 RMWI->isVolatile() == cast<AtomicRMWInst>(I2)->isVolatile() && in haveSameSpecialState()
391 RMWI->getOrdering() == cast<AtomicRMWInst>(I2)->getOrdering() && in haveSameSpecialState()
392 RMWI->getSynchScope() == cast<AtomicRMWInst>(I2)->getSynchScope(); in haveSameSpecialState()
424 const PHINode *otherPHI = cast<PHINode>(I); in isIdenticalToWhenDefined()
465 const Instruction *I = cast<Instruction>(U.getUser()); in isUsedOutsideOfBlock()
493 return !cast<CallInst>(this)->doesNotAccessMemory(); in mayReadFromMemory()
495 return !cast<InvokeInst>(this)->doesNotAccessMemory(); in mayReadFromMemory()
497 return !cast<StoreInst>(this)->isUnordered(); in mayReadFromMemory()
515 return !cast<CallInst>(this)->onlyReadsMemory(); in mayWriteToMemory()
517 return !cast<InvokeInst>(this)->onlyReadsMemory(); in mayWriteToMemory()
519 return !cast<LoadInst>(this)->isUnordered(); in mayWriteToMemory()
532 return cast<LoadInst>(this)->getOrdering() != AtomicOrdering::NotAtomic; in isAtomic()
534 return cast<StoreInst>(this)->getOrdering() != AtomicOrdering::NotAtomic; in isAtomic()
567 return cast<FPMathOperator>(this)->hasUnsafeAlgebra(); in isAssociative()
629 New = cast<clas>(this)->cloneImpl(); \ in clone()