Home
last modified time | relevance | path

Searched refs:FirstOp (Results 1 – 25 of 35) sorted by relevance

12

/external/llvm/lib/Target/AArch64/
DAArch64ConditionalCompares.cpp610 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/
DAArch64ConditionalCompares.cpp652 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/
DAArch64ConditionalCompares.cpp652 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/
DLegalizerInfo.h1085 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/
DLegalizerInfo.h972 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/
DLegalizerInfo.cpp289 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/
DLegalizerInfo.cpp297 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/
DMachineInstr.cpp1677 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/
DMachineInstr.cpp1554 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/
Doptimize_patterns.td307 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/
DInstCombinePHI.cpp197 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/
DInstCombinePHI.cpp464 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/
DInstCombinePHI.cpp551 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/
DMachineInstr.cpp1735 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/
DNewGVN.cpp1582 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/
DNewGVN.cpp1551 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/
DPPCISelDAGToDAG.cpp4270 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/
DARMLoadStoreOptimizer.cpp2243 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/
DARMLoadStoreOptimizer.cpp2151 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/
DARMLoadStoreOptimizer.cpp2297 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/
DSystemZInstrInfo.cpp633 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/
DX86MCCodeEmitter.cpp1550 unsigned FirstOp = CurOp++; in encodeInstruction() local
1557 getX86RegNum(MI.getOperand(FirstOp)), CurByte, OS); in encodeInstruction()
/external/llvm-project/llvm/lib/Target/X86/MCTargetDesc/
DX86MCCodeEmitter.cpp1569 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/
DSystemZInstrInfo.cpp740 MachineOperand FirstOp = MI.getOperand(0); in PredicateInstruction() local
748 .add(FirstOp) in PredicateInstruction()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/PowerPC/
DPPCISelDAGToDAG.cpp6443 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()

12