Home
last modified time | relevance | path

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

123456

/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/
DBuiltinGCs.cpp83 return (1 == PT->getAddressSpace()); in isGCManagedPointer()
111 return (1 == PT->getAddressSpace()); in isGCManagedPointer()
DLowLevelType.cpp30 unsigned AddrSpace = PTy->getAddressSpace(); in getLLTForType()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Utils/
DCloneModule.cpp69 I->getType()->getAddressSpace()); in CloneModule()
78 I.getAddressSpace(), I.getName(), New.get()); in CloneModule()
95 I->getAddressSpace(), I->getName(), New.get()); in CloneModule()
100 I->getThreadLocalMode(), I->getType()->getAddressSpace()); in CloneModule()
DLowerMemIntrinsics.cpp46 unsigned SrcAS = cast<PointerType>(SrcAddr->getType())->getAddressSpace(); in createMemCpyLoopKnownSize()
47 unsigned DstAS = cast<PointerType>(DstAddr->getType())->getAddressSpace(); in createMemCpyLoopKnownSize()
154 unsigned SrcAS = cast<PointerType>(SrcAddr->getType())->getAddressSpace(); in createMemCpyLoopUnknownSize()
155 unsigned DstAS = cast<PointerType>(DstAddr->getType())->getAddressSpace(); in createMemCpyLoopUnknownSize()
382 unsigned dstAS = cast<PointerType>(DstAddr->getType())->getAddressSpace(); in createMemSetLoop()
DFunctionComparator.cpp242 unsigned AddrSpaceL = PTyL->getAddressSpace(); in cmpConstants()
243 unsigned AddrSpaceR = PTyR->getAddressSpace(); in cmpConstants()
411 if (PTyL && PTyL->getAddressSpace() == 0) in cmpTypes()
413 if (PTyR && PTyR->getAddressSpace() == 0) in cmpTypes()
442 return cmpNumbers(PTyL->getAddressSpace(), PTyR->getAddressSpace()); in cmpTypes()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Support/
DLowLevelTypeImpl.h70 ScalarTy.isPointer() ? ScalarTy.getAddressSpace() : 0}; in vector()
157 unsigned getAddressSpace() const { in getAddressSpace() function
170 return pointer(getAddressSpace(), getScalarSizeInBits()); in getElementType()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/
DAMDGPUInline.cpp134 if (!Ty || (Ty->getAddressSpace() != AMDGPUAS::PRIVATE_ADDRESS && in getInlineThreshold()
135 Ty->getAddressSpace() != AMDGPUAS::FLAT_ADDRESS)) in getInlineThreshold()
DAMDGPUPerfHintAnalysis.cpp303 unsigned As = PT->getAddressSpace(); in isGlobalAddr()
312 return PT->getAddressSpace() == AMDGPUAS::LOCAL_ADDRESS; in isLocalAddr()
344 unsigned As = PT->getAddressSpace(); in isConstantAddr()
DAMDGPULowerKernelArguments.cpp112 if ((PT->getAddressSpace() == AMDGPUAS::LOCAL_ADDRESS || in runOnFunction()
113 PT->getAddressSpace() == AMDGPUAS::REGION_ADDRESS) && in runOnFunction()
DAMDGPUAlwaysInlinePass.cpp121 unsigned AS = GV.getAddressSpace(); in runOnModule()
DAMDGPURewriteOutArguments.cpp194 if (!ArgTy || (ArgTy->getAddressSpace() != DL->getAllocaAddrSpace() && in isOutArgumentCandidate()
461 Type *PtrTy = Val->getType()->getPointerTo(ArgType->getAddressSpace()); in runOnFunction()
DR600ISelLowering.cpp746 if (GSD->getAddressSpace() != AMDGPUAS::CONSTANT_ADDRESS) in LowerGlobalAddress()
1145 assert(Store->getAddressSpace() == AMDGPUAS::PRIVATE_ADDRESS); in lowerPrivateTruncStore()
1231 unsigned AS = StoreNode->getAddressSpace(); in LowerSTORE()
1442 unsigned AS = LoadNode->getAddressSpace(); in LowerLOAD()
1456 if ((LoadNode->getAddressSpace() == AMDGPUAS::LOCAL_ADDRESS || in LowerLOAD()
1457 LoadNode->getAddressSpace() == AMDGPUAS::PRIVATE_ADDRESS) && in LowerLOAD()
1465 int ConstantBlock = ConstantAddressBlock(LoadNode->getAddressSpace()); in LowerLOAD()
1472 return constBufferLoad(LoadNode, LoadNode->getAddressSpace(), DAG); in LowerLOAD()
1479 DAG.getConstant(LoadNode->getAddressSpace() - in LowerLOAD()
1515 if (LoadNode->getAddressSpace() != AMDGPUAS::PRIVATE_ADDRESS) { in LowerLOAD()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AVR/
DAVR.h44 return cast<PointerType>(V->getType())->getAddressSpace() == ProgramMemory; in isProgramMemoryAddress()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Linker/
DIRMover.cpp166 if (PT->getAddressSpace() != cast<PointerType>(SrcTy)->getAddressSpace()) in areTypesIsomorphic()
311 cast<PointerType>(Ty)->getAddressSpace()); in get()
631 SGVar->getAddressSpace()); in copyGlobalVariableProto()
659 SF->getAddressSpace(), SF->getName(), &DstM); in copyFunctionProto()
674 GIS = GlobalAlias::create(Ty, SGIS->getAddressSpace(), in copyGlobalIndirectSymbolProto()
678 GIS = GlobalIFunc::create(Ty, SGIS->getAddressSpace(), in copyGlobalIndirectSymbolProto()
698 GlobalValue::ExternalLinkage, SGV->getAddressSpace(), in copyGlobalValueProto()
706 SGV->getThreadLocalMode(), SGV->getAddressSpace()); in copyGlobalValueProto()
922 SrcGV->getAddressSpace()); in linkAppendingVarProto()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Support/
DLowLevelType.cpp40 OS << "p" << getAddressSpace(); in print()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/NVPTX/
DNVPTXAsmPrinter.cpp667 if (Pty->getAddressSpace() != ADDRESS_SPACE_SHARED) in canDemoteGlobalVar()
1131 emitPTXAddressSpace(PTy->getAddressSpace(), O); in printModuleLevelGV()
1156 if ((PTy->getAddressSpace() == ADDRESS_SPACE_GLOBAL) || in printModuleLevelGV()
1157 (PTy->getAddressSpace() == ADDRESS_SPACE_CONST)) { in printModuleLevelGV()
1172 Twine(PTy->getAddressSpace()) + ")"); in printModuleLevelGV()
1191 if (((PTy->getAddressSpace() == ADDRESS_SPACE_GLOBAL) || in printModuleLevelGV()
1192 (PTy->getAddressSpace() == ADDRESS_SPACE_CONST)) && in printModuleLevelGV()
1330 emitPTXAddressSpace(GVar->getType()->getAddressSpace(), O); in emitPTXGlobalVariable()
1496 int addrSpace = PTy->getAddressSpace(); in emitFunctionParamList()
1726 if (GVar->getType()->getAddressSpace() != 0) { in printScalarConstant()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/CodeGen/
DMachineMemOperand.h58 AddrSpace = v ? v->getAddressSpace() : 0; in V()
74 AddrSpace = V.get<const PseudoSourceValue*>()->getAddressSpace(); in V()
DPseudoSourceValue.h74 unsigned getAddressSpace() const { return AddressSpace; } in getAddressSpace() function
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/IR/
DGlobals.cpp111 unsigned GlobalValue::getAddressSpace() const { in getAddressSpace() function in GlobalValue
113 return PtrTy->getAddressSpace(); in getAddressSpace()
506 return create(PTy->getElementType(), PTy->getAddressSpace(), Link, Name, in create()
DConstantFold.cpp110 if (PTy->getAddressSpace() == DPTy->getAddressSpace() in FoldBitCast()
388 PTy->getAddressSpace()), in getFoldedSizeOf()
452 PTy->getAddressSpace()), in getFoldedAlignOf()
1621 GV->getType()->getAddressSpace())) in evaluateICmpRelation()
1852 GV->getType()->getAddressSpace())) { in ConstantFoldCompareInstruction()
1864 GV->getType()->getAddressSpace())) { in ConstantFoldCompareInstruction()
2221 Type *OrigGEPTy = PointerType::get(Ty, PtrTy->getAddressSpace()); in ConstantFoldGetElementPtr()
2222 Type *GEPTy = PointerType::get(Ty, PtrTy->getAddressSpace()); in ConstantFoldGetElementPtr()
2346 && SrcPtrTy->getAddressSpace() == DstPtrTy->getAddressSpace()) in ConstantFoldGetElementPtr()
DDataLayout.cpp675 return getPointerSizeInBits(cast<PointerType>(Ty)->getAddressSpace()); in getPointerTypeSizeInBits()
691 return getIndexSizeInBits(cast<PointerType>(Ty)->getAddressSpace()); in getIndexTypeSizeInBits()
711 unsigned AS = cast<PointerType>(Ty)->getAddressSpace(); in getAlignment()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/GlobalISel/
DLegalizerInfo.cpp307 AddressSpace2SpecifiedActions[Type.getAddressSpace()].push_back( in computeTables()
627 AddrSpace2PointerActions[OpcodeIdx].find(Aspect.Type.getAddressSpace()) == in findScalarLegalAction()
634 .find(Aspect.Type.getAddressSpace()) in findScalarLegalAction()
645 : LLT::pointer(Aspect.Type.getAddressSpace(), in findScalarLegalAction()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-subzero/include/llvm/IR/
DDerivedTypes.h471 inline unsigned getAddressSpace() const { return getSubclassData(); } in getAddressSpace() function
480 return cast<PointerType>(getScalarType())->getAddressSpace(); in getPointerAddressSpace()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/IPO/
DExtractGV.cpp137 CurI->getAddressSpace(), in runOnModule()
DLowerTypeTests.cpp878 assert(GV->getType()->getAddressSpace() == 0); in buildBitSetsFromGlobalVariables()
1048 assert(F->getType()->getAddressSpace() == 0); in importFunction()
1059 F->getAddressSpace(), in importFunction()
1072 F->getAddressSpace(), Name + ".cfi_jt", &M); in importFunction()
1078 F->getAddressSpace(), Name, &M); in importFunction()
1089 F->getAddressSpace(), "", &M); in importFunction()
1301 F->getAddressSpace(), "", &M); in replaceWeakDeclarationWithJumpTablePtr()
1535 assert(F->getType()->getAddressSpace() == 0); in buildBitSetsFromFunctionsNative()

123456