Home
last modified time | relevance | path

Searched refs:AddressSpace (Results 1 – 25 of 40) sorted by relevance

12

/external/llvm/lib/IR/
DGlobals.cpp133 ThreadLocalMode TLMode, unsigned AddressSpace, in GlobalVariable() argument
135 : GlobalObject(PointerType::get(Ty, AddressSpace), Value::GlobalVariableVal, in GlobalVariable()
153 ThreadLocalMode TLMode, unsigned AddressSpace, in GlobalVariable() argument
155 : GlobalObject(PointerType::get(Ty, AddressSpace), Value::GlobalVariableVal, in GlobalVariable()
240 GlobalAlias::GlobalAlias(Type *Ty, unsigned AddressSpace, LinkageTypes Link, in GlobalAlias() argument
243 : GlobalValue(PointerType::get(Ty, AddressSpace), Value::GlobalAliasVal, in GlobalAlias()
252 GlobalAlias *GlobalAlias::create(Type *Ty, unsigned AddressSpace, in create() argument
255 return new GlobalAlias(Ty, AddressSpace, Link, Name, Aliasee, ParentModule); in create()
258 GlobalAlias *GlobalAlias::create(Type *Ty, unsigned AddressSpace, in create() argument
261 return create(Ty, AddressSpace, Linkage, Name, nullptr, Parent); in create()
[all …]
DDataLayout.cpp129 PointerAlignElem::get(uint32_t AddressSpace, unsigned ABIAlign, in get() argument
133 retval.AddressSpace = AddressSpace; in get()
143 && AddressSpace == rhs.AddressSpace in operator ==()
386 DataLayout::findPointerLowerBound(uint32_t AddressSpace) { in findPointerLowerBound() argument
387 return std::lower_bound(Pointers.begin(), Pointers.end(), AddressSpace, in findPointerLowerBound()
388 [](const PointerAlignElem &A, uint32_t AddressSpace) { in findPointerLowerBound() argument
389 return A.AddressSpace < AddressSpace; in findPointerLowerBound()
398 if (I == Pointers.end() || I->AddressSpace != AddrSpace) { in setPointerAlignment()
546 if (PI.AddressSpace == 0 && PI.ABIAlign == 8 && PI.PrefAlign == 8 && in getStringRepresentation()
551 if (PI.AddressSpace) { in getStringRepresentation()
[all …]
DType.cpp727 PointerType *PointerType::get(Type *EltTy, unsigned AddressSpace) { in get() argument
734 PointerType *&Entry = AddressSpace == 0 ? CImpl->PointerTypes[EltTy] in get()
735 : CImpl->ASPointerTypes[std::make_pair(EltTy, AddressSpace)]; in get()
738 Entry = new (CImpl->TypeAllocator) PointerType(EltTy, AddressSpace); in get()
DAsmWriter.cpp248 if (unsigned AddressSpace = PTy->getAddressSpace()) in print() local
249 OS << " addrspace(" << AddressSpace << ')'; in print()
1475 if (unsigned AddressSpace = GV->getType()->getAddressSpace()) in printGlobal() local
1476 Out << "addrspace(" << AddressSpace << ") "; in printGlobal()
/external/llvm/include/llvm/IR/
DGlobalAlias.h36 GlobalAlias(Type *Ty, unsigned AddressSpace, LinkageTypes Linkage,
47 static GlobalAlias *create(Type *Ty, unsigned AddressSpace,
52 static GlobalAlias *create(Type *Ty, unsigned AddressSpace,
57 static GlobalAlias *create(Type *Ty, unsigned AddressSpace,
DDataLayout.h85 uint32_t AddressSpace; ///< Address space for the pointer type member
88 static PointerAlignElem get(uint32_t AddressSpace, unsigned ABIAlign,
125 findPointerLowerBound(uint32_t AddressSpace) const { in findPointerLowerBound() argument
126 return const_cast<DataLayout *>(this)->findPointerLowerBound(AddressSpace); in findPointerLowerBound()
129 PointersTy::iterator findPointerLowerBound(uint32_t AddressSpace);
399 IntegerType *getIntPtrType(LLVMContext &C, unsigned AddressSpace = 0) const;
DGlobalVariable.h59 ThreadLocalMode = NotThreadLocal, unsigned AddressSpace = 0,
66 ThreadLocalMode = NotThreadLocal, unsigned AddressSpace = 0,
DDerivedTypes.h452 static PointerType *get(Type *ElementType, unsigned AddressSpace);
/external/qemu/include/qemu/
Dtypedefs.h24 typedef struct AddressSpace AddressSpace; typedef
/external/llvm/lib/CodeGen/
DGlobalMerge.cpp304 unsigned AddressSpace = PT->getAddressSpace(); in doInitialization() local
323 BSSGlobals[AddressSpace].push_back(I); in doInitialization()
325 ConstGlobals[AddressSpace].push_back(I); in doInitialization()
327 Globals[AddressSpace].push_back(I); in doInitialization()
DStackProtector.cpp341 unsigned AddressSpace, Offset; in CreatePrologue() local
342 if (TLI->getStackCookieLocation(AddressSpace, Offset)) { in CreatePrologue()
347 OffsetVal, PointerType::get(PtrTy, AddressSpace)); in CreatePrologue()
DBasicTargetTransformInfo.cpp116 unsigned AddressSpace) const override;
500 unsigned AddressSpace) const { in getMemoryOpCost()
/external/llvm/lib/Target/NVPTX/
DNVPTXFavorNonGenericAddrSpaces.cpp107 return (SrcTy->getAddressSpace() != AddressSpace::ADDRESS_SPACE_GENERIC && in IsEliminableAddrSpaceCast()
108 DestTy->getAddressSpace() == AddressSpace::ADDRESS_SPACE_GENERIC); in IsEliminableAddrSpaceCast()
DNVPTX.h116 enum AddressSpace { enum
DNVPTXAsmPrinter.h274 void emitPTXAddressSpace(unsigned int AddressSpace, raw_ostream &O) const;
/external/llvm/lib/Target/NVPTX/MCTargetDesc/
DNVPTXBaseInfo.h22 enum AddressSpace { enum
/external/llvm/lib/Target/PowerPC/
DPPCTargetTransformInfo.cpp108 unsigned AddressSpace) const override;
383 unsigned AddressSpace) const { in getMemoryOpCost()
390 TargetTransformInfo::getMemoryOpCost(Opcode, Src, Alignment, AddressSpace); in getMemoryOpCost()
/external/qemu/include/exec/
Dcputlb.h38 address_space_translate_for_iotlb(AddressSpace *as, hwaddr addr, hwaddr *xlat,
/external/llvm/lib/Transforms/Scalar/
DLoadCombine.cpp195 unsigned AddressSpace = in combineLoads() local
201 Builder->getInt8PtrTy(AddressSpace)), in combineLoads()
/external/llvm/lib/Analysis/
DTargetTransformInfo.cpp207 unsigned AddressSpace) const { in getMemoryOpCost()
208 return PrevTTI->getMemoryOpCost(Opcode, Src, Alignment, AddressSpace); in getMemoryOpCost()
595 unsigned AddressSpace) const override { in getMemoryOpCost()
/external/llvm/include/llvm/Analysis/
DTargetTransformInfo.h383 unsigned AddressSpace) const;
/external/llvm/lib/Target/AArch64/
DAArch64TargetTransformInfo.cpp126 unsigned AddressSpace) const override;
474 unsigned AddressSpace) const { in getMemoryOpCost()
/external/llvm/bindings/ocaml/llvm/
Dllvm_ocaml.c411 value AddressSpace) { in llvm_qualified_pointer_type() argument
412 return LLVMPointerType(ElementTy, Int_val(AddressSpace)); in llvm_qualified_pointer_type()
970 value AddressSpace, in llvm_declare_qualified_global() argument
976 LLVMPointerType(Ty, Int_val(AddressSpace))); in llvm_declare_qualified_global()
980 Int_val(AddressSpace)); in llvm_declare_qualified_global()
1007 value AddressSpace, in llvm_define_qualified_global() argument
1012 Int_val(AddressSpace)); in llvm_define_qualified_global()
/external/llvm/lib/Target/ARM/
DARMTargetTransformInfo.cpp135 unsigned AddressSpace) const override;
576 unsigned AddressSpace) const { in getMemoryOpCost()
/external/llvm/lib/Target/X86/
DX86TargetTransformInfo.cpp97 unsigned AddressSpace) const override;
779 unsigned AddressSpace) const { in getMemoryOpCost()
800 AddressSpace); in getMemoryOpCost()

12