Home
last modified time | relevance | path

Searched refs:getAddrSpaceCast (Results 1 – 13 of 13) sorted by relevance

/external/llvm/lib/Target/NVPTX/
DNVPTXFavorNonGenericAddrSpaces.cpp181 NewASC = ConstantExpr::getAddrSpaceCast(NewGEP, GEP->getType()); in hoistAddrSpaceCastFromGEP()
218 NewBC = ConstantExpr::getAddrSpaceCast(NewCast, BC->getType()); in hoistAddrSpaceCastFromBitCast()
DNVPTXInferAddressSpaces.cpp572 U->set(ConstantExpr::getAddrSpaceCast(cast<Constant>(NewV), in rewriteWithNewAddressSpaces()
/external/llvm/unittests/IR/
DConstantsTest.cpp164 ConstantExpr::getAddrSpaceCast( in TEST()
167 ConstantExpr::getAddrSpaceCast( in TEST()
175 ConstantExpr::getAddrSpaceCast(NullInt32Ptr0, Int32Ptr1Ty)); in TEST()
178 ConstantExpr::getAddrSpaceCast(NullInt32Ptr1, Int32PtrTy)); in TEST()
/external/clang/lib/CodeGen/
DCGDeclCXX.cpp167 DeclPtr = llvm::ConstantExpr::getAddrSpaceCast(DeclPtr, PTy); in EmitCXXGlobalVarDeclInit()
DCGDecl.cpp243 Addr = llvm::ConstantExpr::getAddrSpaceCast(GV, PTy); in getOrCreateStaticVarDecl()
DCGExprConstant.cpp684 return llvm::ConstantExpr::getAddrSpaceCast(C, destType); in VisitCastExpr()
DCodeGenModule.cpp2103 return llvm::ConstantExpr::getAddrSpaceCast(Entry, Ty); in GetOrCreateLLVMGlobal()
2173 return llvm::ConstantExpr::getAddrSpaceCast(GV, Ty); in GetOrCreateLLVMGlobal()
/external/llvm/lib/IR/
DConstants.cpp1492 return getAddrSpaceCast(C, Ty, OnlyIfReduced); in getCast()
1524 return getAddrSpaceCast(S, Ty); in getPointerCast()
1535 return getAddrSpaceCast(S, Ty); in getPointerBitCastOrAddrSpaceCast()
1712 Constant *ConstantExpr::getAddrSpaceCast(Constant *C, Type *DstTy, in getAddrSpaceCast() function in ConstantExpr
DCore.cpp1334 return wrap(ConstantExpr::getAddrSpaceCast(unwrap<Constant>(ConstantVal), in LLVMConstAddrSpaceCast()
/external/llvm/include/llvm/IR/
DConstants.h917 static Constant *getAddrSpaceCast(Constant *C, Type *Ty,
/external/llvm/include/llvm/CodeGen/
DSelectionDAG.h982 SDValue getAddrSpaceCast(const SDLoc &dl, EVT VT, SDValue Ptr, unsigned SrcAS,
/external/llvm/lib/CodeGen/SelectionDAG/
DSelectionDAG.cpp1785 SDValue SelectionDAG::getAddrSpaceCast(const SDLoc &dl, EVT VT, SDValue Ptr, in getAddrSpaceCast() function in SelectionDAG
DSelectionDAGBuilder.cpp2973 N = DAG.getAddrSpaceCast(getCurSDLoc(), DestVT, N, SrcAS, DestAS); in visitAddrSpaceCast()