Home
last modified time | relevance | path

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

12345

/external/clang/lib/CodeGen/
DAddress.h57 unsigned getAddressSpace() const { in getAddressSpace() function
58 return getType()->getAddressSpace(); in getAddressSpace()
94 return getBitCast(ty->getPointerTo(getAddressSpace())); in getElementBitCast()
DCGValue.h314 unsigned getAddressSpace() const { return Quals.getAddressSpace(); } in getAddressSpace() function
/external/llvm/lib/Target/AMDGPU/Utils/
DAMDGPUBaseInfo.cpp98 return GV->getType()->getAddressSpace() == AMDGPUAS::LOCAL_ADDRESS; in isGroupSegment()
102 return GV->getType()->getAddressSpace() == AMDGPUAS::GLOBAL_ADDRESS; in isGlobalSegment()
106 return GV->getType()->getAddressSpace() == AMDGPUAS::CONSTANT_ADDRESS; in isReadOnlySegment()
/external/llvm/include/llvm/IR/
DGetElementPtrTypeIterator.h108 ->getAddressSpace(), in gep_type_begin()
119 ->getAddressSpace(), in gep_type_begin()
DIntrinsicInst.h169 return cast<PointerType>(getRawDest()->getType())->getAddressSpace(); in getDestAddressSpace()
259 return cast<PointerType>(getRawSource()->getType())->getAddressSpace(); in getSourceAddressSpace()
/external/llvm/lib/Transforms/IPO/
DConstantMerge.cpp133 GV->getType()->getAddressSpace() != 0 || GV->hasSection() || in runOnModule()
167 GV->getType()->getAddressSpace() != 0 || GV->hasSection() || in runOnModule()
DMergeFunctions.cpp641 unsigned AddrSpaceL = PTyL->getAddressSpace(); in cmpConstants()
642 unsigned AddrSpaceR = PTyR->getAddressSpace(); in cmpConstants()
808 if (PTyL && PTyL->getAddressSpace() == 0) in cmpTypes()
810 if (PTyR && PTyR->getAddressSpace() == 0) in cmpTypes()
846 return cmpNumbers(PTyL->getAddressSpace(), PTyR->getAddressSpace()); in cmpTypes()
/external/llvm/lib/CodeGen/
DCoreCLRGC.cpp45 return (1 == PT->getAddressSpace()); in isGCManagedPointer()
DStatepointExampleGC.cpp45 return (1 == PT->getAddressSpace()); in isGCManagedPointer()
/external/llvm/lib/Target/NVPTX/
DNVPTXFavorNonGenericAddrSpaces.cpp141 return (SrcTy->getAddressSpace() != AddressSpace::ADDRESS_SPACE_GENERIC && in isEliminableAddrSpaceCast()
142 DestTy->getAddressSpace() == AddressSpace::ADDRESS_SPACE_GENERIC); in isEliminableAddrSpaceCast()
DNVPTXLowerAggrCopies.cpp76 unsigned SrcAS = cast<PointerType>(SrcAddr->getType())->getAddressSpace(); in convertMemCpyToLoop()
77 unsigned DstAS = cast<PointerType>(DstAddr->getType())->getAddressSpace(); in convertMemCpyToLoop()
220 unsigned dstAS = cast<PointerType>(DstAddr->getType())->getAddressSpace(); in convertMemSetToLoop()
DNVPTXAsmPrinter.cpp684 if (Pty->getAddressSpace() != llvm::ADDRESS_SPACE_SHARED) in canDemoteGlobalVar()
1152 emitPTXAddressSpace(PTy->getAddressSpace(), O); in printModuleLevelGV()
1176 if ((PTy->getAddressSpace() == llvm::ADDRESS_SPACE_GLOBAL) || in printModuleLevelGV()
1177 (PTy->getAddressSpace() == llvm::ADDRESS_SPACE_CONST)) { in printModuleLevelGV()
1192 Twine(PTy->getAddressSpace()) + ")"); in printModuleLevelGV()
1210 if (((PTy->getAddressSpace() == llvm::ADDRESS_SPACE_GLOBAL) || in printModuleLevelGV()
1211 (PTy->getAddressSpace() == llvm::ADDRESS_SPACE_CONST)) && in printModuleLevelGV()
1348 emitPTXAddressSpace(PTy->getAddressSpace(), O); in emitPTXGlobalVariable()
1501 int addrSpace = PTy->getAddressSpace(); in emitFunctionParamList()
1720 if (PTy && PTy->getAddressSpace() != 0) { in printScalarConstant()
[all …]
DNVPTXGenericToNVVM.cpp85 if (GV->getType()->getAddressSpace() == llvm::ADDRESS_SPACE_GENERIC && in runOnModule()
179 unsigned int AddrSpace = GVType->getAddressSpace(); in getOrInsertCVTA()
/external/llvm/lib/Transforms/Utils/
DCloneModule.cpp61 I->getType()->getAddressSpace()); in CloneModule()
92 I->getThreadLocalMode(), I->getType()->getAddressSpace()); in CloneModule()
/external/llvm/lib/Target/AMDGPU/
DAMDGPUInstructions.td154 return cast<MemSDNode>(N)->getAddressSpace() == AMDGPUAS::PRIVATE_ADDRESS;
346 return cast<MemSDNode>(N)->getAddressSpace() == AMDGPUAS::LOCAL_ADDRESS;
364 return cast<MemSDNode>(N)->getAddressSpace() == AMDGPUAS::GLOBAL_ADDRESS;
374 AN->getAddressSpace() == AMDGPUAS::LOCAL_ADDRESS;
382 AN->getAddressSpace() == AMDGPUAS::LOCAL_ADDRESS;
399 return cast<MemSDNode>(N)->getAddressSpace() == AMDGPUAS::FLAT_ADDRESS;
405 [{return cast<MemSDNode>(N)->getAddressSpace() == AMDGPUAS::GLOBAL_ADDRESS;}]
DAMDGPUTargetTransformInfo.cpp43 if (!GEP || GEP->getAddressSpace() != AMDGPUAS::PRIVATE_ADDRESS) in getUnrollingPreferences()
/external/clang/include/clang/AST/
DType.h197 if (L.getAddressSpace() == R.getAddressSpace()) {
198 Q.setAddressSpace(L.getAddressSpace());
316 unsigned getAddressSpace() const { return Mask >> AddressSpaceShift; }
370 addAddressSpace(Q.getAddressSpace());
390 if (getAddressSpace() == Q.getAddressSpace())
398 assert(getAddressSpace() == qs.getAddressSpace() ||
417 getAddressSpace() == other.getAddressSpace() ||
420 (getAddressSpace() == LangAS::opencl_generic &&
421 other.getAddressSpace() != LangAS::opencl_constant);
964 inline unsigned getAddressSpace() const;
[all …]
/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/Linker/
DIRMover.cpp158 if (PT->getAddressSpace() != cast<PointerType>(SrcTy)->getAddressSpace()) in areTypesIsomorphic()
297 cast<PointerType>(Ty)->getAddressSpace()); in get()
709 SGVar->getType()->getAddressSpace()); in copyGlobalVariableProto()
749 SGV->getType()->getAddressSpace()); in copyGlobalValueProto()
941 SrcGV->getType()->getAddressSpace()); in linkAppendingVarProto()
/external/llvm/lib/IR/
DType.cpp91 return PTy->getAddressSpace() == OtherPTy->getAddressSpace(); in canLosslesslyBitCastTo()
210 return cast<PointerType>(getScalarType())->getAddressSpace(); in getPointerAddressSpace()
DConstantFold.cpp111 if (PTy->getAddressSpace() == DPTy->getAddressSpace() in FoldBitCast()
387 PTy->getAddressSpace()), in getFoldedSizeOf()
453 PTy->getAddressSpace()), in getFoldedAlignOf()
2047 return UndefValue::get(PointerType::get(Ty, Ptr->getAddressSpace())); in ConstantFoldGetElementPtrImpl()
2063 Ptr->getAddressSpace())); in ConstantFoldGetElementPtrImpl()
2159 && SrcPtrTy->getAddressSpace() == DstPtrTy->getAddressSpace()) in ConstantFoldGetElementPtrImpl()
/external/llvm/lib/Analysis/
DCaptureTracking.cpp298 if (CPN->getType()->getAddressSpace() == 0) in PointerMayBeCaptured()
/external/llvm/include/llvm/ExecutionEngine/Orc/
DCompileOnDemandLayer.h295 F->getType()->getAddressSpace(), in addLogicalModule()
433 A->getType()->getAddressSpace()); in emitPartition()
/external/llvm/lib/Transforms/Scalar/
DScalarReplAggregates.cpp712 if (SPTy->getAddressSpace() != AIPTy->getAddressSpace()) { in ConvertUsesToScalar()
714 SPTy->getAddressSpace()); in ConvertUsesToScalar()
729 if (DPTy->getAddressSpace() != AIPTy->getAddressSpace()) { in ConvertUsesToScalar()
731 DPTy->getAddressSpace()); in ConvertUsesToScalar()
2136 unsigned AS = AI->getType()->getAddressSpace(); in RewriteLifetimeIntrinsic()
2199 cast<PointerType>(OtherPtr->getType())->getAddressSpace(); in RewriteMemIntrinUserOfAlloca()
/external/llvm/lib/ExecutionEngine/Orc/
DIndirectionUtils.cpp159 GV.getThreadLocalMode(), GV.getType()->getAddressSpace()); in cloneGlobalVariableDecl()

12345