forked from OSchip/llvm-project
				
			Describe PPC predicates, which are a pair of CR# and condition.
llvm-svn: 31438
This commit is contained in:
		
							parent
							
								
									4905d2c5b4
								
							
						
					
					
						commit
						c8a68d08c3
					
				| 
						 | 
					@ -255,6 +255,10 @@ def memrix : Operand<iPTR> {   // memri where the imm is shifted 2 bits.
 | 
				
			||||||
  let MIOperandInfo = (ops i32imm, ptr_rc);
 | 
					  let MIOperandInfo = (ops i32imm, ptr_rc);
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					// PowerPC Predicate operand.  20 = always, CR0 is a dummy reg that doesn't
 | 
				
			||||||
 | 
					// matter.
 | 
				
			||||||
 | 
					def pred : PredicateOperand<(ops imm, CRRC), (ops 20, CR0)>;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
// Define PowerPC specific addressing mode.
 | 
					// Define PowerPC specific addressing mode.
 | 
				
			||||||
def iaddr  : ComplexPattern<iPTR, 2, "SelectAddrImm",    [], []>;
 | 
					def iaddr  : ComplexPattern<iPTR, 2, "SelectAddrImm",    [], []>;
 | 
				
			||||||
def xaddr  : ComplexPattern<iPTR, 2, "SelectAddrIdx",    [], []>;
 | 
					def xaddr  : ComplexPattern<iPTR, 2, "SelectAddrIdx",    [], []>;
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue