Home
last modified time | relevance | path

Searched refs:AddrSpace (Results 1 – 24 of 24) sorted by relevance

/external/clang/include/clang/Basic/
DTargetInfo.h206 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/
DNVPTXInstrInfo.h57 bool isLoadInstr(const MachineInstr &MI, unsigned &AddrSpace) const;
58 bool isStoreInstr(const MachineInstr &MI, unsigned &AddrSpace) const;
DNVPTXInstrInfo.cpp110 unsigned &AddrSpace) const { in isLoadInstr()
116 AddrSpace = getLdStCodeAddrSpace(MI); in isLoadInstr()
121 unsigned &AddrSpace) const { in isStoreInstr()
127 AddrSpace = getLdStCodeAddrSpace(MI); in isStoreInstr()
DNVPTXGenericToNVVM.cpp176 unsigned int AddrSpace = GVType->getAddressSpace(); in getOrInsertCVTA() local
177 Type *DestTy = PointerType::get(Type::getInt8Ty(Context), AddrSpace); in getOrInsertCVTA()
/external/llvm/lib/Transforms/Scalar/
DGlobalMerge.cpp84 Module &M, bool isConst, unsigned AddrSpace) const;
144 Module &M, bool isConst, unsigned AddrSpace) const { in doMerge()
179 AddrSpace); in doMerge()
DLoopIdiomRecognize.cpp986 unsigned AddrSpace = cast<PointerType>(DestPtr->getType())->getAddressSpace(); in processLoopStridedStore() local
988 Expander.expandCodeFor(Ev->getStart(), Builder.getInt8PtrTy(AddrSpace), in processLoopStridedStore()
DScalarReplAggregates.cpp2178 unsigned AddrSpace = in RewriteMemIntrinUserOfAlloca() local
2203 PointerType::get(AI->getType()->getElementType(), AddrSpace); in RewriteMemIntrinUserOfAlloca()
/external/llvm/utils/TableGen/
DIntrinsicEmitter.cpp334 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/
DDataLayout.cpp227 unsigned AddrSpace = Tok.empty() ? 0 : getInt(Tok); in parseSpecifier() local
228 assert(AddrSpace < 1 << 24 && in parseSpecifier()
246 setPointerAlignment(AddrSpace, PointerABIAlign, PointerPrefAlign, in parseSpecifier()
DType.cpp750 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/
DSIISelLowering.cpp339 unsigned AddrSpace = Ptr->getPointerInfo().getAddrSpace(); in LowerLOAD() local
342 if (AddrSpace != AMDGPUAS::USER_SGPR_ADDRESS) { in LowerLOAD()
/external/mesa3d/src/gallium/drivers/radeon/
DSIISelLowering.cpp339 unsigned AddrSpace = Ptr->getPointerInfo().getAddrSpace(); in LowerLOAD() local
342 if (AddrSpace != AMDGPUAS::USER_SGPR_ADDRESS) { in LowerLOAD()
/external/clang/lib/CodeGen/
DCGBuiltin.cpp89 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 …]
DCodeGenModule.cpp1532 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()
DCodeGenModule.h606 unsigned GetGlobalVarAddressSpace(const VarDecl *D, unsigned AddrSpace);
DCGDecl.cpp200 unsigned AddrSpace = in CreateStaticVarDecl() local
207 AddrSpace); in CreateStaticVarDecl()
/external/llvm/include/llvm/IR/
DType.h418 PointerType *getPointerTo(unsigned AddrSpace = 0);
DDerivedTypes.h428 explicit PointerType(Type *ElType, unsigned AddrSpace);
DIRBuilder.h269 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);
DIntrinsics.td83 int AddrSpace = addrspace;
/external/llvm/lib/AsmParser/
DLLParser.cpp706 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()
DLLParser.h197 bool ParseOptionalAddrSpace(unsigned &AddrSpace);
/external/llvm/lib/Target/X86/
DX86ISelDAGToDAG.cpp1314 unsigned AddrSpace = in SelectAddr() local
1317 if (AddrSpace == 256) in SelectAddr()
1319 if (AddrSpace == 257) in SelectAddr()
/external/clang/lib/AST/
DASTContext.cpp7720 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()