Home
last modified time | relevance | path

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

123

/third_party/skia/third_party/externals/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()
/third_party/skia/third_party/externals/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()
DAMDGPULegalizerInfo.h39 Register getSegmentAperture(unsigned AddrSpace,
103 MachineIRBuilder &B, unsigned AddrSpace) const;
/third_party/skia/third_party/externals/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()
/third_party/skia/third_party/externals/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()
/third_party/skia/third_party/externals/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 …]
DTargetTransformInfoImpl.h232 unsigned AddrSpace, Instruction *I = nullptr) {
289 bool hasVolatileVariant(Instruction *I, unsigned AddrSpace) { return false; } in hasVolatileVariant() argument
294 bool HasBaseReg, int64_t Scale, unsigned AddrSpace) { in getScalingFactorCost() argument
297 Scale, AddrSpace)) in getScalingFactorCost()
576 unsigned getLoadStoreVecRegBitWidth(unsigned AddrSpace) const { return 128; } in getLoadStoreVecRegBitWidth() argument
584 unsigned AddrSpace) const { in isLegalToVectorizeLoadChain() argument
590 unsigned AddrSpace) const { in isLegalToVectorizeStoreChain() argument
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/IR/
DDataLayout.cpp225 unsigned AddrSpace = getInt(R); in getAddrSpace() local
226 if (!isUInt<24>(AddrSpace)) in getAddrSpace()
228 return AddrSpace; in getAddrSpace()
274 unsigned AddrSpace = Tok.empty() ? 0 : getInt(Tok); in parseSpecifier() local
275 if (!isUInt<24>(AddrSpace)) in parseSpecifier()
318 setPointerAlignment(AddrSpace, assumeAligned(PointerABIAlign), in parseSpecifier()
519 void DataLayout::setPointerAlignment(uint32_t AddrSpace, Align ABIAlign, in setPointerAlignment() argument
526 PointersTy::iterator I = findPointerLowerBound(AddrSpace); in setPointerAlignment()
527 if (I == Pointers.end() || I->AddressSpace != AddrSpace) { in setPointerAlignment()
528 Pointers.insert(I, PointerAlignElem::get(AddrSpace, ABIAlign, PrefAlign, in setPointerAlignment()
DFunction.cpp252 static unsigned computeAddrSpace(unsigned AddrSpace, Module *M) { in computeAddrSpace() argument
255 if (AddrSpace == static_cast<unsigned>(-1)) in computeAddrSpace()
257 return AddrSpace; in computeAddrSpace()
260 Function::Function(FunctionType *Ty, LinkageTypes Linkage, unsigned AddrSpace, in Function() argument
264 computeAddrSpace(AddrSpace, ParentModule)), in Function()
DInstructions.cpp1210 AllocaInst::AllocaInst(Type *Ty, unsigned AddrSpace, const Twine &Name, in AllocaInst() argument
1212 : AllocaInst(Ty, AddrSpace, /*ArraySize=*/nullptr, Name, InsertBefore) {} in AllocaInst()
1214 AllocaInst::AllocaInst(Type *Ty, unsigned AddrSpace, const Twine &Name, in AllocaInst() argument
1216 : AllocaInst(Ty, AddrSpace, /*ArraySize=*/nullptr, Name, InsertAtEnd) {} in AllocaInst()
1218 AllocaInst::AllocaInst(Type *Ty, unsigned AddrSpace, Value *ArraySize, in AllocaInst() argument
1220 : AllocaInst(Ty, AddrSpace, ArraySize, /*Align=*/None, Name, InsertBefore) { in AllocaInst()
1223 AllocaInst::AllocaInst(Type *Ty, unsigned AddrSpace, Value *ArraySize, in AllocaInst() argument
1225 : AllocaInst(Ty, AddrSpace, ArraySize, /*Align=*/None, Name, InsertAtEnd) {} in AllocaInst()
1227 AllocaInst::AllocaInst(Type *Ty, unsigned AddrSpace, Value *ArraySize, in AllocaInst() argument
1230 : UnaryInstruction(PointerType::get(Ty, AddrSpace), Alloca, in AllocaInst()
[all …]
DType.cpp652 PointerType::PointerType(Type *E, unsigned AddrSpace) in PointerType() argument
656 setSubclassData(AddrSpace); in PointerType()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/GlobalISel/
DLegalityPredicates.cpp87 unsigned AddrSpace) { in isPointer() argument
90 return Ty.isPointer() && Ty.getAddressSpace() == AddrSpace; in isPointer()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/
DTargetTransformInfo.cpp270 unsigned AddrSpace, in isLegalAddressingMode() argument
273 Scale, AddrSpace, I); in isLegalAddressingMode()
341 unsigned AddrSpace) const { in hasVolatileVariant()
342 return TTIImpl->hasVolatileVariant(I, AddrSpace); in hasVolatileVariant()
353 unsigned AddrSpace) const { in getScalingFactorCost()
355 Scale, AddrSpace); in getScalingFactorCost()
817 unsigned ChainSizeInBytes, unsigned Alignment, unsigned AddrSpace) const { in isLegalToVectorizeLoadChain()
819 AddrSpace); in isLegalToVectorizeLoadChain()
823 unsigned ChainSizeInBytes, unsigned Alignment, unsigned AddrSpace) const { in isLegalToVectorizeStoreChain()
825 AddrSpace); in isLegalToVectorizeStoreChain()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/IR/
DDataLayout.h180 void setPointerAlignment(uint32_t AddrSpace, Align ABIAlign, Align PrefAlign,
375 bool isNonIntegralAddressSpace(unsigned AddrSpace) const { in isNonIntegralAddressSpace() argument
377 return find(NonIntegralSpaces, AddrSpace) != NonIntegralSpaces.end(); in isNonIntegralAddressSpace()
DFunction.h122 Function(FunctionType *Ty, LinkageTypes Linkage, unsigned AddrSpace,
136 unsigned AddrSpace, const Twine &N = "",
138 return new Function(Ty, Linkage, AddrSpace, N, M);
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Mips/
DMips16ISelLowering.h24 bool allowsMisalignedMemoryAccesses(EVT VT, unsigned AddrSpace,
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/AsmParser/
DLLParser.h270 bool ParseOptionalAddrSpace(unsigned &AddrSpace, unsigned DefaultAS = 0);
271 bool ParseOptionalProgramAddrSpace(unsigned &AddrSpace) { in ParseOptionalProgramAddrSpace() argument
273 AddrSpace, M->getDataLayout().getProgramAddressSpace()); in ParseOptionalProgramAddrSpace()
292 bool ParseOptionalCommaAddrSpace(unsigned &AddrSpace, LocTy &Loc,
DLLParser.cpp923 unsigned AddrSpace = PTy->getAddressSpace(); in parseIndirectSymbol() local
956 GA.reset(GlobalAlias::create(Ty, AddrSpace, in parseIndirectSymbol()
960 GA.reset(GlobalIFunc::create(Ty, AddrSpace, in parseIndirectSymbol()
1035 unsigned AddrSpace; in ParseGlobal() local
1041 if (ParseOptionalAddrSpace(AddrSpace) || in ParseGlobal()
1083 AddrSpace); in ParseGlobal()
1568 bool LLParser::ParseOptionalAddrSpace(unsigned &AddrSpace, unsigned DefaultAS) { in ParseOptionalAddrSpace() argument
1569 AddrSpace = DefaultAS; in ParseOptionalAddrSpace()
1573 ParseUInt32(AddrSpace) || in ParseOptionalAddrSpace()
2154 bool LLParser::ParseOptionalCommaAddrSpace(unsigned &AddrSpace, in ParseOptionalCommaAddrSpace() argument
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/CodeGen/GlobalISel/
DInstructionSelectorImpl.h396 unsigned AddrSpace = MatchTable[CurrentIdx++]; in executeMatchTable() local
400 << AddrSpace << '\n'); in executeMatchTable()
402 if (AddrSpace == MMOAddrSpace) { in executeMatchTable()
551 const unsigned AddrSpace = Ty.getAddressSpace(); in executeMatchTable() local
552 SizeInBits = MF->getDataLayout().getPointerSizeInBits(AddrSpace); in executeMatchTable()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/WebAssembly/
DWebAssemblyISelLowering.h70 bool allowsMisalignedMemoryAccesses(EVT, unsigned AddrSpace, unsigned Align,
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Scalar/
DLoopStrengthReduce.cpp189 unsigned AddrSpace = UnknownAddressSpace; member
192 MemAccessTy(Type *Ty, unsigned AS) : MemTy(Ty), AddrSpace(AS) {} in MemAccessTy()
195 return MemTy == Other.MemTy && AddrSpace == Other.AddrSpace; in operator ==()
843 AccessTy.AddrSpace = SI->getPointerAddressSpace(); in getAccessType()
845 AccessTy.AddrSpace = LI->getPointerAddressSpace(); in getAccessType()
847 AccessTy.AddrSpace = RMW->getPointerAddressSpace(); in getAccessType()
849 AccessTy.AddrSpace = CmpX->getPointerAddressSpace(); in getAccessType()
854 AccessTy.AddrSpace = II->getArgOperand(0)->getType()->getPointerAddressSpace(); in getAccessType()
859 AccessTy.AddrSpace = OperandVal->getType()->getPointerAddressSpace(); in getAccessType()
865 AccessTy.AddrSpace in getAccessType()
[all …]

123