Home
last modified time | relevance | path

Searched refs:CIdx (Results 1 – 14 of 14) sorted by relevance

/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/IR/
H A DConstantFolder.h151 auto *CIdx = dyn_cast<Constant>(Idx); in FoldExtractElement() local
152 if (CVec && CIdx) in FoldExtractElement()
153 return ConstantExpr::getExtractElement(CVec, CIdx); in FoldExtractElement()
161 auto *CIdx = dyn_cast<Constant>(Idx); in FoldInsertElement() local
162 if (CVec && CNewElt && CIdx) in FoldInsertElement()
163 return ConstantExpr::getInsertElement(CVec, CNewElt, CIdx); in FoldInsertElement()
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/Analysis/
H A DTargetFolder.h162 auto *CIdx = dyn_cast<Constant>(Idx); in FoldExtractElement() local
163 if (CVec && CIdx) in FoldExtractElement()
164 return Fold(ConstantExpr::getExtractElement(CVec, CIdx)); in FoldExtractElement()
172 auto *CIdx = dyn_cast<Constant>(Idx); in FoldInsertElement() local
173 if (CVec && CNewElt && CIdx) in FoldInsertElement()
174 return Fold(ConstantExpr::getInsertElement(CVec, CNewElt, CIdx)); in FoldInsertElement()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DFlattenCFG.cpp207 int CIdx = (PS1 == BB) ? 0 : 1; in FlattenParallelAndOr() local
210 Idx = CIdx; in FlattenParallelAndOr()
211 else if (CIdx != Idx) in FlattenParallelAndOr()
/freebsd-14.2/contrib/llvm-project/llvm/lib/IR/
H A DConstantFold.cpp426 auto *CIdx = dyn_cast<ConstantInt>(Idx); in ConstantFoldExtractElementInstruction() local
427 if (!CIdx) in ConstantFoldExtractElementInstruction()
432 if (CIdx->uge(ValFVTy->getNumElements())) in ConstantFoldExtractElementInstruction()
456 APSInt(CIdx->getValue()))) { in ConstantFoldExtractElementInstruction()
459 return ConstantExpr::getExtractElement(CE->getOperand(0), CIdx); in ConstantFoldExtractElementInstruction()
465 if (Constant *C = Val->getAggregateElement(CIdx)) in ConstantFoldExtractElementInstruction()
469 if (CIdx->getValue().ult(ValVTy->getElementCount().getKnownMinValue())) { in ConstantFoldExtractElementInstruction()
488 ConstantInt *CIdx = dyn_cast<ConstantInt>(Idx); in ConstantFoldInsertElementInstruction() local
489 if (!CIdx) return nullptr; in ConstantFoldInsertElementInstruction()
499 if (CIdx->uge(NumElts)) in ConstantFoldInsertElementInstruction()
[all …]
/freebsd-14.2/contrib/llvm-project/clang/include/clang-c/
H A DIndex.h647 CXIndex CIdx, const char *source_filename, int num_clang_command_line_args,
658 clang_createTranslationUnit(CXIndex CIdx, const char *ast_filename);
669 clang_createTranslationUnit2(CXIndex CIdx, const char *ast_filename,
849 CXIndex CIdx, const char *source_filename,
899 CXIndex CIdx, const char *source_filename,
910 CXIndex CIdx, const char *source_filename,
6349 CINDEX_LINKAGE CXIndexAction clang_IndexAction_create(CXIndex CIdx);
/freebsd-14.2/contrib/llvm-project/llvm/lib/Analysis/
H A DValueTracking.cpp1620 auto *CIdx = dyn_cast<ConstantInt>(I->getOperand(2)); in computeKnownBitsFromOperator() local
1623 if (!CIdx || CIdx->getValue().uge(NumElts)) { in computeKnownBitsFromOperator()
1629 unsigned EltIdx = CIdx->getZExtValue(); in computeKnownBitsFromOperator()
1651 auto *CIdx = dyn_cast<ConstantInt>(Idx); in computeKnownBitsFromOperator() local
1659 if (CIdx && CIdx->getValue().ult(NumElts)) in computeKnownBitsFromOperator()
2644 auto *CIdx = dyn_cast<ConstantInt>(Idx); in isKnownNonZeroFromOperator() local
2648 if (CIdx && CIdx->getValue().ult(NumElts)) in isKnownNonZeroFromOperator()
5139 auto *CIdx = dyn_cast<ConstantInt>(Idx); in computeKnownFPClass() local
5144 if (CIdx && CIdx->getValue().ult(NumElts)) in computeKnownFPClass()
5161 if (!CIdx || CIdx->getValue().uge(NumElts)) in computeKnownFPClass()
[all …]
H A DBasicAliasAnalysis.cpp639 if (const ConstantInt *CIdx = dyn_cast<ConstantInt>(Index)) { in DecomposeGEPExpression() local
640 if (CIdx->isZero()) in DecomposeGEPExpression()
651 CIdx->getValue().sextOrTrunc(MaxIndexSize); in DecomposeGEPExpression()
H A DInstructionSimplify.cpp5203 if (auto *CIdx = dyn_cast<Constant>(Idx)) in simplifyExtractElementInst() local
5204 return ConstantExpr::getExtractElement(CVec, CIdx); in simplifyExtractElementInst()
/freebsd-14.2/contrib/llvm-project/llvm/lib/CodeGen/
H A DInlineSpiller.cpp1388 SlotIndex CIdx = LIS.getInstructionIndex(*CurrentSpill); in rmRedundantSpills() local
1389 MachineInstr *SpillToRm = (CIdx > PIdx) ? CurrentSpill : PrevSpill; in rmRedundantSpills()
1390 MachineInstr *SpillToKeep = (CIdx > PIdx) ? PrevSpill : CurrentSpill; in rmRedundantSpills()
/freebsd-14.2/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/
H A DTargetLowering.cpp857 auto *CIdx = dyn_cast<ConstantSDNode>(Op.getOperand(2)); in SimplifyMultipleUseDemandedBits() local
859 if (CIdx && CIdx->getAPIntValue().ult(VecVT.getVectorNumElements()) && in SimplifyMultipleUseDemandedBits()
860 !DemandedElts[CIdx->getZExtValue()]) in SimplifyMultipleUseDemandedBits()
1199 auto *CIdx = dyn_cast<ConstantSDNode>(Op.getOperand(2)); in SimplifyDemandedBits() local
1205 if (CIdx && CIdx->getAPIntValue().ult(VecVT.getVectorNumElements())) { in SimplifyDemandedBits()
1206 unsigned Idx = CIdx->getZExtValue(); in SimplifyDemandedBits()
2617 if (auto *CIdx = dyn_cast<ConstantSDNode>(Idx)) in SimplifyDemandedBits() local
2618 if (CIdx->getAPIntValue().ult(NumSrcElts)) in SimplifyDemandedBits()
3330 auto *CIdx = dyn_cast<ConstantSDNode>(Op.getOperand(2)); in SimplifyDemandedVectorElts() local
3334 if (CIdx && CIdx->getAPIntValue().ult(NumElts)) { in SimplifyDemandedVectorElts()
[all …]
H A DLegalizeVectorTypes.cpp1773 if (ConstantSDNode *CIdx = dyn_cast<ConstantSDNode>(Idx)) { in SplitVecRes_INSERT_VECTOR_ELT() local
1774 unsigned IdxVal = CIdx->getZExtValue(); in SplitVecRes_INSERT_VECTOR_ELT()
H A DDAGCombiner.cpp21042 if (auto *CIdx = dyn_cast<ConstantSDNode>(Idx)) { in replaceStoreOfInsertLoad() local
21043 unsigned COffset = CIdx->getSExtValue() * EltVT.getSizeInBits() / 8; in replaceStoreOfInsertLoad()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86ISelLowering.cpp22091 unsigned CIdx = Idx->getZExtValue(); in matchScalarReduction() local
22092 if (M->second[CIdx]) in matchScalarReduction()
22094 M->second.setBit(CIdx); in matchScalarReduction()
41949 if (CIdx && CIdx->getAPIntValue().ult(NumVecElts)) { in SimplifyDemandedBitsForTargetNode()
41950 unsigned Idx = CIdx->getZExtValue(); in SimplifyDemandedBitsForTargetNode()
41987 if (CIdx && CIdx->getAPIntValue().ult(VecVT.getVectorNumElements())) { in SimplifyDemandedBitsForTargetNode()
41988 unsigned Idx = CIdx->getZExtValue(); in SimplifyDemandedBitsForTargetNode()
42232 if (CIdx && CIdx->getAPIntValue().ult(VecVT.getVectorNumElements()) && in SimplifyMultipleUseDemandedBitsForTargetNode()
44157 if (CIdx && CIdx->getAPIntValue().uge(NumSrcElts)) in combineExtractVectorElt()
44161 if (CIdx && VT.isInteger()) { in combineExtractVectorElt()
[all …]
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/AArch64/
H A DAArch64ISelLowering.cpp12409 auto *CIdx = dyn_cast<ConstantSDNode>(Idx128); in LowerDUPQLane() local
12410 if (CIdx && (CIdx->getZExtValue() <= 3)) { in LowerDUPQLane()
12411 SDValue CI = DAG.getTargetConstant(CIdx->getZExtValue(), DL, MVT::i64); in LowerDUPQLane()