Searched defs:AddressSpace (Results 1 - 25 of 27) sorted by relevance

12

/external/llvm/include/llvm/IR/
H A DGlobalValue.h69 LinkageTypes Linkage, const Twine &Name, unsigned AddressSpace)
70 : Constant(PointerType::get(Ty, AddressSpace), VTy, Ops, NumOps),
68 GlobalValue(Type *Ty, ValueTy VTy, Use *Ops, unsigned NumOps, LinkageTypes Linkage, const Twine &Name, unsigned AddressSpace) argument
H A DDataLayout.h90 uint32_t AddressSpace; member in struct:llvm::PointerAlignElem
93 static PointerAlignElem get(uint32_t AddressSpace, unsigned ABIAlign,
133 findPointerLowerBound(uint32_t AddressSpace) const {
134 return const_cast<DataLayout *>(this)->findPointerLowerBound(AddressSpace);
137 PointersTy::iterator findPointerLowerBound(uint32_t AddressSpace);
421 IntegerType *getIntPtrType(LLVMContext &C, unsigned AddressSpace = 0) const;
/external/llvm/lib/Target/NVPTX/MCTargetDesc/
H A DNVPTXBaseInfo.h22 enum AddressSpace { enum in namespace:llvm
/external/llvm/lib/CodeGen/
H A DStackProtector.cpp336 unsigned AddressSpace, Offset; local
337 if (TLI->getStackCookieLocation(AddressSpace, Offset)) {
343 AddressSpace));
H A DGlobalMerge.cpp535 unsigned AddressSpace = PT->getAddressSpace(); local
554 BSSGlobals[AddressSpace].push_back(&GV);
556 ConstGlobals[AddressSpace].push_back(&GV);
558 Globals[AddressSpace].push_back(&GV);
/external/llvm/lib/IR/
H A DDataLayout.cpp129 PointerAlignElem::get(uint32_t AddressSpace, unsigned ABIAlign, argument
133 retval.AddressSpace = AddressSpace;
143 && AddressSpace == rhs.AddressSpace
430 DataLayout::findPointerLowerBound(uint32_t AddressSpace) { argument
431 return std::lower_bound(Pointers.begin(), Pointers.end(), AddressSpace,
432 [](const PointerAlignElem &A, uint32_t AddressSpace) {
433 return A.AddressSpace < AddressSpace;
[all...]
H A DGlobals.cpp143 ThreadLocalMode TLMode, unsigned AddressSpace,
147 InitVal != nullptr, Link, Name, AddressSpace),
161 ThreadLocalMode TLMode, unsigned AddressSpace,
165 InitVal != nullptr, Link, Name, AddressSpace),
229 GlobalAlias::GlobalAlias(Type *Ty, unsigned AddressSpace, LinkageTypes Link, argument
233 AddressSpace) {
240 GlobalAlias *GlobalAlias::create(Type *Ty, unsigned AddressSpace, argument
243 return new GlobalAlias(Ty, AddressSpace, Link, Name, Aliasee, ParentModule);
246 GlobalAlias *GlobalAlias::create(Type *Ty, unsigned AddressSpace, argument
249 return create(Ty, AddressSpace, Linkag
141 GlobalVariable(Type *Ty, bool constant, LinkageTypes Link, Constant *InitVal, const Twine &Name, ThreadLocalMode TLMode, unsigned AddressSpace, bool isExternallyInitialized) argument
158 GlobalVariable(Module &M, Type *Ty, bool constant, LinkageTypes Link, Constant *InitVal, const Twine &Name, GlobalVariable *Before, ThreadLocalMode TLMode, unsigned AddressSpace, bool isExternallyInitialized) argument
252 create(Type *Ty, unsigned AddressSpace, LinkageTypes Linkage, const Twine &Name, GlobalValue *Aliasee) argument
[all...]
H A DIRBuilder.cpp29 unsigned AddressSpace) {
36 AddressSpace);
27 CreateGlobalString(StringRef Str, const Twine &Name, unsigned AddressSpace) argument
H A DType.cpp731 PointerType *PointerType::get(Type *EltTy, unsigned AddressSpace) { argument
737 // Since AddressSpace #0 is the common case, we special case it.
738 PointerType *&Entry = AddressSpace == 0 ? CImpl->PointerTypes[EltTy]
739 : CImpl->ASPointerTypes[std::make_pair(EltTy, AddressSpace)];
742 Entry = new (CImpl->TypeAllocator) PointerType(EltTy, AddressSpace);
H A DAsmWriter.cpp508 if (unsigned AddressSpace = PTy->getAddressSpace())
509 OS << " addrspace(" << AddressSpace << ')'; local
2415 if (unsigned AddressSpace = GV->getType()->getAddressSpace())
2416 Out << "addrspace(" << AddressSpace << ") "; local
/external/llvm/lib/Target/ARM/
H A DARMTargetTransformInfo.cpp460 unsigned AddressSpace) {
476 unsigned AddressSpace) {
494 Alignment, AddressSpace);
459 getMemoryOpCost(unsigned Opcode, Type *Src, unsigned Alignment, unsigned AddressSpace) argument
472 getInterleavedMemoryOpCost(unsigned Opcode, Type *VecTy, unsigned Factor, ArrayRef<unsigned> Indices, unsigned Alignment, unsigned AddressSpace) argument
/external/llvm/lib/Target/PowerPC/
H A DPPCTargetTransformInfo.cpp334 unsigned AddressSpace) {
340 int Cost = BaseT::getMemoryOpCost(Opcode, Src, Alignment, AddressSpace);
394 unsigned AddressSpace) {
402 int Cost = getMemoryOpCost(Opcode, VecTy, Alignment, AddressSpace);
333 getMemoryOpCost(unsigned Opcode, Type *Src, unsigned Alignment, unsigned AddressSpace) argument
390 getInterleavedMemoryOpCost(unsigned Opcode, Type *VecTy, unsigned Factor, ArrayRef<unsigned> Indices, unsigned Alignment, unsigned AddressSpace) argument
/external/llvm/lib/Transforms/Scalar/
H A DLoadCombine.cpp195 unsigned AddressSpace = local
201 Builder->getInt8PtrTy(AddressSpace)),
/external/llvm/lib/Target/AArch64/
H A DAArch64TargetTransformInfo.cpp412 unsigned Alignment, unsigned AddressSpace) {
444 unsigned AddressSpace) {
459 Alignment, AddressSpace);
411 getMemoryOpCost(unsigned Opcode, Type *Src, unsigned Alignment, unsigned AddressSpace) argument
440 getInterleavedMemoryOpCost(unsigned Opcode, Type *VecTy, unsigned Factor, ArrayRef<unsigned> Indices, unsigned Alignment, unsigned AddressSpace) argument
/external/llvm/lib/Target/NVPTX/
H A DNVPTX.h101 enum AddressSpace { enum in namespace:llvm::NVPTX::PTXLdStInstCode
H A DNVPTXAsmPrinter.cpp1279 void NVPTXAsmPrinter::emitPTXAddressSpace(unsigned int AddressSpace, argument
1281 switch (AddressSpace) {
/external/llvm/lib/Target/X86/
H A DX86TargetTransformInfo.cpp952 unsigned AddressSpace) {
971 AddressSpace);
996 unsigned AddressSpace) {
1000 return getMemoryOpCost(Opcode, SrcTy, Alignment, AddressSpace);
1019 Alignment, AddressSpace);
951 getMemoryOpCost(unsigned Opcode, Type *Src, unsigned Alignment, unsigned AddressSpace) argument
994 getMaskedMemoryOpCost(unsigned Opcode, Type *SrcTy, unsigned Alignment, unsigned AddressSpace) argument
H A DX86ISelLowering.cpp2117 bool X86TargetLowering::getStackCookieLocation(unsigned &AddressSpace, argument
2126 AddressSpace = 256;
2128 AddressSpace = 257;
2132 AddressSpace = 256;
2144 unsigned AddressSpace, Offset; local
2149 AddressSpace = 256;
2151 AddressSpace = 257;
2155 AddressSpace = 256;
2160 Type::getInt8PtrTy(IRB.getContext())->getPointerTo(AddressSpace));
[all...]
/external/llvm/include/llvm/Analysis/
H A DTargetTransformInfoImpl.h298 unsigned AddressSpace) {
303 unsigned AddressSpace) {
311 unsigned AddressSpace) {
297 getMemoryOpCost(unsigned Opcode, Type *Src, unsigned Alignment, unsigned AddressSpace) argument
302 getMaskedMemoryOpCost(unsigned Opcode, Type *Src, unsigned Alignment, unsigned AddressSpace) argument
307 getInterleavedMemoryOpCost(unsigned Opcode, Type *VecTy, unsigned Factor, ArrayRef<unsigned> Indices, unsigned Alignment, unsigned AddressSpace) argument
/external/llvm/include/llvm/CodeGen/
H A DBasicTTIImpl.h482 unsigned AddressSpace) {
516 unsigned AddressSpace) {
528 Opcode, VecTy, Alignment, AddressSpace);
481 getMemoryOpCost(unsigned Opcode, Type *Src, unsigned Alignment, unsigned AddressSpace) argument
512 getInterleavedMemoryOpCost(unsigned Opcode, Type *VecTy, unsigned Factor, ArrayRef<unsigned> Indices, unsigned Alignment, unsigned AddressSpace) argument
/external/llvm/lib/Bitcode/Writer/
H A DBitcodeWriter.cpp429 unsigned AddressSpace = PTy->getAddressSpace(); local
430 TypeVals.push_back(AddressSpace);
431 if (AddressSpace == 0) AbbrevToUse = PtrAbbrev;
/external/llvm/lib/Target/AMDGPU/
H A DR600ISelLowering.cpp1429 ConstantAddressBlock(unsigned AddressSpace) { argument
1430 switch (AddressSpace) {
/external/llvm/lib/Bitcode/Reader/
H A DBitcodeReader.cpp1518 unsigned AddressSpace = 0; local
1520 AddressSpace = Record[1];
1525 ResultTy = PointerType::get(ResultTy, AddressSpace);
3455 unsigned AddressSpace; local
3457 AddressSpace = Record[1] >> 2;
3461 AddressSpace = cast<PointerType>(Ty)->getAddressSpace();
3496 TLM, AddressSpace, ExternallyInitialized);
/external/llvm/bindings/ocaml/llvm/
H A Dllvm_ocaml.c413 value AddressSpace) {
414 return LLVMPointerType(ElementTy, Int_val(AddressSpace));
1053 value AddressSpace,
1059 LLVMPointerType(Ty, Int_val(AddressSpace)));
1063 Int_val(AddressSpace));
1090 value AddressSpace,
1095 Int_val(AddressSpace));
412 llvm_qualified_pointer_type(LLVMTypeRef ElementTy, value AddressSpace) argument
1052 llvm_declare_qualified_global(LLVMTypeRef Ty, value Name, value AddressSpace, LLVMModuleRef M) argument
1088 llvm_define_qualified_global(value Name, LLVMValueRef Initializer, value AddressSpace, LLVMModuleRef M) argument
/external/llvm/lib/Transforms/Vectorize/
H A DLoopVectorize.cpp2371 unsigned AddressSpace = Ptr->getType()->getPointerAddressSpace(); local
2474 DataTy->getPointerTo(AddressSpace));
2505 DataTy->getPointerTo(AddressSpace));

Completed in 1391 milliseconds

12