Home
last modified time | relevance | path

Searched refs:AddrSpace (Results 1 – 25 of 207) sorted by relevance

123456789

/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/NVPTX/
DNVPTXTargetTransformInfo.h55 unsigned AddrSpace) const { in isLegalToVectorizeLoadChain() argument
60 unsigned AddrSpace) const { in isLegalToVectorizeStoreChain() argument
61 return isLegalToVectorizeLoadChain(ChainSizeInBytes, Alignment, AddrSpace); in isLegalToVectorizeStoreChain()
99 bool hasVolatileVariant(Instruction *I, unsigned AddrSpace) { in hasVolatileVariant() argument
102 if (!(AddrSpace == llvm::ADDRESS_SPACE_GENERIC || in hasVolatileVariant()
103 AddrSpace == llvm::ADDRESS_SPACE_GLOBAL || in hasVolatileVariant()
104 AddrSpace == llvm::ADDRESS_SPACE_SHARED)) in hasVolatileVariant()
/external/llvm-project/llvm/lib/Target/NVPTX/
DNVPTXTargetTransformInfo.h57 unsigned AddrSpace) const { in isLegalToVectorizeLoadChain() argument
61 unsigned AddrSpace) const { in isLegalToVectorizeStoreChain() argument
62 return isLegalToVectorizeLoadChain(ChainSizeInBytes, Alignment, AddrSpace); in isLegalToVectorizeStoreChain()
105 bool hasVolatileVariant(Instruction *I, unsigned AddrSpace) { in hasVolatileVariant() argument
108 if (!(AddrSpace == llvm::ADDRESS_SPACE_GENERIC || in hasVolatileVariant()
109 AddrSpace == llvm::ADDRESS_SPACE_GLOBAL || in hasVolatileVariant()
110 AddrSpace == llvm::ADDRESS_SPACE_SHARED)) in hasVolatileVariant()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/
DAMDGPUTargetTransformInfo.cpp257 unsigned GCNTTIImpl::getLoadStoreVecRegBitWidth(unsigned AddrSpace) const { in getLoadStoreVecRegBitWidth()
258 if (AddrSpace == AMDGPUAS::GLOBAL_ADDRESS || in getLoadStoreVecRegBitWidth()
259 AddrSpace == AMDGPUAS::CONSTANT_ADDRESS || in getLoadStoreVecRegBitWidth()
260 AddrSpace == AMDGPUAS::CONSTANT_ADDRESS_32BIT || in getLoadStoreVecRegBitWidth()
261 AddrSpace == AMDGPUAS::BUFFER_FAT_POINTER) { in getLoadStoreVecRegBitWidth()
265 if (AddrSpace == AMDGPUAS::FLAT_ADDRESS || in getLoadStoreVecRegBitWidth()
266 AddrSpace == AMDGPUAS::LOCAL_ADDRESS || in getLoadStoreVecRegBitWidth()
267 AddrSpace == AMDGPUAS::REGION_ADDRESS) in getLoadStoreVecRegBitWidth()
270 if (AddrSpace == AMDGPUAS::PRIVATE_ADDRESS) in getLoadStoreVecRegBitWidth()
278 unsigned AddrSpace) const { in isLegalToVectorizeMemChain()
[all …]
DSIMemoryLegalizer.cpp269 SIAtomicAddrSpace AddrSpace) const = 0;
283 SIAtomicAddrSpace AddrSpace,
295 SIAtomicAddrSpace AddrSpace,
326 SIAtomicAddrSpace AddrSpace) const override;
332 SIAtomicAddrSpace AddrSpace,
337 SIAtomicAddrSpace AddrSpace,
350 SIAtomicAddrSpace AddrSpace,
372 SIAtomicAddrSpace AddrSpace) const override;
378 SIAtomicAddrSpace AddrSpace,
383 SIAtomicAddrSpace AddrSpace,
[all …]
DAMDGPUTargetTransformInfo.h158 unsigned getLoadStoreVecRegBitWidth(unsigned AddrSpace) const;
162 unsigned AddrSpace) const;
165 unsigned AddrSpace) const;
168 unsigned AddrSpace) const;
259 unsigned getLoadStoreVecRegBitWidth(unsigned AddrSpace) const;
261 unsigned AddrSpace) const;
264 unsigned AddrSpace) const;
267 unsigned AddrSpace) const;
DAMDGPUTargetMachine.h59 uint64_t getNullPointerValue(unsigned AddrSpace) const { in getNullPointerValue() argument
60 return (AddrSpace == AMDGPUAS::LOCAL_ADDRESS || in getNullPointerValue()
61 AddrSpace == AMDGPUAS::REGION_ADDRESS) ? -1 : 0; in getNullPointerValue()
/external/llvm-project/llvm/lib/Target/AMDGPU/
DSIMemoryLegalizer.cpp279 SIAtomicAddrSpace AddrSpace) const = 0;
295 SIAtomicAddrSpace AddrSpace,
307 SIAtomicAddrSpace AddrSpace,
318 SIAtomicAddrSpace AddrSpace,
348 SIAtomicAddrSpace AddrSpace) const override;
354 SIAtomicAddrSpace AddrSpace,
361 SIAtomicAddrSpace AddrSpace,
366 SIAtomicAddrSpace AddrSpace,
378 SIAtomicAddrSpace AddrSpace,
398 SIAtomicAddrSpace AddrSpace) const override;
[all …]
DAMDGPUTargetTransformInfo.cpp312 unsigned GCNTTIImpl::getLoadStoreVecRegBitWidth(unsigned AddrSpace) const { in getLoadStoreVecRegBitWidth()
313 if (AddrSpace == AMDGPUAS::GLOBAL_ADDRESS || in getLoadStoreVecRegBitWidth()
314 AddrSpace == AMDGPUAS::CONSTANT_ADDRESS || in getLoadStoreVecRegBitWidth()
315 AddrSpace == AMDGPUAS::CONSTANT_ADDRESS_32BIT || in getLoadStoreVecRegBitWidth()
316 AddrSpace == AMDGPUAS::BUFFER_FAT_POINTER) { in getLoadStoreVecRegBitWidth()
320 if (AddrSpace == AMDGPUAS::PRIVATE_ADDRESS) in getLoadStoreVecRegBitWidth()
329 unsigned AddrSpace) const { in isLegalToVectorizeMemChain()
333 if (AddrSpace == AMDGPUAS::PRIVATE_ADDRESS) { in isLegalToVectorizeMemChain()
342 unsigned AddrSpace) const { in isLegalToVectorizeLoadChain()
343 return isLegalToVectorizeMemChain(ChainSizeInBytes, Alignment, AddrSpace); in isLegalToVectorizeLoadChain()
[all …]
DAMDGPUTargetTransformInfo.h179 unsigned getLoadStoreVecRegBitWidth(unsigned AddrSpace) const;
182 unsigned AddrSpace) const;
184 unsigned AddrSpace) const;
186 unsigned AddrSpace) const;
297 unsigned getLoadStoreVecRegBitWidth(unsigned AddrSpace) const;
299 unsigned AddrSpace) const;
301 unsigned AddrSpace) const;
303 unsigned AddrSpace) const;
DAMDGPUTargetMachine.h60 static int64_t getNullPointerValue(unsigned AddrSpace) { in getNullPointerValue() argument
61 return (AddrSpace == AMDGPUAS::LOCAL_ADDRESS || in getNullPointerValue()
62 AddrSpace == AMDGPUAS::PRIVATE_ADDRESS || in getNullPointerValue()
63 AddrSpace == AMDGPUAS::REGION_ADDRESS) ? -1 : 0; in getNullPointerValue()
/external/llvm-project/llvm/test/TableGen/
Daddress-space-patfrags.td56 // SDAG-NEXT: unsigned AddrSpace = cast<MemSDNode>(N)->getAddressSpace();
57 // SDAG-NEXT: if (AddrSpace != 123 && AddrSpace != 455)
67 …_CheckMemoryAddressSpace, /*MI*/0, /*MMO*/0, /*NumAddrSpace*/2, /*AddrSpace*/123, /*AddrSpace*/455,
80 // SDAG-NEXT: unsigned AddrSpace = cast<MemSDNode>(N)->getAddressSpace();
82 // SDAG-NEXT: if (AddrSpace != 999)
93 // GISEL-NEXT: GIM_CheckMemoryAddressSpace, /*MI*/0, /*MMO*/0, /*NumAddrSpace*/1, /*AddrSpace*/999,
138 …_CheckMemoryAddressSpace, /*MI*/0, /*MMO*/0, /*NumAddrSpace*/2, /*AddrSpace*/123, /*AddrSpace*/455,
/external/llvm/include/llvm/IR/
DGetElementPtrTypeIterator.h32 unsigned AddrSpace; variable
36 static generic_gep_type_iterator begin(Type *Ty, unsigned AddrSpace, in begin() argument
41 I.AddrSpace = AddrSpace; in begin()
60 return CurTy.getPointer()->getPointerTo(AddrSpace);
/external/clang/include/clang/Basic/
DTargetInfo.h230 IntType getPtrDiffType(unsigned AddrSpace) const { in getPtrDiffType() argument
231 return AddrSpace == 0 ? PtrDiffType : getPtrDiffTypeV(AddrSpace); in getPtrDiffType()
290 uint64_t getPointerWidth(unsigned AddrSpace) const { in getPointerWidth() argument
291 return AddrSpace == 0 ? PointerWidth : getPointerWidthV(AddrSpace); in getPointerWidth()
293 uint64_t getPointerAlign(unsigned AddrSpace) const { in getPointerAlign() argument
294 return AddrSpace == 0 ? PointerAlign : getPointerAlignV(AddrSpace); in getPointerAlign()
996 virtual uint64_t getPointerWidthV(unsigned AddrSpace) const { in getPointerWidthV() argument
999 virtual uint64_t getPointerAlignV(unsigned AddrSpace) const { in getPointerAlignV() argument
1002 virtual enum IntType getPtrDiffTypeV(unsigned AddrSpace) const { in getPtrDiffTypeV() argument
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/CodeGen/
DMachineMemOperand.h47 unsigned AddrSpace = 0; member
52 AddrSpace = v ? v->getType()->getPointerAddressSpace() : 0; in V()
58 AddrSpace = v ? v->getAddressSpace() : 0; in V()
63 AddrSpace(AddressSpace) {}
72 AddrSpace = ValPtr->getType()->getPointerAddressSpace(); in V()
74 AddrSpace = V.get<const PseudoSourceValue*>()->getAddressSpace(); in V()
80 return MachinePointerInfo(AddrSpace); in getWithOffset()
/external/llvm-project/llvm/include/llvm/CodeGen/
DMachineMemOperand.h48 unsigned AddrSpace = 0; member
53 AddrSpace = v ? v->getType()->getPointerAddressSpace() : 0; in V()
59 AddrSpace = v ? v->getAddressSpace() : 0; in V()
64 AddrSpace(AddressSpace) {}
73 AddrSpace = ValPtr->getType()->getPointerAddressSpace(); in V()
75 AddrSpace = V.get<const PseudoSourceValue*>()->getAddressSpace(); in V()
81 return MachinePointerInfo(AddrSpace, Offset + O); in getWithOffset()
/external/llvm-project/clang/include/clang/Basic/
DTargetInfo.h323 IntType getPtrDiffType(unsigned AddrSpace) const { in getPtrDiffType() argument
324 return AddrSpace == 0 ? PtrDiffType : getPtrDiffTypeV(AddrSpace); in getPtrDiffType()
326 IntType getUnsignedPtrDiffType(unsigned AddrSpace) const { in getUnsignedPtrDiffType() argument
327 return getCorrespondingUnsignedType(getPtrDiffType(AddrSpace)); in getUnsignedPtrDiffType()
399 uint64_t getPointerWidth(unsigned AddrSpace) const { in getPointerWidth() argument
400 return AddrSpace == 0 ? PointerWidth : getPointerWidthV(AddrSpace); in getPointerWidth()
402 uint64_t getPointerAlign(unsigned AddrSpace) const { in getPointerAlign() argument
403 return AddrSpace == 0 ? PointerAlign : getPointerAlignV(AddrSpace); in getPointerAlign()
413 virtual uint64_t getNullPointerValue(LangAS AddrSpace) const { return 0; } in getNullPointerValue() argument
1495 virtual uint64_t getPointerWidthV(unsigned AddrSpace) const { in getPointerWidthV() argument
[all …]
/external/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/
DLowLevelType.cpp30 unsigned AddrSpace = PTy->getAddressSpace(); in getLLTForType() local
31 return LLT::pointer(AddrSpace, DL.getPointerSizeInBits(AddrSpace)); in getLLTForType()
DGlobalMerge.cpp160 Module &M, bool isConst, unsigned AddrSpace) const;
166 unsigned AddrSpace) const;
220 Module &M, bool isConst, unsigned AddrSpace) const { in doMerge()
233 return doMerge(Globals, AllGlobals, M, isConst, AddrSpace); in doMerge()
407 return doMerge(Globals, AllGlobals, M, isConst, AddrSpace); in doMerge()
431 Changed |= doMerge(Globals, UGS.Globals, M, isConst, AddrSpace); in doMerge()
439 unsigned AddrSpace) const { in doMerge()
518 GlobalVariable::NotThreadLocal, AddrSpace); in doMerge()
551 GlobalAlias *GA = GlobalAlias::create(Tys[StructIdxs[idx]], AddrSpace, in doMerge()
/external/llvm-project/llvm/lib/CodeGen/
DLowLevelType.cpp31 unsigned AddrSpace = PTy->getAddressSpace(); in getLLTForType() local
32 return LLT::pointer(AddrSpace, DL.getPointerSizeInBits(AddrSpace)); in getLLTForType()
DGlobalMerge.cpp161 Module &M, bool isConst, unsigned AddrSpace) const;
167 unsigned AddrSpace) const;
221 Module &M, bool isConst, unsigned AddrSpace) const { in doMerge()
235 return doMerge(Globals, AllGlobals, M, isConst, AddrSpace); in doMerge()
409 return doMerge(Globals, AllGlobals, M, isConst, AddrSpace); in doMerge()
433 Changed |= doMerge(Globals, UGS.Globals, M, isConst, AddrSpace); in doMerge()
441 unsigned AddrSpace) const { in doMerge()
520 GlobalVariable::NotThreadLocal, AddrSpace); in doMerge()
553 GlobalAlias *GA = GlobalAlias::create(Tys[StructIdxs[idx]], AddrSpace, in doMerge()
/external/llvm/lib/Target/AMDGPU/
DAMDGPUTargetTransformInfo.cpp83 unsigned AMDGPUTTIImpl::getLoadStoreVecRegBitWidth(unsigned AddrSpace) { in getLoadStoreVecRegBitWidth() argument
84 switch (AddrSpace) { in getLoadStoreVecRegBitWidth()
96 (AddrSpace == AMDGPUAS::PARAM_D_ADDRESS || in getLoadStoreVecRegBitWidth()
97 AddrSpace == AMDGPUAS::PARAM_I_ADDRESS || in getLoadStoreVecRegBitWidth()
98 (AddrSpace >= AMDGPUAS::CONSTANT_BUFFER_0 && in getLoadStoreVecRegBitWidth()
99 AddrSpace <= AMDGPUAS::CONSTANT_BUFFER_15))) in getLoadStoreVecRegBitWidth()
/external/llvm/lib/CodeGen/
DGlobalMerge.cpp141 Module &M, bool isConst, unsigned AddrSpace) const;
146 unsigned AddrSpace) const;
203 Module &M, bool isConst, unsigned AddrSpace) const { in doMerge()
216 return doMerge(Globals, AllGlobals, M, isConst, AddrSpace); in doMerge()
389 return doMerge(Globals, AllGlobals, M, isConst, AddrSpace); in doMerge()
413 Changed |= doMerge(Globals, UGS.Globals, M, isConst, AddrSpace); in doMerge()
421 unsigned AddrSpace) const { in doMerge()
452 "_MergedGlobals", nullptr, GlobalVariable::NotThreadLocal, AddrSpace); in doMerge()
473 GlobalAlias::create(Tys[idx], AddrSpace, Linkage, Name, GEP, &M); in doMerge()
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Analysis/
DTargetTransformInfo.h563 unsigned AddrSpace = 0,
621 bool hasVolatileVariant(Instruction *I, unsigned AddrSpace) const;
634 unsigned AddrSpace = 0) const;
1101 unsigned getLoadStoreVecRegBitWidth(unsigned AddrSpace) const;
1112 unsigned AddrSpace) const;
1117 unsigned AddrSpace) const;
1226 unsigned AddrSpace,
1245 virtual bool hasVolatileVariant(Instruction *I, unsigned AddrSpace) = 0;
1249 int64_t Scale, unsigned AddrSpace) = 0;
1379 virtual unsigned getLoadStoreVecRegBitWidth(unsigned AddrSpace) const = 0;
[all …]
/external/llvm-project/clang/lib/Basic/Targets/
DAMDGPU.h32 enum AddrSpace { enum
98 uint64_t getPointerWidthV(unsigned AddrSpace) const override { in getPointerWidthV() argument
102 if (AddrSpace == Private || AddrSpace == Local) in getPointerWidthV()
108 uint64_t getPointerAlignV(unsigned AddrSpace) const override { in getPointerAlignV() argument
109 return getPointerWidthV(AddrSpace); in getPointerAlignV()
/external/llvm/include/llvm/Analysis/
DTargetTransformInfo.h331 unsigned AddrSpace = 0) const;
352 unsigned AddrSpace = 0) const;
462 unsigned getLoadStoreVecRegBitWidth(unsigned AddrSpace) const;
654 unsigned AddrSpace) = 0;
661 int64_t Scale, unsigned AddrSpace) = 0;
687 virtual unsigned getLoadStoreVecRegBitWidth(unsigned AddrSpace) = 0;
801 unsigned AddrSpace) override { in isLegalAddressingMode() argument
803 Scale, AddrSpace); in isLegalAddressingMode()
819 unsigned AddrSpace) override { in getScalingFactorCost() argument
821 Scale, AddrSpace); in getScalingFactorCost()
[all …]

123456789