| /freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/GlobalISel/ |
| H A D | LegacyLegalizerInfo.h | 159 const unsigned OpcodeIdx = Aspect.Opcode - FirstOp; in setAction() 184 const unsigned OpcodeIdx = Opcode - FirstOp; in setLegalizeScalarToDifferentSizeStrategy() 195 const unsigned OpcodeIdx = Opcode - FirstOp; in setLegalizeVectorElementToDifferentSizeStrategy() 314 const unsigned OpcodeIdx = Opcode - FirstOp; in setScalarAction() 321 const unsigned OpcodeIdx = Opcode - FirstOp; in setPointerAction() 334 unsigned OpcodeIdx = Opcode - FirstOp; in setScalarInVectorAction() 347 const unsigned OpcodeIdx = Opcode - FirstOp; in setVectorNumElementAction() 444 static const int FirstOp = TargetOpcode::PRE_ISEL_GENERIC_OPCODE_START; variable 449 SmallVector<TypeMap, 1> SpecifiedActions[LastOp - FirstOp + 1]; 451 ScalarSizeChangeStrategies[LastOp - FirstOp + 1]; [all …]
|
| H A D | LegalizerInfo.h | 1419 static const int FirstOp = TargetOpcode::PRE_ISEL_GENERIC_OPCODE_START; 1422 LegalizeRuleSet RulesForOpcode[LastOp - FirstOp + 1];
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/ |
| H A D | AArch64ConditionalCompares.cpp | 650 unsigned FirstOp = 1; // First CmpMI operand to copy. in convert() local 663 case AArch64::FCMPSrr: Opc = AArch64::FCCMPSrr; FirstOp = 0; break; in convert() 664 case AArch64::FCMPDrr: Opc = AArch64::FCCMPDrr; FirstOp = 0; break; in convert() 665 case AArch64::FCMPESrr: Opc = AArch64::FCCMPESrr; FirstOp = 0; break; in convert() 666 case AArch64::FCMPEDrr: Opc = AArch64::FCCMPEDrr; FirstOp = 0; break; in convert() 670 FirstOp = 0; in convert() 676 FirstOp = 0; in convert() 688 MRI->constrainRegClass(CmpMI->getOperand(FirstOp).getReg(), in convert() 690 if (CmpMI->getOperand(FirstOp + 1).isReg()) in convert() 691 MRI->constrainRegClass(CmpMI->getOperand(FirstOp + 1).getReg(), in convert() [all …]
|
| H A D | AArch64ISelLowering.cpp | 14548 SDValue FirstOp = N->getOperand(0); in tryLowerToSLI() local 14549 unsigned FirstOpc = FirstOp.getOpcode(); in tryLowerToSLI() 14562 And = FirstOp; in tryLowerToSLI() 14570 Shift = FirstOp; in tryLowerToSLI()
|
| /freebsd/contrib/llvm-project/llvm/lib/CodeGen/GlobalISel/ |
| H A D | LegacyLegalizerInfo.cpp | 108 for (unsigned OpcodeIdx = 0; OpcodeIdx <= LastOp - FirstOp; ++OpcodeIdx) { in computeTables() 109 const unsigned Opcode = FirstOp + OpcodeIdx; in computeTables() 305 if (Aspect.Opcode < FirstOp || Aspect.Opcode > LastOp) in findScalarLegalAction() 335 if (Aspect.Opcode < FirstOp || Aspect.Opcode > LastOp) in findVectorLegalAction() 366 assert(Opcode >= FirstOp && Opcode <= LastOp && "Unsupported opcode"); in getOpcodeIdxForOpcode() 367 return Opcode - FirstOp; in getOpcodeIdxForOpcode()
|
| H A D | LegalizerInfo.cpp | 290 assert(Opcode >= FirstOp && Opcode <= LastOp && "Unsupported opcode"); in getOpcodeIdxForOpcode() 291 return Opcode - FirstOp; in getOpcodeIdxForOpcode() 339 assert(OpcodeTo >= FirstOp && OpcodeTo <= LastOp && "Unsupported opcode"); in aliasActionDefinitions() 405 for (unsigned Opcode = FirstOp; Opcode <= LastOp; ++Opcode) { in verify()
|
| /freebsd/contrib/llvm-project/llvm/lib/CodeGen/ |
| H A D | MachineInstr.cpp | 1876 bool FirstOp = true; in print() local 1908 FirstOp = false; in print() 1914 if (FirstOp) FirstOp = false; else OS << ","; in print() 1988 if (!FirstOp) { in print() 1989 FirstOp = false; in print() 1996 if (!FirstOp) { in print() 1997 FirstOp = false; in print() 2004 if (!FirstOp) { in print() 2005 FirstOp = false; in print() 2012 if (!FirstOp) { in print() [all …]
|
| /freebsd/contrib/llvm-project/llvm/lib/Transforms/InstCombine/ |
| H A D | InstCombinePHI.cpp | 614 Value *FirstOp = FirstInst->getOperand(I); in foldPHIArgGEPIntoPHI() local 616 PHINode::Create(FirstOp->getType(), E, FirstOp->getName() + ".pn"); in foldPHIArgGEPIntoPHI() 619 NewPN->addIncoming(FirstOp, PN.getIncomingBlock(0)); in foldPHIArgGEPIntoPHI()
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/X86/MCTargetDesc/ |
| H A D | X86MCCodeEmitter.cpp | 1668 unsigned FirstOp = CurOp++; in encodeInstruction() local 1672 emitRegModRMByte(MI.getOperand(FirstOp), in encodeInstruction() 1767 unsigned FirstOp = CurOp++; in encodeInstruction() local 1774 getX86RegNum(MI.getOperand(FirstOp)), CB); in encodeInstruction()
|
| /freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/ |
| H A D | NewGVN.cpp | 1621 Value *FirstOp = lookupOperandLeader(CmpOp0); in performSymbolicPredicateInfoEvaluation() local 1626 if (shouldSwapOperandsForIntrinsic(FirstOp, SecondOp, I)) { in performSymbolicPredicateInfoEvaluation() 1627 std::swap(FirstOp, SecondOp); in performSymbolicPredicateInfoEvaluation() 1633 return ExprResult::some(createVariableOrConstant(FirstOp), in performSymbolicPredicateInfoEvaluation() 1637 if (Predicate == CmpInst::FCMP_OEQ && isa<ConstantFP>(FirstOp) && in performSymbolicPredicateInfoEvaluation() 1638 !cast<ConstantFP>(FirstOp)->isZero()) in performSymbolicPredicateInfoEvaluation() 1639 return ExprResult::some(createConstantExpression(cast<Constant>(FirstOp)), in performSymbolicPredicateInfoEvaluation()
|
| /freebsd/contrib/llvm-project/llvm/lib/IR/ |
| H A D | DebugInfoMetadata.cpp | 1748 auto FirstOp = expr_op_begin(); in isValid() local 1749 if (FirstOp->getOp() == dwarf::DW_OP_LLVM_arg && FirstOp->getArg(0) == 0) in isValid() 1750 ++FirstOp; in isValid() 1751 return I->get() == FirstOp->get() && I->getArg(0) == 1; in isValid()
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/ARM/ |
| H A D | ARMLoadStoreOptimizer.cpp | 2341 MachineInstr *FirstOp = nullptr; in RescheduleOps() local 2375 FirstOp = Op; in RescheduleOps() 2397 DoMove = IsSafeAndProfitableToMove(isLd, Base, FirstOp, LastOp, in RescheduleOps() 2404 MachineBasicBlock::iterator InsertPos = isLd ? FirstOp : LastOp; in RescheduleOps()
|
| H A D | ARMISelLowering.cpp | 7856 SDValue FirstOp = Op.getOperand(0); in LowerBUILD_VECTOR_i1() local 7857 if (!isa<ConstantSDNode>(FirstOp) && in LowerBUILD_VECTOR_i1() 7858 llvm::all_of(llvm::drop_begin(Op->ops()), [&FirstOp](const SDUse &U) { in LowerBUILD_VECTOR_i1() 7859 return U.get().isUndef() || U.get() == FirstOp; in LowerBUILD_VECTOR_i1() 7861 SDValue Ext = DAG.getNode(ISD::SIGN_EXTEND_INREG, dl, MVT::i32, FirstOp, in LowerBUILD_VECTOR_i1()
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/PowerPC/ |
| H A D | PPCISelDAGToDAG.cpp | 7719 unsigned FirstOp; in PeepholePPC64() local 7742 FirstOp = 0; in PeepholePPC64() 7758 FirstOp = 1; in PeepholePPC64() 7766 if (!isa<ConstantSDNode>(N->getOperand(FirstOp))) in PeepholePPC64() 7769 SDValue Base = N->getOperand(FirstOp + 1); in PeepholePPC64() 7827 int Offset = N->getConstantOperandVal(FirstOp); in PeepholePPC64() 7928 if (FirstOp == 1) // Store in PeepholePPC64()
|
| H A D | PPCISelLowering.cpp | 16253 SDValue FirstOp; in isSplatBV() local 16257 FirstOp = Op.getOperand(i); in isSplatBV() 16258 if (!FirstOp.isUndef()) in isSplatBV() 16264 if (Op.getOperand(i) != FirstOp && !Op.getOperand(i).isUndef()) in isSplatBV()
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/SystemZ/ |
| H A D | SystemZInstrInfo.cpp | 851 MachineOperand FirstOp = MI.getOperand(0); in PredicateInstruction() local 859 .add(FirstOp) in PredicateInstruction()
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/Mips/AsmParser/ |
| H A D | MipsAsmParser.cpp | 2004 unsigned FirstOp = 1; in processInstruction() local 2027 FirstOp = 0; in processInstruction() 2042 if (Inst.getOperand(FirstOp).getReg() == Mips::ZERO || in processInstruction() 2043 Inst.getOperand(FirstOp).getReg() == Mips::ZERO_64) in processInstruction()
|
| /freebsd/contrib/llvm-project/llvm/lib/Analysis/ |
| H A D | InstructionSimplify.cpp | 5369 auto FirstOp = static_cast<Instruction::CastOps>(CI->getOpcode()); in simplifyCastInst() local 5377 if (CastInst::isEliminableCastPair(FirstOp, SecondOp, SrcTy, MidTy, DstTy, in simplifyCastInst()
|