GCC Middle and Back End API Reference
genpeep.cc File Reference
#include "bconfig.h"
#include "system.h"
#include "coretypes.h"
#include "tm.h"
#include "rtl.h"
#include "errors.h"
#include "gensupport.h"
Include dependency graph for genpeep.cc:

Data Structures

struct  link
 

Functions

static void match_rtx (rtx, struct link *, int)
 
static void print_path (struct link *)
 
static void print_code (RTX_CODE)
 
static void gen_peephole (md_rtx_info *info)
 
int main (int, const char **)
 

Variables

static int max_opno
 
static int n_operands
 

Function Documentation

◆ gen_peephole()

static void gen_peephole ( md_rtx_info * info)
static

◆ main()

◆ match_rtx()

◆ print_code()

static void print_code ( RTX_CODE code)
static

References GET_RTX_NAME, and ggc_alloc().

Referenced by match_rtx().

◆ print_path()

static void print_path ( struct link * path)
static
Given a PATH, representing a path down the instruction's
pattern from the root to a certain point, output code to
evaluate to the rtx at that point.   

References ggc_alloc(), and print_path().

Referenced by match_rtx(), and print_path().

Variable Documentation

◆ max_opno

int max_opno
static

Referenced by main(), and match_rtx().

◆ n_operands