Home
last modified time | relevance | path

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

/openbsd-src/gnu/llvm/llvm/lib/Transforms/Vectorize/
H A DLoopVectorizationLegality.cpp561 Type *PhiTy = Phi->getType(); in addInductionPhi() local
565 if (!PhiTy->isFloatingPointTy()) { in addInductionPhi()
567 WidestIndTy = convertPointerToIntegerType(DL, PhiTy); in addInductionPhi()
569 WidestIndTy = getWiderType(DL, PhiTy, WidestIndTy); in addInductionPhi()
582 if (!PrimaryInduction || PhiTy == WidestIndTy) in addInductionPhi()
663 Type *PhiTy = Phi->getType(); in canVectorizeInstrs() local
665 if (!PhiTy->isIntegerTy() && !PhiTy->isFloatingPointTy() && in canVectorizeInstrs()
666 !PhiTy->isPointerTy()) { in canVectorizeInstrs()
H A DLoopVectorize.cpp3886 Type *PhiTy = OrigPhi->getType(); in fixReduction() local
3919 RdxDesc.getOpcode(), PhiTy, in fixReduction()
3931 if (VF.isVector() && PhiTy != RdxDesc.getRecurrenceType()) { in fixReduction()
3992 if (PhiTy != RdxDesc.getRecurrenceType()) in fixReduction()
3994 ? Builder.CreateSExt(ReducedPartRdx, PhiTy) in fixReduction()
3995 : Builder.CreateZExt(ReducedPartRdx, PhiTy); in fixReduction()
4003 PHINode *BCBlockPhi = PHINode::Create(PhiTy, 2, "bc.merge.rdx", in fixReduction()
/openbsd-src/gnu/llvm/llvm/lib/Analysis/
H A DIVDescriptors.cpp1477 Type *PhiTy = Phi->getType(); in isInductionPHI() local
1483 if (!PhiTy->isIntegerTy() && !PhiTy->isPointerTy() && !PhiTy->isFloatTy() && in isInductionPHI()
1484 !PhiTy->isDoubleTy() && !PhiTy->isHalfTy()) in isInductionPHI()
1487 if (PhiTy->isFloatingPointTy()) in isInductionPHI()
1522 Type *PhiTy = Phi->getType(); in isInductionPHI() local
1524 if (!PhiTy->isIntegerTy() && !PhiTy->isPointerTy()) in isInductionPHI()
1558 if (PhiTy->isIntegerTy()) { in isInductionPHI()
1566 assert(PhiTy->isPointerTy() && "The PHI must be a pointer"); in isInductionPHI()
1572 PointerType *PtrTy = cast<PointerType>(PhiTy); in isInductionPHI()
/openbsd-src/gnu/llvm/llvm/lib/Transforms/Utils/
H A DScalarEvolutionExpander.cpp1138 Type *PhiTy = SE.getEffectiveSCEVType(Phi->getType()); in canBeCheaplyTransformed() local
1141 if (RequestedTy->getIntegerBitWidth() > PhiTy->getIntegerBitWidth()) in canBeCheaplyTransformed()
/openbsd-src/gnu/llvm/llvm/lib/CodeGen/
H A DCodeGenPrepare.cpp6116 Type *PhiTy = I->getType(); in optimizePhiType() local
6204 !TLI->shouldConvertPhiType(PhiTy, ConvertTy)) in optimizePhiType()
6242 new BitCastInst(ValMap[U->getOperand(0)], PhiTy, "bc", U)); in optimizePhiType()