Home
last modified time | relevance | path

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

/external/llvm/lib/Target/SystemZ/
DSystemZISelLowering.cpp44 : Op0(Op0In), Op1(Op1In), Opcode(0), ICmpType(0), CCValid(0), CCMask(0) {} in Comparison()
59 unsigned CCMask; member
1048 static IPMConversion getIPMConversion(unsigned CCValid, unsigned CCMask) { in getIPMConversion() argument
1051 if (CCMask == (CCValid & (SystemZ::CCMASK_1 | SystemZ::CCMASK_3))) in getIPMConversion()
1053 if (CCMask == (CCValid & (SystemZ::CCMASK_2 | SystemZ::CCMASK_3))) in getIPMConversion()
1064 if (CCMask == (CCValid & SystemZ::CCMASK_0)) in getIPMConversion()
1066 if (CCMask == (CCValid & (SystemZ::CCMASK_0 | SystemZ::CCMASK_1))) in getIPMConversion()
1068 if (CCMask == (CCValid & (SystemZ::CCMASK_0 in getIPMConversion()
1072 if (CCMask == (CCValid & SystemZ::CCMASK_3)) in getIPMConversion()
1074 if (CCMask == (CCValid & (SystemZ::CCMASK_1 in getIPMConversion()
[all …]
DSystemZElimCompare.cpp270 unsigned CCMask = MI->getOperand(FirstOpNum + 1).getImm(); in adjustCCMasksForInstr() local
272 unsigned OutMask = ~ReusableCCMask & CCMask; in adjustCCMasksForInstr()
283 unsigned CCMask = AlterMasks[I + 1]->getImm(); in adjustCCMasksForInstr() local
284 if (CCMask & ~ReusableCCMask) in adjustCCMasksForInstr()
285 AlterMasks[I + 1]->setImm((CCMask & ReusableCCMask) | in adjustCCMasksForInstr()
391 MachineOperand CCMask(MBBI->getOperand(1)); in fuseCompareAndBranch() local
393 assert((CCMask.getImm() & ~SystemZ::CCMASK_ICMP) == 0 && in fuseCompareAndBranch()
409 .addOperand(CCMask) in fuseCompareAndBranch()
DSystemZInstrInfo.h102 unsigned CCMask; member
109 : Type(type), CCValid(ccValid), CCMask(ccMask), Target(target) {} in Branch()
DSystemZInstrInfo.cpp275 if (Branch.CCMask == SystemZ::CCMASK_ANY) { in AnalyzeBranch()
308 Cond.push_back(MachineOperand::CreateImm(Branch.CCMask)); in AnalyzeBranch()
323 if (OldCCValid == Branch.CCValid && OldCCMask == Branch.CCMask) in AnalyzeBranch()
386 unsigned CCMask = Cond[1].getImm(); in InsertBranch() local
388 .addImm(CCValid).addImm(CCMask).addMBB(TBB); in InsertBranch()
537 unsigned CCMask = Pred[1].getImm(); in PredicateInstruction() local
538 assert(CCMask > 0 && CCMask < 15 && "Invalid predicate"); in PredicateInstruction()
544 .addImm(CCValid).addImm(CCMask) in PredicateInstruction()
DSystemZISelDAGToDAG.cpp1099 SDValue CCMask = Node->getOperand(3); in Select() local
1103 cast<ConstantSDNode>(CCMask.getNode())->getZExtValue(); in Select()
1105 CCMask = CurDAG->getConstant(ConstCCValid ^ ConstCCMask, in Select()
1106 CCMask.getValueType()); in Select()
1108 Node = CurDAG->UpdateNodeOperands(Node, Op1, Op0, CCValid, CCMask, Op4); in Select()
DSystemZISelLowering.h291 unsigned CCMask,