Home
last modified time | relevance | path

Searched refs:AMDGPUAS (Results 1 – 25 of 45) sorted by relevance

12

/external/llvm/lib/Target/AMDGPU/
DAMDGPUTargetTransformInfo.cpp45 if (!GEP || GEP->getAddressSpace() != AMDGPUAS::PRIVATE_ADDRESS) in getUnrollingPreferences()
85 case AMDGPUAS::GLOBAL_ADDRESS: in getLoadStoreVecRegBitWidth()
86 case AMDGPUAS::CONSTANT_ADDRESS: in getLoadStoreVecRegBitWidth()
87 case AMDGPUAS::FLAT_ADDRESS: in getLoadStoreVecRegBitWidth()
89 case AMDGPUAS::LOCAL_ADDRESS: in getLoadStoreVecRegBitWidth()
90 case AMDGPUAS::REGION_ADDRESS: in getLoadStoreVecRegBitWidth()
92 case AMDGPUAS::PRIVATE_ADDRESS: 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()
[all …]
DSIISelLowering.cpp341 case AMDGPUAS::GLOBAL_ADDRESS: { in isLegalAddressingMode()
357 case AMDGPUAS::CONSTANT_ADDRESS: { in isLegalAddressingMode()
395 case AMDGPUAS::PRIVATE_ADDRESS: in isLegalAddressingMode()
398 case AMDGPUAS::LOCAL_ADDRESS: in isLegalAddressingMode()
399 case AMDGPUAS::REGION_ADDRESS: { in isLegalAddressingMode()
415 case AMDGPUAS::FLAT_ADDRESS: in isLegalAddressingMode()
416 case AMDGPUAS::UNKNOWN_ADDRESS_SPACE: in isLegalAddressingMode()
441 if (AddrSpace == AMDGPUAS::LOCAL_ADDRESS || in allowsMisalignedMemoryAccesses()
442 AddrSpace == AMDGPUAS::REGION_ADDRESS) { in allowsMisalignedMemoryAccesses()
457 *IsFast = (AddrSpace == AMDGPUAS::CONSTANT_ADDRESS) ? in allowsMisalignedMemoryAccesses()
[all …]
DAMDGPUInstructions.td180 return cast<MemSDNode>(N)->getAddressSpace() == AMDGPUAS::PRIVATE_ADDRESS;
198 return cast<MemSDNode>(N)->getAddressSpace() == AMDGPUAS::GLOBAL_ADDRESS;
218 return cast<MemSDNode>(N)->getAddressSpace() == AMDGPUAS::CONSTANT_ADDRESS;
229 return cast<MemSDNode>(N)->getAddressSpace() == AMDGPUAS::LOCAL_ADDRESS;
242 return cast<MemSDNode>(N)->getAddressSPace() == AMDGPUAS::FLAT_ADDRESS;
324 return cast<MemSDNode>(N)->getAddressSpace() == AMDGPUAS::LOCAL_ADDRESS;
342 return cast<MemSDNode>(N)->getAddressSpace() == AMDGPUAS::GLOBAL_ADDRESS;
352 AN->getAddressSpace() == AMDGPUAS::LOCAL_ADDRESS;
360 AN->getAddressSpace() == AMDGPUAS::LOCAL_ADDRESS;
368 return cast<MemSDNode>(N)->getAddressSpace() == AMDGPUAS::FLAT_ADDRESS;
[all …]
DAMDGPUPromoteAlloca.cpp138 if (PtrTy && PtrTy->getAddressSpace() == AMDGPUAS::LOCAL_ADDRESS) { in runOnFunction()
155 if (GV.getType()->getAddressSpace() != AMDGPUAS::LOCAL_ADDRESS) in runOnFunction()
293 DispatchPtr, PointerType::get(I32Ty, AMDGPUAS::CONSTANT_ADDRESS)); in getLocalSizeYZ()
698 AMDGPUAS::LOCAL_ADDRESS); in handleAlloca()
731 PointerType *NewTy = PointerType::get(EltTy, AMDGPUAS::LOCAL_ADDRESS); in handleAlloca()
747 PointerType *NewTy = PointerType::get(EltTy, AMDGPUAS::LOCAL_ADDRESS); in handleAlloca()
836 { Intr->getType(), PointerType::get(SrcTy, AMDGPUAS::LOCAL_ADDRESS) } in handleAlloca()
DR600ISelLowering.cpp764 MVT PtrVT = getPointerTy(DAG.getDataLayout(), AMDGPUAS::PARAM_I_ADDRESS); in LowerOperation()
920 if (GSD->getAddressSpace() != AMDGPUAS::CONSTANT_ADDRESS) in LowerGlobalAddress()
925 MVT ConstPtrVT = getPointerTy(DL, AMDGPUAS::CONSTANT_ADDRESS); in LowerGlobalAddress()
1073 AMDGPUAS::CONSTANT_BUFFER_0); in LowerImplicitParameter()
1363 if ((AS == AMDGPUAS::LOCAL_ADDRESS || AS == AMDGPUAS::PRIVATE_ADDRESS) && in LowerSTORE()
1372 if (AS == AMDGPUAS::GLOBAL_ADDRESS) { in LowerSTORE()
1422 if (AS != AMDGPUAS::PRIVATE_ADDRESS) in LowerSTORE()
1472 case AMDGPUAS::CONSTANT_BUFFER_0: in ConstantAddressBlock()
1474 case AMDGPUAS::CONSTANT_BUFFER_1: in ConstantAddressBlock()
1476 case AMDGPUAS::CONSTANT_BUFFER_2: in ConstantAddressBlock()
[all …]
DAMDGPUAnnotateKernelFeatures.cpp65 return SrcAS == AMDGPUAS::LOCAL_ADDRESS || SrcAS == AMDGPUAS::PRIVATE_ADDRESS; in castRequiresQueuePtr()
DAMDGPU.h134 namespace AMDGPUAS {
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/AMDGPU/
DAMDGPUAnnotateKernelFeatures.cpp49 AMDGPUAS AS;
70 static bool visitConstantExpr(const ConstantExpr *CE, AMDGPUAS AS);
74 AMDGPUAS AS);
88 static bool castRequiresQueuePtr(unsigned SrcAS, const AMDGPUAS &AS) { in castRequiresQueuePtr()
93 const AMDGPUAS &AS) { in castRequiresQueuePtr()
98 AMDGPUAS AS) { in visitConstantExpr()
110 AMDGPUAS AS) { in visitConstantExprsRecursively()
DAMDGPULegalizerInfo.cpp35 auto AMDGPUAS = ST.getAMDGPUAS(); in AMDGPULegalizerInfo() local
44 const LLT GlobalPtr = GetAddrSpacePtr(AMDGPUAS::GLOBAL_ADDRESS); in AMDGPULegalizerInfo()
45 const LLT ConstantPtr = GetAddrSpacePtr(AMDGPUAS::CONSTANT_ADDRESS); in AMDGPULegalizerInfo()
46 const LLT LocalPtr = GetAddrSpacePtr(AMDGPUAS::LOCAL_ADDRESS); in AMDGPULegalizerInfo()
47 const LLT FlatPtr = GetAddrSpacePtr(AMDGPUAS.FLAT_ADDRESS); in AMDGPULegalizerInfo()
48 const LLT PrivatePtr = GetAddrSpacePtr(AMDGPUAS.PRIVATE_ADDRESS); in AMDGPULegalizerInfo()
DAMDGPUAlwaysInlinePass.cpp89 AMDGPUAS AMDGPUAS = AMDGPU::getAMDGPUAS(M); in runOnModule() local
125 if (AS != AMDGPUAS::LOCAL_ADDRESS && AS != AMDGPUAS.REGION_ADDRESS) in runOnModule()
DAMDGPU.h224 struct AMDGPUAS { struct
275 AMDGPUAS getAMDGPUAS(const Module &M);
276 AMDGPUAS getAMDGPUAS(const TargetMachine &TM);
277 AMDGPUAS getAMDGPUAS(Triple T);
DAMDGPUAliasAnalysis.h36 AMDGPUAS AS;
59 ASAliasRulesTy(AMDGPUAS AS_, Triple::ArchType Arch_);
65 AMDGPUAS AS;
DAMDGPUTargetMachine.h37 AMDGPUAS AS;
58 AMDGPUAS getAMDGPUAS() const { in getAMDGPUAS()
DAMDGPUAliasAnalysis.cpp50 AMDGPUAAResult::ASAliasRulesTy::ASAliasRulesTy(AMDGPUAS AS_, Triple::ArchType Arch_) in ASAliasRulesTy()
74 static_assert(AMDGPUAS::MAX_AMDGPU_ADDRESS <= 6, "Addr space out of range"); in ASAliasRulesTy()
DAMDGPUSubtarget.h375 AMDGPUAS AS;
444 AMDGPUAS getAMDGPUAS() const { in getAMDGPUAS()
971 AMDGPUAS AS;
1056 AMDGPUAS getAMDGPUAS() const { return AS; } in getAMDGPUAS()
DAMDGPUInstrInfo.cpp43 if (MMO->getAddrSpace() == AMDGPUAS::CONSTANT_ADDRESS_32BIT) in isUniformMMO()
DAMDGPUCallLowering.h26 AMDGPUAS AMDGPUASI;
DR600ISelLowering.cpp1344 case AMDGPUAS::CONSTANT_BUFFER_0: in ConstantAddressBlock()
1346 case AMDGPUAS::CONSTANT_BUFFER_1: in ConstantAddressBlock()
1348 case AMDGPUAS::CONSTANT_BUFFER_2: in ConstantAddressBlock()
1350 case AMDGPUAS::CONSTANT_BUFFER_3: in ConstantAddressBlock()
1352 case AMDGPUAS::CONSTANT_BUFFER_4: in ConstantAddressBlock()
1354 case AMDGPUAS::CONSTANT_BUFFER_5: in ConstantAddressBlock()
1356 case AMDGPUAS::CONSTANT_BUFFER_6: in ConstantAddressBlock()
1358 case AMDGPUAS::CONSTANT_BUFFER_7: in ConstantAddressBlock()
1360 case AMDGPUAS::CONSTANT_BUFFER_8: in ConstantAddressBlock()
1362 case AMDGPUAS::CONSTANT_BUFFER_9: in ConstantAddressBlock()
[all …]
DAMDGPUHSAMetadataStreamer.h40 AMDGPUAS AMDGPUASI;
DAMDGPUInstructionSelector.h110 AMDGPUAS AMDGPUASI;
DAMDGPUOpenCLEnqueuedBlockLowering.cpp126 AMDGPUAS::GLOBAL_ADDRESS, in runOnModule()
DAMDGPUAsmPrinter.h146 AMDGPUAS AMDGPUASI;
DAMDGPUTargetTransformInfo.cpp105 const AMDGPUAS &ASST = AMDGPU::getAMDGPUAS(TargetTriple); in getUnrollingPreferences()
256 AMDGPUAS AS = ST->getAMDGPUAS(); in getLoadStoreVecRegBitWidth()
645 AMDGPUAS AS = ST->getAMDGPUAS(); in getLoadStoreVecRegBitWidth()
/external/llvm/lib/Target/AMDGPU/Utils/
DAMDGPUBaseInfo.cpp101 return GV->getType()->getAddressSpace() == AMDGPUAS::LOCAL_ADDRESS; in isGroupSegment()
105 return GV->getType()->getAddressSpace() == AMDGPUAS::GLOBAL_ADDRESS; in isGlobalSegment()
109 return GV->getType()->getAddressSpace() == AMDGPUAS::CONSTANT_ADDRESS; in isReadOnlySegment()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/AMDGPU/Utils/
DAMDGPUBaseInfo.cpp460 return GV->getType()->getAddressSpace() == AMDGPUAS::LOCAL_ADDRESS; in isGroupSegment()
464 return GV->getType()->getAddressSpace() == AMDGPUAS::GLOBAL_ADDRESS; in isGlobalSegment()
468 return GV->getType()->getAddressSpace() == AMDGPUAS::CONSTANT_ADDRESS || in isReadOnlySegment()
469 GV->getType()->getAddressSpace() == AMDGPUAS::CONSTANT_ADDRESS_32BIT; in isReadOnlySegment()
945 AMDGPUAS getAMDGPUAS(Triple T) { in getAMDGPUAS()
946 AMDGPUAS AS; in getAMDGPUAS()
953 AMDGPUAS getAMDGPUAS(const TargetMachine &M) { in getAMDGPUAS()
957 AMDGPUAS getAMDGPUAS(const Module &M) { in getAMDGPUAS()

12