/external/llvm/lib/Target/AArch64/ |
D | AArch64ConditionalCompares.cpp | 610 unsigned FirstOp = 1; // First CmpMI operand to copy. in convert() local 623 case AArch64::FCMPSrr: Opc = AArch64::FCCMPSrr; FirstOp = 0; break; in convert() 624 case AArch64::FCMPDrr: Opc = AArch64::FCCMPDrr; FirstOp = 0; break; in convert() 625 case AArch64::FCMPESrr: Opc = AArch64::FCCMPESrr; FirstOp = 0; break; in convert() 626 case AArch64::FCMPEDrr: Opc = AArch64::FCCMPEDrr; FirstOp = 0; break; in convert() 630 FirstOp = 0; in convert() 636 FirstOp = 0; in convert() 648 MRI->constrainRegClass(CmpMI->getOperand(FirstOp).getReg(), in convert() 650 if (CmpMI->getOperand(FirstOp + 1).isReg()) in convert() 651 MRI->constrainRegClass(CmpMI->getOperand(FirstOp + 1).getReg(), in convert() [all …]
|
/external/llvm-project/llvm/lib/Target/AArch64/ |
D | AArch64ConditionalCompares.cpp | 652 unsigned FirstOp = 1; // First CmpMI operand to copy. in convert() local 665 case AArch64::FCMPSrr: Opc = AArch64::FCCMPSrr; FirstOp = 0; break; in convert() 666 case AArch64::FCMPDrr: Opc = AArch64::FCCMPDrr; FirstOp = 0; break; in convert() 667 case AArch64::FCMPESrr: Opc = AArch64::FCCMPESrr; FirstOp = 0; break; in convert() 668 case AArch64::FCMPEDrr: Opc = AArch64::FCCMPEDrr; FirstOp = 0; break; in convert() 672 FirstOp = 0; in convert() 678 FirstOp = 0; in convert() 690 MRI->constrainRegClass(CmpMI->getOperand(FirstOp).getReg(), in convert() 692 if (CmpMI->getOperand(FirstOp + 1).isReg()) in convert() 693 MRI->constrainRegClass(CmpMI->getOperand(FirstOp + 1).getReg(), in convert() [all …]
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AArch64/ |
D | AArch64ConditionalCompares.cpp | 652 unsigned FirstOp = 1; // First CmpMI operand to copy. in convert() local 665 case AArch64::FCMPSrr: Opc = AArch64::FCCMPSrr; FirstOp = 0; break; in convert() 666 case AArch64::FCMPDrr: Opc = AArch64::FCCMPDrr; FirstOp = 0; break; in convert() 667 case AArch64::FCMPESrr: Opc = AArch64::FCCMPESrr; FirstOp = 0; break; in convert() 668 case AArch64::FCMPEDrr: Opc = AArch64::FCCMPEDrr; FirstOp = 0; break; in convert() 672 FirstOp = 0; in convert() 678 FirstOp = 0; in convert() 690 MRI->constrainRegClass(CmpMI->getOperand(FirstOp).getReg(), in convert() 692 if (CmpMI->getOperand(FirstOp + 1).isReg()) in convert() 693 MRI->constrainRegClass(CmpMI->getOperand(FirstOp + 1).getReg(), in convert() [all …]
|
/external/llvm-project/llvm/include/llvm/CodeGen/GlobalISel/ |
D | LegalizerInfo.h | 1085 const unsigned OpcodeIdx = Aspect.Opcode - FirstOp; in setAction() 1110 const unsigned OpcodeIdx = Opcode - FirstOp; in setLegalizeScalarToDifferentSizeStrategy() 1121 const unsigned OpcodeIdx = Opcode - FirstOp; in setLegalizeVectorElementToDifferentSizeStrategy() 1321 const unsigned OpcodeIdx = Opcode - FirstOp; in setScalarAction() 1328 const unsigned OpcodeIdx = Opcode - FirstOp; in setPointerAction() 1344 unsigned OpcodeIdx = Opcode - FirstOp; in setScalarInVectorAction() 1357 const unsigned OpcodeIdx = Opcode - FirstOp; in setVectorNumElementAction() 1457 static const int FirstOp = TargetOpcode::PRE_ISEL_GENERIC_OPCODE_START; variable 1462 SmallVector<TypeMap, 1> SpecifiedActions[LastOp - FirstOp + 1]; 1464 ScalarSizeChangeStrategies[LastOp - FirstOp + 1]; [all …]
|
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/CodeGen/GlobalISel/ |
D | LegalizerInfo.h | 972 const unsigned OpcodeIdx = Aspect.Opcode - FirstOp; in setAction() 997 const unsigned OpcodeIdx = Opcode - FirstOp; in setLegalizeScalarToDifferentSizeStrategy() 1008 const unsigned OpcodeIdx = Opcode - FirstOp; in setLegalizeVectorElementToDifferentSizeStrategy() 1196 const unsigned OpcodeIdx = Opcode - FirstOp; in setScalarAction() 1203 const unsigned OpcodeIdx = Opcode - FirstOp; in setPointerAction() 1219 unsigned OpcodeIdx = Opcode - FirstOp; in setScalarInVectorAction() 1232 const unsigned OpcodeIdx = Opcode - FirstOp; in setVectorNumElementAction() 1332 static const int FirstOp = TargetOpcode::PRE_ISEL_GENERIC_OPCODE_START; variable 1337 SmallVector<TypeMap, 1> SpecifiedActions[LastOp - FirstOp + 1]; 1339 ScalarSizeChangeStrategies[LastOp - FirstOp + 1]; [all …]
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/GlobalISel/ |
D | LegalizerInfo.cpp | 289 for (unsigned OpcodeIdx = 0; OpcodeIdx <= LastOp - FirstOp; ++OpcodeIdx) { in computeTables() 290 const unsigned Opcode = FirstOp + OpcodeIdx; in computeTables() 405 assert(Opcode >= FirstOp && Opcode <= LastOp && "Unsupported opcode"); in getOpcodeIdxForOpcode() 406 return Opcode - FirstOp; in getOpcodeIdxForOpcode() 452 assert(OpcodeTo >= FirstOp && OpcodeTo <= LastOp && "Unsupported opcode"); in aliasActionDefinitions() 623 if (Aspect.Opcode < FirstOp || Aspect.Opcode > LastOp) in findScalarLegalAction() 654 if (Aspect.Opcode < FirstOp || Aspect.Opcode > LastOp) in findVectorLegalAction() 698 for (unsigned Opcode = FirstOp; Opcode <= LastOp; ++Opcode) { in verify()
|
/external/llvm-project/llvm/lib/CodeGen/GlobalISel/ |
D | LegalizerInfo.cpp | 297 for (unsigned OpcodeIdx = 0; OpcodeIdx <= LastOp - FirstOp; ++OpcodeIdx) { in computeTables() 298 const unsigned Opcode = FirstOp + OpcodeIdx; in computeTables() 413 assert(Opcode >= FirstOp && Opcode <= LastOp && "Unsupported opcode"); in getOpcodeIdxForOpcode() 414 return Opcode - FirstOp; in getOpcodeIdxForOpcode() 460 assert(OpcodeTo >= FirstOp && OpcodeTo <= LastOp && "Unsupported opcode"); in aliasActionDefinitions() 625 if (Aspect.Opcode < FirstOp || Aspect.Opcode > LastOp) in findScalarLegalAction() 656 if (Aspect.Opcode < FirstOp || Aspect.Opcode > LastOp) in findVectorLegalAction() 694 for (unsigned Opcode = FirstOp; Opcode <= LastOp; ++Opcode) { in verify()
|
/external/llvm-project/llvm/lib/CodeGen/ |
D | MachineInstr.cpp | 1677 bool FirstOp = true; in print() local 1709 FirstOp = false; in print() 1715 if (FirstOp) FirstOp = false; else OS << ","; in print() 1783 if (!FirstOp) { in print() 1784 FirstOp = false; in print() 1791 if (!FirstOp) { in print() 1792 FirstOp = false; in print() 1799 if (!FirstOp) { in print() 1800 FirstOp = false; in print() 1808 if (!FirstOp) in print() [all …]
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/ |
D | MachineInstr.cpp | 1554 bool FirstOp = true; in print() local 1586 FirstOp = false; in print() 1592 if (FirstOp) FirstOp = false; else OS << ","; in print() 1689 if (!FirstOp) { in print() 1690 FirstOp = false; in print() 1697 if (!FirstOp) { in print() 1698 FirstOp = false; in print() 1705 if (!FirstOp) { in print() 1706 FirstOp = false; in print() 1715 if (!FirstOp) in print()
|
/external/tensorflow/tensorflow/compiler/mlir/lite/transforms/ |
D | optimize_patterns.td | 307 multiclass L2NormalizePatterns<dag FirstOp, dag SecondOp> { 311 def L2NormalizePattern1#FirstOp#SecondOp : Pat< 312 (FirstOp $x, 324 def L2NormalizePattern2#FirstOp#SecondOp : Pat< 325 (FirstOp $x, 338 def L2NormalizePattern3#FirstOp#SecondOp : Pat< 339 (FirstOp $x,
|
/external/llvm/lib/Transforms/InstCombine/ |
D | InstCombinePHI.cpp | 197 Value *FirstOp = FirstInst->getOperand(i); in FoldPHIArgGEPIntoPHI() local 198 PHINode *NewPN = PHINode::Create(FirstOp->getType(), e, in FoldPHIArgGEPIntoPHI() 199 FirstOp->getName()+".pn"); in FoldPHIArgGEPIntoPHI() 202 NewPN->addIncoming(FirstOp, PN.getIncomingBlock(0)); in FoldPHIArgGEPIntoPHI()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/InstCombine/ |
D | InstCombinePHI.cpp | 464 Value *FirstOp = FirstInst->getOperand(i); in FoldPHIArgGEPIntoPHI() local 465 PHINode *NewPN = PHINode::Create(FirstOp->getType(), e, in FoldPHIArgGEPIntoPHI() 466 FirstOp->getName()+".pn"); in FoldPHIArgGEPIntoPHI() 469 NewPN->addIncoming(FirstOp, PN.getIncomingBlock(0)); in FoldPHIArgGEPIntoPHI()
|
/external/llvm-project/llvm/lib/Transforms/InstCombine/ |
D | InstCombinePHI.cpp | 551 Value *FirstOp = FirstInst->getOperand(i); in foldPHIArgGEPIntoPHI() local 552 PHINode *NewPN = PHINode::Create(FirstOp->getType(), e, in foldPHIArgGEPIntoPHI() 553 FirstOp->getName()+".pn"); in foldPHIArgGEPIntoPHI() 556 NewPN->addIncoming(FirstOp, PN.getIncomingBlock(0)); in foldPHIArgGEPIntoPHI()
|
/external/llvm/lib/CodeGen/ |
D | MachineInstr.cpp | 1735 bool FirstOp = true; in print() local 1762 FirstOp = false; in print() 1796 if (FirstOp) FirstOp = false; else OS << ","; in print() 1850 if (!FirstOp) OS << ","; in print()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Scalar/ |
D | NewGVN.cpp | 1582 Value *FirstOp = lookupOperandLeader(Cmp->getOperand(0)); in performSymbolicPredicateInfoEvaluation() local 1586 if (shouldSwapOperands(FirstOp, SecondOp)) { in performSymbolicPredicateInfoEvaluation() 1587 std::swap(FirstOp, SecondOp); in performSymbolicPredicateInfoEvaluation() 1599 return createVariableOrConstant(FirstOp); in performSymbolicPredicateInfoEvaluation() 1613 return createVariableOrConstant(FirstOp); in performSymbolicPredicateInfoEvaluation() 1618 isa<ConstantFP>(FirstOp) && !cast<ConstantFP>(FirstOp)->isZero()) { in performSymbolicPredicateInfoEvaluation() 1622 return createConstantExpression(cast<Constant>(FirstOp)); in performSymbolicPredicateInfoEvaluation()
|
/external/llvm-project/llvm/lib/Transforms/Scalar/ |
D | NewGVN.cpp | 1551 Value *FirstOp = lookupOperandLeader(CmpOp0); in performSymbolicPredicateInfoEvaluation() local 1556 if (shouldSwapOperands(FirstOp, SecondOp)) { in performSymbolicPredicateInfoEvaluation() 1557 std::swap(FirstOp, SecondOp); in performSymbolicPredicateInfoEvaluation() 1565 return createVariableOrConstant(FirstOp); in performSymbolicPredicateInfoEvaluation() 1569 if (Predicate == CmpInst::FCMP_OEQ && isa<ConstantFP>(FirstOp) && in performSymbolicPredicateInfoEvaluation() 1570 !cast<ConstantFP>(FirstOp)->isZero()) { in performSymbolicPredicateInfoEvaluation() 1573 return createConstantExpression(cast<Constant>(FirstOp)); in performSymbolicPredicateInfoEvaluation()
|
/external/llvm/lib/Target/PowerPC/ |
D | PPCISelDAGToDAG.cpp | 4270 unsigned FirstOp; in PeepholePPC64() local 4288 FirstOp = 0; in PeepholePPC64() 4300 FirstOp = 1; in PeepholePPC64() 4308 if (!isa<ConstantSDNode>(N->getOperand(FirstOp))) in PeepholePPC64() 4311 SDValue Base = N->getOperand(FirstOp + 1); in PeepholePPC64() 4372 int Offset = N->getConstantOperandVal(FirstOp); in PeepholePPC64() 4410 if (FirstOp == 1) // Store in PeepholePPC64()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/ARM/ |
D | ARMLoadStoreOptimizer.cpp | 2243 MachineInstr *FirstOp = nullptr; in RescheduleOps() local 2278 FirstOp = Op; in RescheduleOps() 2300 DoMove = IsSafeAndProfitableToMove(isLd, Base, FirstOp, LastOp, in RescheduleOps() 2307 MachineBasicBlock::iterator InsertPos = isLd ? FirstOp : LastOp; in RescheduleOps()
|
/external/llvm/lib/Target/ARM/ |
D | ARMLoadStoreOptimizer.cpp | 2151 MachineInstr *FirstOp = nullptr; in RescheduleOps() local 2162 FirstOp = Op; in RescheduleOps() 2201 DoMove = IsSafeAndProfitableToMove(isLd, Base, FirstOp, LastOp, in RescheduleOps() 2208 MachineBasicBlock::iterator InsertPos = isLd ? FirstOp : LastOp; in RescheduleOps()
|
/external/llvm-project/llvm/lib/Target/ARM/ |
D | ARMLoadStoreOptimizer.cpp | 2297 MachineInstr *FirstOp = nullptr; in RescheduleOps() local 2332 FirstOp = Op; in RescheduleOps() 2354 DoMove = IsSafeAndProfitableToMove(isLd, Base, FirstOp, LastOp, in RescheduleOps() 2361 MachineBasicBlock::iterator InsertPos = isLd ? FirstOp : LastOp; in RescheduleOps()
|
/external/llvm/lib/Target/SystemZ/ |
D | SystemZInstrInfo.cpp | 633 MachineOperand FirstOp = MI.getOperand(0); in PredicateInstruction() local 640 .addOperand(FirstOp) in PredicateInstruction()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/X86/MCTargetDesc/ |
D | X86MCCodeEmitter.cpp | 1550 unsigned FirstOp = CurOp++; in encodeInstruction() local 1557 getX86RegNum(MI.getOperand(FirstOp)), CurByte, OS); in encodeInstruction()
|
/external/llvm-project/llvm/lib/Target/X86/MCTargetDesc/ |
D | X86MCCodeEmitter.cpp | 1569 unsigned FirstOp = CurOp++; in encodeInstruction() local 1576 getX86RegNum(MI.getOperand(FirstOp)), OS); in encodeInstruction()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/SystemZ/ |
D | SystemZInstrInfo.cpp | 740 MachineOperand FirstOp = MI.getOperand(0); in PredicateInstruction() local 748 .add(FirstOp) in PredicateInstruction()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/PowerPC/ |
D | PPCISelDAGToDAG.cpp | 6443 unsigned FirstOp; in PeepholePPC64() local 6466 FirstOp = 0; in PeepholePPC64() 6482 FirstOp = 1; in PeepholePPC64() 6490 if (!isa<ConstantSDNode>(N->getOperand(FirstOp))) in PeepholePPC64() 6493 SDValue Base = N->getOperand(FirstOp + 1); in PeepholePPC64() 6553 int Offset = N->getConstantOperandVal(FirstOp); in PeepholePPC64() 6630 if (FirstOp == 1) // Store in PeepholePPC64()
|