Home
last modified time | relevance | path

Searched refs:AMDGPUASI (Results 1 – 21 of 21) sorted by relevance

/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/AMDGPU/
DAMDGPUHSAMetadataStreamer.cpp79 if (AddressSpace == AMDGPUASI.PRIVATE_ADDRESS) in getAddressSpaceQualifer()
81 if (AddressSpace == AMDGPUASI.GLOBAL_ADDRESS) in getAddressSpaceQualifer()
83 if (AddressSpace == AMDGPUASI.CONSTANT_ADDRESS) in getAddressSpaceQualifer()
85 if (AddressSpace == AMDGPUASI.LOCAL_ADDRESS) in getAddressSpaceQualifer()
87 if (AddressSpace == AMDGPUASI.FLAT_ADDRESS) in getAddressSpaceQualifer()
89 if (AddressSpace == AMDGPUASI.REGION_ADDRESS) in getAddressSpaceQualifer()
117 AMDGPUASI.LOCAL_ADDRESS ? in getValueKind()
358 if (PtrTy->getAddressSpace() == AMDGPUASI.LOCAL_ADDRESS) { in emitKernelArg()
425 AMDGPUASI.GLOBAL_ADDRESS); in emitHiddenKernelArgs()
450 AMDGPUASI = getAMDGPUAS(Mod); in begin()
DAMDGPUInstructions.td331 return cast<MemSDNode>(N)->getAddressSpace() == AMDGPUASI.PRIVATE_ADDRESS;
335 return cast<MemSDNode>(N)->getAddressSpace() == AMDGPUASI.CONSTANT_ADDRESS;
339 return cast<MemSDNode>(N)->getAddressSpace() == AMDGPUASI.LOCAL_ADDRESS;
343 return cast<MemSDNode>(N)->getAddressSpace() == AMDGPUASI.GLOBAL_ADDRESS;
348 return AS == AMDGPUASI.GLOBAL_ADDRESS || AS == AMDGPUASI.CONSTANT_ADDRESS;
353 return AS == AMDGPUASI.FLAT_ADDRESS ||
354 AS == AMDGPUASI.GLOBAL_ADDRESS ||
355 AS == AMDGPUASI.CONSTANT_ADDRESS;
360 return AS == AMDGPUASI.FLAT_ADDRESS ||
361 AS == AMDGPUASI.GLOBAL_ADDRESS;
[all …]
DAMDGPUAnnotateUniformValues.cpp40 AMDGPUAS AMDGPUASI; member in __anon43ecca5e0111::AMDGPUAnnotateUniformValues
136 return Load.getPointerAddressSpace() == AMDGPUASI.GLOBAL_ADDRESS; in visitLoadInst()
171 AMDGPUASI = AMDGPU::getAMDGPUAS(M); in doInitialization()
DAMDGPUCallLowering.cpp31 : CallLowering(&TLI), AMDGPUASI(TLI.getAMDGPUAS()) { in AMDGPUCallLowering()
53 PointerType *PtrTy = PointerType::get(ParamTy, AMDGPUASI.CONSTANT_ADDRESS); in lowerParameterPtr()
75 PointerType *PtrTy = PointerType::get(ParamTy, AMDGPUASI.CONSTANT_ADDRESS); in lowerParameter()
DSIISelLowering.cpp944 if (AS == AMDGPUASI.GLOBAL_ADDRESS) in isLegalAddressingMode()
947 if (AS == AMDGPUASI.CONSTANT_ADDRESS || in isLegalAddressingMode()
948 AS == AMDGPUASI.CONSTANT_ADDRESS_32BIT) { in isLegalAddressingMode()
986 } else if (AS == AMDGPUASI.PRIVATE_ADDRESS) { in isLegalAddressingMode()
988 } else if (AS == AMDGPUASI.LOCAL_ADDRESS || in isLegalAddressingMode()
989 AS == AMDGPUASI.REGION_ADDRESS) { in isLegalAddressingMode()
1004 } else if (AS == AMDGPUASI.FLAT_ADDRESS || in isLegalAddressingMode()
1005 AS == AMDGPUASI.UNKNOWN_ADDRESS_SPACE) { in isLegalAddressingMode()
1019 if (AS == AMDGPUASI.GLOBAL_ADDRESS || AS == AMDGPUASI.FLAT_ADDRESS) { in canMergeStoresTo()
1021 } else if (AS == AMDGPUASI.PRIVATE_ADDRESS) { in canMergeStoresTo()
[all …]
DR600ISelLowering.cpp592 MVT PtrVT = getPointerTy(DAG.getDataLayout(), AMDGPUASI.PARAM_I_ADDRESS); in LowerOperation()
744 if (GSD->getAddressSpace() != AMDGPUASI.CONSTANT_ADDRESS) in LowerGlobalAddress()
749 MVT ConstPtrVT = getPointerTy(DL, AMDGPUASI.CONSTANT_ADDRESS); in LowerGlobalAddress()
906 AMDGPUASI.PARAM_I_ADDRESS); in LowerImplicitParameter()
1144 assert(Store->getAddressSpace() == AMDGPUASI.PRIVATE_ADDRESS); in lowerPrivateTruncStore()
1178 Type::getInt32PtrTy(*DAG.getContext(), AMDGPUASI.PRIVATE_ADDRESS))); in lowerPrivateTruncStore()
1244 if ((AS == AMDGPUASI.LOCAL_ADDRESS || AS == AMDGPUASI.PRIVATE_ADDRESS) && in LowerSTORE()
1246 if ((AS == AMDGPUASI.PRIVATE_ADDRESS) && in LowerSTORE()
1270 if (AS == AMDGPUASI.GLOBAL_ADDRESS) { in LowerSTORE()
1323 if (AS != AMDGPUASI.PRIVATE_ADDRESS) in LowerSTORE()
[all …]
DAMDGPUCallLowering.h26 AMDGPUAS AMDGPUASI; variable
DAMDGPUHSAMetadataStreamer.h40 AMDGPUAS AMDGPUASI; variable
DAMDGPUInstructionSelector.h110 AMDGPUAS AMDGPUASI;
DAMDGPUAsmPrinter.h146 AMDGPUAS AMDGPUASI; variable
DAMDGPUCodeGenPrepare.cpp66 AMDGPUAS AMDGPUASI; member in __anon55d212180111::AMDGPUCodeGenPrepare
802 if ((I.getPointerAddressSpace() == AMDGPUASI.CONSTANT_ADDRESS || in visitLoadInst()
803 I.getPointerAddressSpace() == AMDGPUASI.CONSTANT_ADDRESS_32BIT) && in visitLoadInst()
903 AMDGPUASI = TM.getAMDGPUAS(); in runOnFunction()
DAMDGPUISelDAGToDAG.cpp75 AMDGPUAS AMDGPUASI; member in __anona89cb65c0111::AMDGPUDAGToDAGISel
82 AMDGPUASI = AMDGPU::getAMDGPUAS(*TM); in AMDGPUDAGToDAGISel()
227 AMDGPUAS AMDGPUASI; member in __anona89cb65c0111::R600DAGToDAGISel
236 AMDGPUASI = AMDGPU::getAMDGPUAS(*TM); in R600DAGToDAGISel()
353 if (cast<MemSDNode>(N)->getAddressSpace() != AMDGPUASI.LOCAL_ADDRESS || in glueCopyToM0()
1771 if (AS == AMDGPUASI.FLAT_ADDRESS) { in SelectATOMIC_CMP_SWAP()
2155 return N->getAddressSpace() == AMDGPUASI.CONSTANT_ADDRESS || in isConstantLoad()
2156 N->getAddressSpace() == AMDGPUASI.CONSTANT_ADDRESS_32BIT; in isConstantLoad()
2158 return N->getAddressSpace() == AMDGPUASI.CONSTANT_BUFFER_0 + CbId; in isConstantLoad()
DAMDGPUISelLowering.h44 AMDGPUAS AMDGPUASI;
303 return AMDGPUASI; in getAMDGPUAS()
DAMDGPUInstructionSelector.cpp58 ,AMDGPUASI(STI.getAMDGPUAS()) in AMDGPUInstructionSelector()
509 if ((*I.memoperands_begin())->getAddrSpace() != AMDGPUASI.CONSTANT_ADDRESS && in selectSMRD()
510 (*I.memoperands_begin())->getAddrSpace() != AMDGPUASI.CONSTANT_ADDRESS_32BIT) in selectSMRD()
DSIInsertWaitcnts.cpp373 AMDGPUAS AMDGPUASI; member in __anon5fe744b40111::SIInsertWaitcnts
1054 if (AS != AMDGPUASI.LOCAL_ADDRESS) in generateWaitcntInstBefore()
1089 if (AS != AMDGPUASI.LOCAL_ADDRESS) in generateWaitcntInstBefore()
1308 if (AS == AMDGPUASI.LOCAL_ADDRESS || AS == AMDGPUASI.FLAT_ADDRESS) in mayAccessLDSThroughFlat()
1847 AMDGPUASI = ST->getAMDGPUAS(); in runOnMachineFunction()
DSMInstructions.td385 …((((Ld->getAddressSpace() == AMDGPUASI.CONSTANT_ADDRESS) || (Ld->getAddressSpace() == AMDGPUASI.CO…
386 (Subtarget->getScalarizeGlobalBehavior() && Ld->getAddressSpace() == AMDGPUASI.GLOBAL_ADDRESS &&
DR600Instructions.td302 (cast<LoadSDNode>(N)->getAddressSpace() == AMDGPUASI.PARAM_I_ADDRESS); }]
312 return LD->getAddressSpace() == AMDGPUASI.GLOBAL_ADDRESS ||
313 (LD->getAddressSpace() == AMDGPUASI.CONSTANT_ADDRESS &&
325 return LD->getAddressSpace() == AMDGPUASI.CONSTANT_ADDRESS &&
DAMDGPUAsmPrinter.cpp101 AMDGPUASI = static_cast<AMDGPUTargetMachine*>(&TM)->getAMDGPUAS(); in AMDGPUAsmPrinter()
DAMDGPUISelLowering.cpp149 AMDGPUASI = AMDGPU::getAMDGPUAS(TM); in AMDGPUTargetLowering()
725 == AMDGPUASI.CONSTANT_ADDRESS_32BIT) in isSDNodeAlwaysUniform()
1191 if (G->getAddressSpace() == AMDGPUASI.LOCAL_ADDRESS || in LowerGlobalAddress()
1192 G->getAddressSpace() == AMDGPUASI.REGION_ADDRESS) { in LowerGlobalAddress()
DBUFInstructions.td26 return AS == AMDGPUASI.GLOBAL_ADDRESS ||
27 AS == AMDGPUASI.CONSTANT_ADDRESS;
DFLATInstructions.td329 [{return cast<MemSDNode>(N)->getAddressSpace() == AMDGPUASI.FLAT_ADDRESS;}]