Home
last modified time | relevance | path

Searched refs:CCMask (Results 1 – 6 of 6) sorted by relevance

/external/llvm/lib/Target/SystemZ/
DSystemZElimCompare.cpp280 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()
DSystemZISelLowering.cpp45 : 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 …]
DSystemZInstrInfo.cpp308 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 …]
DSystemZInstrInfo.h105 unsigned CCMask; member
112 : Type(type), CCValid(ccValid), CCMask(ccMask), Target(target) {} in Branch()
DSystemZISelDAGToDAG.cpp1297 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()
DSystemZISelLowering.h563 unsigned CCMask,