Home
last modified time | relevance | path

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

12

/external/clang/include/clang/Basic/
DTargetInfo.h212 IntType getPtrDiffType(unsigned AddrSpace) const { in getPtrDiffType() argument
213 return AddrSpace == 0 ? PtrDiffType : getPtrDiffTypeV(AddrSpace); in getPtrDiffType()
271 uint64_t getPointerWidth(unsigned AddrSpace) const { in getPointerWidth() argument
272 return AddrSpace == 0 ? PointerWidth : getPointerWidthV(AddrSpace); in getPointerWidth()
274 uint64_t getPointerAlign(unsigned AddrSpace) const { in getPointerAlign() argument
275 return AddrSpace == 0 ? PointerAlign : getPointerAlignV(AddrSpace); in getPointerAlign()
869 virtual uint64_t getPointerWidthV(unsigned AddrSpace) const { in getPointerWidthV() argument
872 virtual uint64_t getPointerAlignV(unsigned AddrSpace) const { in getPointerAlignV() argument
875 virtual enum IntType getPtrDiffTypeV(unsigned AddrSpace) const { in getPtrDiffTypeV() argument
/external/llvm/lib/Target/NVPTX/
DNVPTXInstrInfo.h57 bool isLoadInstr(const MachineInstr &MI, unsigned &AddrSpace) const;
58 bool isStoreInstr(const MachineInstr &MI, unsigned &AddrSpace) const;
DNVPTXInstrInfo.cpp111 unsigned &AddrSpace) const { in isLoadInstr()
117 AddrSpace = getLdStCodeAddrSpace(MI); in isLoadInstr()
122 unsigned &AddrSpace) const { in isStoreInstr()
128 AddrSpace = getLdStCodeAddrSpace(MI); in isStoreInstr()
DNVPTXGenericToNVVM.cpp181 unsigned int AddrSpace = GVType->getAddressSpace(); in getOrInsertCVTA() local
182 Type *DestTy = PointerType::get(Type::getInt8Ty(Context), AddrSpace); in getOrInsertCVTA()
/external/llvm/lib/IR/
DDataLayout.cpp248 unsigned AddrSpace = Tok.empty() ? 0 : getInt(Tok); in parseSpecifier() local
249 if (!isUInt<24>(AddrSpace)) in parseSpecifier()
281 setPointerAlignment(AddrSpace, PointerABIAlign, PointerPrefAlign, in parseSpecifier()
432 void DataLayout::setPointerAlignment(uint32_t AddrSpace, unsigned ABIAlign, in setPointerAlignment() argument
439 PointersTy::iterator I = findPointerLowerBound(AddrSpace); in setPointerAlignment()
440 if (I == Pointers.end() || I->AddressSpace != AddrSpace) { in setPointerAlignment()
441 Pointers.insert(I, PointerAlignElem::get(AddrSpace, ABIAlign, PrefAlign, in setPointerAlignment()
DType.cpp749 PointerType::PointerType(Type *E, unsigned AddrSpace) in PointerType() argument
754 setSubclassData(AddrSpace); in PointerType()
/external/llvm/lib/CodeGen/
DGlobalMerge.cpp106 Module &M, bool isConst, unsigned AddrSpace) const;
156 Module &M, bool isConst, unsigned AddrSpace) const { in doMerge()
216 nullptr, GlobalVariable::NotThreadLocal, AddrSpace); in doMerge()
/external/llvm/utils/TableGen/
DIntrinsicEmitter.cpp350 unsigned AddrSpace = 0; in EncodeFixedType() local
352 AddrSpace = R->getValueAsInt("AddrSpace"); in EncodeFixedType()
353 assert(AddrSpace < 256 && "Address space exceeds 255"); in EncodeFixedType()
355 if (AddrSpace) { in EncodeFixedType()
357 Sig.push_back(AddrSpace); in EncodeFixedType()
/external/llvm/lib/Target/Mips/
DMips16ISelLowering.h25 bool allowsMisalignedMemoryAccesses(EVT VT, unsigned AddrSpace,
/external/clang/lib/CodeGen/
DCodeGenModule.cpp1757 unsigned AddrSpace = GetGlobalVarAddressSpace(D, Ty->getAddressSpace()); in GetOrCreateLLVMGlobal() local
1761 llvm::GlobalVariable::NotThreadLocal, AddrSpace); in GetOrCreateLLVMGlobal()
1802 if (AddrSpace != Ty->getAddressSpace()) in GetOrCreateLLVMGlobal()
1901 unsigned AddrSpace) { in GetGlobalVarAddressSpace() argument
1904 AddrSpace = getContext().getTargetAddressSpace(LangAS::cuda_constant); in GetGlobalVarAddressSpace()
1906 AddrSpace = getContext().getTargetAddressSpace(LangAS::cuda_shared); in GetGlobalVarAddressSpace()
1908 AddrSpace = getContext().getTargetAddressSpace(LangAS::cuda_device); in GetGlobalVarAddressSpace()
1911 return AddrSpace; in GetGlobalVarAddressSpace()
2906 unsigned AddrSpace = 0; in GenerateStringLiteral() local
2908 AddrSpace = CGM.getContext().getTargetAddressSpace(LangAS::opencl_constant); in GenerateStringLiteral()
[all …]
DCGDecl.cpp191 unsigned AddrSpace = in getOrCreateStaticVarDecl() local
206 AddrSpace); in getOrCreateStaticVarDecl()
226 if (AddrSpace != ExpectedAddrSpace) { in getOrCreateStaticVarDecl()
DCGBuiltin.cpp95 unsigned AddrSpace = DestPtr->getType()->getPointerAddressSpace(); in EmitBinaryAtomic() local
100 llvm::Type *IntPtrType = IntType->getPointerTo(AddrSpace); in EmitBinaryAtomic()
130 unsigned AddrSpace = DestPtr->getType()->getPointerAddressSpace(); in EmitBinaryAtomicPost() local
135 llvm::Type *IntPtrType = IntType->getPointerTo(AddrSpace); in EmitBinaryAtomicPost()
1050 unsigned AddrSpace = DestPtr->getType()->getPointerAddressSpace(); in EmitBuiltinExpr() local
1055 llvm::Type *IntPtrType = IntType->getPointerTo(AddrSpace); in EmitBuiltinExpr()
1079 unsigned AddrSpace = DestPtr->getType()->getPointerAddressSpace(); in EmitBuiltinExpr() local
1084 llvm::Type *IntPtrType = IntType->getPointerTo(AddrSpace); in EmitBuiltinExpr()
1176 unsigned AddrSpace = Ptr->getType()->getPointerAddressSpace(); in EmitBuiltinExpr() local
1177 Ptr = Builder.CreateBitCast(Ptr, Int8Ty->getPointerTo(AddrSpace)); in EmitBuiltinExpr()
[all …]
DCodeGenModule.h705 unsigned GetGlobalVarAddressSpace(const VarDecl *D, unsigned AddrSpace);
/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/llvm/include/llvm/IR/
DDataLayout.h154 void setPointerAlignment(uint32_t AddrSpace, unsigned ABIAlign,
DDerivedTypes.h451 explicit PointerType(Type *ElType, unsigned AddrSpace);
DType.h419 PointerType *getPointerTo(unsigned AddrSpace = 0);
DIRBuilder.h350 PointerType *getInt8PtrTy(unsigned AddrSpace = 0) {
351 return Type::getInt8PtrTy(Context, AddrSpace);
355 IntegerType *getIntPtrTy(const DataLayout &DL, unsigned AddrSpace = 0) {
356 return DL.getIntPtrType(Context, AddrSpace);
/external/llvm/lib/AsmParser/
DLLParser.cpp666 unsigned AddrSpace = PTy->getAddressSpace(); in ParseAlias() local
670 GlobalAlias::create(Ty, AddrSpace, (GlobalValue::LinkageTypes)Linkage, in ParseAlias()
730 unsigned AddrSpace; in ParseGlobal() local
736 if (ParseOptionalAddrSpace(AddrSpace) || in ParseGlobal()
778 AddrSpace); in ParseGlobal()
1194 bool LLParser::ParseOptionalAddrSpace(unsigned &AddrSpace) { in ParseOptionalAddrSpace() argument
1195 AddrSpace = 0; in ParseOptionalAddrSpace()
1199 ParseUInt32(AddrSpace) || in ParseOptionalAddrSpace()
1767 unsigned AddrSpace; in ParseType() local
1768 if (ParseOptionalAddrSpace(AddrSpace) || in ParseType()
[all …]
DLLParser.h215 bool ParseOptionalAddrSpace(unsigned &AddrSpace);
/external/llvm/lib/Target/AArch64/
DAArch64ISelLowering.h240 bool allowsMisalignedMemoryAccesses(EVT VT, unsigned AddrSpace = 0,
/external/llvm/lib/Target/R600/
DSIISelLowering.cpp298 unsigned AddrSpace, in allowsMisalignedMemoryAccesses() argument
315 if (AddrSpace == AMDGPUAS::LOCAL_ADDRESS) { in allowsMisalignedMemoryAccesses()
1393 unsigned AddrSpace, in performSHLPtrCombine() argument
1412 if (!canFoldOffset(Offset.getZExtValue(), AddrSpace, *Subtarget)) in performSHLPtrCombine()
/external/llvm/lib/Target/ARM/
DARMISelLowering.h268 bool allowsMisalignedMemoryAccesses(EVT VT, unsigned AddrSpace,
/external/llvm/lib/Target/PowerPC/
DPPCISelLowering.h598 unsigned AddrSpace,
/external/llvm/lib/Target/X86/
DX86ISelDAGToDAG.cpp1339 unsigned AddrSpace = in SelectAddr() local
1342 if (AddrSpace == 256) in SelectAddr()
1344 if (AddrSpace == 257) in SelectAddr()

12