Lines Matching refs:ConstantExpr
316 if (ConstantExpr *CE = dyn_cast<ConstantExpr>(V)) { in appendsFlatAddressExpressionToPostorderStack()
331 if (ConstantExpr *CE = dyn_cast<ConstantExpr>(Op->getOperand(I))) { in appendsFlatAddressExpressionToPostorderStack()
425 return ConstantExpr::getAddrSpaceCast(C, NewPtrTy); in operandWithNewAddressSpaceOrCreateUndef()
506 ConstantExpr *CE, unsigned NewAddrSpace, in cloneConstantExprWithNewAddressSpace()
517 return ConstantExpr::getBitCast(CE->getOperand(0), TargetType); in cloneConstantExprWithNewAddressSpace()
522 return ConstantExpr::getBitCast(cast<Constant>(NewOperand), TargetType); in cloneConstantExprWithNewAddressSpace()
523 return ConstantExpr::getAddrSpaceCast(CE, TargetType); in cloneConstantExprWithNewAddressSpace()
532 return ConstantExpr::getSelect( in cloneConstantExprWithNewAddressSpace()
533 CE->getOperand(0), ConstantExpr::getAddrSpaceCast(Src0, TargetType), in cloneConstantExprWithNewAddressSpace()
534 ConstantExpr::getAddrSpaceCast(Src1, TargetType)); in cloneConstantExprWithNewAddressSpace()
599 cast<ConstantExpr>(V), NewAddrSpace, ValueWithNewAddrSpace); in cloneValueWithNewAddressSpace()
908 Constant *Replace = ConstantExpr::getAddrSpaceCast(cast<Constant>(NewV), in rewriteWithNewAddressSpaces()
973 ConstantExpr::getAddrSpaceCast(KOtherSrc, NewV->getType())); in rewriteWithNewAddressSpaces()
1000 U.set(ConstantExpr::getAddrSpaceCast(cast<Constant>(NewV), in rewriteWithNewAddressSpaces()