Home
last modified time | relevance | path

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

12

/external/clang/include/clang/Basic/
DTargetInfo.h219 IntType getPtrDiffType(unsigned AddrSpace) const { in getPtrDiffType() argument
220 return AddrSpace == 0 ? PtrDiffType : getPtrDiffTypeV(AddrSpace); in getPtrDiffType()
279 uint64_t getPointerWidth(unsigned AddrSpace) const { in getPointerWidth() argument
280 return AddrSpace == 0 ? PointerWidth : getPointerWidthV(AddrSpace); in getPointerWidth()
282 uint64_t getPointerAlign(unsigned AddrSpace) const { in getPointerAlign() argument
283 return AddrSpace == 0 ? PointerAlign : getPointerAlignV(AddrSpace); in getPointerAlign()
935 virtual uint64_t getPointerWidthV(unsigned AddrSpace) const { in getPointerWidthV() argument
938 virtual uint64_t getPointerAlignV(unsigned AddrSpace) const { in getPointerAlignV() argument
941 virtual enum IntType getPtrDiffTypeV(unsigned AddrSpace) const { in getPtrDiffTypeV() argument
/external/llvm/include/llvm/IR/
DGetElementPtrTypeIterator.h32 unsigned AddrSpace; variable
42 static generic_gep_type_iterator begin(Type *Ty, unsigned AddrSpace, in begin() argument
47 I.AddrSpace = AddrSpace; in begin()
66 return CurTy.getPointer()->getPointerTo(AddrSpace);
DDataLayout.h154 void setPointerAlignment(uint32_t AddrSpace, unsigned ABIAlign,
DType.h413 PointerType *getPointerTo(unsigned AddrSpace = 0) const;
DDerivedTypes.h447 explicit PointerType(Type *ElType, unsigned AddrSpace);
/external/llvm/lib/CodeGen/
DGlobalMerge.cpp135 Module &M, bool isConst, unsigned AddrSpace) const;
140 unsigned AddrSpace) const;
193 Module &M, bool isConst, unsigned AddrSpace) const { in doMerge()
206 return doMerge(Globals, AllGlobals, M, isConst, AddrSpace); in doMerge()
379 return doMerge(Globals, AllGlobals, M, isConst, AddrSpace); in doMerge()
403 Changed |= doMerge(Globals, UGS.Globals, M, isConst, AddrSpace); in doMerge()
411 unsigned AddrSpace) const { in doMerge()
442 "_MergedGlobals", nullptr, GlobalVariable::NotThreadLocal, AddrSpace); in doMerge()
464 GlobalAlias::create(Tys[idx], AddrSpace, Linkage, Name, GEP, &M); in doMerge()
DCodeGenPrepare.cpp1848 unsigned AddrSpace = ~0u; in optimizeCallInst() local
1851 if (TLI->GetAddrModeArguments(II, PtrOps, AccessTy, AddrSpace)) in optimizeCallInst()
1853 if (optimizeMemoryInst(II, PtrOps.pop_back_val(), AccessTy, AddrSpace)) in optimizeCallInst()
2534 unsigned AddrSpace; member in __anonc96f24bb0211::AddressingModeMatcher
2561 DL(MI->getModule()->getDataLayout()), AccessTy(AT), AddrSpace(AS), in AddressingModeMatcher()
2630 if (!TLI.isLegalAddressingMode(DL, TestAddrMode, AccessTy, AddrSpace)) in matchScaledValue()
2647 if (TLI.isLegalAddressingMode(DL, TestAddrMode, AccessTy, AddrSpace)) { in matchScaledValue()
3208 TLI.isLegalAddressingMode(DL, AddrMode, AccessTy, AddrSpace)) { in matchOperationAddr()
3331 if (TLI.isLegalAddressingMode(DL, AddrMode, AccessTy, AddrSpace)) in matchAddr()
3338 if (TLI.isLegalAddressingMode(DL, AddrMode, AccessTy, AddrSpace)) in matchAddr()
[all …]
/external/llvm/lib/Target/NVPTX/
DNVPTXInstrInfo.cpp91 unsigned &AddrSpace) const { in isLoadInstr()
97 AddrSpace = getLdStCodeAddrSpace(MI); in isLoadInstr()
102 unsigned &AddrSpace) const { in isStoreInstr()
108 AddrSpace = getLdStCodeAddrSpace(MI); in isStoreInstr()
DNVPTXInstrInfo.h57 bool isLoadInstr(const MachineInstr &MI, unsigned &AddrSpace) const;
58 bool isStoreInstr(const MachineInstr &MI, unsigned &AddrSpace) const;
DNVPTXGenericToNVVM.cpp179 unsigned int AddrSpace = GVType->getAddressSpace(); in getOrInsertCVTA() local
180 Type *DestTy = PointerType::get(Type::getInt8Ty(Context), AddrSpace); in getOrInsertCVTA()
/external/llvm/include/llvm/Analysis/
DTargetTransformInfo.h313 unsigned AddrSpace = 0) const;
335 unsigned AddrSpace = 0) const;
572 unsigned AddrSpace) = 0;
579 int64_t Scale, unsigned AddrSpace) = 0;
695 unsigned AddrSpace) override { in isLegalAddressingMode() argument
697 Scale, AddrSpace); in isLegalAddressingMode()
713 unsigned AddrSpace) override { in getScalingFactorCost() argument
715 Scale, AddrSpace); in getScalingFactorCost()
DTargetTransformInfoImpl.h207 unsigned AddrSpace) { in isLegalAddressingMode() argument
222 bool HasBaseReg, int64_t Scale, unsigned AddrSpace) { in getScalingFactorCost() argument
225 Scale, AddrSpace)) in getScalingFactorCost()
/external/llvm/lib/IR/
DDataLayout.cpp253 unsigned AddrSpace = Tok.empty() ? 0 : getInt(Tok); in parseSpecifier() local
254 if (!isUInt<24>(AddrSpace)) in parseSpecifier()
286 setPointerAlignment(AddrSpace, PointerABIAlign, PointerPrefAlign, in parseSpecifier()
437 void DataLayout::setPointerAlignment(uint32_t AddrSpace, unsigned ABIAlign, in setPointerAlignment() argument
444 PointersTy::iterator I = findPointerLowerBound(AddrSpace); in setPointerAlignment()
445 if (I == Pointers.end() || I->AddressSpace != AddrSpace) { in setPointerAlignment()
446 Pointers.insert(I, PointerAlignElem::get(AddrSpace, ABIAlign, PrefAlign, in setPointerAlignment()
DType.cpp747 PointerType::PointerType(Type *E, unsigned AddrSpace) in PointerType() argument
752 setSubclassData(AddrSpace); in PointerType()
/external/llvm/lib/Analysis/
DTargetTransformInfo.cpp111 unsigned AddrSpace) const { in isLegalAddressingMode()
113 Scale, AddrSpace); in isLegalAddressingMode()
136 unsigned AddrSpace) const { in getScalingFactorCost()
138 Scale, AddrSpace); in getScalingFactorCost()
/external/llvm/utils/TableGen/
DIntrinsicEmitter.cpp351 unsigned AddrSpace = 0; in EncodeFixedType() local
353 AddrSpace = R->getValueAsInt("AddrSpace"); in EncodeFixedType()
354 assert(AddrSpace < 256 && "Address space exceeds 255"); in EncodeFixedType()
356 if (AddrSpace) { in EncodeFixedType()
358 Sig.push_back(AddrSpace); in EncodeFixedType()
/external/llvm/lib/Target/Mips/
DMips16ISelLowering.h25 bool allowsMisalignedMemoryAccesses(EVT VT, unsigned AddrSpace,
/external/llvm/include/llvm/CodeGen/
DBasicTTIImpl.h123 unsigned AddrSpace) { in isLegalAddressingMode() argument
129 return getTLI()->isLegalAddressingMode(DL, AM, Ty, AddrSpace); in isLegalAddressingMode()
133 bool HasBaseReg, int64_t Scale, unsigned AddrSpace) { in getScalingFactorCost() argument
139 return getTLI()->getScalingFactorCost(DL, AM, Ty, AddrSpace); in getScalingFactorCost()
/external/llvm/lib/Transforms/Scalar/
DNaryReassociate.cpp337 unsigned AddrSpace = GEP->getPointerAddressSpace(); in isGEPFoldable() local
339 BaseOffset, HasBaseReg, Scale, AddrSpace); in isGEPFoldable()
DLoopStrengthReduce.cpp113 unsigned AddrSpace; member
115 MemAccessTy() : MemTy(nullptr), AddrSpace(UnknownAddressSpace) {} in MemAccessTy()
118 MemTy(Ty), AddrSpace(AS) {} in MemAccessTy()
121 return MemTy == Other.MemTy && AddrSpace == Other.AddrSpace; in operator ==()
704 AccessTy.AddrSpace = SI->getPointerAddressSpace(); in getAccessType()
706 AccessTy.AddrSpace = LI->getPointerAddressSpace(); in getAccessType()
1348 OS << " in addrspace(" << AccessTy.AddrSpace << ')'; in print()
1379 HasBaseReg, Scale, AccessTy.AddrSpace); in isAMCompletelyFolded()
1506 F.Scale, LU.AccessTy.AddrSpace); in getScalingFactorCost()
1509 F.Scale, LU.AccessTy.AddrSpace); in getScalingFactorCost()
[all …]
DStraightLineStrengthReduce.cpp272 unsigned AddrSpace = GEP->getPointerAddressSpace(); in isGEPFoldable() local
274 BaseOffset, HasBaseReg, Scale, AddrSpace); in isGEPFoldable()
DSeparateConstOffsetFromGEP.cpp913 unsigned AddrSpace = GEP->getPointerAddressSpace(); in splitGEP() local
917 AddrSpace)) { in splitGEP()
/external/mesa3d/src/gallium/drivers/radeon/
DSIISelLowering.cpp339 unsigned AddrSpace = Ptr->getPointerInfo().getAddrSpace(); in LowerLOAD() local
342 if (AddrSpace != AMDGPUAS::USER_SGPR_ADDRESS) { in LowerLOAD()
/external/clang/lib/CodeGen/
DCodeGenModule.cpp1988 unsigned AddrSpace = GetGlobalVarAddressSpace(D, Ty->getAddressSpace()); in GetOrCreateLLVMGlobal() local
1992 llvm::GlobalVariable::NotThreadLocal, AddrSpace); in GetOrCreateLLVMGlobal()
2035 if (AddrSpace != Ty->getAddressSpace()) in GetOrCreateLLVMGlobal()
2161 unsigned AddrSpace) { in GetGlobalVarAddressSpace() argument
2164 AddrSpace = getContext().getTargetAddressSpace(LangAS::cuda_constant); in GetGlobalVarAddressSpace()
2166 AddrSpace = getContext().getTargetAddressSpace(LangAS::cuda_shared); in GetGlobalVarAddressSpace()
2168 AddrSpace = getContext().getTargetAddressSpace(LangAS::cuda_device); in GetGlobalVarAddressSpace()
2171 return AddrSpace; in GetGlobalVarAddressSpace()
3151 unsigned AddrSpace = 0; in GenerateStringLiteral() local
3153 AddrSpace = CGM.getContext().getTargetAddressSpace(LangAS::opencl_constant); in GenerateStringLiteral()
[all …]
/external/llvm/include/llvm/Target/
DTargetLowering.h279 unsigned AddrSpace) const { in storeOfVectorConstantIsCheap() argument
882 unsigned AddrSpace = 0,
893 unsigned AddrSpace = 0, unsigned Alignment = 1,
1452 unsigned AddrSpace = 0) const {
1482 Type *Ty, unsigned AddrSpace) const;

12