/external/llvm/lib/Target/NVPTX/ |
NVPTXLowerAlloca.cpp | 69 auto PTy = dyn_cast<PointerType>(allocaInst->getType()); 70 auto ETy = PTy->getElementType();
|
NVPTXAsmPrinter.h | 161 PointerType *PTy = dyn_cast<PointerType>(v0->getType()); 163 if (PTy && PTy->getAddressSpace() != 0) {
|
NVPTXISelLowering.cpp | [all...] |
NVPTXAsmPrinter.cpp | 683 PointerType *Pty = gv->getType(); 684 if (Pty->getAddressSpace() != llvm::ADDRESS_SPACE_SHARED) 1032 PointerType *PTy = GVar->getType(); 1033 Type *ETy = PTy->getElementType(); [all...] |
/external/llvm/lib/IR/ |
Globals.cpp | 260 PointerType *PTy = Aliasee->getType(); 261 return create(PTy->getElementType(), PTy->getAddressSpace(), Link, Name,
|
Module.cpp | 234 PointerType *PTy = PointerType::get(Ty, GVTy->getPointerAddressSpace()); 235 if (GVTy != PTy) 236 return ConstantExpr::getBitCast(GV, PTy);
|
AsmWriter.cpp | 506 PointerType *PTy = cast<PointerType>(Ty); 507 print(PTy->getElementType(), OS); 508 if (unsigned AddressSpace = PTy->getAddressSpace()) 521 VectorType *PTy = cast<VectorType>(Ty); 522 OS << "<" << PTy->getNumElements() << " x "; 523 print(PTy->getElementType(), OS); [all...] |
/external/clang/lib/CodeGen/ |
CodeGenTypes.cpp | 503 const PointerType *PTy = cast<PointerType>(Ty); 504 QualType ETy = PTy->getPointeeType();
|
CGDeclCXX.cpp | 158 llvm::PointerType *PTy = llvm::PointerType::get(LTy, ExpectedAddrSpace); 159 DeclPtr = llvm::ConstantExpr::getAddrSpaceCast(DeclPtr, PTy);
|
CGDecl.cpp | 233 llvm::PointerType *PTy = llvm::PointerType::get(LTy, ExpectedAddrSpace); 234 Addr = llvm::ConstantExpr::getAddrSpaceCast(GV, PTy); [all...] |
/external/llvm/unittests/Support/ |
Casting.cpp | 249 class PTy { 252 PTy(Base *B) : B(B) {} 262 template <> struct simplify_type<pointer_wrappers::PTy> { 264 static SimpleType getSimplifiedValue(pointer_wrappers::PTy &P) { 268 template <> struct simplify_type<const pointer_wrappers::PTy> { 270 static SimpleType getSimplifiedValue(const pointer_wrappers::PTy &P) { 285 pointer_wrappers::PTy MN(nullptr); 286 pointer_wrappers::PTy MB(&B); 287 pointer_wrappers::PTy MD(&D); 290 const pointer_wrappers::PTy CN(nullptr) [all...] |
/external/llvm/lib/AsmParser/ |
LLParser.cpp | 706 auto *PTy = dyn_cast<PointerType>(AliaseeType); 707 if (!PTy) 709 unsigned AddrSpace = PTy->getAddressSpace(); 711 if (Ty != PTy->getElementType()) [all...] |
/external/llvm/lib/Analysis/ |
ConstantFolding.cpp | 403 PointerType *PTy = cast<PointerType>(C->getType()); 404 Type *LoadTy = PTy->getElementType(); 409 unsigned AS = PTy->getAddressSpace(); [all...] |
InlineCost.cpp | [all...] |
LazyValueInfo.cpp | 694 PointerType *PTy = cast<PointerType>(Val->getType()); 695 Result = LVILatticeVal::getNot(ConstantPointerNull::get(PTy)); 722 PointerType *PTy = cast<PointerType>(Val->getType()); 723 Result = LVILatticeVal::getNot(ConstantPointerNull::get(PTy)); [all...] |
/frameworks/compile/slang/BitWriter_2_9/ |
BitcodeWriter.cpp | 282 PointerType *PTy = cast<PointerType>(T); 285 TypeVals.push_back(VE.getTypeID(PTy->getElementType())); 286 unsigned AddressSpace = PTy->getAddressSpace(); [all...] |
/frameworks/compile/slang/BitWriter_2_9_func/ |
BitcodeWriter.cpp | 267 PointerType *PTy = cast<PointerType>(T); 270 TypeVals.push_back(VE.getTypeID(PTy->getElementType())); 271 unsigned AddressSpace = PTy->getAddressSpace(); [all...] |
/frameworks/compile/slang/BitWriter_3_2/ |
BitcodeWriter.cpp | 270 PointerType *PTy = cast<PointerType>(T); 273 TypeVals.push_back(VE.getTypeID(PTy->getElementType())); 274 unsigned AddressSpace = PTy->getAddressSpace(); [all...] |
/external/llvm/include/llvm/IR/ |
IRBuilder.h | [all...] |
/external/llvm/lib/Bitcode/Writer/ |
BitcodeWriter.cpp | 425 PointerType *PTy = cast<PointerType>(T); 428 TypeVals.push_back(VE.getTypeID(PTy->getElementType())); 429 unsigned AddressSpace = PTy->getAddressSpace(); [all...] |
/external/llvm/lib/Target/Hexagon/ |
HexagonCommonGEP.cpp | 170 Type *PTy; // Type of the pointer operand. 172 GepNode() : Flags(0), Parent(0), Idx(0), PTy(0) {} 173 GepNode(const GepNode *N) : Flags(N->Flags), Idx(N->Idx), PTy(N->PTy) { 231 OS << " PTy:"; 232 if (GN.PTy->isStructTy()) { 233 StructType *STy = cast<StructType>(GN.PTy); 235 OS << GN.PTy->getStructName(); 240 OS << *GN.PTy; 338 N->PTy = PtrOp->getType() [all...] |
/external/llvm/lib/Transforms/InstCombine/ |
InstCombineCalls.cpp | [all...] |
InstCombineCasts.cpp | 83 PointerType *PTy = cast<PointerType>(CI.getType()); 90 Type *CastElTy = PTy->getElementType(); [all...] |
/frameworks/compile/libbcc/bcinfo/BitReader_2_7/ |
BitcodeReader.cpp | [all...] |
/external/llvm/lib/Bitcode/Reader/ |
BitcodeReader.cpp | [all...] |