Searched refs:AddrSpace (Results 1 - 25 of 29) sorted by relevance

12

/external/llvm/lib/Target/NVPTX/
H A DNVPTXInstrInfo.h57 bool isLoadInstr(const MachineInstr &MI, unsigned &AddrSpace) const;
58 bool isStoreInstr(const MachineInstr &MI, unsigned &AddrSpace) const;
H A DNVPTXInstrInfo.cpp113 unsigned &AddrSpace) const {
119 AddrSpace = getLdStCodeAddrSpace(MI);
124 unsigned &AddrSpace) const {
130 AddrSpace = getLdStCodeAddrSpace(MI);
H A DNVPTXGenericToNVVM.cpp173 unsigned int AddrSpace = GVType->getAddressSpace(); local
174 Type *DestTy = PointerType::get(Type::getInt8Ty(Context), AddrSpace);
/external/clang/include/clang/Basic/
H A DTargetInfo.h210 IntType getPtrDiffType(unsigned AddrSpace) const {
211 return AddrSpace == 0 ? PtrDiffType : getPtrDiffTypeV(AddrSpace);
249 uint64_t getPointerWidth(unsigned AddrSpace) const {
250 return AddrSpace == 0 ? PointerWidth : getPointerWidthV(AddrSpace);
252 uint64_t getPointerAlign(unsigned AddrSpace) const {
253 return AddrSpace == 0 ? PointerAlign : getPointerAlignV(AddrSpace);
790 virtual uint64_t getPointerWidthV(unsigned AddrSpace) cons
[all...]
/external/llvm/lib/Target/Mips/
H A DMips16ISelLowering.h24 bool allowsUnalignedMemoryAccesses(EVT VT, unsigned AddrSpace,
/external/llvm/lib/IR/
H A DDataLayout.cpp249 unsigned AddrSpace = Tok.empty() ? 0 : getInt(Tok); local
250 assert(AddrSpace < 1 << 24 &&
268 setPointerAlignment(AddrSpace, PointerABIAlign, PointerPrefAlign,
393 void DataLayout::setPointerAlignment(uint32_t AddrSpace, unsigned ABIAlign,
397 PointersTy::iterator I = findPointerLowerBound(AddrSpace);
398 if (I == Pointers.end() || I->AddressSpace != AddrSpace) {
399 Pointers.insert(I, PointerAlignElem::get(AddrSpace, ABIAlign, PrefAlign,
H A DType.cpp743 PointerType::PointerType(Type *E, unsigned AddrSpace) argument
748 setSubclassData(AddrSpace);
/external/llvm/lib/CodeGen/
H A DGlobalMerge.cpp98 Module &M, bool isConst, unsigned AddrSpace) const;
144 Module &M, bool isConst, unsigned AddrSpace) const {
212 nullptr, GlobalVariable::NotThreadLocal, AddrSpace);
/external/llvm/utils/TableGen/
H A DIntrinsicEmitter.cpp333 unsigned AddrSpace = 0; local
335 AddrSpace = R->getValueAsInt("AddrSpace");
336 assert(AddrSpace < 256 && "Address space exceeds 255");
338 if (AddrSpace) {
340 Sig.push_back(AddrSpace);
/external/clang/lib/CodeGen/
H A DCodeGenModule.cpp1636 unsigned AddrSpace = GetGlobalVarAddressSpace(D, Ty->getAddressSpace()); local
1640 llvm::GlobalVariable::NotThreadLocal, AddrSpace);
1681 if (AddrSpace != Ty->getAddressSpace())
1776 unsigned AddrSpace) {
1779 AddrSpace = getContext().getTargetAddressSpace(LangAS::cuda_constant);
1781 AddrSpace = getContext().getTargetAddressSpace(LangAS::cuda_shared);
1783 AddrSpace = getContext().getTargetAddressSpace(LangAS::cuda_device);
1786 return AddrSpace;
2758 unsigned AddrSpace = 0; local
2760 AddrSpace
1775 GetGlobalVarAddressSpace(const VarDecl *D, unsigned AddrSpace) argument
2947 unsigned AddrSpace = GetGlobalVarAddressSpace( local
[all...]
H A DCGDecl.cpp190 unsigned AddrSpace = local
197 AddrSpace);
213 if (AddrSpace != ExpectedAddrSpace) {
H A DCGBuiltin.cpp90 unsigned AddrSpace = DestPtr->getType()->getPointerAddressSpace(); local
95 llvm::Type *IntPtrType = IntType->getPointerTo(AddrSpace);
124 unsigned AddrSpace = DestPtr->getType()->getPointerAddressSpace(); local
129 llvm::Type *IntPtrType = IntType->getPointerTo(AddrSpace);
961 unsigned AddrSpace = DestPtr->getType()->getPointerAddressSpace(); local
966 llvm::Type *IntPtrType = IntType->getPointerTo(AddrSpace);
990 unsigned AddrSpace = DestPtr->getType()->getPointerAddressSpace(); local
995 llvm::Type *IntPtrType = IntType->getPointerTo(AddrSpace);
1087 unsigned AddrSpace = Ptr->getType()->getPointerAddressSpace(); local
1088 Ptr = Builder.CreateBitCast(Ptr, Int8Ty->getPointerTo(AddrSpace));
1173 unsigned AddrSpace = Ptr->getType()->getPointerAddressSpace(); local
[all...]
H A DCodeGenModule.h675 unsigned GetGlobalVarAddressSpace(const VarDecl *D, unsigned AddrSpace);
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/radeon/
H A DSIISelLowering.cpp339 unsigned AddrSpace = Ptr->getPointerInfo().getAddrSpace(); local
342 if (AddrSpace != AMDGPUAS::USER_SGPR_ADDRESS) {
/external/mesa3d/src/gallium/drivers/radeon/
H A DSIISelLowering.cpp339 unsigned AddrSpace = Ptr->getPointerInfo().getAddrSpace(); local
342 if (AddrSpace != AMDGPUAS::USER_SGPR_ADDRESS) {
/external/llvm/include/llvm/IR/
H A DDataLayout.h149 void setPointerAlignment(uint32_t AddrSpace, unsigned ABIAlign,
H A DDerivedTypes.h448 explicit PointerType(Type *ElType, unsigned AddrSpace);
H A DType.h415 /// to PointerType::get(Foo, AddrSpace).
416 PointerType *getPointerTo(unsigned AddrSpace = 0);
H A DIRBuilder.h351 PointerType *getInt8PtrTy(unsigned AddrSpace = 0) {
352 return Type::getInt8PtrTy(Context, AddrSpace);
356 IntegerType* getIntPtrTy(const DataLayout *DL, unsigned AddrSpace = 0) {
357 return DL->getIntPtrType(Context, AddrSpace);
/external/llvm/lib/Target/AArch64/
H A DAArch64ISelLowering.h217 bool allowsUnalignedMemoryAccesses(EVT VT, unsigned AddrSpace = 0,
/external/llvm/lib/AsmParser/
H A DLLParser.cpp748 unsigned AddrSpace = PTy->getAddressSpace(); local
752 GlobalAlias::create(Ty, AddrSpace, (GlobalValue::LinkageTypes)Linkage,
812 unsigned AddrSpace; local
818 if (ParseOptionalAddrSpace(AddrSpace) ||
859 AddrSpace);
1259 bool LLParser::ParseOptionalAddrSpace(unsigned &AddrSpace) {
1260 AddrSpace = 0;
1264 ParseUInt32(AddrSpace) ||
1816 unsigned AddrSpace;
1817 if (ParseOptionalAddrSpace(AddrSpace) ||
[all...]
H A DLLParser.h211 bool ParseOptionalAddrSpace(unsigned &AddrSpace);
/external/llvm/lib/Target/ARM/
H A DARMISelLowering.h272 bool allowsUnalignedMemoryAccesses(EVT VT, unsigned AddrSpace,
/external/llvm/lib/Target/PowerPC/
H A DPPCISelLowering.h494 unsigned AddrSpace,
/external/llvm/lib/Target/R600/
H A DSIISelLowering.cpp234 unsigned AddrSpace,
253 if (AddrSpace == AMDGPUAS::PRIVATE_ADDRESS) {
263 if (AddrSpace == AMDGPUAS::LOCAL_ADDRESS)
233 allowsUnalignedMemoryAccesses(EVT VT, unsigned AddrSpace, bool *IsFast) const argument

Completed in 1701 milliseconds

12