Home
last modified time | relevance | path

Searched refs:OldTy (Results 1 – 4 of 4) sorted by relevance

/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/GlobalISel/
DLegalizeMutations.cpp32 const LLT OldTy = Query.Types[TypeIdx]; in changeElementTo() local
34 return std::make_pair(TypeIdx, OldTy.changeElementType(NewTy)); in changeElementTo()
41 const LLT OldTy = Query.Types[TypeIdx]; in changeElementTo() local
42 return std::make_pair(TypeIdx, OldTy.changeElementType(NewEltTy)); in changeElementTo()
DLegalizerInfo.cpp126 const LLT OldTy = Q.Types[TypeIdx]; in mutationIsSane() local
131 if (!OldTy.isVector()) in mutationIsSane()
136 const unsigned OldElts = OldTy.isVector() ? OldTy.getNumElements() : 1; in mutationIsSane()
150 return NewTy.getScalarType() == OldTy.getScalarType(); in mutationIsSane()
154 if (OldTy.isVector()) { in mutationIsSane()
156 if (!NewTy.isVector() || OldTy.getNumElements() != NewTy.getNumElements()) in mutationIsSane()
166 if (NewTy.getScalarSizeInBits() >= OldTy.getScalarSizeInBits()) in mutationIsSane()
170 if (NewTy.getScalarSizeInBits() <= OldTy.getScalarSizeInBits()) in mutationIsSane()
DLegalizerHelper.cpp1149 LLT OldTy = MRI.getType(MO.getReg()); in moreElementsVectorSrc() local
1150 unsigned OldElts = OldTy.getNumElements(); in moreElementsVectorSrc()
1160 Register ImpDef = MIRBuilder.buildUndef(OldTy).getReg(0); in moreElementsVectorSrc()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Scalar/
DSROA.cpp1706 static bool canConvertValue(const DataLayout &DL, Type *OldTy, Type *NewTy) { in canConvertValue() argument
1707 if (OldTy == NewTy) in canConvertValue()
1713 if (isa<IntegerType>(OldTy) && isa<IntegerType>(NewTy)) { in canConvertValue()
1714 assert(cast<IntegerType>(OldTy)->getBitWidth() != in canConvertValue()
1720 if (DL.getTypeSizeInBits(NewTy) != DL.getTypeSizeInBits(OldTy)) in canConvertValue()
1722 if (!NewTy->isSingleValueType() || !OldTy->isSingleValueType()) in canConvertValue()
1727 OldTy = OldTy->getScalarType(); in canConvertValue()
1729 if (NewTy->isPointerTy() || OldTy->isPointerTy()) { in canConvertValue()
1730 if (NewTy->isPointerTy() && OldTy->isPointerTy()) { in canConvertValue()
1732 cast<PointerType>(OldTy)->getPointerAddressSpace(); in canConvertValue()
[all …]