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

123

/external/llvm/include/llvm/IR/
H A DGlobalAlias.h35 GlobalAlias(Type *Ty, unsigned AddressSpace, LinkageTypes Linkage,
41 static GlobalAlias *create(Type *Ty, unsigned AddressSpace,
46 static GlobalAlias *create(Type *Ty, unsigned AddressSpace,
51 static GlobalAlias *create(Type *Ty, unsigned AddressSpace,
55 // Type, Parent and AddressSpace taken from the Aliasee.
59 // Linkage, Type, Parent and AddressSpace taken from the Aliasee.
H A DGlobalIFunc.h40 GlobalIFunc(Type *Ty, unsigned AddressSpace, LinkageTypes Linkage,
46 static GlobalIFunc *create(Type *Ty, unsigned AddressSpace,
H A DGlobalVariable.h57 ThreadLocalMode = NotThreadLocal, unsigned AddressSpace = 0,
64 ThreadLocalMode = NotThreadLocal, unsigned AddressSpace = 0,
H A DDataLayout.h87 uint32_t AddressSpace; member in struct:llvm::PointerAlignElem
90 static PointerAlignElem get(uint32_t AddressSpace, unsigned ABIAlign,
130 findPointerLowerBound(uint32_t AddressSpace) const {
131 return const_cast<DataLayout *>(this)->findPointerLowerBound(AddressSpace);
134 PointersTy::iterator findPointerLowerBound(uint32_t AddressSpace);
418 IntegerType *getIntPtrType(LLVMContext &C, unsigned AddressSpace = 0) const;
H A DGlobalObject.h33 unsigned AddressSpace = 0)
34 : GlobalValue(Ty, VTy, Ops, NumOps, Linkage, Name, AddressSpace),
H A DGlobalIndirectSymbol.h29 GlobalIndirectSymbol(Type *Ty, ValueTy VTy, unsigned AddressSpace,
/external/llvm/lib/IR/
H A DGlobals.cpp222 ThreadLocalMode TLMode, unsigned AddressSpace,
226 InitVal != nullptr, Link, Name, AddressSpace),
240 ThreadLocalMode TLMode, unsigned AddressSpace,
244 InitVal != nullptr, Link, Name, AddressSpace),
313 unsigned AddressSpace, LinkageTypes Linkage, const Twine &Name,
315 : GlobalValue(Ty, VTy, &Op<0>(), 1, Linkage, Name, AddressSpace) {
324 GlobalAlias::GlobalAlias(Type *Ty, unsigned AddressSpace, LinkageTypes Link, argument
327 : GlobalIndirectSymbol(Ty, Value::GlobalAliasVal, AddressSpace, Link, Name,
333 GlobalAlias *GlobalAlias::create(Type *Ty, unsigned AddressSpace, argument
336 return new GlobalAlias(Ty, AddressSpace, Lin
220 GlobalVariable(Type *Ty, bool constant, LinkageTypes Link, Constant *InitVal, const Twine &Name, ThreadLocalMode TLMode, unsigned AddressSpace, bool isExternallyInitialized) argument
237 GlobalVariable(Module &M, Type *Ty, bool constant, LinkageTypes Link, Constant *InitVal, const Twine &Name, GlobalVariable *Before, ThreadLocalMode TLMode, unsigned AddressSpace, bool isExternallyInitialized) argument
312 GlobalIndirectSymbol(Type *Ty, ValueTy VTy, unsigned AddressSpace, LinkageTypes Linkage, const Twine &Name, Constant *Symbol) argument
339 create(Type *Ty, unsigned AddressSpace, LinkageTypes Linkage, const Twine &Name, Module *Parent) argument
345 create(Type *Ty, unsigned AddressSpace, LinkageTypes Linkage, const Twine &Name, GlobalValue *Aliasee) argument
384 GlobalIFunc(Type *Ty, unsigned AddressSpace, LinkageTypes Link, const Twine &Name, Constant *Resolver, Module *ParentModule) argument
393 create(Type *Ty, unsigned AddressSpace, LinkageTypes Link, const Twine &Name, Constant *Resolver, Module *ParentModule) 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...]
/external/llvm/lib/Target/AVR/
H A DAVR.h36 enum AddressSpace { DataMemory, ProgramMemory }; enum in namespace:llvm::AVR
/external/llvm/lib/Target/NVPTX/MCTargetDesc/
H A DNVPTXBaseInfo.h22 enum AddressSpace { enum in namespace:llvm
/external/llvm/lib/Target/X86/
H A DX86TargetTransformInfo.h76 unsigned AddressSpace);
78 unsigned AddressSpace);
105 unsigned Alignment, unsigned AddressSpace);
107 unsigned Alignment, unsigned AddressSpace);
/external/swiftshader/third_party/LLVM/include/llvm/
H A DGlobalVariable.h55 bool ThreadLocal = false, unsigned AddressSpace = 0);
62 unsigned AddressSpace = 0);
/external/llvm/lib/Target/NVPTX/
H A DNVPTXInferAddressSpaces.cpp204 AddressSpace::ADDRESS_SPACE_GENERIC) {
387 AddressSpace::ADDRESS_SPACE_GENERIC);
408 if (AS1 == AddressSpace::ADDRESS_SPACE_GENERIC ||
409 AS2 == AddressSpace::ADDRESS_SPACE_GENERIC)
410 return AddressSpace::ADDRESS_SPACE_GENERIC;
418 return AS1 == AS2 ? AS1 : (unsigned)AddressSpace::ADDRESS_SPACE_GENERIC;
475 if (Pos->second == AddressSpace::ADDRESS_SPACE_GENERIC)
498 if (NewAS == AddressSpace::ADDRESS_SPACE_GENERIC)
503 assert(OldAS != AddressSpace::ADDRESS_SPACE_GENERIC);
H A DNVPTX.h101 enum AddressSpace { enum in namespace:llvm::NVPTX::PTXLdStInstCode
H A DNVPTXFavorNonGenericAddrSpaces.cpp144 return (SrcTy->getAddressSpace() != AddressSpace::ADDRESS_SPACE_GENERIC &&
145 DestTy->getAddressSpace() == AddressSpace::ADDRESS_SPACE_GENERIC);
/external/swiftshader/third_party/LLVM/lib/CodeGen/
H A DStackProtector.cpp169 unsigned AddressSpace, Offset; local
170 if (TLI->getStackCookieLocation(AddressSpace, Offset)) {
175 PointerType::get(PtrTy, AddressSpace));
/external/llvm/lib/Analysis/
H A DTargetTransformInfo.cpp190 unsigned AddressSpace,
193 return TTIImpl->allowsMisalignedMemoryAccesses(BitWidth, AddressSpace,
326 unsigned AddressSpace) const {
327 int Cost = TTIImpl->getMemoryOpCost(Opcode, Src, Alignment, AddressSpace);
334 unsigned AddressSpace) const {
336 TTIImpl->getMaskedMemoryOpCost(Opcode, Src, Alignment, AddressSpace);
352 unsigned Alignment, unsigned AddressSpace) const {
354 Alignment, AddressSpace);
189 allowsMisalignedMemoryAccesses(unsigned BitWidth, unsigned AddressSpace, unsigned Alignment, bool *Fast) const argument
/external/llvm/lib/Target/AArch64/
H A DAArch64TargetTransformInfo.h119 unsigned AddressSpace);
132 unsigned AddressSpace);
/external/llvm/lib/Target/ARM/
H A DARMTargetTransformInfo.h126 unsigned AddressSpace);
130 unsigned AddressSpace);
/external/llvm/lib/Target/PowerPC/
H A DPPCTargetTransformInfo.h87 unsigned AddressSpace);
92 unsigned AddressSpace);
H A DPPCTargetTransformInfo.cpp354 unsigned AddressSpace) {
360 int Cost = BaseT::getMemoryOpCost(Opcode, Src, Alignment, AddressSpace);
414 unsigned AddressSpace) {
422 int Cost = getMemoryOpCost(Opcode, VecTy, Alignment, AddressSpace);
353 getMemoryOpCost(unsigned Opcode, Type *Src, unsigned Alignment, unsigned AddressSpace) argument
410 getInterleavedMemoryOpCost(unsigned Opcode, Type *VecTy, unsigned Factor, ArrayRef<unsigned> Indices, unsigned Alignment, unsigned AddressSpace) argument
/external/llvm/include/llvm/Analysis/
H A DTargetTransformInfo.h392 bool allowsMisalignedMemoryAccesses(unsigned BitWidth, unsigned AddressSpace = 0,
522 unsigned AddressSpace) const;
526 unsigned AddressSpace) const;
545 /// \p AddressSpace is address space of the pointer.
548 unsigned AddressSpace) const;
672 unsigned AddressSpace,
709 unsigned AddressSpace) = 0;
712 unsigned AddressSpace) = 0;
720 unsigned AddressSpace) = 0;
844 bool allowsMisalignedMemoryAccesses(unsigned BitWidth, unsigned AddressSpace,
[all...]
H A DTargetTransformInfoImpl.h248 unsigned AddressSpace,
324 unsigned AddressSpace) {
329 unsigned AddressSpace) {
343 unsigned AddressSpace) {
247 allowsMisalignedMemoryAccesses(unsigned BitWidth, unsigned AddressSpace, unsigned Alignment, bool *Fast) argument
323 getMemoryOpCost(unsigned Opcode, Type *Src, unsigned Alignment, unsigned AddressSpace) argument
328 getMaskedMemoryOpCost(unsigned Opcode, Type *Src, unsigned Alignment, unsigned AddressSpace) argument
339 getInterleavedMemoryOpCost(unsigned Opcode, Type *VecTy, unsigned Factor, ArrayRef<unsigned> Indices, unsigned Alignment, unsigned AddressSpace) argument
/external/swiftshader/third_party/LLVM/lib/VMCore/
H A DGlobals.cpp85 bool ThreadLocal, unsigned AddressSpace)
86 : GlobalValue(PointerType::get(Ty, AddressSpace),
104 unsigned AddressSpace)
105 : GlobalValue(PointerType::get(Ty, AddressSpace),
83 GlobalVariable(Type *Ty, bool constant, LinkageTypes Link, Constant *InitVal, const Twine &Name, bool ThreadLocal, unsigned AddressSpace) argument
100 GlobalVariable(Module &M, Type *Ty, bool constant, LinkageTypes Link, Constant *InitVal, const Twine &Name, GlobalVariable *Before, bool ThreadLocal, unsigned AddressSpace) argument
/external/llvm/lib/CodeGen/
H A DGlobalMerge.cpp546 unsigned AddressSpace = PT->getAddressSpace(); local
566 BSSGlobals[AddressSpace].push_back(&GV);
568 ConstGlobals[AddressSpace].push_back(&GV);
570 Globals[AddressSpace].push_back(&GV);

Completed in 453 milliseconds

123