Home
last modified time | relevance | path

Searched refs:PhiTy (Results 1 – 16 of 16) sorted by relevance

/external/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/
DIVDescriptors.cpp1010 Type *PhiTy = Phi->getType(); in isInductionPHI() local
1016 if (!PhiTy->isIntegerTy() && !PhiTy->isPointerTy() && !PhiTy->isFloatTy() && in isInductionPHI()
1017 !PhiTy->isDoubleTy() && !PhiTy->isHalfTy()) in isInductionPHI()
1020 if (PhiTy->isFloatingPointTy()) in isInductionPHI()
1055 Type *PhiTy = Phi->getType(); in isInductionPHI() local
1057 if (!PhiTy->isIntegerTy() && !PhiTy->isPointerTy()) in isInductionPHI()
1093 if (PhiTy->isIntegerTy()) { in isInductionPHI()
1099 assert(PhiTy->isPointerTy() && "The PHI must be a pointer"); in isInductionPHI()
1105 Type *PointerElementType = PhiTy->getPointerElementType(); in isInductionPHI()
DScalarEvolutionExpander.cpp1100 Type *PhiTy = SE.getEffectiveSCEVType(Phi->getType()); in canBeCheaplyTransformed() local
1103 if (RequestedTy->getIntegerBitWidth() > PhiTy->getIntegerBitWidth()) in canBeCheaplyTransformed()
/external/llvm-project/llvm/lib/Analysis/
DIVDescriptors.cpp1104 Type *PhiTy = Phi->getType(); in isInductionPHI() local
1110 if (!PhiTy->isIntegerTy() && !PhiTy->isPointerTy() && !PhiTy->isFloatTy() && in isInductionPHI()
1111 !PhiTy->isDoubleTy() && !PhiTy->isHalfTy()) in isInductionPHI()
1114 if (PhiTy->isFloatingPointTy()) in isInductionPHI()
1149 Type *PhiTy = Phi->getType(); in isInductionPHI() local
1151 if (!PhiTy->isIntegerTy() && !PhiTy->isPointerTy()) in isInductionPHI()
1187 if (PhiTy->isIntegerTy()) { in isInductionPHI()
1193 assert(PhiTy->isPointerTy() && "The PHI must be a pointer"); in isInductionPHI()
1199 Type *PointerElementType = PhiTy->getPointerElementType(); in isInductionPHI()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Vectorize/
DLoopVectorizationLegality.cpp504 Type *PhiTy = Phi->getType(); in addInductionPhi() local
508 if (!PhiTy->isFloatingPointTy()) { in addInductionPhi()
510 WidestIndTy = convertPointerToIntegerType(DL, PhiTy); in addInductionPhi()
512 WidestIndTy = getWiderType(DL, PhiTy, WidestIndTy); in addInductionPhi()
525 if (!PrimaryInduction || PhiTy == WidestIndTy) in addInductionPhi()
582 Type *PhiTy = Phi->getType(); in canVectorizeInstrs() local
584 if (!PhiTy->isIntegerTy() && !PhiTy->isFloatingPointTy() && in canVectorizeInstrs()
585 !PhiTy->isPointerTy()) { in canVectorizeInstrs()
/external/llvm/lib/Transforms/Utils/
DLoopUtils.cpp738 Type *PhiTy = Phi->getType(); in isInductionPHI() local
740 if (!PhiTy->isIntegerTy() && !PhiTy->isPointerTy()) in isInductionPHI()
762 Type *PhiTy = Phi->getType(); in isInductionPHI() local
764 if (!PhiTy->isIntegerTy() && !PhiTy->isPointerTy()) in isInductionPHI()
787 if (PhiTy->isIntegerTy()) { in isInductionPHI()
792 assert(PhiTy->isPointerTy() && "The PHI must be a pointer"); in isInductionPHI()
798 Type *PointerElementType = PhiTy->getPointerElementType(); in isInductionPHI()
/external/llvm-project/llvm/lib/Transforms/Vectorize/
DLoopVectorizationLegality.cpp518 Type *PhiTy = Phi->getType(); in addInductionPhi() local
522 if (!PhiTy->isFloatingPointTy()) { in addInductionPhi()
524 WidestIndTy = convertPointerToIntegerType(DL, PhiTy); in addInductionPhi()
526 WidestIndTy = getWiderType(DL, PhiTy, WidestIndTy); in addInductionPhi()
539 if (!PrimaryInduction || PhiTy == WidestIndTy) in addInductionPhi()
618 Type *PhiTy = Phi->getType(); in canVectorizeInstrs() local
620 if (!PhiTy->isIntegerTy() && !PhiTy->isFloatingPointTy() && in canVectorizeInstrs()
621 !PhiTy->isPointerTy()) { in canVectorizeInstrs()
/external/llvm/lib/Transforms/Scalar/
DLoopInterchange.cpp309 Type *PhiTy = PhiVar->getType(); in getInductionVariable() local
310 if (!PhiTy->isIntegerTy() && !PhiTy->isFloatingPointTy() && in getInductionVariable()
311 !PhiTy->isPointerTy()) in getInductionVariable()
/external/llvm-project/llvm/lib/Transforms/Scalar/
DLoopInterchange.cpp306 Type *PhiTy = PhiVar->getType(); in getInductionVariable() local
307 if (!PhiTy->isIntegerTy() && !PhiTy->isFloatingPointTy() && in getInductionVariable()
308 !PhiTy->isPointerTy()) in getInductionVariable()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Scalar/
DLoopInterchange.cpp304 Type *PhiTy = PhiVar->getType(); in getInductionVariable() local
305 if (!PhiTy->isIntegerTy() && !PhiTy->isFloatingPointTy() && in getInductionVariable()
306 !PhiTy->isPointerTy()) in getInductionVariable()
/external/llvm-project/llvm/unittests/CodeGen/GlobalISel/
DLegalizerHelperTest.cpp745 LLT PhiTy = v5s32; in TEST_F() local
759 auto InitVal = B.buildUndef(PhiTy); in TEST_F()
768 auto MidVal = B.buildUndef(PhiTy); in TEST_F()
774 .addDef(MRI->createGenericVirtualRegister(PhiTy)) in TEST_F()
790 B.buildAnd(PhiTy, Phi.getReg(0), Phi.getReg(0)); in TEST_F()
/external/llvm/lib/Transforms/Vectorize/
DLoopVectorize.cpp4539 Type *PhiTy = Phi->getType(); in addInductionPhi() local
4544 WidestIndTy = convertPointerToIntegerType(DL, PhiTy); in addInductionPhi()
4546 WidestIndTy = getWiderType(DL, PhiTy, WidestIndTy); in addInductionPhi()
4559 if (!Induction || PhiTy == WidestIndTy) in addInductionPhi()
4585 Type *PhiTy = Phi->getType(); in canVectorizeInstrs() local
4587 if (!PhiTy->isIntegerTy() && !PhiTy->isFloatingPointTy() && in canVectorizeInstrs()
4588 !PhiTy->isPointerTy()) { in canVectorizeInstrs()
/external/llvm/lib/Analysis/
DScalarEvolutionExpander.cpp1026 Type *PhiTy = SE.getEffectiveSCEVType(Phi->getType()); in canBeCheaplyTransformed() local
1029 if (RequestedTy->getIntegerBitWidth() > PhiTy->getIntegerBitWidth()) in canBeCheaplyTransformed()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/GlobalISel/
DLegalizerHelper.cpp2734 LLT PhiTy = MRI.getType(DstReg); in fewerElementsVectorPhi() local
2742 = getNarrowTypeBreakDown(PhiTy, NarrowTy, LeftoverTy); in fewerElementsVectorPhi()
2765 insertParts(DstReg, PhiTy, NarrowTy, DstRegs, LeftoverTy, LeftoverDstRegs); in fewerElementsVectorPhi()
2779 if (!extractParts(SrcReg, PhiTy, NarrowTy, Unused, PartRegs, in fewerElementsVectorPhi()
/external/llvm-project/llvm/lib/Transforms/Utils/
DScalarEvolutionExpander.cpp1124 Type *PhiTy = SE.getEffectiveSCEVType(Phi->getType()); in canBeCheaplyTransformed() local
1127 if (RequestedTy->getIntegerBitWidth() > PhiTy->getIntegerBitWidth()) in canBeCheaplyTransformed()
/external/llvm-project/llvm/lib/CodeGen/
DCodeGenPrepare.cpp5802 Type *PhiTy = I->getType(); in optimizePhiType() local
5893 if (!ConvertTy || !AnyAnchored || !TLI->shouldConvertPhiType(PhiTy, ConvertTy)) in optimizePhiType()
5902 ValMap[UndefValue::get(PhiTy)] = UndefValue::get(ConvertTy); in optimizePhiType()
5930 new BitCastInst(ValMap[U->getOperand(0)], PhiTy, "bc", U)); in optimizePhiType()
/external/llvm-project/llvm/lib/CodeGen/GlobalISel/
DLegalizerHelper.cpp3506 LLT PhiTy = MRI.getType(DstReg); in fewerElementsVectorPhi() local
3514 = getNarrowTypeBreakDown(PhiTy, NarrowTy, LeftoverTy); in fewerElementsVectorPhi()
3537 insertParts(DstReg, PhiTy, NarrowTy, DstRegs, LeftoverTy, LeftoverDstRegs); in fewerElementsVectorPhi()
3551 if (!extractParts(SrcReg, PhiTy, NarrowTy, Unused, PartRegs, in fewerElementsVectorPhi()