Home
last modified time | relevance | path

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

12345

/external/llvm/lib/Target/NVPTX/
DNVPTXFavorNonGenericAddrSpaces.cpp107 return (SrcTy->getAddressSpace() != AddressSpace::ADDRESS_SPACE_GENERIC && in IsEliminableAddrSpaceCast()
108 DestTy->getAddressSpace() == AddressSpace::ADDRESS_SPACE_GENERIC); in IsEliminableAddrSpaceCast()
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()
DNVPTXAsmPrinter.cpp161 if (SrcTy->getAddressSpace() == 1 && DstTy->getAddressSpace() == 0) { in LowerConstant()
1022 if (Pty->getAddressSpace() != llvm::ADDRESS_SPACE_SHARED) in canDemoteGlobalVar()
1482 emitPTXAddressSpace(PTy->getAddressSpace(), O); in printModuleLevelGV()
1506 if ((PTy->getAddressSpace() == llvm::ADDRESS_SPACE_GLOBAL) || in printModuleLevelGV()
1507 (PTy->getAddressSpace() == llvm::ADDRESS_SPACE_CONST)) { in printModuleLevelGV()
1520 llvm::utostr_32(PTy->getAddressSpace()) + ")"; in printModuleLevelGV()
1539 if (((PTy->getAddressSpace() == llvm::ADDRESS_SPACE_GLOBAL) || in printModuleLevelGV()
1540 (PTy->getAddressSpace() == llvm::ADDRESS_SPACE_CONST)) && in printModuleLevelGV()
1669 emitPTXAddressSpace(PTy->getAddressSpace(), O); in emitPTXGlobalVariable()
1858 int addrSpace = PTy->getAddressSpace(); in emitFunctionParamList()
[all …]
DNVPTXGenericToNVVM.cpp85 if (GV->getType()->getAddressSpace() == llvm::ADDRESS_SPACE_GENERIC && in runOnModule()
173 unsigned int AddrSpace = GVType->getAddressSpace(); in getOrInsertCVTA()
414 I->second->getType()->getAddressSpace()); in remapMDNode()
/external/llvm/lib/Transforms/InstCombine/
DInstCombineLoadStoreAlloca.cpp305 if (DestTy->getAddressSpace() != SrcTy->getAddressSpace()) in InstCombineLoadCast()
349 OldTy->getAddressSpace() != NewTy->getAddressSpace()) { in InstCombineLoadCast()
513 SrcTy = PointerType::get(SrcPTy, SrcTy->getAddressSpace()); in InstCombineStoreToCast()
521 if (SrcTy->getAddressSpace() != in InstCombineStoreToCast()
522 cast<PointerType>(CI->getType())->getAddressSpace()) in InstCombineStoreToCast()
DInstructionCombining.cpp1528 if (StrippedPtrTy->getAddressSpace() == GEP.getAddressSpace()) in visitGetElementPtrInst()
1548 if (StrippedPtrTy->getAddressSpace() == GEP.getAddressSpace()) { in visitGetElementPtrInst()
1585 if (StrippedPtrTy->getAddressSpace() == GEP.getPointerAddressSpace()) in visitGetElementPtrInst()
1619 if (StrippedPtrTy->getAddressSpace() == GEP.getPointerAddressSpace()) in visitGetElementPtrInst()
1661 if (StrippedPtrTy->getAddressSpace() == GEP.getPointerAddressSpace()) in visitGetElementPtrInst()
1685 StrippedPtrTy->getAddressSpace() == GEP.getPointerAddressSpace()) { in visitGetElementPtrInst()
/external/llvm/lib/Transforms/Utils/
DCloneModule.cpp53 I->getType()->getAddressSpace()); in CloneModule()
72 GlobalAlias::create(PTy->getElementType(), PTy->getAddressSpace(), in CloneModule()
/external/llvm/lib/Transforms/IPO/
DConstantMerge.cpp144 GV->getType()->getAddressSpace() != 0 || GV->hasSection() || in runOnModule()
179 GV->getType()->getAddressSpace() != 0 || GV->hasSection() || in runOnModule()
DMergeFunctions.cpp511 unsigned AddrSpaceL = PTyL->getAddressSpace(); in cmpConstants()
512 unsigned AddrSpaceR = PTyR->getAddressSpace(); in cmpConstants()
624 if (PTyL && PTyL->getAddressSpace() == 0) TyL = DL->getIntPtrType(TyL); in cmpType()
625 if (PTyR && PTyR->getAddressSpace() == 0) TyR = DL->getIntPtrType(TyR); in cmpType()
655 return cmpNumbers(PTyL->getAddressSpace(), PTyR->getAddressSpace()); in cmpType()
1362 auto *GA = GlobalAlias::create(PTy->getElementType(), PTy->getAddressSpace(), in writeAlias()
/external/llvm/include/llvm/IR/
DIntrinsicInst.h144 return cast<PointerType>(getRawDest()->getType())->getAddressSpace(); in getDestAddressSpace()
234 return cast<PointerType>(getRawSource()->getType())->getAddressSpace(); in getSourceAddressSpace()
DOperator.h405 return cast<PointerType>(getPointerOperandType())->getAddressSpace(); in getPointerAddressSpace()
505 return cast<PointerType>(getPointerOperandType())->getAddressSpace(); in getPointerAddressSpace()
/external/llvm/lib/CodeGen/
DGlobalMerge.cpp229 GlobalAlias::create(PTy->getElementType(), PTy->getAddressSpace(), in doMerge()
304 unsigned AddressSpace = PT->getAddressSpace(); in doInitialization()
/external/llvm/lib/Analysis/
DCaptureTracking.cpp166 if (CPN->getType()->getAddressSpace() == 0) in PointerMayBeCaptured()
/external/clang/include/clang/AST/
DType.h193 if (L.getAddressSpace() == R.getAddressSpace()) {
194 Q.setAddressSpace(L.getAddressSpace());
312 unsigned getAddressSpace() const { return Mask >> AddressSpaceShift; }
366 addAddressSpace(Q.getAddressSpace());
386 if (getAddressSpace() == Q.getAddressSpace())
394 assert(getAddressSpace() == qs.getAddressSpace() ||
409 getAddressSpace() == other.getAddressSpace() &&
926 inline unsigned getAddressSpace() const;
1101 unsigned getAddressSpace() const { return Quals.getAddressSpace(); }
4775 inline unsigned QualType::getAddressSpace() const {
[all …]
/external/llvm/lib/Target/R600/
DAMDGPUInstructions.td259 return cast<MemSDNode>(N)->getAddressSpace() == AMDGPUAS::LOCAL_ADDRESS;
277 return dyn_cast<MemSDNode>(N)->getAddressSpace() == AMDGPUAS::GLOBAL_ADDRESS;
285 AN->getAddressSpace() == AMDGPUAS::LOCAL_ADDRESS;
293 AN->getAddressSpace() == AMDGPUAS::LOCAL_ADDRESS;
DSIISelLowering.cpp611 if (Load->getAddressSpace() == AMDGPUAS::LOCAL_ADDRESS && in LowerOperation()
617 (Load->getAddressSpace() == AMDGPUAS::LOCAL_ADDRESS || in LowerOperation()
618 Load->getAddressSpace() == AMDGPUAS::PRIVATE_ADDRESS || in LowerOperation()
619 (Load->getAddressSpace() == AMDGPUAS::GLOBAL_ADDRESS && in LowerOperation()
848 if (Load->getAddressSpace() != AMDGPUAS::PRIVATE_ADDRESS) { in LowerLOAD()
935 if (Store->getAddressSpace() == AMDGPUAS::LOCAL_ADDRESS && in LowerSTORE()
952 if (Store->getAddressSpace() != AMDGPUAS::PRIVATE_ADDRESS) in LowerSTORE()
/external/llvm/lib/Linker/
DLinkModules.cpp171 if (PT->getAddressSpace() != cast<PointerType>(SrcTy)->getAddressSpace()) in areTypesIsomorphic()
299 cast<PointerType>(Ty)->getAddressSpace()); in getImpl()
858 DstGV->getType()->getAddressSpace()); in linkAppendingVarProto()
955 SGV->getType()->getAddressSpace()); in linkGlobalProto()
1110 GlobalAlias::create(PTy->getElementType(), PTy->getAddressSpace(), in linkAliasProto()
/external/clang/lib/CodeGen/
DCGValue.h258 unsigned getAddressSpace() const { return Quals.getAddressSpace(); } in getAddressSpace() function
/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/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/llvm/lib/IR/
DConstantFold.cpp109 if (PTy->getAddressSpace() == DPTy->getAddressSpace() in FoldBitCast()
373 PTy->getAddressSpace()), in getFoldedSizeOf()
439 PTy->getAddressSpace()), in getFoldedAlignOf()
1973 return UndefValue::get(PointerType::get(Ty, Ptr->getAddressSpace())); in ConstantFoldGetElementPtrImpl()
1988 Ptr->getAddressSpace())); in ConstantFoldGetElementPtrImpl()
2080 && SrcPtrTy->getAddressSpace() == DstPtrTy->getAddressSpace()) in ConstantFoldGetElementPtrImpl()
DIRBuilder.cpp48 PT = getInt8PtrTy(PT->getAddressSpace()); in getCastedInt8PtrValue()
/external/llvm/lib/Transforms/Scalar/
DScalarReplAggregates.cpp706 if (SPTy->getAddressSpace() != AIPTy->getAddressSpace()) { in ConvertUsesToScalar()
708 SPTy->getAddressSpace()); in ConvertUsesToScalar()
723 if (DPTy->getAddressSpace() != AIPTy->getAddressSpace()) { in ConvertUsesToScalar()
725 DPTy->getAddressSpace()); in ConvertUsesToScalar()
2113 unsigned AS = AI->getType()->getAddressSpace(); in RewriteLifetimeIntrinsic()
2176 cast<PointerType>(OtherPtr->getType())->getAddressSpace(); in RewriteMemIntrinUserOfAlloca()
/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/llvm/lib/Target/XCore/
DXCoreLowerThreadLocal.cpp200 GV->getType()->getAddressSpace(), in lowerGlobal()

12345