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

/external/llvm/lib/Target/NVPTX/MCTargetDesc/
H A DNVPTXBaseInfo.h22 enum AddressSpace { enum in namespace:llvm
/external/llvm/lib/CodeGen/
H A DGlobalMerge.cpp304 unsigned AddressSpace = PT->getAddressSpace(); local
323 BSSGlobals[AddressSpace].push_back(I);
325 ConstGlobals[AddressSpace].push_back(I);
327 Globals[AddressSpace].push_back(I);
H A DStackProtector.cpp341 unsigned AddressSpace, Offset; local
342 if (TLI->getStackCookieLocation(AddressSpace, Offset)) {
347 OffsetVal, PointerType::get(PtrTy, AddressSpace));
/external/llvm/lib/IR/
H A DDataLayout.cpp129 PointerAlignElem::get(uint32_t AddressSpace, unsigned ABIAlign, argument
133 retval.AddressSpace = AddressSpace;
143 && AddressSpace == rhs.AddressSpace
386 DataLayout::findPointerLowerBound(uint32_t AddressSpace) {
387 return std::lower_bound(Pointers.begin(), Pointers.end(), AddressSpace,
388 [](const PointerAlignElem &A, uint32_t AddressSpace) {
389 return A.AddressSpace < AddressSpace;
[all...]
H A DGlobals.cpp133 ThreadLocalMode TLMode, unsigned AddressSpace,
135 : GlobalObject(PointerType::get(Ty, AddressSpace), Value::GlobalVariableVal,
153 ThreadLocalMode TLMode, unsigned AddressSpace,
155 : GlobalObject(PointerType::get(Ty, AddressSpace), Value::GlobalVariableVal,
240 GlobalAlias::GlobalAlias(Type *Ty, unsigned AddressSpace, LinkageTypes Link, argument
243 : GlobalValue(PointerType::get(Ty, AddressSpace), Value::GlobalAliasVal,
252 GlobalAlias *GlobalAlias::create(Type *Ty, unsigned AddressSpace, argument
255 return new GlobalAlias(Ty, AddressSpace, Link, Name, Aliasee, ParentModule);
258 GlobalAlias *GlobalAlias::create(Type *Ty, unsigned AddressSpace, argument
261 return create(Ty, AddressSpace, Linkag
131 GlobalVariable(Type *Ty, bool constant, LinkageTypes Link, Constant *InitVal, const Twine &Name, ThreadLocalMode TLMode, unsigned AddressSpace, bool isExternallyInitialized) argument
150 GlobalVariable(Module &M, Type *Ty, bool constant, LinkageTypes Link, Constant *InitVal, const Twine &Name, GlobalVariable *Before, ThreadLocalMode TLMode, unsigned AddressSpace, bool isExternallyInitialized) argument
264 create(Type *Ty, unsigned AddressSpace, LinkageTypes Linkage, const Twine &Name, GlobalValue *Aliasee) argument
[all...]
H A DType.cpp727 PointerType *PointerType::get(Type *EltTy, unsigned AddressSpace) { argument
733 // Since AddressSpace #0 is the common case, we special case it.
734 PointerType *&Entry = AddressSpace == 0 ? CImpl->PointerTypes[EltTy]
735 : CImpl->ASPointerTypes[std::make_pair(EltTy, AddressSpace)];
738 Entry = new (CImpl->TypeAllocator) PointerType(EltTy, AddressSpace);
H A DAsmWriter.cpp248 if (unsigned AddressSpace = PTy->getAddressSpace())
249 OS << " addrspace(" << AddressSpace << ')'; local
1475 if (unsigned AddressSpace = GV->getType()->getAddressSpace())
1476 Out << "addrspace(" << AddressSpace << ") "; local
H A DCore.cpp474 LLVMTypeRef LLVMPointerType(LLVMTypeRef ElementType, unsigned AddressSpace) { argument
475 return wrap(PointerType::get(unwrap(ElementType), AddressSpace));
1373 unsigned AddressSpace) {
1377 AddressSpace));
1371 LLVMAddGlobalInAddressSpace(LLVMModuleRef M, LLVMTypeRef Ty, const char *Name, unsigned AddressSpace) argument
/external/llvm/lib/Transforms/Scalar/
H A DLoadCombine.cpp195 unsigned AddressSpace = local
201 Builder->getInt8PtrTy(AddressSpace)),
/external/qemu/include/qemu/
H A Dtypedefs.h24 typedef struct AddressSpace AddressSpace; typedef in typeref:struct:AddressSpace
/external/llvm/include/llvm/IR/
H A DDataLayout.h85 uint32_t AddressSpace; ///< Address space for the pointer type member in struct:llvm::PointerAlignElem
88 static PointerAlignElem get(uint32_t AddressSpace, unsigned ABIAlign,
125 findPointerLowerBound(uint32_t AddressSpace) const {
126 return const_cast<DataLayout *>(this)->findPointerLowerBound(AddressSpace);
129 PointersTy::iterator findPointerLowerBound(uint32_t AddressSpace);
399 IntegerType *getIntPtrType(LLVMContext &C, unsigned AddressSpace = 0) const;
/external/llvm/lib/Target/NVPTX/
H A DNVPTX.h116 enum AddressSpace { enum in namespace:llvm::NVPTX::PTXLdStInstCode
H A DNVPTXAsmPrinter.cpp1600 void NVPTXAsmPrinter::emitPTXAddressSpace(unsigned int AddressSpace, argument
1602 switch (AddressSpace) {
/external/clang/lib/CodeGen/
H A DCodeGenFunction.cpp1365 unsigned AddressSpace = addr->getType()->getPointerAddressSpace(); local
1366 llvm::Type *BaseType = ConvertType(eltType)->getPointerTo(AddressSpace);
/external/llvm/lib/Bitcode/Reader/
H A DBitcodeReader.cpp810 unsigned AddressSpace = 0; local
812 AddressSpace = Record[1];
816 ResultTy = PointerType::get(ResultTy, AddressSpace);
1883 unsigned AddressSpace = cast<PointerType>(Ty)->getAddressSpace(); local
1915 TLM, AddressSpace, ExternallyInitialized);
/external/llvm/lib/Bitcode/Writer/
H A DBitcodeWriter.cpp411 unsigned AddressSpace = PTy->getAddressSpace(); local
412 TypeVals.push_back(AddressSpace);
413 if (AddressSpace == 0) AbbrevToUse = PtrAbbrev;
/external/llvm/lib/Target/R600/
H A DR600ISelLowering.cpp1458 ConstantAddressBlock(unsigned AddressSpace) { argument
1459 switch (AddressSpace) {
/external/llvm/bindings/ocaml/llvm/
H A Dllvm_ocaml.c411 value AddressSpace) {
412 return LLVMPointerType(ElementTy, Int_val(AddressSpace));
970 value AddressSpace,
976 LLVMPointerType(Ty, Int_val(AddressSpace)));
980 Int_val(AddressSpace));
1007 value AddressSpace,
1012 Int_val(AddressSpace));
410 llvm_qualified_pointer_type(LLVMTypeRef ElementTy, value AddressSpace) argument
969 llvm_declare_qualified_global(LLVMTypeRef Ty, value Name, value AddressSpace, LLVMModuleRef M) argument
1005 llvm_define_qualified_global(value Name, LLVMValueRef Initializer, value AddressSpace, LLVMModuleRef M) argument
/external/llvm/lib/Target/X86/
H A DX86ISelLowering.cpp1815 bool X86TargetLowering::getStackCookieLocation(unsigned &AddressSpace, argument
1824 AddressSpace = 256;
1826 AddressSpace = 257;
1830 AddressSpace = 256;
/external/llvm/lib/Transforms/Vectorize/
H A DLoopVectorize.cpp1624 unsigned AddressSpace = Ptr->getType()->getPointerAddressSpace(); local
1721 DataTy->getPointerTo(AddressSpace));
1742 DataTy->getPointerTo(AddressSpace));
/external/clang/lib/Sema/
H A DSemaDecl.cpp7241 unsigned AddressSpace = RetType.getAddressSpace(); local
7242 if (AddressSpace == LangAS::opencl_local ||
7243 AddressSpace == LangAS::opencl_global ||
7244 AddressSpace == LangAS::opencl_constant) {

Completed in 1009 milliseconds