/external/clang/include/clang/Basic/ |
D | TargetInfo.h | 212 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/ |
D | NVPTXInstrInfo.h | 57 bool isLoadInstr(const MachineInstr &MI, unsigned &AddrSpace) const; 58 bool isStoreInstr(const MachineInstr &MI, unsigned &AddrSpace) const;
|
D | NVPTXInstrInfo.cpp | 111 unsigned &AddrSpace) const { in isLoadInstr() 117 AddrSpace = getLdStCodeAddrSpace(MI); in isLoadInstr() 122 unsigned &AddrSpace) const { in isStoreInstr() 128 AddrSpace = getLdStCodeAddrSpace(MI); in isStoreInstr()
|
D | NVPTXGenericToNVVM.cpp | 181 unsigned int AddrSpace = GVType->getAddressSpace(); in getOrInsertCVTA() local 182 Type *DestTy = PointerType::get(Type::getInt8Ty(Context), AddrSpace); in getOrInsertCVTA()
|
/external/llvm/lib/IR/ |
D | DataLayout.cpp | 248 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()
|
D | Type.cpp | 749 PointerType::PointerType(Type *E, unsigned AddrSpace) in PointerType() argument 754 setSubclassData(AddrSpace); in PointerType()
|
/external/llvm/lib/CodeGen/ |
D | GlobalMerge.cpp | 106 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/ |
D | IntrinsicEmitter.cpp | 350 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/ |
D | Mips16ISelLowering.h | 25 bool allowsMisalignedMemoryAccesses(EVT VT, unsigned AddrSpace,
|
/external/clang/lib/CodeGen/ |
D | CodeGenModule.cpp | 1757 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 …]
|
D | CGDecl.cpp | 191 unsigned AddrSpace = in getOrCreateStaticVarDecl() local 206 AddrSpace); in getOrCreateStaticVarDecl() 226 if (AddrSpace != ExpectedAddrSpace) { in getOrCreateStaticVarDecl()
|
D | CGBuiltin.cpp | 95 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 …]
|
D | CodeGenModule.h | 705 unsigned GetGlobalVarAddressSpace(const VarDecl *D, unsigned AddrSpace);
|
/external/mesa3d/src/gallium/drivers/radeon/ |
D | SIISelLowering.cpp | 339 unsigned AddrSpace = Ptr->getPointerInfo().getAddrSpace(); in LowerLOAD() local 342 if (AddrSpace != AMDGPUAS::USER_SGPR_ADDRESS) { in LowerLOAD()
|
/external/llvm/include/llvm/IR/ |
D | DataLayout.h | 154 void setPointerAlignment(uint32_t AddrSpace, unsigned ABIAlign,
|
D | DerivedTypes.h | 451 explicit PointerType(Type *ElType, unsigned AddrSpace);
|
D | Type.h | 419 PointerType *getPointerTo(unsigned AddrSpace = 0);
|
D | IRBuilder.h | 350 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/ |
D | LLParser.cpp | 666 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 …]
|
D | LLParser.h | 215 bool ParseOptionalAddrSpace(unsigned &AddrSpace);
|
/external/llvm/lib/Target/AArch64/ |
D | AArch64ISelLowering.h | 240 bool allowsMisalignedMemoryAccesses(EVT VT, unsigned AddrSpace = 0,
|
/external/llvm/lib/Target/R600/ |
D | SIISelLowering.cpp | 298 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/ |
D | ARMISelLowering.h | 268 bool allowsMisalignedMemoryAccesses(EVT VT, unsigned AddrSpace,
|
/external/llvm/lib/Target/PowerPC/ |
D | PPCISelLowering.h | 598 unsigned AddrSpace,
|
/external/llvm/lib/Target/X86/ |
D | X86ISelDAGToDAG.cpp | 1339 unsigned AddrSpace = in SelectAddr() local 1342 if (AddrSpace == 256) in SelectAddr() 1344 if (AddrSpace == 257) in SelectAddr()
|