Searched refs:AddressSpace (Results 1 - 25 of 31) sorted by relevance

12

/external/llvm/lib/Target/NVPTX/MCTargetDesc/
H A DNVPTXBaseInfo.h22 enum AddressSpace { enum in namespace:llvm
/external/llvm/include/llvm/IR/
H A DGlobalVariable.h70 ThreadLocalMode = NotThreadLocal, unsigned AddressSpace = 0,
77 ThreadLocalMode = NotThreadLocal, unsigned AddressSpace = 0,
H A DDataLayout.h82 uint32_t AddressSpace; ///< Address space for the pointer type member in struct:llvm::PointerAlignElem
361 IntegerType *getIntPtrType(LLVMContext &C, unsigned AddressSpace = 0) const;
H A DDerivedTypes.h432 static PointerType *get(Type *ElementType, unsigned AddressSpace);
/external/llvm/lib/IR/
H A DGlobals.cpp87 unsigned AddressSpace,
89 : GlobalValue(PointerType::get(Ty, AddressSpace),
108 unsigned AddressSpace,
110 : GlobalValue(PointerType::get(Ty, AddressSpace),
84 GlobalVariable(Type *Ty, bool constant, LinkageTypes Link, Constant *InitVal, const Twine &Name, ThreadLocalMode TLMode, unsigned AddressSpace, bool isExternallyInitialized) argument
104 GlobalVariable(Module &M, Type *Ty, bool constant, LinkageTypes Link, Constant *InitVal, const Twine &Name, GlobalVariable *Before, ThreadLocalMode TLMode, unsigned AddressSpace, bool isExternallyInitialized) argument
H A DDataLayout.cpp132 retval.AddressSpace = addr_space;
142 && AddressSpace == rhs.AddressSpace
487 if (PI.AddressSpace) {
488 OS << PI.AddressSpace;
611 unsigned AddressSpace) const {
612 return IntegerType::get(C, getPointerSizeInBits(AddressSpace));
H A DType.cpp734 PointerType *PointerType::get(Type *EltTy, unsigned AddressSpace) { argument
740 // Since AddressSpace #0 is the common case, we special case it.
741 PointerType *&Entry = AddressSpace == 0 ? CImpl->PointerTypes[EltTy]
742 : CImpl->ASPointerTypes[std::make_pair(EltTy, AddressSpace)];
745 Entry = new (CImpl->TypeAllocator) PointerType(EltTy, AddressSpace);
H A DAsmWriter.cpp243 if (unsigned AddressSpace = PTy->getAddressSpace())
244 OS << " addrspace(" << AddressSpace << ')'; local
1457 if (unsigned AddressSpace = GV->getType()->getAddressSpace())
1458 Out << "addrspace(" << AddressSpace << ") "; local
H A DCore.cpp393 LLVMTypeRef LLVMPointerType(LLVMTypeRef ElementType, unsigned AddressSpace) { argument
394 return wrap(PointerType::get(unwrap(ElementType), AddressSpace));
1236 unsigned AddressSpace) {
1239 GlobalVariable::NotThreadLocal, AddressSpace));
1234 LLVMAddGlobalInAddressSpace(LLVMModuleRef M, LLVMTypeRef Ty, const char *Name, unsigned AddressSpace) argument
/external/llvm/lib/Target/PowerPC/
H A DPPCTargetTransformInfo.cpp102 unsigned AddressSpace) const;
223 unsigned AddressSpace) const {
/external/llvm/lib/Target/NVPTX/
H A DNVPTX.h112 enum AddressSpace { enum in namespace:llvm::NVPTX::PTXLdStInstCode
H A DNVPTXAsmPrinter.h257 void emitPTXAddressSpace(unsigned int AddressSpace, raw_ostream &O) const;
H A DNVPTXAsmPrinter.cpp1281 void NVPTXAsmPrinter::emitPTXAddressSpace(unsigned int AddressSpace, argument
1283 switch (AddressSpace) {
/external/llvm/lib/Transforms/Scalar/
H A DGlobalMerge.cpp252 unsigned AddressSpace = PT->getAddressSpace(); local
272 BSSGlobals[AddressSpace].push_back(I);
274 ConstGlobals[AddressSpace].push_back(I);
276 Globals[AddressSpace].push_back(I);
/external/llvm/lib/CodeGen/
H A DStackProtector.cpp280 unsigned AddressSpace, Offset; local
281 if (TLI->getStackCookieLocation(AddressSpace, Offset)) {
287 AddressSpace));
H A DBasicTargetTransformInfo.cpp109 unsigned AddressSpace) const;
406 unsigned AddressSpace) const {
/external/llvm/lib/Analysis/
H A DTargetTransformInfo.cpp197 unsigned AddressSpace) const {
198 return PrevTTI->getMemoryOpCost(Opcode, Src, Alignment, AddressSpace);
555 unsigned AddressSpace) const {
/external/llvm/include/llvm/Analysis/
H A DTargetTransformInfo.h334 unsigned AddressSpace) const;
/external/llvm/lib/Target/X86/
H A DX86TargetTransformInfo.cpp101 unsigned AddressSpace) const;
559 unsigned AddressSpace) const {
580 AddressSpace);
H A DX86ISelLowering.h753 virtual bool getStackCookieLocation(unsigned &AddressSpace, unsigned &Offset) const;
/external/llvm/bindings/ocaml/llvm/
H A Dllvm_ocaml.c353 value AddressSpace) {
354 return LLVMPointerType(ElementTy, Int_val(AddressSpace));
871 value AddressSpace,
877 LLVMPointerType(Ty, Int_val(AddressSpace)));
907 value AddressSpace,
912 Int_val(AddressSpace));
352 llvm_qualified_pointer_type(LLVMTypeRef ElementTy, value AddressSpace) argument
870 llvm_declare_qualified_global(LLVMTypeRef Ty, value Name, value AddressSpace, LLVMModuleRef M) argument
905 llvm_define_qualified_global(value Name, LLVMValueRef Initializer, value AddressSpace, LLVMModuleRef M) argument
/external/clang/lib/CodeGen/
H A DCodeGenFunction.cpp1191 unsigned AddressSpace = addr->getType()->getPointerAddressSpace(); local
1192 llvm::Type *BaseType = ConvertType(eltType)->getPointerTo(AddressSpace);
/external/llvm/include/llvm-c/
H A DCore.h962 LLVMTypeRef LLVMPointerType(LLVMTypeRef ElementType, unsigned AddressSpace);
1643 unsigned AddressSpace);
/external/llvm/lib/Bitcode/Reader/
H A DBitcodeReader.cpp798 unsigned AddressSpace = 0; local
800 AddressSpace = Record[1];
803 ResultTy = PointerType::get(ResultTy, AddressSpace);
1790 unsigned AddressSpace = cast<PointerType>(Ty)->getAddressSpace(); local
1820 TLM, AddressSpace, ExternallyInitialized);
/external/llvm/lib/Bitcode/Writer/
H A DBitcodeWriter.cpp406 unsigned AddressSpace = PTy->getAddressSpace(); local
407 TypeVals.push_back(AddressSpace);
408 if (AddressSpace == 0) AbbrevToUse = PtrAbbrev;

Completed in 293 milliseconds

12