Searched refs:CIdx (Results 1 – 8 of 8) sorted by relevance
209 int CIdx = (PS1 == BB) ? 0 : 1; in FlattenParallelAndOr() local212 Idx = CIdx; in FlattenParallelAndOr()213 else if (CIdx != Idx) in FlattenParallelAndOr()
795 auto *CIdx = dyn_cast<ConstantInt>(Idx); in ConstantFoldExtractElementInstruction() local796 if (!CIdx) in ConstantFoldExtractElementInstruction()800 if (CIdx->uge(Val->getType()->getVectorNumElements())) in ConstantFoldExtractElementInstruction()824 return Val->getAggregateElement(CIdx); in ConstantFoldExtractElementInstruction()833 ConstantInt *CIdx = dyn_cast<ConstantInt>(Idx); in ConstantFoldInsertElementInstruction() local834 if (!CIdx) return nullptr; in ConstantFoldInsertElementInstruction()843 if (CIdx->uge(NumElts)) in ConstantFoldInsertElementInstruction()849 uint64_t IdxVal = CIdx->getZExtValue(); in ConstantFoldInsertElementInstruction()
1208 SlotIndex CIdx = LIS.getInstructionIndex(*CurrentSpill); in rmRedundantSpills() local1209 MachineInstr *SpillToRm = (CIdx > PIdx) ? CurrentSpill : PrevSpill; in rmRedundantSpills()1210 MachineInstr *SpillToKeep = (CIdx > PIdx) ? PrevSpill : CurrentSpill; in rmRedundantSpills()
556 if (const ConstantInt *CIdx = dyn_cast<ConstantInt>(Index)) { in DecomposeGEPExpression() local557 if (CIdx->isZero()) in DecomposeGEPExpression()561 CIdx->getValue().sextOrSelf(MaxPointerSize)) in DecomposeGEPExpression()
4262 if (auto *CIdx = dyn_cast<Constant>(Idx)) in SimplifyExtractElementInst() local4263 return ConstantFoldExtractElementInstruction(CVec, CIdx); in SimplifyExtractElementInst()
753 auto *CIdx = dyn_cast<ConstantSDNode>(Op.getOperand(2)); in SimplifyMultipleUseDemandedBits() local755 if (CIdx && CIdx->getAPIntValue().ult(VecVT.getVectorNumElements()) && in SimplifyMultipleUseDemandedBits()756 !DemandedElts[CIdx->getZExtValue()]) in SimplifyMultipleUseDemandedBits()886 auto *CIdx = dyn_cast<ConstantSDNode>(Op.getOperand(2)); in SimplifyDemandedBits() local892 if (CIdx && CIdx->getAPIntValue().ult(VecVT.getVectorNumElements())) { in SimplifyDemandedBits()893 unsigned Idx = CIdx->getZExtValue(); in SimplifyDemandedBits()1862 if (auto *CIdx = dyn_cast<ConstantSDNode>(Idx)) in SimplifyDemandedBits() local1863 if (CIdx->getAPIntValue().ult(NumSrcElts)) in SimplifyDemandedBits()1864 DemandedSrcElts = APInt::getOneBitSet(NumSrcElts, CIdx->getZExtValue()); in SimplifyDemandedBits()2379 auto *CIdx = dyn_cast<ConstantSDNode>(Op.getOperand(2)); in SimplifyDemandedVectorElts() local[all …]
1413 if (ConstantSDNode *CIdx = dyn_cast<ConstantSDNode>(Idx)) { in SplitVecRes_INSERT_VECTOR_ELT() local1414 unsigned IdxVal = CIdx->getZExtValue(); in SplitVecRes_INSERT_VECTOR_ELT()
20619 unsigned CIdx = cast<ConstantSDNode>(Idx)->getZExtValue(); in matchScalarReduction() local20620 if (M->second[CIdx]) in matchScalarReduction()20622 M->second.setBit(CIdx); in matchScalarReduction()35974 auto *CIdx = dyn_cast<ConstantSDNode>(Op.getOperand(1)); in SimplifyDemandedBitsForTargetNode() local35978 if (CIdx && CIdx->getAPIntValue().ult(NumVecElts)) { in SimplifyDemandedBitsForTargetNode()35979 unsigned Idx = CIdx->getZExtValue(); in SimplifyDemandedBitsForTargetNode()36013 auto *CIdx = dyn_cast<ConstantSDNode>(Op.getOperand(2)); in SimplifyDemandedBitsForTargetNode() local36016 if (CIdx && CIdx->getAPIntValue().ult(VecVT.getVectorNumElements())) { in SimplifyDemandedBitsForTargetNode()36017 unsigned Idx = CIdx->getZExtValue(); in SimplifyDemandedBitsForTargetNode()36117 auto *CIdx = dyn_cast<ConstantSDNode>(Op.getOperand(2)); in SimplifyMultipleUseDemandedBitsForTargetNode() local[all …]