Lines Matching refs:HexagonGenPredicate
1 //===- HexagonGenPredicate.cpp --------------------------------------------===//
82 class HexagonGenPredicate : public MachineFunctionPass {
86 HexagonGenPredicate() : MachineFunctionPass(ID) {
128 char HexagonGenPredicate::ID = 0;
130 INITIALIZE_PASS_BEGIN(HexagonGenPredicate, "hexagon-gen-pred",
133 INITIALIZE_PASS_END(HexagonGenPredicate, "hexagon-gen-pred",
136 bool HexagonGenPredicate::isPredReg(unsigned R) {
143 unsigned HexagonGenPredicate::getPredForm(unsigned Opc) {
187 bool HexagonGenPredicate::isConvertibleToPredForm(const MachineInstr *MI) {
206 void HexagonGenPredicate::collectPredicateGPR(MachineFunction &MF) {
226 void HexagonGenPredicate::processPredicateGPR(const RegisterSubReg &Reg) {
245 RegisterSubReg HexagonGenPredicate::getPredRegFor(const RegisterSubReg &Reg) {
286 bool HexagonGenPredicate::isScalarCmp(unsigned Opc) {
322 bool HexagonGenPredicate::isScalarPred(RegisterSubReg PredReg) {
368 bool HexagonGenPredicate::convertToPredForm(MachineInstr *MI) {
453 bool HexagonGenPredicate::eliminatePredCopies(MachineFunction &MF) {
496 bool HexagonGenPredicate::runOnMachineFunction(MachineFunction &MF) {
541 return new HexagonGenPredicate();