Lines Matching refs:ConstantExpr
455 if (ConstantExpr *CE = dyn_cast<ConstantExpr>(V)) { in appendsFlatAddressExpressionToPostorderStack()
470 if (ConstantExpr *CE = dyn_cast<ConstantExpr>(Op->getOperand(I))) { in appendsFlatAddressExpressionToPostorderStack()
570 return ConstantExpr::getAddrSpaceCast(C, NewPtrTy); in operandWithNewAddressSpaceOrCreatePoison()
706 ConstantExpr *CE, unsigned NewAddrSpace, in cloneConstantExprWithNewAddressSpace()
720 return ConstantExpr::getBitCast(CE->getOperand(0), TargetType); in cloneConstantExprWithNewAddressSpace()
725 return ConstantExpr::getBitCast(cast<Constant>(NewOperand), TargetType); in cloneConstantExprWithNewAddressSpace()
726 return ConstantExpr::getAddrSpaceCast(CE, TargetType); in cloneConstantExprWithNewAddressSpace()
731 Constant *Src = cast<ConstantExpr>(CE->getOperand(0))->getOperand(0); in cloneConstantExprWithNewAddressSpace()
733 return ConstantExpr::getBitCast(Src, TargetType); in cloneConstantExprWithNewAddressSpace()
751 if (auto *CExpr = dyn_cast<ConstantExpr>(Operand)) in cloneConstantExprWithNewAddressSpace()
805 cast<ConstantExpr>(V), NewAddrSpace, ValueWithNewAddrSpace, DL, TTI); in cloneValueWithNewAddressSpace()
1190 ConstantExpr::getAddrSpaceCast(cast<Constant>(NewV), C->getType()); in rewriteWithNewAddressSpaces()
1284 Cmp->setOperand(OtherIdx, ConstantExpr::getAddrSpaceCast( in rewriteWithNewAddressSpaces()
1320 V, ConstantExpr::getAddrSpaceCast(cast<Constant>(NewV), in rewriteWithNewAddressSpaces()