Home
last modified time | relevance | path

Searched refs:OldVT (Results 1 – 15 of 15) sorted by relevance

/external/llvm/lib/CodeGen/SelectionDAG/
DLegalizeTypesGeneric.cpp224 EVT OldVT = N->getValueType(0); in ExpandRes_EXTRACT_VECTOR_ELT() local
225 EVT NewVT = TLI.getTypeToTransformTo(*DAG.getContext(), OldVT); in ExpandRes_EXTRACT_VECTOR_ELT()
227 if (OldVT != OldEltVT) { in ExpandRes_EXTRACT_VECTOR_ELT()
231 assert(OldEltVT.bitsLT(OldVT) && "Result type smaller then element type!"); in ExpandRes_EXTRACT_VECTOR_ELT()
232 EVT NVecVT = EVT::getVectorVT(*DAG.getContext(), OldVT, OldElts); in ExpandRes_EXTRACT_VECTOR_ELT()
384 EVT OldVT = N->getOperand(0).getValueType(); in ExpandOp_BUILD_VECTOR() local
385 EVT NewVT = TLI.getTypeToTransformTo(*DAG.getContext(), OldVT); in ExpandOp_BUILD_VECTOR()
388 assert(OldVT == VecVT.getVectorElementType() && in ExpandOp_BUILD_VECTOR()
DLegalizeTypes.h218 EVT OldVT = Op.getValueType(); in SExtPromotedInteger() local
222 DAG.getValueType(OldVT)); in SExtPromotedInteger()
227 EVT OldVT = Op.getValueType(); in ZExtPromotedInteger() local
230 return DAG.getZeroExtendInReg(Op, dl, OldVT.getScalarType()); in ZExtPromotedInteger()
DDAGCombiner.cpp996 EVT OldVT = Op.getValueType(); in SExtPromoteOperand() local
1007 DAG.getValueType(OldVT)); in SExtPromoteOperand()
1011 EVT OldVT = Op.getValueType(); in ZExtPromoteOperand() local
1021 return DAG.getZeroExtendInReg(NewOp, dl, OldVT); in ZExtPromoteOperand()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/SelectionDAG/
DLegalizeTypesGeneric.cpp212 EVT OldVT = N->getValueType(0); in ExpandRes_EXTRACT_VECTOR_ELT() local
213 EVT NewVT = TLI.getTypeToTransformTo(*DAG.getContext(), OldVT); in ExpandRes_EXTRACT_VECTOR_ELT()
215 if (OldVT != OldEltVT) { in ExpandRes_EXTRACT_VECTOR_ELT()
219 assert(OldEltVT.bitsLT(OldVT) && "Result type smaller then element type!"); in ExpandRes_EXTRACT_VECTOR_ELT()
220 EVT NVecVT = EVT::getVectorVT(*DAG.getContext(), OldVT, OldElts); in ExpandRes_EXTRACT_VECTOR_ELT()
370 EVT OldVT = N->getOperand(0).getValueType(); in ExpandOp_BUILD_VECTOR() local
371 EVT NewVT = TLI.getTypeToTransformTo(*DAG.getContext(), OldVT); in ExpandOp_BUILD_VECTOR()
374 assert(OldVT == VecVT.getVectorElementType() && in ExpandOp_BUILD_VECTOR()
DLegalizeTypes.h251 EVT OldVT = Op.getValueType(); in SExtPromotedInteger() local
255 DAG.getValueType(OldVT)); in SExtPromotedInteger()
260 EVT OldVT = Op.getValueType(); in ZExtPromotedInteger() local
263 return DAG.getZeroExtendInReg(Op, dl, OldVT.getScalarType()); in ZExtPromotedInteger()
271 EVT OldVT = Op.getValueType(); in SExtOrZExtPromotedInteger() local
274 if (TLI.isSExtCheaperThanZExt(OldVT, Op.getValueType())) in SExtOrZExtPromotedInteger()
276 DAG.getValueType(OldVT)); in SExtOrZExtPromotedInteger()
277 return DAG.getZeroExtendInReg(Op, DL, OldVT.getScalarType()); in SExtOrZExtPromotedInteger()
DDAGCombiner.cpp1148 EVT OldVT = Op.getValueType(); in SExtPromoteOperand() local
1159 DAG.getValueType(OldVT)); in SExtPromoteOperand()
1163 EVT OldVT = Op.getValueType(); in ZExtPromoteOperand() local
1173 return DAG.getZeroExtendInReg(NewOp, DL, OldVT); in ZExtPromoteOperand()
/external/llvm-project/llvm/lib/CodeGen/SelectionDAG/
DLegalizeTypesGeneric.cpp218 EVT OldVT = N->getValueType(0); in ExpandRes_EXTRACT_VECTOR_ELT() local
219 EVT NewVT = TLI.getTypeToTransformTo(*DAG.getContext(), OldVT); in ExpandRes_EXTRACT_VECTOR_ELT()
221 if (OldVT != OldEltVT) { in ExpandRes_EXTRACT_VECTOR_ELT()
225 assert(OldEltVT.bitsLT(OldVT) && "Result type smaller then element type!"); in ExpandRes_EXTRACT_VECTOR_ELT()
226 EVT NVecVT = EVT::getVectorVT(*DAG.getContext(), OldVT, OldElts); in ExpandRes_EXTRACT_VECTOR_ELT()
375 EVT OldVT = N->getOperand(0).getValueType(); in ExpandOp_BUILD_VECTOR() local
376 EVT NewVT = TLI.getTypeToTransformTo(*DAG.getContext(), OldVT); in ExpandOp_BUILD_VECTOR()
379 assert(OldVT == VecVT.getVectorElementType() && in ExpandOp_BUILD_VECTOR()
DLegalizeTypes.h263 EVT OldVT = Op.getValueType(); in SExtPromotedInteger() local
267 DAG.getValueType(OldVT)); in SExtPromotedInteger()
272 EVT OldVT = Op.getValueType(); in ZExtPromotedInteger() local
275 return DAG.getZeroExtendInReg(Op, dl, OldVT); in ZExtPromotedInteger()
283 EVT OldVT = Op.getValueType(); in SExtOrZExtPromotedInteger() local
286 if (TLI.isSExtCheaperThanZExt(OldVT, Op.getValueType())) in SExtOrZExtPromotedInteger()
288 DAG.getValueType(OldVT)); in SExtOrZExtPromotedInteger()
289 return DAG.getZeroExtendInReg(Op, DL, OldVT); in SExtOrZExtPromotedInteger()
DLegalizeIntegerTypes.cpp1150 EVT OldVT = N->getOperand(0).getValueType(); in PromoteIntRes_FunnelShift() local
1154 unsigned OldBits = OldVT.getScalarSizeInBits(); in PromoteIntRes_FunnelShift()
1170 Lo = DAG.getZeroExtendInReg(Lo, DL, OldVT); in PromoteIntRes_FunnelShift()
DDAGCombiner.cpp1257 EVT OldVT = Op.getValueType(); in SExtPromoteOperand() local
1268 DAG.getValueType(OldVT)); in SExtPromoteOperand()
1272 EVT OldVT = Op.getValueType(); in ZExtPromoteOperand() local
1282 return DAG.getZeroExtendInReg(NewOp, DL, OldVT); in ZExtPromoteOperand()
/external/clang/lib/Sema/
DSemaDeclAttr.cpp3551 } else if (const VectorType *OldVT = OldTy->getAs<VectorType>()) { in AddModeAttr() local
3558 OldVT->getNumElements() / in AddModeAttr()
3561 Context.getVectorType(NewElemTy, NumElements, OldVT->getVectorKind()); in AddModeAttr()
/external/llvm/lib/Target/AMDGPU/
DAMDGPUISelLowering.cpp522 EVT OldVT = N->getValueType(0); in shouldReduceLoadWidth() local
523 unsigned OldSize = OldVT.getStoreSizeInBits(); in shouldReduceLoadWidth()
/external/llvm-project/clang/lib/Sema/
DSemaDeclAttr.cpp4204 } else if (const auto *OldVT = OldTy->getAs<VectorType>()) { in AddModeAttr() local
4211 OldVT->getNumElements() / in AddModeAttr()
4214 Context.getVectorType(NewElemTy, NumElements, OldVT->getVectorKind()); in AddModeAttr()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/
DAMDGPUISelLowering.cpp648 EVT OldVT = N->getValueType(0); in shouldReduceLoadWidth() local
649 unsigned OldSize = OldVT.getStoreSizeInBits(); in shouldReduceLoadWidth()
/external/llvm-project/llvm/lib/Target/AMDGPU/
DAMDGPUISelLowering.cpp731 EVT OldVT = N->getValueType(0); in shouldReduceLoadWidth() local
732 unsigned OldSize = OldVT.getStoreSizeInBits(); in shouldReduceLoadWidth()