/external/llvm/lib/Target/SystemZ/ |
D | SystemZElimCompare.cpp | 280 unsigned CCMask = MI->getOperand(FirstOpNum + 1).getImm(); in adjustCCMasksForInstr() local 282 unsigned OutMask = ~ReusableCCMask & CCMask; in adjustCCMasksForInstr() 293 unsigned CCMask = AlterMasks[I + 1]->getImm(); in adjustCCMasksForInstr() local 294 if (CCMask & ~ReusableCCMask) in adjustCCMasksForInstr() 295 AlterMasks[I + 1]->setImm((CCMask & ReusableCCMask) | in adjustCCMasksForInstr() 416 MachineOperand CCMask(MBBI->getOperand(1)); in fuseCompareOperations() local 417 assert((CCMask.getImm() & ~SystemZ::CCMASK_ICMP) == 0 && in fuseCompareOperations() 442 .addOperand(CCMask); in fuseCompareOperations()
|
D | SystemZISelLowering.cpp | 45 : Op0(Op0In), Op1(Op1In), Opcode(0), ICmpType(0), CCValid(0), CCMask(0) {} in Comparison() 60 unsigned CCMask; member 1525 static IPMConversion getIPMConversion(unsigned CCValid, unsigned CCMask) { in getIPMConversion() argument 1528 if (CCMask == (CCValid & (SystemZ::CCMASK_1 | SystemZ::CCMASK_3))) in getIPMConversion() 1530 if (CCMask == (CCValid & (SystemZ::CCMASK_2 | SystemZ::CCMASK_3))) in getIPMConversion() 1541 if (CCMask == (CCValid & SystemZ::CCMASK_0)) in getIPMConversion() 1543 if (CCMask == (CCValid & (SystemZ::CCMASK_0 | SystemZ::CCMASK_1))) in getIPMConversion() 1545 if (CCMask == (CCValid & (SystemZ::CCMASK_0 in getIPMConversion() 1549 if (CCMask == (CCValid & SystemZ::CCMASK_3)) in getIPMConversion() 1551 if (CCMask == (CCValid & (SystemZ::CCMASK_1 in getIPMConversion() [all …]
|
D | SystemZInstrInfo.cpp | 308 if (Branch.CCMask == SystemZ::CCMASK_ANY) { in analyzeBranch() 341 Cond.push_back(MachineOperand::CreateImm(Branch.CCMask)); in analyzeBranch() 356 if (OldCCValid == Branch.CCValid && OldCCMask == Branch.CCMask) in analyzeBranch() 419 unsigned CCMask = Cond[1].getImm(); in InsertBranch() local 421 .addImm(CCValid).addImm(CCMask).addMBB(TBB); in InsertBranch() 595 unsigned CCMask = Pred[1].getImm(); in PredicateInstruction() local 596 assert(CCMask > 0 && CCMask < 15 && "Invalid predicate"); in PredicateInstruction() 603 .addImm(CCMask) in PredicateInstruction() 613 .addImm(CCMask) in PredicateInstruction() 621 .addImm(CCValid).addImm(CCMask) in PredicateInstruction() [all …]
|
D | SystemZInstrInfo.h | 105 unsigned CCMask; member 112 : Type(type), CCValid(ccValid), CCMask(ccMask), Target(target) {} in Branch()
|
D | SystemZISelDAGToDAG.cpp | 1297 SDValue CCMask = Node->getOperand(3); in Select() local 1301 cast<ConstantSDNode>(CCMask.getNode())->getZExtValue(); in Select() 1303 CCMask = CurDAG->getConstant(ConstCCValid ^ ConstCCMask, SDLoc(Node), in Select() 1304 CCMask.getValueType()); in Select() 1306 Node = CurDAG->UpdateNodeOperands(Node, Op1, Op0, CCValid, CCMask, Op4); in Select()
|
D | SystemZISelLowering.h | 563 unsigned CCMask,
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/SystemZ/ |
D | SystemZISelLowering.cpp | 37 : Op0(Op0In), Op1(Op1In), Opcode(0), ICmpType(0), CCValid(0), CCMask(0) {} in Comparison() 52 unsigned CCMask; member 1746 if ((Value == -1 && C.CCMask == SystemZ::CCMASK_CMP_GT) || in adjustZeroCmp() 1747 (Value == -1 && C.CCMask == SystemZ::CCMASK_CMP_LE) || in adjustZeroCmp() 1748 (Value == 1 && C.CCMask == SystemZ::CCMASK_CMP_LT) || in adjustZeroCmp() 1749 (Value == 1 && C.CCMask == SystemZ::CCMASK_CMP_GE)) { in adjustZeroCmp() 1750 C.CCMask ^= SystemZ::CCMASK_CMP_EQ; in adjustZeroCmp() 1789 if (Value == 0 && C.CCMask == SystemZ::CCMASK_CMP_LT) in adjustSubwordCmp() 1791 Value = 127, C.CCMask = SystemZ::CCMASK_CMP_GT; in adjustSubwordCmp() 1792 else if (Value == 0 && C.CCMask == SystemZ::CCMASK_CMP_GE) in adjustSubwordCmp() [all …]
|
D | SystemZISelDAGToDAG.cpp | 1503 SDValue CCMask = Node->getOperand(3); in Select() local 1507 cast<ConstantSDNode>(CCMask.getNode())->getZExtValue(); in Select() 1509 CCMask = CurDAG->getConstant(ConstCCValid ^ ConstCCMask, SDLoc(Node), in Select() 1510 CCMask.getValueType()); in Select() 1513 CurDAG->UpdateNodeOperands(Node, Op1, Op0, CCValid, CCMask, Op4); in Select() 1689 static IPMConversion getIPMConversion(unsigned CCValid, unsigned CCMask) { in getIPMConversion() argument 1692 if (CCMask == (CCValid & (SystemZ::CCMASK_1 | SystemZ::CCMASK_3))) in getIPMConversion() 1694 if (CCMask == (CCValid & (SystemZ::CCMASK_2 | SystemZ::CCMASK_3))) in getIPMConversion() 1705 if (CCMask == (CCValid & SystemZ::CCMASK_0)) in getIPMConversion() 1707 if (CCMask == (CCValid & (SystemZ::CCMASK_0 | SystemZ::CCMASK_1))) in getIPMConversion() [all …]
|
D | SystemZElimCompare.cpp | 359 unsigned CCMask = MI->getOperand(FirstOpNum + 1).getImm(); in adjustCCMasksForInstr() local 361 unsigned OutMask = ~ReusableCCMask & CCMask; in adjustCCMasksForInstr() 372 unsigned CCMask = AlterMasks[I + 1]->getImm(); in adjustCCMasksForInstr() local 373 if (CCMask & ~ReusableCCMask) in adjustCCMasksForInstr() 374 AlterMasks[I + 1]->setImm((CCMask & ReusableCCMask) | in adjustCCMasksForInstr() 537 MachineOperand CCMask(MBBI->getOperand(1)); in fuseCompareOperations() local 538 assert((CCMask.getImm() & ~SystemZ::CCMASK_ICMP) == 0 && in fuseCompareOperations() 568 MIB.add(CCMask); in fuseCompareOperations()
|
D | SystemZInstrInfo.cpp | 321 unsigned CCMask = WorkingMI.getOperand(4).getImm(); in commuteInstructionImpl() local 322 WorkingMI.getOperand(4).setImm(CCMask ^ CCValid); in commuteInstructionImpl() 414 if (Branch.CCMask == SystemZ::CCMASK_ANY) { in analyzeBranch() 447 Cond.push_back(MachineOperand::CreateImm(Branch.CCMask)); in analyzeBranch() 462 if (OldCCValid == Branch.CCValid && OldCCMask == Branch.CCMask) in analyzeBranch() 530 unsigned CCMask = Cond[1].getImm(); in insertBranch() local 532 .addImm(CCValid).addImm(CCMask).addMBB(TBB); in insertBranch() 678 unsigned CCMask = Pred[1].getImm(); in insertSelect() local 701 .addImm(CCValid).addImm(CCMask); in insertSelect() 809 unsigned CCMask = Pred[1].getImm(); in PredicateInstruction() local [all …]
|
D | SystemZExpandPseudo.cpp | 75 unsigned CCMask = MI.getOperand(4).getImm(); in expandLOCRMux() local 100 .addImm(CCValid).addImm(CCMask ^ CCValid).addMBB(RestMBB); in expandLOCRMux()
|
D | SystemZInstrInfo.h | 116 unsigned CCMask; member 123 : Type(type), CCValid(ccValid), CCMask(ccMask), Target(target) {} in Branch()
|
D | SystemZISelLowering.h | 615 unsigned CCMask,
|
/external/swiftshader/third_party/llvm-7.0/llvm/test/CodeGen/SystemZ/ |
D | load-and-test.mir | 8 # Not legal: Logical comparison used for >= (CCMask is 10). 31 # Legal: Logical comparison used for == (CCMask is 8).
|