Home
last modified time | relevance | path

Searched refs:Idx2 (Results 1 – 10 of 10) sorted by relevance

/llvm-project-15.0.7/llvm/lib/Analysis/
H A DStratifiedSets.h441 void merge(StratifiedIndex Idx1, StratifiedIndex Idx2) { in merge() argument
442 assert(inbounds(Idx1) && inbounds(Idx2)); in merge()
443 assert(&linksAt(Idx1) != &linksAt(Idx2) && in merge()
449 if (tryMergeUpwards(Idx1, Idx2)) in merge()
452 if (tryMergeUpwards(Idx2, Idx1)) in merge()
457 mergeDirect(Idx1, Idx2); in merge()
462 void mergeDirect(StratifiedIndex Idx1, StratifiedIndex Idx2) { in mergeDirect() argument
463 assert(inbounds(Idx1) && inbounds(Idx2)); in mergeDirect()
466 auto *LinksFrom = &linksAt(Idx2); in mergeDirect()
/llvm-project-15.0.7/llvm/lib/CodeGen/
H A DTargetInstrInfo.cpp175 unsigned CommutableOpIdx2 = Idx2; (void)CommutableOpIdx2; in commuteInstructionImpl()
177 CommutableOpIdx1 == Idx1 && CommutableOpIdx2 == Idx2 && in commuteInstructionImpl()
184 Register Reg2 = MI.getOperand(Idx2).getReg(); in commuteInstructionImpl()
187 unsigned SubReg2 = MI.getOperand(Idx2).getSubReg(); in commuteInstructionImpl()
189 bool Reg2IsKill = MI.getOperand(Idx2).isKill(); in commuteInstructionImpl()
191 bool Reg2IsUndef = MI.getOperand(Idx2).isUndef(); in commuteInstructionImpl()
193 bool Reg2IsInternal = MI.getOperand(Idx2).isInternalRead(); in commuteInstructionImpl()
229 CommutedMI->getOperand(Idx2).setReg(Reg1); in commuteInstructionImpl()
231 CommutedMI->getOperand(Idx2).setSubReg(SubReg1); in commuteInstructionImpl()
233 CommutedMI->getOperand(Idx2).setIsKill(Reg1IsKill); in commuteInstructionImpl()
[all …]
H A DShadowStackGCLowering.cpp84 Type *Ty, Value *BasePtr, int Idx1, int Idx2,
263 int Idx2, in CreateGEP() argument
267 ConstantInt::get(Type::getInt32Ty(Context), Idx2)}; in CreateGEP()
H A DPeepholeOptimizer.cpp272 RecurrenceInstr(MachineInstr *MI, unsigned Idx1, unsigned Idx2) in RecurrenceInstr() argument
273 : MI(MI), CommutePair(std::make_pair(Idx1, Idx2)) {} in RecurrenceInstr()
/llvm-project-15.0.7/compiler-rt/lib/fuzzer/
H A DFuzzerCorpus.h375 uint32_t Idx2 = RareFeatures[i]; in AddRareFeature() local
376 if (GlobalFeatureFreqs[Idx2] >= in AddRareFeature()
379 MostAbundantRareFeatureIndices[0] = Idx2; in AddRareFeature()
/llvm-project-15.0.7/llvm/utils/TableGen/
H A DCodeGenRegisters.cpp1454 CodeGenSubRegIndex *Idx2 = I2.first; in computeComposites() local
1464 if (CodeGenSubRegIndex *Prev = Idx1->addComposite(Idx2, Idx3)) { in computeComposites()
1466 if (!UserDefined.count({Idx1, Idx2}) || in computeComposites()
1467 agree(compose(Idx1, Idx2), SubRegAction.at(Idx3))) in computeComposites()
1469 " and " + Idx2->getQualifiedName() + in computeComposites()
1530 for (auto &Idx2 : SubRegIndices) { in computeSubRegLaneMasks() local
1532 if (!Idx2.getComposites().empty()) in computeSubRegLaneMasks()
1539 assert(Idx2.LaneMask == SrcMask); in computeSubRegLaneMasks()
1542 auto C = Composites.find(&Idx2); in computeSubRegLaneMasks()
/llvm-project-15.0.7/llvm/lib/CodeGen/SelectionDAG/
H A DLegalizeVectorTypes.cpp2578 &BuildVector](ArrayRef<int> Mask, unsigned Idx1, unsigned Idx2) { in SplitVecRes_VECTOR_SHUFFLE() argument
2581 Inputs[Idx2]->getOpcode() == ISD::BUILD_VECTOR) in SplitVecRes_VECTOR_SHUFFLE()
2582 Output = BuildVector(Inputs[Idx1], Inputs[Idx2], Mask); in SplitVecRes_VECTOR_SHUFFLE()
2585 Inputs[Idx2], Mask); in SplitVecRes_VECTOR_SHUFFLE()
2588 TmpInputs[Idx2]->getOpcode() == ISD::BUILD_VECTOR) in SplitVecRes_VECTOR_SHUFFLE()
2589 Output = BuildVector(TmpInputs[Idx1], TmpInputs[Idx2], Mask); in SplitVecRes_VECTOR_SHUFFLE()
2592 TmpInputs[Idx2], Mask); in SplitVecRes_VECTOR_SHUFFLE()
/llvm-project-15.0.7/llvm/lib/Transforms/Vectorize/
H A DSLPVectorizer.cpp1184 int Idx2 = Ex2Idx->getZExtValue(); in getShallowScore() local
1185 int Dist = Idx2 - Idx1; in getShallowScore()
6861 unsigned Idx2 = *getInsertIndex(IE2); in areTwoInsertFromSameBuildVector() local
6872 getInsertIndex(IE1).value_or(Idx2) == Idx2) in areTwoInsertFromSameBuildVector()
6899 unsigned Idx2 = *getInsertIndex(IE2); in isFirstInsertElement() local
6908 getInsertIndex(I1).value_or(Idx2) != Idx2) in isFirstInsertElement()
/llvm-project-15.0.7/clang/lib/AST/
H A DExpr.cpp4082 auto Idx2 = Array2->getIdx(); in isSameComparisonOperand() local
4084 const auto Integer2 = dyn_cast<IntegerLiteral>(Idx2); in isSameComparisonOperand()
4090 if (!isSameComparisonOperand(Idx1, Idx2)) in isSameComparisonOperand()
/llvm-project-15.0.7/llvm/lib/Target/AMDGPU/
H A DSIISelLowering.cpp11244 SDValue Idx2 = FMAOp1.getOperand(1); in performFMACombine() local
11246 if (Idx1 != Op2.getOperand(1) || Idx2 != FMAOp2.getOperand(1) || in performFMACombine()
11248 Idx1 == Idx2) in performFMACombine()