/freebsd/contrib/llvm-project/llvm/lib/CodeGen/ |
H A D | TargetInstrInfo.cpp | 170 unsigned Idx2) const { in commuteInstructionImpl() 178 unsigned CommutableOpIdx2 = Idx2; (void)CommutableOpIdx2; in commuteInstructionImpl() 180 CommutableOpIdx1 == Idx1 && CommutableOpIdx2 == Idx2 && in commuteInstructionImpl() 182 assert(MI.getOperand(Idx1).isReg() && MI.getOperand(Idx2).isReg() && in commuteInstructionImpl() 187 Register Reg2 = MI.getOperand(Idx2).getReg(); in commuteInstructionImpl() 190 unsigned SubReg2 = MI.getOperand(Idx2).getSubReg(); in commuteInstructionImpl() 192 bool Reg2IsKill = MI.getOperand(Idx2).isKill(); in commuteInstructionImpl() 194 bool Reg2IsUndef = MI.getOperand(Idx2).isUndef(); in commuteInstructionImpl() 196 bool Reg2IsInternal = MI.getOperand(Idx2).isInternalRead(); in commuteInstructionImpl() 202 Reg2.isPhysical() ? MI.getOperand(Idx2).isRenamable() : false; in commuteInstructionImpl() [all …]
|
H A D | ShadowStackGCLowering.cpp | 84 Type *Ty, Value *BasePtr, int Idx1, int Idx2, 306 int Idx2, const char *Name) { in runOnFunction() 309 ConstantInt::get(Type::getInt32Ty(Context), Idx2)}; in runOnFunction() 264 CreateGEP(LLVMContext & Context,IRBuilder<> & B,Type * Ty,Value * BasePtr,int Idx,int Idx2,const char * Name) CreateGEP() argument
|
H A D | PeepholeOptimizer.cpp | 315 RecurrenceInstr(MachineInstr *MI, unsigned Idx1, unsigned Idx2) in RecurrenceInstr() argument 316 : MI(MI), CommutePair(std::make_pair(Idx1, Idx2)) {} in RecurrenceInstr()
|
/freebsd/contrib/llvm-project/compiler-rt/lib/fuzzer/ |
H A D | FuzzerCorpus.h | 376 uint32_t Idx2 = RareFeatures[i]; in AddRareFeature() 377 if (GlobalFeatureFreqs[Idx2] >= in AddRareFeature() 380 MostAbundantRareFeatureIndices[0] = Idx2; in AddRareFeature() 375 uint32_t Idx2 = RareFeatures[i]; AddRareFeature() local
|
/freebsd/contrib/llvm-project/llvm/utils/TableGen/Common/ |
H A D | CodeGenRegisters.cpp | 1533 CodeGenSubRegIndex *Idx2 = I2.first; in computeComposites() local 1544 Idx1->addComposite(Idx2, Idx3, getHwModes())) { in computeComposites() 1546 if (!UserDefined.count({Idx1, Idx2}) || in computeComposites() 1547 agree(compose(Idx1, Idx2), SubRegAction.at(Idx3))) in computeComposites() 1549 " and " + Idx2->getQualifiedName() + in computeComposites() 1610 for (auto &Idx2 : SubRegIndices) { in computeSubRegLaneMasks() local 1612 if (!Idx2.getComposites().empty()) in computeSubRegLaneMasks() 1619 assert(Idx2.LaneMask == SrcMask); in computeSubRegLaneMasks() 1622 auto C = Composites.find(&Idx2); in computeSubRegLaneMasks()
|
/freebsd/contrib/llvm-project/llvm/lib/Transforms/AggressiveInstCombine/ |
H A D | AggressiveInstCombine.cpp | 564 Value *Idx2 = std::next(GEP->idx_begin())->get(); in tryToRecognizeTableBasedCttz() local 569 if (!match(Idx2, m_ZExtOrSelf( in tryToRecognizeTableBasedCttz()
|
/freebsd/contrib/llvm-project/llvm/lib/Transforms/InstCombine/ |
H A D | InstructionCombining.cpp | 3004 auto CanPreserveInBounds = [&](bool AddIsNSW, Value *Idx1, Value *Idx2) { in visitGetElementPtrInst() argument 3007 isKnownNonNegative(Idx2, Q); in visitGetElementPtrInst() 3011 Value *Idx1, *Idx2; in visitGetElementPtrInst() local 3013 m_OneUse(m_Add(m_Value(Idx1), m_Value(Idx2))))) { in visitGetElementPtrInst() 3021 Idx1, Idx2); in visitGetElementPtrInst() 3026 GEP, Builder.CreateGEP(GEP.getSourceElementType(), NewPtr, Idx2, "", in visitGetElementPtrInst()
|
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/ |
H A D | LegalizeVectorTypes.cpp | 2958 &BuildVector](ArrayRef<int> Mask, unsigned Idx1, unsigned Idx2) { in SplitVecRes_VECTOR_SHUFFLE() 2961 Inputs[Idx2]->getOpcode() == ISD::BUILD_VECTOR) in SplitVecRes_VECTOR_SHUFFLE() 2962 Output = BuildVector(Inputs[Idx1], Inputs[Idx2], Mask); in SplitVecRes_VECTOR_SHUFFLE() 2965 Inputs[Idx2], Mask); in SplitVecRes_VECTOR_SHUFFLE() 2968 TmpInputs[Idx2]->getOpcode() == ISD::BUILD_VECTOR) in SplitVecRes_VECTOR_SHUFFLE() 2969 Output = BuildVector(TmpInputs[Idx1], TmpInputs[Idx2], Mask); in SplitVecRes_VECTOR_SHUFFLE() 2972 TmpInputs[Idx2], Mask); in SplitVecRes_VECTOR_SHUFFLE() 2954 __anon75d1774a0a02(ArrayRef<int> Mask, unsigned Idx1, unsigned Idx2) SplitVecRes_VECTOR_SHUFFLE() argument
|
/freebsd/contrib/llvm-project/clang/lib/AST/ |
H A D | Expr.cpp | 4251 auto Idx2 = Array2->getIdx(); in isSameComparisonOperand() local 4253 const auto Integer2 = dyn_cast<IntegerLiteral>(Idx2); in isSameComparisonOperand() 4259 if (!isSameComparisonOperand(Idx1, Idx2)) in isSameComparisonOperand()
|
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Vectorize/ |
H A D | SLPVectorizer.cpp | 1557 int Idx2 = Ex2Idx->getZExtValue(); in getShallowScore() local 1558 int Dist = Idx2 - Idx1; in getShallowScore() 4891 std::optional<unsigned> Idx2 = getElementIndex(IE2); in areTwoInsertFromSameBuildVector() local 4892 if (Idx1 == std::nullopt || Idx2 == std::nullopt) in areTwoInsertFromSameBuildVector() 4906 unsigned Idx1 = getElementIndex(IE1).value_or(*Idx2); in areTwoInsertFromSameBuildVector() 4915 unsigned Idx2 = getElementIndex(IE2).value_or(*Idx1); in areTwoInsertFromSameBuildVector() local 4916 IsReusedIdx |= ReusedIdx.test(Idx2); in areTwoInsertFromSameBuildVector() 4917 ReusedIdx.set(Idx2); in areTwoInsertFromSameBuildVector() 10302 unsigned Idx2 = *getElementIndex(IE2); in isFirstInsertElement() local 10311 getElementIndex(I1).value_or(Idx2) ! in isFirstInsertElement() [all...] |
/freebsd/contrib/llvm-project/llvm/lib/Target/X86/ |
H A D | X86InstrInfo.cpp | 7318 unsigned Idx2 = CommuteAnyOperandIndex; in commuteOperandsForFold() local 7319 if (!findCommutedOpIndices(MI, Idx1, Idx2)) in commuteOperandsForFold() 7325 Register Reg2 = MI.getOperand(Idx2).getReg(); in commuteOperandsForFold() 7327 bool Tied2 = 0 == MI.getDesc().getOperandConstraint(Idx2, MCOI::TIED_TO); in commuteOperandsForFold() 7334 return commuteInstruction(MI, false, Idx1, Idx2) ? Idx2 : Idx1; in commuteOperandsForFold()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/ |
H A D | SIISelLowering.cpp | 14481 SDValue Idx2 = FMAOp1.getOperand(1); in performFMACombine() local 14483 if (Idx1 != Op2.getOperand(1) || Idx2 != FMAOp2.getOperand(1) || in performFMACombine() 14485 Idx1 == Idx2) in performFMACombine()
|