/external/clang/include/clang/Basic/ |
D | TargetInfo.h | 206 IntType getPtrDiffType(unsigned AddrSpace) const { in getPtrDiffType() argument 207 return AddrSpace == 0 ? PtrDiffType : getPtrDiffTypeV(AddrSpace); in getPtrDiffType() 233 uint64_t getPointerWidth(unsigned AddrSpace) const { in getPointerWidth() argument 234 return AddrSpace == 0 ? PointerWidth : getPointerWidthV(AddrSpace); in getPointerWidth() 236 uint64_t getPointerAlign(unsigned AddrSpace) const { in getPointerAlign() argument 237 return AddrSpace == 0 ? PointerAlign : getPointerAlignV(AddrSpace); in getPointerAlign() 779 virtual uint64_t getPointerWidthV(unsigned AddrSpace) const { in getPointerWidthV() argument 782 virtual uint64_t getPointerAlignV(unsigned AddrSpace) const { in getPointerAlignV() argument 785 virtual enum IntType getPtrDiffTypeV(unsigned AddrSpace) const { in getPtrDiffTypeV() argument
|
/external/llvm/lib/Target/NVPTX/ |
D | NVPTXInstrInfo.h | 57 bool isLoadInstr(const MachineInstr &MI, unsigned &AddrSpace) const; 58 bool isStoreInstr(const MachineInstr &MI, unsigned &AddrSpace) const;
|
D | NVPTXInstrInfo.cpp | 110 unsigned &AddrSpace) const { in isLoadInstr() 116 AddrSpace = getLdStCodeAddrSpace(MI); in isLoadInstr() 121 unsigned &AddrSpace) const { in isStoreInstr() 127 AddrSpace = getLdStCodeAddrSpace(MI); in isStoreInstr()
|
D | NVPTXGenericToNVVM.cpp | 176 unsigned int AddrSpace = GVType->getAddressSpace(); in getOrInsertCVTA() local 177 Type *DestTy = PointerType::get(Type::getInt8Ty(Context), AddrSpace); in getOrInsertCVTA()
|
/external/llvm/lib/Transforms/Scalar/ |
D | GlobalMerge.cpp | 84 Module &M, bool isConst, unsigned AddrSpace) const; 144 Module &M, bool isConst, unsigned AddrSpace) const { in doMerge() 179 AddrSpace); in doMerge()
|
D | LoopIdiomRecognize.cpp | 986 unsigned AddrSpace = cast<PointerType>(DestPtr->getType())->getAddressSpace(); in processLoopStridedStore() local 988 Expander.expandCodeFor(Ev->getStart(), Builder.getInt8PtrTy(AddrSpace), in processLoopStridedStore()
|
D | ScalarReplAggregates.cpp | 2178 unsigned AddrSpace = in RewriteMemIntrinUserOfAlloca() local 2203 PointerType::get(AI->getType()->getElementType(), AddrSpace); in RewriteMemIntrinUserOfAlloca()
|
/external/llvm/utils/TableGen/ |
D | IntrinsicEmitter.cpp | 334 unsigned AddrSpace = 0; in EncodeFixedType() local 336 AddrSpace = R->getValueAsInt("AddrSpace"); in EncodeFixedType() 337 assert(AddrSpace < 256 && "Address space exceeds 255"); in EncodeFixedType() 339 if (AddrSpace) { in EncodeFixedType() 341 Sig.push_back(AddrSpace); in EncodeFixedType()
|
/external/llvm/lib/IR/ |
D | DataLayout.cpp | 227 unsigned AddrSpace = Tok.empty() ? 0 : getInt(Tok); in parseSpecifier() local 228 assert(AddrSpace < 1 << 24 && in parseSpecifier() 246 setPointerAlignment(AddrSpace, PointerABIAlign, PointerPrefAlign, in parseSpecifier()
|
D | Type.cpp | 750 PointerType::PointerType(Type *E, unsigned AddrSpace) in PointerType() argument 755 setSubclassData(AddrSpace); in PointerType()
|
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/radeon/ |
D | SIISelLowering.cpp | 339 unsigned AddrSpace = Ptr->getPointerInfo().getAddrSpace(); in LowerLOAD() local 342 if (AddrSpace != AMDGPUAS::USER_SGPR_ADDRESS) { in LowerLOAD()
|
/external/mesa3d/src/gallium/drivers/radeon/ |
D | SIISelLowering.cpp | 339 unsigned AddrSpace = Ptr->getPointerInfo().getAddrSpace(); in LowerLOAD() local 342 if (AddrSpace != AMDGPUAS::USER_SGPR_ADDRESS) { in LowerLOAD()
|
/external/clang/lib/CodeGen/ |
D | CGBuiltin.cpp | 89 unsigned AddrSpace = DestPtr->getType()->getPointerAddressSpace(); in EmitBinaryAtomic() local 94 llvm::Type *IntPtrType = IntType->getPointerTo(AddrSpace); in EmitBinaryAtomic() 123 unsigned AddrSpace = DestPtr->getType()->getPointerAddressSpace(); in EmitBinaryAtomicPost() local 128 llvm::Type *IntPtrType = IntType->getPointerTo(AddrSpace); in EmitBinaryAtomicPost() 949 unsigned AddrSpace = DestPtr->getType()->getPointerAddressSpace(); in EmitBuiltinExpr() local 954 llvm::Type *IntPtrType = IntType->getPointerTo(AddrSpace); in EmitBuiltinExpr() 976 unsigned AddrSpace = DestPtr->getType()->getPointerAddressSpace(); in EmitBuiltinExpr() local 981 llvm::Type *IntPtrType = IntType->getPointerTo(AddrSpace); in EmitBuiltinExpr() 1073 unsigned AddrSpace = Ptr->getType()->getPointerAddressSpace(); in EmitBuiltinExpr() local 1074 Ptr = Builder.CreateBitCast(Ptr, Int8Ty->getPointerTo(AddrSpace)); in EmitBuiltinExpr() [all …]
|
D | CodeGenModule.cpp | 1532 unsigned AddrSpace = GetGlobalVarAddressSpace(D, Ty->getAddressSpace()); in GetOrCreateLLVMGlobal() local 1537 llvm::GlobalVariable::NotThreadLocal, AddrSpace); in GetOrCreateLLVMGlobal() 1567 if (AddrSpace != Ty->getAddressSpace()) in GetOrCreateLLVMGlobal() 1664 unsigned AddrSpace) { in GetGlobalVarAddressSpace() argument 1667 AddrSpace = getContext().getTargetAddressSpace(LangAS::cuda_constant); in GetGlobalVarAddressSpace() 1669 AddrSpace = getContext().getTargetAddressSpace(LangAS::cuda_shared); in GetGlobalVarAddressSpace() 1671 AddrSpace = getContext().getTargetAddressSpace(LangAS::cuda_device); in GetGlobalVarAddressSpace() 1674 return AddrSpace; in GetGlobalVarAddressSpace()
|
D | CodeGenModule.h | 606 unsigned GetGlobalVarAddressSpace(const VarDecl *D, unsigned AddrSpace);
|
D | CGDecl.cpp | 200 unsigned AddrSpace = in CreateStaticVarDecl() local 207 AddrSpace); in CreateStaticVarDecl()
|
/external/llvm/include/llvm/IR/ |
D | Type.h | 418 PointerType *getPointerTo(unsigned AddrSpace = 0);
|
D | DerivedTypes.h | 428 explicit PointerType(Type *ElType, unsigned AddrSpace);
|
D | IRBuilder.h | 269 PointerType *getInt8PtrTy(unsigned AddrSpace = 0) { 270 return Type::getInt8PtrTy(Context, AddrSpace); 274 IntegerType* getIntPtrTy(const DataLayout *DL, unsigned AddrSpace = 0) { 275 return DL->getIntPtrType(Context, AddrSpace);
|
D | Intrinsics.td | 83 int AddrSpace = addrspace;
|
/external/llvm/lib/AsmParser/ |
D | LLParser.cpp | 706 unsigned AddrSpace; in ParseGlobal() local 715 ParseOptionalAddrSpace(AddrSpace) || in ParseGlobal() 759 AddrSpace); in ParseGlobal() 1130 bool LLParser::ParseOptionalAddrSpace(unsigned &AddrSpace) { in ParseOptionalAddrSpace() argument 1131 AddrSpace = 0; in ParseOptionalAddrSpace() 1135 ParseUInt32(AddrSpace) || in ParseOptionalAddrSpace() 1646 unsigned AddrSpace; in ParseType() local 1647 if (ParseOptionalAddrSpace(AddrSpace) || in ParseType() 1651 Result = PointerType::get(Result, AddrSpace); in ParseType()
|
D | LLParser.h | 197 bool ParseOptionalAddrSpace(unsigned &AddrSpace);
|
/external/llvm/lib/Target/X86/ |
D | X86ISelDAGToDAG.cpp | 1314 unsigned AddrSpace = in SelectAddr() local 1317 if (AddrSpace == 256) in SelectAddr() 1319 if (AddrSpace == 257) in SelectAddr()
|
/external/clang/lib/AST/ |
D | ASTContext.cpp | 7720 unsigned AddrSpace = strtoul(Str, &End, 10); in DecodeTypeFromStr() local 7721 if (End != Str && AddrSpace != 0) { in DecodeTypeFromStr() 7722 Type = Context.getAddrSpaceQualType(Type, AddrSpace); in DecodeTypeFromStr()
|