/external/llvm/lib/Target/AMDGPU/ |
D | AMDGPUTargetTransformInfo.cpp | 45 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 …]
|
D | SIISelLowering.cpp | 341 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 …]
|
D | AMDGPUInstructions.td | 180 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 …]
|
D | AMDGPUPromoteAlloca.cpp | 138 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()
|
D | R600ISelLowering.cpp | 764 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 …]
|
D | AMDGPUAnnotateKernelFeatures.cpp | 65 return SrcAS == AMDGPUAS::LOCAL_ADDRESS || SrcAS == AMDGPUAS::PRIVATE_ADDRESS; in castRequiresQueuePtr()
|
D | AMDGPU.h | 134 namespace AMDGPUAS {
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/AMDGPU/ |
D | AMDGPUAnnotateKernelFeatures.cpp | 49 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()
|
D | AMDGPULegalizerInfo.cpp | 35 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()
|
D | AMDGPUAlwaysInlinePass.cpp | 89 AMDGPUAS AMDGPUAS = AMDGPU::getAMDGPUAS(M); in runOnModule() local 125 if (AS != AMDGPUAS::LOCAL_ADDRESS && AS != AMDGPUAS.REGION_ADDRESS) in runOnModule()
|
D | AMDGPU.h | 224 struct AMDGPUAS { struct 275 AMDGPUAS getAMDGPUAS(const Module &M); 276 AMDGPUAS getAMDGPUAS(const TargetMachine &TM); 277 AMDGPUAS getAMDGPUAS(Triple T);
|
D | AMDGPUAliasAnalysis.h | 36 AMDGPUAS AS; 59 ASAliasRulesTy(AMDGPUAS AS_, Triple::ArchType Arch_); 65 AMDGPUAS AS;
|
D | AMDGPUTargetMachine.h | 37 AMDGPUAS AS; 58 AMDGPUAS getAMDGPUAS() const { in getAMDGPUAS()
|
D | AMDGPUAliasAnalysis.cpp | 50 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()
|
D | AMDGPUSubtarget.h | 375 AMDGPUAS AS; 444 AMDGPUAS getAMDGPUAS() const { in getAMDGPUAS() 971 AMDGPUAS AS; 1056 AMDGPUAS getAMDGPUAS() const { return AS; } in getAMDGPUAS()
|
D | AMDGPUInstrInfo.cpp | 43 if (MMO->getAddrSpace() == AMDGPUAS::CONSTANT_ADDRESS_32BIT) in isUniformMMO()
|
D | AMDGPUCallLowering.h | 26 AMDGPUAS AMDGPUASI;
|
D | R600ISelLowering.cpp | 1344 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 …]
|
D | AMDGPUHSAMetadataStreamer.h | 40 AMDGPUAS AMDGPUASI;
|
D | AMDGPUInstructionSelector.h | 110 AMDGPUAS AMDGPUASI;
|
D | AMDGPUOpenCLEnqueuedBlockLowering.cpp | 126 AMDGPUAS::GLOBAL_ADDRESS, in runOnModule()
|
D | AMDGPUAsmPrinter.h | 146 AMDGPUAS AMDGPUASI;
|
D | AMDGPUTargetTransformInfo.cpp | 105 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/ |
D | AMDGPUBaseInfo.cpp | 101 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/ |
D | AMDGPUBaseInfo.cpp | 460 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()
|