Searched refs:AddressSpace (Results 1 - 25 of 46) sorted by relevance

12

/external/llvm/lib/IR/
H A DGlobals.cpp143 ThreadLocalMode TLMode, unsigned AddressSpace,
147 InitVal != nullptr, Link, Name, AddressSpace),
161 ThreadLocalMode TLMode, unsigned AddressSpace,
165 InitVal != nullptr, Link, Name, AddressSpace),
229 GlobalAlias::GlobalAlias(Type *Ty, unsigned AddressSpace, LinkageTypes Link, argument
233 AddressSpace) {
240 GlobalAlias *GlobalAlias::create(Type *Ty, unsigned AddressSpace, argument
243 return new GlobalAlias(Ty, AddressSpace, Link, Name, Aliasee, ParentModule);
246 GlobalAlias *GlobalAlias::create(Type *Ty, unsigned AddressSpace, argument
249 return create(Ty, AddressSpace, Linkag
141 GlobalVariable(Type *Ty, bool constant, LinkageTypes Link, Constant *InitVal, const Twine &Name, ThreadLocalMode TLMode, unsigned AddressSpace, bool isExternallyInitialized) argument
158 GlobalVariable(Module &M, Type *Ty, bool constant, LinkageTypes Link, Constant *InitVal, const Twine &Name, GlobalVariable *Before, ThreadLocalMode TLMode, unsigned AddressSpace, bool isExternallyInitialized) argument
252 create(Type *Ty, unsigned AddressSpace, LinkageTypes Linkage, const Twine &Name, GlobalValue *Aliasee) argument
[all...]
H A DDataLayout.cpp129 PointerAlignElem::get(uint32_t AddressSpace, unsigned ABIAlign, argument
133 retval.AddressSpace = AddressSpace;
143 && AddressSpace == rhs.AddressSpace
430 DataLayout::findPointerLowerBound(uint32_t AddressSpace) { argument
431 return std::lower_bound(Pointers.begin(), Pointers.end(), AddressSpace,
432 [](const PointerAlignElem &A, uint32_t AddressSpace) {
433 return A.AddressSpace < AddressSpace;
[all...]
H A DType.cpp731 PointerType *PointerType::get(Type *EltTy, unsigned AddressSpace) { argument
737 // Since AddressSpace #0 is the common case, we special case it.
738 PointerType *&Entry = AddressSpace == 0 ? CImpl->PointerTypes[EltTy]
739 : CImpl->ASPointerTypes[std::make_pair(EltTy, AddressSpace)];
742 Entry = new (CImpl->TypeAllocator) PointerType(EltTy, AddressSpace);
H A DIRBuilder.cpp29 unsigned AddressSpace) {
36 AddressSpace);
27 CreateGlobalString(StringRef Str, const Twine &Name, unsigned AddressSpace) argument
/external/llvm/include/llvm/IR/
H A DGlobalAlias.h35 GlobalAlias(Type *Ty, unsigned AddressSpace, LinkageTypes Linkage,
46 static GlobalAlias *create(Type *Ty, unsigned AddressSpace,
51 static GlobalAlias *create(Type *Ty, unsigned AddressSpace,
56 static GlobalAlias *create(Type *Ty, unsigned AddressSpace,
60 // Type, Parent and AddressSpace taken from the Aliasee.
64 // Linkage, Type, Parent and AddressSpace taken from the Aliasee.
H A DGlobalObject.h32 unsigned AddressSpace = 0)
33 : GlobalValue(Ty, VTy, Ops, NumOps, Linkage, Name, AddressSpace),
H A DGlobalVariable.h57 ThreadLocalMode = NotThreadLocal, unsigned AddressSpace = 0,
64 ThreadLocalMode = NotThreadLocal, unsigned AddressSpace = 0,
H A DDataLayout.h90 uint32_t AddressSpace; member in struct:llvm::PointerAlignElem
93 static PointerAlignElem get(uint32_t AddressSpace, unsigned ABIAlign,
133 findPointerLowerBound(uint32_t AddressSpace) const {
134 return const_cast<DataLayout *>(this)->findPointerLowerBound(AddressSpace);
137 PointersTy::iterator findPointerLowerBound(uint32_t AddressSpace);
421 IntegerType *getIntPtrType(LLVMContext &C, unsigned AddressSpace = 0) const;
H A DGlobalValue.h69 LinkageTypes Linkage, const Twine &Name, unsigned AddressSpace)
70 : Constant(PointerType::get(Ty, AddressSpace), VTy, Ops, NumOps),
68 GlobalValue(Type *Ty, ValueTy VTy, Use *Ops, unsigned NumOps, LinkageTypes Linkage, const Twine &Name, unsigned AddressSpace) argument
H A DDerivedTypes.h452 static PointerType *get(Type *ElementType, unsigned AddressSpace);
/external/llvm/lib/Target/NVPTX/MCTargetDesc/
H A DNVPTXBaseInfo.h22 enum AddressSpace { enum in namespace:llvm
/external/llvm/lib/Target/AArch64/
H A DAArch64TargetTransformInfo.h116 unsigned AddressSpace);
129 unsigned AddressSpace);
H A DAArch64TargetTransformInfo.cpp412 unsigned Alignment, unsigned AddressSpace) {
444 unsigned AddressSpace) {
459 Alignment, AddressSpace);
411 getMemoryOpCost(unsigned Opcode, Type *Src, unsigned Alignment, unsigned AddressSpace) argument
440 getInterleavedMemoryOpCost(unsigned Opcode, Type *VecTy, unsigned Factor, ArrayRef<unsigned> Indices, unsigned Alignment, unsigned AddressSpace) argument
/external/llvm/lib/Target/ARM/
H A DARMTargetTransformInfo.h117 unsigned AddressSpace);
121 unsigned AddressSpace);
/external/llvm/lib/Target/PowerPC/
H A DPPCTargetTransformInfo.h85 unsigned AddressSpace);
90 unsigned AddressSpace);
H A DPPCTargetTransformInfo.cpp334 unsigned AddressSpace) {
340 int Cost = BaseT::getMemoryOpCost(Opcode, Src, Alignment, AddressSpace);
394 unsigned AddressSpace) {
402 int Cost = getMemoryOpCost(Opcode, VecTy, Alignment, AddressSpace);
333 getMemoryOpCost(unsigned Opcode, Type *Src, unsigned Alignment, unsigned AddressSpace) argument
390 getInterleavedMemoryOpCost(unsigned Opcode, Type *VecTy, unsigned Factor, ArrayRef<unsigned> Indices, unsigned Alignment, unsigned AddressSpace) argument
/external/llvm/lib/Target/X86/
H A DX86TargetTransformInfo.h76 unsigned AddressSpace);
78 unsigned AddressSpace);
/external/llvm/lib/Analysis/
H A DTargetTransformInfo.cpp268 unsigned AddressSpace) const {
269 int Cost = TTIImpl->getMemoryOpCost(Opcode, Src, Alignment, AddressSpace);
276 unsigned AddressSpace) const {
278 TTIImpl->getMaskedMemoryOpCost(Opcode, Src, Alignment, AddressSpace);
285 unsigned Alignment, unsigned AddressSpace) const {
287 Alignment, AddressSpace);
/external/llvm/lib/Target/NVPTX/
H A DNVPTX.h101 enum AddressSpace { enum in namespace:llvm::NVPTX::PTXLdStInstCode
H A DNVPTXFavorNonGenericAddrSpaces.cpp141 return (SrcTy->getAddressSpace() != AddressSpace::ADDRESS_SPACE_GENERIC &&
142 DestTy->getAddressSpace() == AddressSpace::ADDRESS_SPACE_GENERIC);
/external/llvm/include/llvm/Analysis/
H A DTargetTransformInfo.h455 unsigned AddressSpace) const;
459 unsigned AddressSpace) const;
468 /// \p AddressSpace is address space of the pointer.
471 unsigned AddressSpace) const;
613 unsigned AddressSpace) = 0;
616 unsigned AddressSpace) = 0;
621 unsigned AddressSpace) = 0;
787 unsigned AddressSpace) override {
788 return Impl.getMemoryOpCost(Opcode, Src, Alignment, AddressSpace);
791 unsigned AddressSpace) overrid
[all...]
H A DTargetTransformInfoImpl.h298 unsigned AddressSpace) {
303 unsigned AddressSpace) {
311 unsigned AddressSpace) {
297 getMemoryOpCost(unsigned Opcode, Type *Src, unsigned Alignment, unsigned AddressSpace) argument
302 getMaskedMemoryOpCost(unsigned Opcode, Type *Src, unsigned Alignment, unsigned AddressSpace) argument
307 getInterleavedMemoryOpCost(unsigned Opcode, Type *VecTy, unsigned Factor, ArrayRef<unsigned> Indices, unsigned Alignment, unsigned AddressSpace) argument
/external/llvm/lib/CodeGen/
H A DStackProtector.cpp336 unsigned AddressSpace, Offset; local
337 if (TLI->getStackCookieLocation(AddressSpace, Offset)) {
343 AddressSpace));
H A DGlobalMerge.cpp535 unsigned AddressSpace = PT->getAddressSpace(); local
554 BSSGlobals[AddressSpace].push_back(&GV);
556 ConstGlobals[AddressSpace].push_back(&GV);
558 Globals[AddressSpace].push_back(&GV);
/external/llvm/lib/Transforms/Scalar/
H A DLoadCombine.cpp195 unsigned AddressSpace = local
201 Builder->getInt8PtrTy(AddressSpace)),

Completed in 1575 milliseconds

12