Home
last modified time | relevance | path

Searched refs:getAddressSpace (Results 1 – 25 of 86) sorted by relevance

1234

/external/llvm/lib/Target/NVPTX/
DNVPTXLowerAggrCopies.cpp48 unsigned srcAS = dyn_cast<PointerType>(srcAddr->getType())->getAddressSpace(); in convertTransferToLoop()
49 unsigned dstAS = dyn_cast<PointerType>(dstAddr->getType())->getAddressSpace(); in convertTransferToLoop()
84 unsigned dstAS = dyn_cast<PointerType>(dstAddr->getType())->getAddressSpace(); in convertMemSetToLoop()
DNVPTXGenericToNVVM.cpp87 if (GV->getType()->getAddressSpace() == llvm::ADDRESS_SPACE_GENERIC && in runOnModule()
176 unsigned int AddrSpace = GVType->getAddressSpace(); in getOrInsertCVTA()
417 I->second->getType()->getAddressSpace()); in remapMDNode()
DNVPTXAsmPrinter.cpp728 if (Pty->getAddressSpace() != llvm::ADDRESS_SPACE_SHARED) in canDemoteGlobalVar()
1179 emitPTXAddressSpace(PTy->getAddressSpace(), O); in printModuleLevelGV()
1197 if (((PTy->getAddressSpace() == llvm::ADDRESS_SPACE_GLOBAL) || in printModuleLevelGV()
1198 (PTy->getAddressSpace() == llvm::ADDRESS_SPACE_CONST)) && in printModuleLevelGV()
1220 if (((PTy->getAddressSpace() == llvm::ADDRESS_SPACE_GLOBAL) || in printModuleLevelGV()
1221 (PTy->getAddressSpace() == llvm::ADDRESS_SPACE_CONST)) && in printModuleLevelGV()
1350 emitPTXAddressSpace(PTy->getAddressSpace(), O); in emitPTXGlobalVariable()
1525 int addrSpace = PTy->getAddressSpace(); in emitFunctionParamList()
/external/llvm/lib/Transforms/IPO/
DConstantMerge.cpp139 GV->getType()->getAddressSpace() != 0 || GV->hasSection() || in runOnModule()
174 GV->getType()->getAddressSpace() != 0 || GV->hasSection() || in runOnModule()
DMergeFunctions.cpp246 return PTy1->getAddressSpace() == PTy2->getAddressSpace(); in isEquivalentType()
/external/llvm/lib/Transforms/InstCombine/
DInstCombineLoadStoreAlloca.cpp292 if (DestTy->getAddressSpace() != SrcTy->getAddressSpace()) in InstCombineLoadCast()
490 SrcTy = PointerType::get(SrcPTy, SrcTy->getAddressSpace()); in InstCombineStoreToCast()
499 SrcTy->getAddressSpace() != in InstCombineStoreToCast()
500 cast<PointerType>(CI->getType())->getAddressSpace() || in InstCombineStoreToCast()
/external/llvm/include/llvm/IR/
DIntrinsicInst.h139 return cast<PointerType>(getRawDest()->getType())->getAddressSpace(); in getDestAddressSpace()
225 return cast<PointerType>(getRawSource()->getType())->getAddressSpace(); in getSourceAddressSpace()
DDataLayout.h454 return getPointerSizeInBits(cast<PointerType>(Ty)->getAddressSpace()); in getTypeSizeInBits()
DDerivedTypes.h445 inline unsigned getAddressSpace() const { return getSubclassData(); } in getAddressSpace() function
DOperator.h401 return cast<PointerType>(getPointerOperandType())->getAddressSpace(); in getPointerAddressSpace()
/external/llvm/lib/Analysis/
DCaptureTracking.cpp163 if (CPN->getType()->getAddressSpace() == 0) in PointerMayBeCaptured()
/external/clang/include/clang/AST/
DType.h194 if (L.getAddressSpace() == R.getAddressSpace()) {
195 Q.setAddressSpace(L.getAddressSpace());
313 unsigned getAddressSpace() const { return Mask >> AddressSpaceShift; }
367 addAddressSpace(Q.getAddressSpace());
387 if (getAddressSpace() == Q.getAddressSpace())
395 assert(getAddressSpace() == qs.getAddressSpace() ||
410 getAddressSpace() == other.getAddressSpace() &&
927 inline unsigned getAddressSpace() const;
1102 unsigned getAddressSpace() const { return Quals.getAddressSpace(); }
4726 inline unsigned QualType::getAddressSpace() const {
[all …]
/external/clang/lib/CodeGen/
DCGValue.h256 unsigned getAddressSpace() const { return Quals.getAddressSpace(); } in getAddressSpace() function
/external/llvm/lib/Target/XCore/
DXCoreLowerThreadLocal.cpp106 GV->getType()->getAddressSpace(), in lowerGlobal()
/external/llvm/lib/Linker/
DLinkModules.cpp169 if (PT->getAddressSpace() != cast<PointerType>(SrcTy)->getAddressSpace()) in areTypesIsomorphic()
297 cast<PointerType>(Ty)->getAddressSpace()); in getImpl()
722 DstGV->getType()->getAddressSpace()); in linkAppendingVarProto()
797 SGV->getType()->getAddressSpace()); in linkGlobalProto()
/external/llvm/lib/Transforms/Utils/
DCloneModule.cpp53 I->getType()->getAddressSpace()); in CloneModule()
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/radeon/
DR600KernelParameters.cpp257 if (GEP && GEP->getType()->getAddressSpace() != Addrspace) { in Propagate()
260 if (dyn_cast<PointerType>(Op->getType())->getAddressSpace() != Addrspace) { in Propagate()
/external/mesa3d/src/gallium/drivers/radeon/
DR600KernelParameters.cpp257 if (GEP && GEP->getType()->getAddressSpace() != Addrspace) { in Propagate()
260 if (dyn_cast<PointerType>(Op->getType())->getAddressSpace() != Addrspace) { in Propagate()
/external/llvm/lib/IR/
DConstantFold.cpp109 if (PTy->getAddressSpace() == DPTy->getAddressSpace() in FoldBitCast()
373 PTy->getAddressSpace()), in getFoldedSizeOf()
439 PTy->getAddressSpace()), in getFoldedAlignOf()
1913 return UndefValue::get(PointerType::get(Ty, Ptr->getAddressSpace())); in ConstantFoldGetElementPtrImpl()
1928 Ptr->getAddressSpace())); in ConstantFoldGetElementPtrImpl()
1995 && SrcPtrTy->getAddressSpace() == DstPtrTy->getAddressSpace()) in ConstantFoldGetElementPtrImpl()
DIRBuilder.cpp48 PT = getInt8PtrTy(PT->getAddressSpace()); in getCastedInt8PtrValue()
/external/mesa3d/src/gallium/state_trackers/clover/llvm/
Dinvocation.cpp228 unsigned address_space = llvm::cast<llvm::PointerType>(arg_type)->getAddressSpace(); in build_module_llvm()
/external/chromium_org/third_party/mesa/src/src/gallium/state_trackers/clover/llvm/
Dinvocation.cpp228 unsigned address_space = llvm::cast<llvm::PointerType>(arg_type)->getAddressSpace(); in build_module_llvm()
/external/llvm/lib/Transforms/Scalar/
DScalarReplAggregates.cpp704 if (SPTy->getAddressSpace() != AIPTy->getAddressSpace()) { in ConvertUsesToScalar()
706 SPTy->getAddressSpace()); in ConvertUsesToScalar()
721 if (DPTy->getAddressSpace() != AIPTy->getAddressSpace()) { in ConvertUsesToScalar()
723 DPTy->getAddressSpace()); in ConvertUsesToScalar()
2179 cast<PointerType>(OtherPtr->getType())->getAddressSpace(); in RewriteMemIntrinUserOfAlloca()
DGlobalMerge.cpp252 unsigned AddressSpace = PT->getAddressSpace(); in doInitialization()
/external/llvm/lib/Target/R600/
DR600ISelLowering.cpp1012 if (StoreNode->getAddressSpace() == AMDGPUAS::GLOBAL_ADDRESS && in LowerSTORE()
1029 if (StoreNode->getAddressSpace() != AMDGPUAS::PRIVATE_ADDRESS) { in LowerSTORE()
1124 int ConstantBlock = ConstantAddressBlock(LoadNode->getAddressSpace()); in LowerLOAD()
1152 DAG.getConstant(LoadNode->getAddressSpace() - in LowerLOAD()
1193 if (LoadNode->getAddressSpace() != AMDGPUAS::PRIVATE_ADDRESS) { in LowerLOAD()

1234