Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/llvm/lib/Analysis/
H A DIVDescriptors.cpp1436 Type *PhiTy = Phi->getType(); in isInductionPHI() local
1442 if (!PhiTy->isIntegerTy() && !PhiTy->isPointerTy() && !PhiTy->isFloatTy() && in isInductionPHI()
1443 !PhiTy->isDoubleTy() && !PhiTy->isHalfTy()) in isInductionPHI()
1446 if (PhiTy->isFloatingPointTy()) in isInductionPHI()
1481 Type *PhiTy = Phi->getType(); in isInductionPHI() local
1483 if (!PhiTy->isIntegerTy() && !PhiTy->isPointerTy()) in isInductionPHI()
1523 if (PhiTy->isIntegerTy()) { in isInductionPHI()
1531 assert(PhiTy->isPointerTy() && "The PHI must be a pointer"); in isInductionPHI()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Vectorize/
H A DLoopVectorizationLegality.cpp694 Type *PhiTy = Phi->getType(); in addInductionPhi() local
698 if (!PhiTy->isFloatingPointTy()) { in addInductionPhi()
700 WidestIndTy = convertPointerToIntegerType(DL, PhiTy); in addInductionPhi()
702 WidestIndTy = getWiderType(DL, PhiTy, WidestIndTy); in addInductionPhi()
715 if (!PrimaryInduction || PhiTy == WidestIndTy) in addInductionPhi()
796 Type *PhiTy = Phi->getType(); in canVectorizeInstrs() local
798 if (!PhiTy->isIntegerTy() && !PhiTy->isFloatingPointTy() && in canVectorizeInstrs()
799 !PhiTy->isPointerTy()) { in canVectorizeInstrs()
H A DVPlanRecipes.cpp559 Type *PhiTy = OrigPhi->getType(); in generatePerPart() local
568 if (State.VF.isVector() && PhiTy != RdxDesc.getRecurrenceType()) { in generatePerPart()
604 if (PhiTy != RdxDesc.getRecurrenceType()) in generatePerPart()
606 ? Builder.CreateSExt(ReducedPartRdx, PhiTy) in generatePerPart()
607 : Builder.CreateZExt(ReducedPartRdx, PhiTy); in generatePerPart()
H A DLoopVectorize.cpp8988 Type *PhiTy = PhiR->getOperand(0)->getLiveInIRValue()->getType(); in adjustRecipesForReductions() local
8990 PhiTy->isFloatingPointTy() in adjustRecipesForReductions()
9002 PhiR->getRecurrenceDescriptor().getOpcode(), PhiTy, in adjustRecipesForReductions()
9010 Type *PhiTy = PhiR->getStartValue()->getLiveInIRValue()->getType(); in adjustRecipesForReductions() local
9011 if (MinVF.isVector() && PhiTy != RdxDesc.getRecurrenceType() && in adjustRecipesForReductions()
9020 ? new VPWidenCastRecipe(Instruction::SExt, Trunc, PhiTy) in adjustRecipesForReductions()
9021 : new VPWidenCastRecipe(Instruction::ZExt, Trunc, PhiTy); in adjustRecipesForReductions()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DScalarEvolutionExpander.cpp874 Type *PhiTy = Phi->getType(); in canBeCheaplyTransformed() local
876 if (PhiTy->isPointerTy() || RequestedTy->isPointerTy()) in canBeCheaplyTransformed()
879 if (RequestedTy->getIntegerBitWidth() > PhiTy->getIntegerBitWidth()) in canBeCheaplyTransformed()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/
H A DCodeGenPrepare.cpp6385 Type *PhiTy = I->getType(); in optimizePhiType() local
6473 !TLI->shouldConvertPhiType(PhiTy, ConvertTy)) in optimizePhiType()
6510 U->setOperand(0, new BitCastInst(ValMap[U->getOperand(0)], PhiTy, "bc", in optimizePhiType()