libFirm
Shrs node

Returns its first operands bits shifted right by the amount of the 2nd operand. More...

## Enumerations

enum  n_Shrs { n_Shrs_left, n_Shrs_right, n_Shrs_max = n_Shrs_right }
Input numbers for Shrs node. More...

## Functions

ir_nodenew_rd_Shrs (dbg_info *dbgi, ir_node *block, ir_node *irn_left, ir_node *irn_right, ir_mode *mode)
Construct a Shrs node.
ir_nodenew_r_Shrs (ir_node *block, ir_node *irn_left, ir_node *irn_right, ir_mode *mode)
Construct a Shrs node.
ir_nodenew_d_Shrs (dbg_info *dbgi, ir_node *irn_left, ir_node *irn_right, ir_mode *mode)
Construct a Shrs node.
ir_nodenew_Shrs (ir_node *irn_left, ir_node *irn_right, ir_mode *mode)
Construct a Shrs node.
int is_Shrs (const ir_node *node)
Test if node is a Shrs.
ir_nodeget_Shrs_left (const ir_node *node)
Returns left input of a Shrs node.
void set_Shrs_left (ir_node *node, ir_node *left)
Sets left input of a Shrs node.
ir_nodeget_Shrs_right (const ir_node *node)
Returns right input of a Shrs node.
void set_Shrs_right (ir_node *node, ir_node *right)
Sets right input of a Shrs node.
ir_opget_op_Shrs (void)
Returns opcode for Shrs nodes.

ir_opop_Shrs
Shrs opcode.

## Detailed Description

Returns its first operands bits shifted right by the amount of the 2nd operand.

The leftmost bit (usually the sign bit) stays the same (sign extension). The right input (shift amount) must be an unsigned integer value. If the result mode has modulo_shift!=0, then the effective shift amount is the right input modulo this modulo_shift amount.

## Enumeration Type Documentation

 enum n_Shrs

Input numbers for Shrs node.

Definition at line 3387 of file nodeops.h.

## Function Documentation

 ir_op* get_op_Shrs ( void )

Returns opcode for Shrs nodes.

 ir_node* get_Shrs_left ( const ir_node * node )

Returns left input of a Shrs node.

 ir_node* get_Shrs_right ( const ir_node * node )

Returns right input of a Shrs node.

 int is_Shrs ( const ir_node * node )

Test if node is a Shrs.

Returns
1 if the node is a Shrs node, 0 otherwise
 ir_node* new_d_Shrs ( dbg_info * dbgi, ir_node * irn_left, ir_node * irn_right, ir_mode * mode )

Construct a Shrs node.

Parameters
 dbgi A pointer to debug information. irn_left first operand irn_right second operand mode mode of the operations result
 ir_node* new_r_Shrs ( ir_node * block, ir_node * irn_left, ir_node * irn_right, ir_mode * mode )

Construct a Shrs node.

Parameters
 block The IR block the node belongs to. irn_left first operand irn_right second operand mode mode of the operations result
 ir_node* new_rd_Shrs ( dbg_info * dbgi, ir_node * block, ir_node * irn_left, ir_node * irn_right, ir_mode * mode )

Construct a Shrs node.

Parameters
 dbgi A pointer to debug information. block The IR block the node belongs to. irn_left first operand irn_right second operand mode mode of the operations result
 ir_node* new_Shrs ( ir_node * irn_left, ir_node * irn_right, ir_mode * mode )

Construct a Shrs node.

Parameters
 irn_left first operand irn_right second operand mode mode of the operations result
 void set_Shrs_left ( ir_node * node, ir_node * left )

Sets left input of a Shrs node.

 void set_Shrs_right ( ir_node * node, ir_node * right )

Sets right input of a Shrs node.

## Variable Documentation

 ir_op* op_Shrs

Shrs opcode.

Definition at line 328 of file opcodes.h.
{"ft_lang_label":"__label__en","ft_lang_prob":0.58067816,"math_prob":0.7459497,"size":2724,"snap":"2021-43-2021-49","text_gpt3_token_len":763,"char_repetition_ratio":0.20477942,"word_repetition_ratio":0.46304348,"special_character_ratio":0.28377387,"punctuation_ratio":0.13033707,"nsfw_num_words":0,"has_unicode_error":false,"math_prob_llama3":0.976995,"pos_list":[0],"im_url_duplicate_count":[null],"WARC_HEADER":"{\"WARC-Type\":\"response\",\"WARC-Date\":\"2021-10-24T02:01:43Z\",\"WARC-Record-ID\":\"<urn:uuid:4d194a0b-a2c3-479a-8c26-5c311ce0d654>\",\"Content-Length\":\"25294\",\"Content-Type\":\"application/http; msgtype=response\",\"WARC-Warcinfo-ID\":\"<urn:uuid:cc8fde8c-f5a2-4d4c-b6bb-87b8aa7e1824>\",\"WARC-Concurrent-To\":\"<urn:uuid:86e709a9-f019-4d09-b36c-1539a834e8c4>\",\"WARC-IP-Address\":\"141.3.44.232\",\"WARC-Target-URI\":\"https://pp.ipd.kit.edu/firm/api_1.21/a00186.html\",\"WARC-Payload-Digest\":\"sha1:G7QKGWVYNV66W5F42UC6HF2CC5MSPNKD\",\"WARC-Block-Digest\":\"sha1:AH4NIOVIS42C55MW6HBY4T7IG5IFB3D5\",\"WARC-Identified-Payload-Type\":\"application/xhtml+xml\",\"warc_filename\":\"/cc_download/warc_2021/CC-MAIN-2021-43/CC-MAIN-2021-43_segments_1634323585837.82_warc_CC-MAIN-20211024015104-20211024045104-00654.warc.gz\"}"}