Searched defs:AddressSpace (Results 1 - 25 of 39) sorted by relevance

12

/external/llvm/lib/Target/AVR/
H A DAVR.h36 enum AddressSpace { DataMemory, ProgramMemory }; enum in namespace:llvm::AVR
/external/llvm/include/llvm/IR/
H A DGlobalValue.h70 LinkageTypes Linkage, const Twine &Name, unsigned AddressSpace)
71 : Constant(PointerType::get(Ty, AddressSpace), VTy, Ops, NumOps),
69 GlobalValue(Type *Ty, ValueTy VTy, Use *Ops, unsigned NumOps, LinkageTypes Linkage, const Twine &Name, unsigned AddressSpace) argument
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;
/external/llvm/lib/Target/NVPTX/MCTargetDesc/
H A DNVPTXBaseInfo.h22 enum AddressSpace { enum in namespace:llvm
/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/swiftshader/third_party/llvm-subzero/include/llvm/IR/
H A DGlobalValue.h78 LinkageTypes Linkage, const Twine &Name, unsigned AddressSpace)
79 : Constant(PointerType::get(Ty, AddressSpace), VTy, Ops, NumOps),
77 GlobalValue(Type *Ty, ValueTy VTy, Use *Ops, unsigned NumOps, LinkageTypes Linkage, const Twine &Name, unsigned AddressSpace) argument
/external/llvm/lib/IR/
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 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 DIRBuilder.cpp29 unsigned AddressSpace) {
36 AddressSpace);
27 CreateGlobalString(StringRef Str, const Twine &Name, unsigned AddressSpace) argument
H A DType.cpp659 PointerType *PointerType::get(Type *EltTy, unsigned AddressSpace) { argument
665 // Since AddressSpace #0 is the common case, we special case it.
666 PointerType *&Entry = AddressSpace == 0 ? CImpl->PointerTypes[EltTy]
667 : CImpl->ASPointerTypes[std::make_pair(EltTy, AddressSpace)];
670 Entry = new (CImpl->TypeAllocator) PointerType(EltTy, AddressSpace);
/external/llvm/lib/Target/ARM/
H A DARMTargetTransformInfo.cpp484 unsigned AddressSpace) {
500 unsigned AddressSpace) {
518 Alignment, AddressSpace);
483 getMemoryOpCost(unsigned Opcode, Type *Src, unsigned Alignment, unsigned AddressSpace) argument
496 getInterleavedMemoryOpCost(unsigned Opcode, Type *VecTy, unsigned Factor, ArrayRef<unsigned> Indices, unsigned Alignment, unsigned AddressSpace) argument
/external/llvm/lib/Target/PowerPC/
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/lib/Transforms/Scalar/
H A DLoadCombine.cpp207 unsigned AddressSpace = local
213 Builder->getInt8PtrTy(AddressSpace)),
/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
H A DType.cpp674 PointerType *PointerType::get(Type *EltTy, unsigned AddressSpace) { argument
680 // Since AddressSpace #0 is the common case, we special case it.
681 PointerType *&Entry = AddressSpace == 0 ? CImpl->PointerTypes[EltTy]
682 : CImpl->ASPointerTypes[std::make_pair(EltTy, AddressSpace)];
685 Entry = new (CImpl->TypeAllocator) PointerType(EltTy, AddressSpace);
/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);
/external/llvm/lib/Target/AArch64/
H A DAArch64TargetTransformInfo.cpp467 unsigned Alignment, unsigned AddressSpace) {
499 unsigned AddressSpace) {
514 Alignment, AddressSpace);
466 getMemoryOpCost(unsigned Opcode, Type *Src, unsigned Alignment, unsigned AddressSpace) argument
495 getInterleavedMemoryOpCost(unsigned Opcode, Type *VecTy, unsigned Factor, ArrayRef<unsigned> Indices, unsigned Alignment, unsigned AddressSpace) argument
/external/llvm/lib/Target/NVPTX/
H A DNVPTX.h101 enum AddressSpace { enum in namespace:llvm::NVPTX::PTXLdStInstCode
/external/llvm/include/llvm/Analysis/
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/llvm/include/llvm/CodeGen/
H A DBasicTTIImpl.h108 bool allowsMisalignedMemoryAccesses(unsigned BitWidth, unsigned AddressSpace, argument
111 return getTLI()->allowsMisalignedMemoryAccesses(M, AddressSpace, Alignment, Fast);
526 unsigned AddressSpace) {
560 unsigned AddressSpace) {
572 Opcode, VecTy, Alignment, AddressSpace);
525 getMemoryOpCost(unsigned Opcode, Type *Src, unsigned Alignment, unsigned AddressSpace) argument
556 getInterleavedMemoryOpCost(unsigned Opcode, Type *VecTy, unsigned Factor, ArrayRef<unsigned> Indices, unsigned Alignment, unsigned AddressSpace) argument
/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/X86/
H A DX86TargetTransformInfo.cpp1086 unsigned AddressSpace) {
1105 AddressSpace);
1130 unsigned AddressSpace) {
1134 return getMemoryOpCost(Opcode, SrcTy, Alignment, AddressSpace);
1153 Alignment, AddressSpace);
1436 unsigned Alignment, unsigned AddressSpace) {
1485 AddressSpace);
1492 Alignment, AddressSpace);
1501 /// AddressSpace - pointer[s] address space.
1505 unsigned AddressSpace) {
1085 getMemoryOpCost(unsigned Opcode, Type *Src, unsigned Alignment, unsigned AddressSpace) argument
1128 getMaskedMemoryOpCost(unsigned Opcode, Type *SrcTy, unsigned Alignment, unsigned AddressSpace) argument
1435 getGSVectorCost(unsigned Opcode, Type *SrcVTy, Value *Ptr, unsigned Alignment, unsigned AddressSpace) argument
1503 getGSScalarCost(unsigned Opcode, Type *SrcVTy, bool VariableMask, unsigned Alignment, unsigned AddressSpace) argument
1549 unsigned AddressSpace = PtrTy->getAddressSpace(); local
[all...]
/external/llvm/lib/Transforms/Vectorize/
H A DLoadStoreVectorizer.cpp136 bool accessIsMisaligned(unsigned SzInBytes, unsigned AddressSpace,
991 bool Vectorizer::accessIsMisaligned(unsigned SzInBytes, unsigned AddressSpace, argument
994 bool Allows = TTI.allowsMisalignedMemoryAccesses(SzInBytes * 8, AddressSpace,
/external/swiftshader/third_party/LLVM/lib/Bitcode/Writer/
H A DBitcodeWriter.cpp280 unsigned AddressSpace = PTy->getAddressSpace(); local
281 TypeVals.push_back(AddressSpace);
282 if (AddressSpace == 0) AbbrevToUse = PtrAbbrev;
/external/llvm/lib/Target/AMDGPU/
H A DR600ISelLowering.cpp1470 ConstantAddressBlock(unsigned AddressSpace) { argument
1471 switch (AddressSpace) {

Completed in 525 milliseconds

12