reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

lib/Transforms/Scalar/InferAddressSpaces.cpp
  507     CE->getType()->getPointerElementType()->getPointerTo(NewAddrSpace);
  509   if (CE->getOpcode() == Instruction::AddrSpaceCast) {
  513     assert(CE->getOperand(0)->getType()->getPointerAddressSpace() ==
  515     return ConstantExpr::getBitCast(CE->getOperand(0), TargetType);
  518   if (CE->getOpcode() == Instruction::BitCast) {
  519     if (Value *NewOperand = ValueWithNewAddrSpace.lookup(CE->getOperand(0)))
  521     return ConstantExpr::getAddrSpaceCast(CE, TargetType);
  524   if (CE->getOpcode() == Instruction::Select) {
  525     Constant *Src0 = CE->getOperand(1);
  526     Constant *Src1 = CE->getOperand(2);
  531           CE->getOperand(0), ConstantExpr::getAddrSpaceCast(Src0, TargetType),
  539   for (unsigned Index = 0; Index < CE->getNumOperands(); ++Index) {
  540     Constant *Operand = CE->getOperand(Index);
  567   if (CE->getOpcode() == Instruction::GetElementPtr) {
  570     return CE->getWithOperands(
  575   return CE->getWithOperands(NewOperands, TargetType);