Home
last modified time | relevance | path

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

123

/external/llvm/lib/IR/
DGlobals.cpp222 ThreadLocalMode TLMode, unsigned AddressSpace, in GlobalVariable() argument
226 InitVal != nullptr, Link, Name, AddressSpace), in GlobalVariable()
240 ThreadLocalMode TLMode, unsigned AddressSpace, in GlobalVariable() argument
244 InitVal != nullptr, Link, Name, AddressSpace), in GlobalVariable()
313 unsigned AddressSpace, LinkageTypes Linkage, const Twine &Name, in GlobalIndirectSymbol() argument
315 : GlobalValue(Ty, VTy, &Op<0>(), 1, Linkage, Name, AddressSpace) { in GlobalIndirectSymbol()
324 GlobalAlias::GlobalAlias(Type *Ty, unsigned AddressSpace, LinkageTypes Link, in GlobalAlias() argument
327 : GlobalIndirectSymbol(Ty, Value::GlobalAliasVal, AddressSpace, Link, Name, in GlobalAlias()
333 GlobalAlias *GlobalAlias::create(Type *Ty, unsigned AddressSpace, in create() argument
336 return new GlobalAlias(Ty, AddressSpace, Link, Name, Aliasee, ParentModule); 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 ==()
430 DataLayout::findPointerLowerBound(uint32_t AddressSpace) { in findPointerLowerBound() argument
431 return std::lower_bound(Pointers.begin(), Pointers.end(), AddressSpace, in findPointerLowerBound()
432 [](const PointerAlignElem &A, uint32_t AddressSpace) { in findPointerLowerBound() argument
433 return A.AddressSpace < AddressSpace; in findPointerLowerBound()
445 if (I == Pointers.end() || I->AddressSpace != AddrSpace) { in setPointerAlignment()
582 if (I == Pointers.end() || I->AddressSpace != AS) { in getPointerABIAlignment()
584 assert(I->AddressSpace == 0); in getPointerABIAlignment()
[all …]
/external/llvm/include/llvm/IR/
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,
DDataLayout.h87 uint32_t AddressSpace; member
90 static PointerAlignElem get(uint32_t AddressSpace, unsigned ABIAlign,
130 findPointerLowerBound(uint32_t AddressSpace) const { in findPointerLowerBound() argument
131 return const_cast<DataLayout *>(this)->findPointerLowerBound(AddressSpace); in findPointerLowerBound()
134 PointersTy::iterator findPointerLowerBound(uint32_t AddressSpace);
418 IntegerType *getIntPtrType(LLVMContext &C, unsigned AddressSpace = 0) const;
DGlobalIFunc.h40 GlobalIFunc(Type *Ty, unsigned AddressSpace, LinkageTypes Linkage,
46 static GlobalIFunc *create(Type *Ty, unsigned AddressSpace,
DGlobalVariable.h57 ThreadLocalMode = NotThreadLocal, unsigned AddressSpace = 0,
64 ThreadLocalMode = NotThreadLocal, unsigned AddressSpace = 0,
DGlobalObject.h33 unsigned AddressSpace = 0)
34 : GlobalValue(Ty, VTy, Ops, NumOps, Linkage, Name, AddressSpace), in GlobalValue() argument
/external/llvm/lib/Target/NVPTX/
DNVPTXInferAddressSpaces.cpp204 AddressSpace::ADDRESS_SPACE_GENERIC) { in appendsGenericAddressExpressionToPostorderStack()
387 AddressSpace::ADDRESS_SPACE_GENERIC); in cloneValueWithNewAddressSpace()
408 if (AS1 == AddressSpace::ADDRESS_SPACE_GENERIC || in joinAddressSpaces()
409 AS2 == AddressSpace::ADDRESS_SPACE_GENERIC) in joinAddressSpaces()
410 return AddressSpace::ADDRESS_SPACE_GENERIC; in joinAddressSpaces()
418 return AS1 == AS2 ? AS1 : (unsigned)AddressSpace::ADDRESS_SPACE_GENERIC; in joinAddressSpaces()
475 if (Pos->second == AddressSpace::ADDRESS_SPACE_GENERIC) in inferAddressSpaces()
498 if (NewAS == AddressSpace::ADDRESS_SPACE_GENERIC) in updateAddressSpace()
503 assert(OldAS != AddressSpace::ADDRESS_SPACE_GENERIC); in updateAddressSpace()
DNVPTXFavorNonGenericAddrSpaces.cpp144 return (SrcTy->getAddressSpace() != AddressSpace::ADDRESS_SPACE_GENERIC && in isEliminableAddrSpaceCast()
145 DestTy->getAddressSpace() == AddressSpace::ADDRESS_SPACE_GENERIC); in isEliminableAddrSpaceCast()
/external/llvm/include/llvm/Analysis/
DTargetTransformInfo.h392 bool allowsMisalignedMemoryAccesses(unsigned BitWidth, unsigned AddressSpace = 0,
522 unsigned AddressSpace) const;
526 unsigned AddressSpace) const;
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, in allowsMisalignedMemoryAccesses() argument
846 return Impl.allowsMisalignedMemoryAccesses(BitWidth, AddressSpace, in allowsMisalignedMemoryAccesses()
[all …]
DTargetTransformInfoImpl.h248 unsigned AddressSpace, in allowsMisalignedMemoryAccesses() argument
324 unsigned AddressSpace) { in getMemoryOpCost() argument
329 unsigned AddressSpace) { in getMaskedMemoryOpCost() argument
343 unsigned AddressSpace) { in getInterleavedMemoryOpCost() argument
/external/llvm/lib/Target/X86/
DX86TargetTransformInfo.h76 unsigned AddressSpace);
78 unsigned AddressSpace);
105 unsigned Alignment, unsigned AddressSpace);
107 unsigned Alignment, unsigned AddressSpace);
DX86TargetTransformInfo.cpp1086 unsigned AddressSpace) { in getMemoryOpCost() argument
1105 AddressSpace); in getMemoryOpCost()
1130 unsigned AddressSpace) { in getMaskedMemoryOpCost() argument
1134 return getMemoryOpCost(Opcode, SrcTy, Alignment, AddressSpace); in getMaskedMemoryOpCost()
1153 Alignment, AddressSpace); in getMaskedMemoryOpCost()
1436 unsigned Alignment, unsigned AddressSpace) { in getGSVectorCost() argument
1485 AddressSpace); in getGSVectorCost()
1492 Alignment, AddressSpace); in getGSVectorCost()
1505 unsigned AddressSpace) { in getGSScalarCost() argument
1522 Alignment, AddressSpace); in getGSScalarCost()
[all …]
/external/llvm/lib/Analysis/
DTargetTransformInfo.cpp190 unsigned AddressSpace, in allowsMisalignedMemoryAccesses() argument
193 return TTIImpl->allowsMisalignedMemoryAccesses(BitWidth, AddressSpace, in allowsMisalignedMemoryAccesses()
326 unsigned AddressSpace) const { in getMemoryOpCost()
327 int Cost = TTIImpl->getMemoryOpCost(Opcode, Src, Alignment, AddressSpace); in getMemoryOpCost()
334 unsigned AddressSpace) const { in getMaskedMemoryOpCost()
336 TTIImpl->getMaskedMemoryOpCost(Opcode, Src, Alignment, AddressSpace); in getMaskedMemoryOpCost()
352 unsigned Alignment, unsigned AddressSpace) const { in getInterleavedMemoryOpCost()
354 Alignment, AddressSpace); in getInterleavedMemoryOpCost()
/external/swiftshader/third_party/LLVM/lib/VMCore/
DGlobals.cpp85 bool ThreadLocal, unsigned AddressSpace) in GlobalVariable() argument
86 : GlobalValue(PointerType::get(Ty, AddressSpace), in GlobalVariable()
104 unsigned AddressSpace) in GlobalVariable() argument
105 : GlobalValue(PointerType::get(Ty, AddressSpace), in GlobalVariable()
/external/swiftshader/third_party/LLVM/lib/CodeGen/
DStackProtector.cpp169 unsigned AddressSpace, Offset; in InsertStackProtectors() local
170 if (TLI->getStackCookieLocation(AddressSpace, Offset)) { in InsertStackProtectors()
175 PointerType::get(PtrTy, AddressSpace)); in InsertStackProtectors()
/external/swiftshader/third_party/LLVM/include/llvm/
DGlobalVariable.h55 bool ThreadLocal = false, unsigned AddressSpace = 0);
62 unsigned AddressSpace = 0);
/external/llvm/lib/Target/PowerPC/
DPPCTargetTransformInfo.cpp354 unsigned AddressSpace) { in getMemoryOpCost() argument
360 int Cost = BaseT::getMemoryOpCost(Opcode, Src, Alignment, AddressSpace); in getMemoryOpCost()
414 unsigned AddressSpace) { in getInterleavedMemoryOpCost() argument
422 int Cost = getMemoryOpCost(Opcode, VecTy, Alignment, AddressSpace); in getInterleavedMemoryOpCost()
DPPCTargetTransformInfo.h87 unsigned AddressSpace);
92 unsigned AddressSpace);
/external/swiftshader/third_party/llvm-subzero/include/llvm/IR/
DGlobalObject.h34 unsigned AddressSpace = 0)
35 : GlobalValue(Ty, VTy, Ops, NumOps, Linkage, Name, AddressSpace), in GlobalValue() argument
/external/llvm/lib/Target/ARM/
DARMTargetTransformInfo.h126 unsigned AddressSpace);
130 unsigned AddressSpace);
/external/llvm/lib/Target/AArch64/
DAArch64TargetTransformInfo.h119 unsigned AddressSpace);
132 unsigned AddressSpace);
/external/llvm/lib/CodeGen/
DGlobalMerge.cpp546 unsigned AddressSpace = PT->getAddressSpace(); in doInitialization() local
566 BSSGlobals[AddressSpace].push_back(&GV); in doInitialization()
568 ConstGlobals[AddressSpace].push_back(&GV); in doInitialization()
570 Globals[AddressSpace].push_back(&GV); in doInitialization()
/external/llvm/lib/Target/NVPTX/MCTargetDesc/
DNVPTXBaseInfo.h22 enum AddressSpace { enum
/external/llvm/lib/Target/AVR/
DAVR.h36 enum AddressSpace { DataMemory, ProgramMemory }; enum

123