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

Declarations

include/llvm/IR/Constants.h
  970   static Constant *getAddrSpaceCast(Constant *C, Type *Ty,

References

lib/IR/Constants.cpp
 1596     return getAddrSpaceCast(C, Ty, OnlyIfReduced);
 1628     return getAddrSpaceCast(S, Ty);
 1639     return getAddrSpaceCast(S, Ty);
lib/IR/Core.cpp
 1723   return wrap(ConstantExpr::getAddrSpaceCast(unwrap<Constant>(ConstantVal),
lib/Transforms/Scalar/InferAddressSpaces.cpp
  423     return ConstantExpr::getAddrSpaceCast(C, NewPtrTy);
  521     return ConstantExpr::getAddrSpaceCast(CE, TargetType);
  531           CE->getOperand(0), ConstantExpr::getAddrSpaceCast(Src0, TargetType),
  532           ConstantExpr::getAddrSpaceCast(Src1, TargetType));
  915       Constant *Replace = ConstantExpr::getAddrSpaceCast(cast<Constant>(NewV),
  980                 ConstantExpr::getAddrSpaceCast(KOtherSrc, NewV->getType()));
 1011           U.set(ConstantExpr::getAddrSpaceCast(cast<Constant>(NewV),
tools/clang/lib/CodeGen/CGDeclCXX.cpp
  199     DeclPtr = llvm::ConstantExpr::getAddrSpaceCast(DeclPtr, PTy);
tools/clang/lib/CodeGen/CodeGenModule.cpp
 3451       return llvm::ConstantExpr::getAddrSpaceCast(Entry, Ty);
tools/clang/lib/CodeGen/TargetInfo.cpp
 8048   return llvm::ConstantExpr::getAddrSpaceCast(
unittests/IR/ConstantsTest.cpp
  163             ConstantExpr::getAddrSpaceCast(
  166             ConstantExpr::getAddrSpaceCast(
  174             ConstantExpr::getAddrSpaceCast(NullInt32Ptr0, Int32Ptr1Ty));
  177             ConstantExpr::getAddrSpaceCast(NullInt32Ptr1, Int32PtrTy));