id int64 0 79.7k | docstring_tokens listlengths 4 145 | code_tokens listlengths 5 27.3k | fun_name stringlengths 1 108 | repo stringclasses 778 values | partition stringclasses 3 values | opt_level stringclasses 15 values |
|---|---|---|---|---|---|---|
78,283 | [
"org_bluez_device1_set_name:",
"(skip)",
"@object:",
"A",
"#OrgBluezDevice1"
] | [
"'void",
"org_bluez_device1_set_name",
"(",
"OrgBluezDevice1",
"*",
"object",
",",
"const",
"gchar",
"*",
"value",
")",
"{",
"g_object_set",
"(",
"G_OBJECT",
"(",
"object",
")",
",",
"\"name\"",
",",
"value",
",",
"NULL",
")",
";",
"}'"
] | org_bluez_device1_set_name | labapart/gattlib | valid | Os |
78,284 | [
"org_bluez_device1_set_rssi:",
"(skip)",
"@object:",
"A",
"#OrgBluezDevice1"
] | [
"'void",
"org_bluez_device1_set_rssi",
"(",
"OrgBluezDevice1",
"*",
"object",
",",
"gint16",
"value",
")",
"{",
"g_object_set",
"(",
"G_OBJECT",
"(",
"object",
")",
",",
"\"rssi\"",
",",
"value",
",",
"NULL",
")",
";",
"}'"
] | org_bluez_device1_set_rssi | labapart/gattlib | valid | Os |
78,285 | [
"org_bluez_device1_set_gatt_services:",
"(skip)",
"@object:",
"A",
"#OrgBluezDevice1"
] | [
"'void",
"org_bluez_device1_set_gatt_services",
"(",
"OrgBluezDevice1",
"*",
"object",
",",
"const",
"gchar",
"*",
"const",
"*",
"value",
")",
"{",
"g_object_set",
"(",
"G_OBJECT",
"(",
"object",
")",
",",
"\"gatt-services\"",
",",
"value",
",",
"NULL",
")",
"... | org_bluez_device1_set_gatt_services | labapart/gattlib | valid | Os |
78,286 | [
"org_bluez_device1_set_paired:",
"(skip)",
"@object:",
"A",
"#OrgBluezDevice1"
] | [
"'void",
"org_bluez_device1_set_paired",
"(",
"OrgBluezDevice1",
"*",
"object",
",",
"gboolean",
"value",
")",
"{",
"g_object_set",
"(",
"G_OBJECT",
"(",
"object",
")",
",",
"\"paired\"",
",",
"value",
",",
"NULL",
")",
";",
"}'"
] | org_bluez_device1_set_paired | labapart/gattlib | valid | Os |
78,287 | [
"org_bluez_device1_set_address_type:",
"(skip)",
"@object:",
"A",
"#OrgBluezDevice1"
] | [
"'void",
"org_bluez_device1_set_address_type",
"(",
"OrgBluezDevice1",
"*",
"object",
",",
"const",
"gchar",
"*",
"value",
")",
"{",
"g_object_set",
"(",
"G_OBJECT",
"(",
"object",
")",
",",
"\"address-type\"",
",",
"value",
",",
"NULL",
")",
";",
"}'"
] | org_bluez_device1_set_address_type | labapart/gattlib | valid | Os |
78,288 | [
"org_bluez_device1_set_trusted:",
"(skip)",
"@object:",
"A",
"#OrgBluezDevice1"
] | [
"'void",
"org_bluez_device1_set_trusted",
"(",
"OrgBluezDevice1",
"*",
"object",
",",
"gboolean",
"value",
")",
"{",
"g_object_set",
"(",
"G_OBJECT",
"(",
"object",
")",
",",
"\"trusted\"",
",",
"value",
",",
"NULL",
")",
";",
"}'"
] | org_bluez_device1_set_trusted | labapart/gattlib | valid | Os |
78,289 | [
"org_bluez_device1_set_blocked:",
"(skip)",
"@object:",
"A",
"#OrgBluezDevice1"
] | [
"'void",
"org_bluez_device1_set_blocked",
"(",
"OrgBluezDevice1",
"*",
"object",
",",
"gboolean",
"value",
")",
"{",
"g_object_set",
"(",
"G_OBJECT",
"(",
"object",
")",
",",
"\"blocked\"",
",",
"value",
",",
"NULL",
")",
";",
"}'"
] | org_bluez_device1_set_blocked | labapart/gattlib | valid | Os |
78,290 | [
"org_bluez_device1_set_services_resolved:",
"(skip)",
"@object:",
"A",
"#OrgBluezDevice1"
] | [
"'void",
"org_bluez_device1_set_services_resolved",
"(",
"OrgBluezDevice1",
"*",
"object",
",",
"gboolean",
"value",
")",
"{",
"g_object_set",
"(",
"G_OBJECT",
"(",
"object",
")",
",",
"\"services-resolved\"",
",",
"value",
",",
"NULL",
")",
";",
"}'"
] | org_bluez_device1_set_services_resolved | labapart/gattlib | valid | Os |
78,291 | [
"org_bluez_device1_set_legacy_pairing:",
"(skip)",
"@object:",
"A",
"#OrgBluezDevice1"
] | [
"'void",
"org_bluez_device1_set_legacy_pairing",
"(",
"OrgBluezDevice1",
"*",
"object",
",",
"gboolean",
"value",
")",
"{",
"g_object_set",
"(",
"G_OBJECT",
"(",
"object",
")",
",",
"\"legacy-pairing\"",
",",
"value",
",",
"NULL",
")",
";",
"}'"
] | org_bluez_device1_set_legacy_pairing | labapart/gattlib | valid | Os |
78,292 | [
"org_bluez_device1_set_address:",
"(skip)",
"@object:",
"A",
"#OrgBluezDevice1"
] | [
"'void",
"org_bluez_device1_set_address",
"(",
"OrgBluezDevice1",
"*",
"object",
",",
"const",
"gchar",
"*",
"value",
")",
"{",
"g_object_set",
"(",
"G_OBJECT",
"(",
"object",
")",
",",
"\"address\"",
",",
"value",
",",
"NULL",
")",
";",
"}'"
] | org_bluez_device1_set_address | labapart/gattlib | valid | Os |
78,293 | [
"org_bluez_device1_set_connected:",
"(skip)",
"@object:",
"A",
"#OrgBluezDevice1"
] | [
"'void",
"org_bluez_device1_set_connected",
"(",
"OrgBluezDevice1",
"*",
"object",
",",
"gboolean",
"value",
")",
"{",
"g_object_set",
"(",
"G_OBJECT",
"(",
"object",
")",
",",
"\"connected\"",
",",
"value",
",",
"NULL",
")",
";",
"}'"
] | org_bluez_device1_set_connected | labapart/gattlib | valid | Os |
78,294 | [
"org_bluez_device1_set_class:",
"(skip)",
"@object:",
"A",
"#OrgBluezDevice1"
] | [
"'void",
"org_bluez_device1_set_class",
"(",
"OrgBluezDevice1",
"*",
"object",
",",
"guint",
"value",
")",
"{",
"g_object_set",
"(",
"G_OBJECT",
"(",
"object",
")",
",",
"\"class\"",
",",
"value",
",",
"NULL",
")",
";",
"}'"
] | org_bluez_device1_set_class | labapart/gattlib | valid | Os |
78,295 | [
"org_bluez_device1_set_uuids:",
"(skip)",
"@object:",
"A",
"#OrgBluezDevice1"
] | [
"'void",
"org_bluez_device1_set_uuids",
"(",
"OrgBluezDevice1",
"*",
"object",
",",
"const",
"gchar",
"*",
"const",
"*",
"value",
")",
"{",
"g_object_set",
"(",
"G_OBJECT",
"(",
"object",
")",
",",
"\"uuids\"",
",",
"value",
",",
"NULL",
")",
";",
"}'"
] | org_bluez_device1_set_uuids | labapart/gattlib | valid | Os |
78,296 | [
"org_bluez_device1_set_tx_power:",
"(skip)",
"@object:",
"A",
"#OrgBluezDevice1"
] | [
"'void",
"org_bluez_device1_set_tx_power",
"(",
"OrgBluezDevice1",
"*",
"object",
",",
"gint16",
"value",
")",
"{",
"g_object_set",
"(",
"G_OBJECT",
"(",
"object",
")",
",",
"\"tx-power\"",
",",
"value",
",",
"NULL",
")",
";",
"}'"
] | org_bluez_device1_set_tx_power | labapart/gattlib | valid | Os |
78,297 | [
"org_bluez_device1_set_adapter:",
"(skip)",
"@object:",
"A",
"#OrgBluezDevice1"
] | [
"'void",
"org_bluez_device1_set_adapter",
"(",
"OrgBluezDevice1",
"*",
"object",
",",
"const",
"gchar",
"*",
"value",
")",
"{",
"g_object_set",
"(",
"G_OBJECT",
"(",
"object",
")",
",",
"\"adapter\"",
",",
"value",
",",
"NULL",
")",
";",
"}'"
] | org_bluez_device1_set_adapter | labapart/gattlib | valid | Os |
78,298 | [
"org_bluez_device1_set_manufacturer_data:",
"(skip)",
"@object:",
"A",
"#OrgBluezDevice1"
] | [
"'void",
"org_bluez_device1_set_manufacturer_data",
"(",
"OrgBluezDevice1",
"*",
"object",
",",
"GVariant",
"*",
"value",
")",
"{",
"g_object_set",
"(",
"G_OBJECT",
"(",
"object",
")",
",",
"\"manufacturer-data\"",
",",
"value",
",",
"NULL",
")",
";",
"}'"
] | org_bluez_device1_set_manufacturer_data | labapart/gattlib | valid | Os |
78,299 | [
"org_bluez_device1_set_modalias:",
"(skip)",
"@object:",
"A",
"#OrgBluezDevice1"
] | [
"'void",
"org_bluez_device1_set_modalias",
"(",
"OrgBluezDevice1",
"*",
"object",
",",
"const",
"gchar",
"*",
"value",
")",
"{",
"g_object_set",
"(",
"G_OBJECT",
"(",
"object",
")",
",",
"\"modalias\"",
",",
"value",
",",
"NULL",
")",
";",
"}'"
] | org_bluez_device1_set_modalias | labapart/gattlib | valid | Os |
78,300 | [
"org_bluez_device1_set_appearance:",
"(skip)",
"@object:",
"A",
"#OrgBluezDevice1"
] | [
"'void",
"org_bluez_device1_set_appearance",
"(",
"OrgBluezDevice1",
"*",
"object",
",",
"guint16",
"value",
")",
"{",
"g_object_set",
"(",
"G_OBJECT",
"(",
"object",
")",
",",
"\"appearance\"",
",",
"value",
",",
"NULL",
")",
";",
"}'"
] | org_bluez_device1_set_appearance | labapart/gattlib | valid | Os |
78,301 | [
"org_bluez_device1_set_icon:",
"(skip)",
"@object:",
"A",
"#OrgBluezDevice1"
] | [
"'void",
"org_bluez_device1_set_icon",
"(",
"OrgBluezDevice1",
"*",
"object",
",",
"const",
"gchar",
"*",
"value",
")",
"{",
"g_object_set",
"(",
"G_OBJECT",
"(",
"object",
")",
",",
"\"icon\"",
",",
"value",
",",
"NULL",
")",
";",
"}'"
] | org_bluez_device1_set_icon | labapart/gattlib | valid | Os |
78,302 | [
"org_bluez_device1_set_alias:",
"(skip)",
"@object:",
"A",
"#OrgBluezDevice1"
] | [
"'void",
"org_bluez_device1_set_alias",
"(",
"OrgBluezDevice1",
"*",
"object",
",",
"const",
"gchar",
"*",
"value",
")",
"{",
"g_object_set",
"(",
"G_OBJECT",
"(",
"object",
")",
",",
"\"alias\"",
",",
"value",
",",
"NULL",
")",
";",
"}'"
] | org_bluez_device1_set_alias | labapart/gattlib | valid | Os |
78,305 | [
"Putting",
"an",
"#include",
"here",
"for",
"EbIntraPrediction_SSSE3"
] | [
"'EB_EXTERN",
"void",
"IntraModeDCChroma16bit_SSSE3_INTRIN",
"(",
"const",
"EB_U32",
"size",
",",
"//input",
"parameter,",
"denotes",
"the",
"size",
"of",
"the",
"current",
"PU",
"const",
"EB_U16",
"*",
"refSamples",
",",
"//input",
"parameter,",
"pointer",
"to",
... | IntraModeDCChroma16bit_SSSE3_INTRIN | OpenVisualCloud/SVT-HEVC | valid | Og |
78,307 | [
"random",
"number",
"r:",
"0",
"<",
"r",
"<",
"range"
] | [
"'static",
"int",
"bnrand_range",
"(",
"BNRAND_FLAG",
"flag",
",",
"BIGNUM",
"*",
"r",
",",
"const",
"BIGNUM",
"*",
"range",
")",
"{",
"int",
"n",
";",
"int",
"count",
"=",
"100",
";",
"if",
"(",
"range",
"->",
"neg",
"||",
"BN_is_zero",
"(",
"range"... | bnrand_range | rbsec/sslscan | valid | O3 |
78,334 | [
"Like",
"gen_expand,",
"but",
"generates",
"insns",
"resulting",
"from",
"splitting",
"SPLIT"
] | [
"'static",
"void",
"gen_split",
"(",
"md_rtx_info",
"*",
"info",
")",
"{",
"struct",
"pattern_stats",
"stats",
";",
"int",
"i",
";",
"rtx",
"split",
"=",
"info",
"->",
"def",
";",
"const",
"char",
"*",
"const",
"name",
"=",
"(",
"(",
"GET_CODE",
"(",
... | gen_split | KevinOConnor/klipper | valid | Os |
78,336 | [
"Derive",
"secrets",
"for",
"ECDH",
"DH"
] | [
"\"int",
"ssl_derive",
"(",
"SSL",
"*",
"s",
",",
"EVP_PKEY",
"*",
"privkey",
",",
"EVP_PKEY",
"*",
"pubkey",
",",
"int",
"gensecret",
")",
"{",
"int",
"rv",
"=",
"0",
";",
"unsigned",
"char",
"*",
"pms",
"=",
"NULL",
";",
"size_t",
"pmslen",
"=",
... | ssl_derive | rbsec/sslscan | valid | O3 |
78,337 | [
"Generate",
"a",
"private",
"key",
"from",
"a",
"group",
"ID"
] | [
"'EVP_PKEY",
"*",
"ssl_generate_pkey_group",
"(",
"SSL",
"*",
"s",
",",
"uint16_t",
"id",
")",
"{",
"EVP_PKEY_CTX",
"*",
"pctx",
"=",
"NULL",
";",
"EVP_PKEY",
"*",
"pkey",
"=",
"NULL",
";",
"const",
"TLS_GROUP_INFO",
"*",
"ginf",
"=",
"tls1_group_id_lookup",... | ssl_generate_pkey_group | rbsec/sslscan | valid | O3 |
78,338 | [
"Generate",
"a",
"private",
"key",
"from",
"parameters"
] | [
"'EVP_PKEY",
"*",
"ssl_generate_pkey",
"(",
"EVP_PKEY",
"*",
"pm",
")",
"{",
"EVP_PKEY_CTX",
"*",
"pctx",
"=",
"NULL",
";",
"EVP_PKEY",
"*",
"pkey",
"=",
"NULL",
";",
"if",
"(",
"pm",
"==",
"NULL",
")",
"return",
"NULL",
";",
"pctx",
"=",
"EVP_PKEY_CTX... | ssl_generate_pkey | rbsec/sslscan | valid | O3 |
78,352 | [
"Destroys",
"the",
"host",
"and",
"all",
"resources",
"associated",
"with",
"it"
] | [
"'void",
"enet_host_destroy",
"(",
"ENetHost",
"*",
"host",
")",
"{",
"ENetPeer",
"*",
"currentPeer",
";",
"if",
"(",
"host",
"==",
"NULL",
")",
"return",
";",
"enet_socket_destroy",
"(",
"host",
"->",
"socket",
")",
";",
"for",
"(",
"currentPeer",
"=",
... | enet_host_destroy | assaultcube/AC | valid | O3 |
78,353 | [
"Adjusts",
"the",
"bandwidth",
"limits",
"of",
"a",
"host"
] | [
"'void",
"enet_host_bandwidth_limit",
"(",
"ENetHost",
"*",
"host",
",",
"enet_uint32",
"incomingBandwidth",
",",
"enet_uint32",
"outgoingBandwidth",
")",
"{",
"host",
"->",
"incomingBandwidth",
"=",
"incomingBandwidth",
";",
"host",
"->",
"outgoingBandwidth",
"=",
"o... | enet_host_bandwidth_limit | assaultcube/AC | valid | O3 |
78,354 | [
"Queues",
"a",
"packet",
"to",
"be",
"sent",
"to",
"all",
"peers",
"associated",
"with",
"the",
"host"
] | [
"'void",
"enet_host_broadcast",
"(",
"ENetHost",
"*",
"host",
",",
"enet_uint8",
"channelID",
",",
"ENetPacket",
"*",
"packet",
")",
"{",
"ENetPeer",
"*",
"currentPeer",
";",
"for",
"(",
"currentPeer",
"=",
"host",
"->",
"peers",
";",
"currentPeer",
"<",
"&"... | enet_host_broadcast | assaultcube/AC | valid | O3 |
78,355 | [
"@defgroup",
"host",
"ENet",
"host",
"functions",
"@{",
"Creates",
"a",
"host",
"for",
"communicating",
"to",
"peers"
] | [
"'ENetHost",
"*",
"enet_host_create",
"(",
"const",
"ENetAddress",
"*",
"address",
",",
"size_t",
"peerCount",
",",
"size_t",
"channelLimit",
",",
"enet_uint32",
"incomingBandwidth",
",",
"enet_uint32",
"outgoingBandwidth",
")",
"{",
"ENetHost",
"*",
"host",
";",
... | enet_host_create | assaultcube/AC | valid | O3 |
78,356 | [
"Sets",
"the",
"packet",
"compressor",
"the",
"host",
"should",
"use",
"to",
"compress",
"and",
"decompress",
"packets"
] | [
"'void",
"enet_host_compress",
"(",
"ENetHost",
"*",
"host",
",",
"const",
"ENetCompressor",
"*",
"compressor",
")",
"{",
"if",
"(",
"host",
"->",
"compressor",
".",
"context",
"!=",
"NULL",
"&&",
"host",
"->",
"compressor",
".",
"destroy",
")",
"(",
"*",
... | enet_host_compress | assaultcube/AC | valid | O3 |
78,357 | [
"Limits",
"the",
"maximum",
"allowed",
"channels",
"of",
"future",
"incoming",
"connections"
] | [
"'void",
"enet_host_channel_limit",
"(",
"ENetHost",
"*",
"host",
",",
"size_t",
"channelLimit",
")",
"{",
"if",
"(",
"!",
"channelLimit",
"||",
"channelLimit",
">",
"ENET_PROTOCOL_MAXIMUM_CHANNEL_COUNT",
")",
"channelLimit",
"=",
"ENET_PROTOCOL_MAXIMUM_CHANNEL_COUNT",
... | enet_host_channel_limit | assaultcube/AC | valid | O3 |
78,358 | [
"Initiates",
"a",
"connection",
"to",
"a",
"foreign",
"host"
] | [
"'ENetPeer",
"*",
"enet_host_connect",
"(",
"ENetHost",
"*",
"host",
",",
"const",
"ENetAddress",
"*",
"address",
",",
"size_t",
"channelCount",
",",
"enet_uint32",
"data",
")",
"{",
"ENetPeer",
"*",
"currentPeer",
";",
"ENetChannel",
"*",
"channel",
";",
"ENe... | enet_host_connect | assaultcube/AC | valid | O3 |
78,359 | [
"Returns",
"cost",
"of",
"operation",
"CODE,",
"according",
"to",
"WEIGHTS"
] | [
"'static",
"int",
"estimate_operator_cost",
"(",
"enum",
"tree_code",
"code",
",",
"eni_weights",
"*",
"weights",
",",
"tree",
"op1",
"ATTRIBUTE_UNUSED",
",",
"tree",
"op2",
")",
"{",
"switch",
"(",
"code",
")",
"{",
"/*",
"These",
"are",
"\"free\"",
"conver... | estimate_operator_cost | KevinOConnor/klipper | valid | Os |
78,360 | [
"Construct",
"new",
"SSA",
"name",
"for",
"old",
"NAME"
] | [
"'static",
"tree",
"remap_ssa_name",
"(",
"tree",
"name",
",",
"copy_body_data",
"*",
"id",
")",
"{",
"tree",
"new_tree",
",",
"<type",
"ref=\"prev\"/>",
"var",
";",
"tree",
"*",
"n",
";",
"gcc_assert",
"(",
"TREE_CODE",
"(",
"name",
")",
"==",
"SSA_NAME",... | remap_ssa_name | KevinOConnor/klipper | valid | Os |
78,361 | [
"Initializes",
"weights",
"used",
"by",
"estimate_num_insns"
] | [
"'void",
"init_inline_once",
"(",
"void",
")",
"{",
"eni_size_weights",
".",
"call_cost",
"=",
"1",
";",
"eni_size_weights",
".",
"indirect_call_cost",
"=",
"3",
";",
"eni_size_weights",
".",
"target_builtin_call_cost",
"=",
"1",
";",
"eni_size_weights",
".",
"div... | init_inline_once | KevinOConnor/klipper | valid | Os |
78,362 | [
"Create",
"a",
"copy",
"of",
"SEQ",
"and",
"remap",
"all",
"decls",
"in",
"it"
] | [
"'static",
"gimple_seq",
"duplicate_remap_omp_clause_seq",
"(",
"gimple_seq",
"seq",
",",
"struct",
"walk_stmt_info",
"*",
"wi",
")",
"{",
"if",
"(",
"!",
"seq",
")",
"return",
"NULL",
";",
"/*",
"If",
"there",
"are",
"any",
"labels",
"in",
"OMP",
"sequences... | duplicate_remap_omp_clause_seq | KevinOConnor/klipper | valid | Os |
78,363 | [
"Copy",
"the",
"whole",
"block",
"tree",
"and",
"root",
"it",
"in",
"id>block"
] | [
"'static",
"tree",
"remap_blocks",
"(",
"tree",
"block",
",",
"copy_body_data",
"*",
"id",
")",
"{",
"tree",
"t",
";",
"tree",
"new_tree",
"=",
"block",
";",
"if",
"(",
"!",
"block",
")",
"return",
"NULL",
";",
"remap_block",
"(",
"&",
"new_tree",
",",... | remap_blocks | KevinOConnor/klipper | valid | Os |
78,364 | [
"Install",
"new",
"lexical",
"TREE_BLOCK",
"underneath",
"'current_block'"
] | [
"'static",
"void",
"prepend_lexical_block",
"(",
"tree",
"current_block",
",",
"tree",
"new_block",
")",
"{",
"BLOCK_CHAIN",
"(",
"new_block",
")",
"=",
"BLOCK_SUBBLOCKS",
"(",
"current_block",
")",
";",
"BLOCK_SUBBLOCKS",
"(",
"current_block",
")",
"=",
"new_bloc... | prepend_lexical_block | KevinOConnor/klipper | valid | Os |
78,365 | [
"Remap",
"DECL",
"during",
"the",
"copying",
"of",
"the",
"BLOCK",
"tree",
"for",
"the",
"function"
] | [
"\"tree",
"remap_decl",
"(",
"tree",
"decl",
",",
"copy_body_data",
"*",
"id",
")",
"{",
"tree",
"*",
"n",
";",
"/*",
"We",
"only",
"remap",
"local",
"variables",
"in",
"the",
"current",
"function.",
"*/",
"/*",
"See",
"if",
"we",
"have",
"remapped",
"... | remap_decl | KevinOConnor/klipper | valid | Os |
78,366 | [
"Similar,",
"but",
"operate",
"on",
"INTEGER_CSTs"
] | [
"'static",
"tree",
"remap_eh_region_tree_nr",
"(",
"tree",
"old_t_nr",
",",
"copy_body_data",
"*",
"id",
")",
"{",
"int",
"old_nr",
",",
"<type",
"ref=\"prev\"/>",
"new_nr",
";",
"old_nr",
"=",
"tree_to_shwi",
"(",
"old_t_nr",
")",
";",
"new_nr",
"=",
"remap_e... | remap_eh_region_tree_nr | KevinOConnor/klipper | valid | Os |
78,367 | [
"Duplicate",
"a",
"type,",
"fields",
"and",
"all"
] | [
"'tree",
"build_duplicate_type",
"(",
"tree",
"type",
")",
"{",
"struct",
"copy_body_data",
"id",
";",
"memset",
"(",
"&",
"id",
",",
"0",
",",
"sizeof",
"(",
"id",
")",
")",
";",
"id",
".",
"src_fn",
"=",
"current_function_decl",
";",
"id",
".",
"dst_... | build_duplicate_type | KevinOConnor/klipper | valid | Os |
78,368 | [
"If",
"STMT",
"is",
"a",
"GIMPLE_CALL,",
"replace",
"it",
"with",
"its",
"inline",
"expansion"
] | [
"'static",
"bool",
"expand_call_inline",
"(",
"basic_block",
"bb",
",",
"gimple",
"*",
"stmt",
",",
"copy_body_data",
"*",
"id",
")",
"{",
"tree",
"use_retvar",
";",
"tree",
"fn",
";",
"hash_map",
"<argument_list",
"type=\"generic\">",
"<",
"tree",
",",
"tree"... | expand_call_inline | KevinOConnor/klipper | valid | Os |
78,369 | [
"Call",
"cgraph_redirect_edge_call_stmt_to_callee",
"on",
"all",
"calls",
"in",
"BB"
] | [
"'void",
"redirect_all_calls",
"(",
"copy_body_data",
"*",
"id",
",",
"basic_block",
"bb",
")",
"{",
"gimple_stmt_iterator",
"si",
";",
"gimple",
"*",
"last",
"=",
"last_stmt",
"(",
"bb",
")",
";",
"for",
"(",
"si",
"=",
"gsi_start_bb",
"(",
"bb",
")",
"... | redirect_all_calls | KevinOConnor/klipper | valid | Os |
78,370 | [
"Remap",
"the",
"block",
"tree",
"rooted",
"at",
"BLOCK",
"to",
"nothing"
] | [
"'static",
"void",
"remap_blocks_to_null",
"(",
"tree",
"block",
",",
"copy_body_data",
"*",
"id",
")",
"{",
"tree",
"t",
";",
"insert_decl_map",
"(",
"id",
",",
"block",
",",
"NULL_TREE",
")",
";",
"for",
"(",
"t",
"=",
"BLOCK_SUBBLOCKS",
"(",
"block",
... | remap_blocks_to_null | KevinOConnor/klipper | valid | Os |
78,371 | [
"Expand",
"calls",
"to",
"inline",
"functions",
"in",
"the",
"body",
"of",
"FN"
] | [
"'unsigned",
"int",
"optimize_inline_calls",
"(",
"tree",
"fn",
")",
"{",
"copy_body_data",
"id",
";",
"basic_block",
"bb",
";",
"int",
"last",
"=",
"n_basic_blocks_for_fn",
"(",
"cfun",
")",
";",
"bool",
"inlined_p",
"=",
"false",
";",
"/*",
"Clear",
"out",... | optimize_inline_calls | KevinOConnor/klipper | valid | Os |
78,372 | [
"Allow",
"someone",
"to",
"determine",
"if",
"SEARCH",
"is",
"a",
"child",
"of",
"TOP",
"from",
"gdb"
] | [
"'static",
"tree",
"debug_find_tree_1",
"(",
"tree",
"*",
"tp",
",",
"int",
"*",
"walk_subtrees",
"ATTRIBUTE_UNUSED",
",",
"void",
"*",
"data",
")",
"{",
"if",
"(",
"*",
"tp",
"==",
"data",
")",
"return",
"(",
"tree",
")",
"data",
";",
"else",
"return"... | debug_find_tree_1 | KevinOConnor/klipper | valid | Os |
78,396 | [
"sockem",
"internal",
"persocket",
"forwarder",
"thread"
] | [
"'static",
"void",
"*",
"sockem_run",
"(",
"void",
"*",
"arg",
")",
"{",
"sockem_t",
"*",
"skm",
"=",
"arg",
";",
"int",
"cs",
"=",
"-",
"1",
";",
"int",
"ls",
";",
"struct",
"pollfd",
"pfd",
"[",
"2",
"]",
";",
"mtx_lock",
"(",
"&",
"skm",
"->... | sockem_run | edenhill/librdkafka | valid | O2 |
78,397 | [
"Close",
"all",
"sockets",
"and",
"unsets",
">run"
] | [
"'static",
"void",
"sockem_close_all",
"(",
"sockem_t",
"*",
"skm",
")",
"{",
"int",
"serr",
"=",
"socket_errno",
"()",
";",
"if",
"(",
"skm",
"->",
"ls",
"!=",
"-",
"1",
")",
"{",
"sockem_close0",
"(",
"skm",
"->",
"ls",
")",
";",
"skm",
"->",
"ls... | sockem_close_all | edenhill/librdkafka | valid | O2 |
78,398 | [
"Set",
"single",
"conf",
"key"
] | [
"'static",
"int",
"sockem_set0",
"(",
"sockem_t",
"*",
"skm",
",",
"const",
"char",
"*",
"key",
",",
"int",
"val",
")",
"{",
"if",
"(",
"!",
"strcmp",
"(",
"key",
",",
"\"rx.thruput\"",
")",
"||",
"!",
"strcmp",
"(",
"key",
",",
"\"rx.throughput\"",
... | sockem_set0 | edenhill/librdkafka | valid | O2 |
78,443 | [
"<",
"this",
"is",
"the",
"draw",
"task",
"for",
"the",
"ui"
] | [
"'static",
"int",
"draw_entry",
"(",
"void",
"*",
"para",
")",
"{",
"int",
"cmd",
"=",
"0",
";",
"int",
"ret",
"=",
"-",
"1",
";",
"void",
"*",
"data",
"=",
"NULL",
";",
"ui_touch_t",
"touch",
";",
"BSP_LCD_Init",
"()",
";",
"void",
"GT911_Init",
"... | draw_entry | LiteOS/LiteOS_Lab | valid | Og |
78,444 | [
"<",
"draw",
"the",
"log"
] | [
"'static",
"int",
"draw_theme",
"(",
"int",
"fresh",
")",
"{",
"//Paint_DrawString_EN(50,",
"20,",
"\"HUAWEI",
"OceanLink",
"Demo\",",
"&Font24,",
"LIGHTBLUE,",
"BLACK);",
"Paint_DrawImage",
"(",
"g_img_oc",
",",
"CN_UI_THEME_BASE_X",
",",
"CN_UI_THEME_BASE_Y",
",",
"... | draw_theme | LiteOS/LiteOS_Lab | valid | Og |
78,445 | [
"<",
"do",
"the",
"touch",
"filter",
"here"
] | [
"'static",
"int",
"ui_touch",
"(",
"int",
"x_t",
",",
"int",
"y_t",
")",
"{",
"int",
"i",
"=",
"0",
";",
"int",
"y",
";",
"int",
"x",
";",
"static",
"unsigned",
"long",
"long",
"time_last",
"=",
"0",
";",
"unsigned",
"long",
"long",
"time_now",
"="... | ui_touch | LiteOS/LiteOS_Lab | valid | Og |
78,446 | [
"<",
"THE",
"TOUCH",
"X",
"Y",
"NOT",
"THE",
"SAME",
"AS",
"THE",
"PAIN:ROTATE",
"270"
] | [
"'static",
"int",
"ui_iccid_touch",
"(",
"int",
"x",
",",
"int",
"y",
")",
"{",
"unsigned",
"int",
"card",
"=",
"0",
";",
"card",
"=",
"(",
"y",
"-",
"CN_UI_ICCID_ITEMBASE_Y",
")",
"/",
"CN_UI_FONT_H",
";",
"if",
"(",
"card",
"<",
"s_app_main_cb",
".",... | ui_iccid_touch | LiteOS/LiteOS_Lab | valid | Og |
78,451 | [
"Recompute",
"TYPE_CANONICAL",
"for",
"NODE",
"and",
"related",
"types"
] | [
"'static",
"void",
"lto_register_canonical_types",
"(",
"tree",
"node",
",",
"bool",
"first_p",
")",
"{",
"if",
"(",
"!",
"node",
"||",
"!",
"TYPE_P",
"(",
"node",
")",
")",
"return",
";",
"if",
"(",
"first_p",
")",
"TYPE_CANONICAL",
"(",
"node",
")",
... | lto_register_canonical_types | KevinOConnor/klipper | valid | Os |
78,452 | [
"Delete",
"an",
"allocated",
"integer",
"KEY",
"in",
"the",
"splay",
"tree"
] | [
"'static",
"void",
"lto_splay_tree_delete_id",
"(",
"splay_tree_key",
"key",
")",
"{",
"free",
"(",
"(",
"void",
"*",
")",
"key",
")",
";",
"}'"
] | lto_splay_tree_delete_id | KevinOConnor/klipper | valid | Os |
78,453 | [
"Check",
"if",
"T",
"is",
"a",
"decl",
"and",
"needs",
"register",
"its",
"resolution",
"info"
] | [
"'static",
"void",
"lto_maybe_register_decl",
"(",
"struct",
"data_in",
"*",
"data_in",
",",
"tree",
"t",
",",
"unsigned",
"ix",
")",
"{",
"if",
"(",
"TREE_CODE",
"(",
"t",
")",
"==",
"VAR_DECL",
")",
"lto_register_var_decl_in_symtab",
"(",
"data_in",
",",
"... | lto_maybe_register_decl | KevinOConnor/klipper | valid | Os |
78,454 | [
"Actually",
"stream",
"out",
"ENCODER",
"into",
"TEMP_FILENAME"
] | [
"'static",
"void",
"do_stream_out",
"(",
"char",
"*",
"temp_filename",
",",
"lto_symtab_encoder_t",
"encoder",
")",
"{",
"lto_file",
"*",
"file",
"=",
"lto_obj_file_open",
"(",
"temp_filename",
",",
"true",
")",
";",
"if",
"(",
"!",
"file",
")",
"fatal_error",... | do_stream_out | KevinOConnor/klipper | valid | Os |
78,455 | [
"Main",
"worker",
"for",
"gimple_register_canonical_type"
] | [
"'static",
"void",
"gimple_register_canonical_type_1",
"(",
"tree",
"t",
",",
"hashval_t",
"hash",
")",
"{",
"void",
"*",
"*",
"slot",
";",
"gcc_checking_assert",
"(",
"TYPE_P",
"(",
"t",
")",
"&&",
"!",
"TYPE_CANONICAL",
"(",
"t",
")",
"&&",
"type_with_alia... | gimple_register_canonical_type_1 | KevinOConnor/klipper | valid | Os |
78,456 | [
"Returns",
"nonzero",
"if",
"P1",
"and",
"P2",
"are",
"equal"
] | [
"'static",
"int",
"gimple_canonical_type_eq",
"(",
"const",
"void",
"*",
"p1",
",",
"const",
"void",
"*",
"p2",
")",
"{",
"const_tree",
"t1",
"=",
"(",
"const_tree",
")",
"p1",
";",
"const_tree",
"t2",
"=",
"(",
"const_tree",
")",
"p2",
";",
"return",
... | gimple_canonical_type_eq | KevinOConnor/klipper | valid | Os |
78,457 | [
"Returns",
"the",
"hash",
"for",
"a",
"canonical",
"type",
"P"
] | [
"'static",
"hashval_t",
"gimple_canonical_type_hash",
"(",
"const",
"void",
"*",
"p",
")",
"{",
"num_canonical_type_hash_queries",
"++",
";",
"hashval_t",
"*",
"slot",
"=",
"canonical_type_hash_cache",
"->",
"get",
"(",
"(",
"const_tree",
")",
"p",
")",
";",
"gc... | gimple_canonical_type_hash | KevinOConnor/klipper | valid | Os |
78,458 | [
"Check",
"presence",
"of",
"pointers",
"to",
"decls",
"in",
"fields",
"of",
"a",
"decl_common",
"T"
] | [
"'static",
"inline",
"bool",
"mentions_vars_p_decl_common",
"(",
"tree",
"t",
")",
"{",
"if",
"(",
"mentions_vars_p_decl_minimal",
"(",
"t",
")",
")",
"return",
"true",
";",
"CHECK_VAR",
"(",
"DECL_SIZE",
"(",
"t",
")",
")",
";",
"CHECK_VAR",
"(",
"DECL_SIZE... | mentions_vars_p_decl_common | KevinOConnor/klipper | valid | Os |
78,459 | [
"We",
"need",
"to",
"record",
"resolutions",
"until",
"symbol",
"table",
"is",
"read"
] | [
"'static",
"void",
"register_resolution",
"(",
"struct",
"lto_file_decl_data",
"*",
"file_data",
",",
"tree",
"decl",
",",
"enum",
"ld_plugin_symbol_resolution",
"resolution",
")",
"{",
"bool",
"existed",
";",
"if",
"(",
"resolution",
"==",
"LDPR_UNKNOWN",
")",
"r... | register_resolution | KevinOConnor/klipper | valid | Os |
78,460 | [
"Materialize",
"all",
"the",
"bodies",
"for",
"all",
"the",
"nodes",
"in",
"the",
"callgraph"
] | [
"'static",
"void",
"materialize_cgraph",
"(",
"void",
")",
"{",
"struct",
"cgraph_node",
"*",
"node",
";",
"timevar_id_t",
"lto_timer",
";",
"if",
"(",
"!",
"quiet_flag",
")",
"fprintf",
"(",
"stderr",
",",
"flag_wpa",
"?",
"\"Materializing",
"decls:\"",
":",
... | materialize_cgraph | KevinOConnor/klipper | valid | Os |
78,461 | [
"Compare",
"splay",
"tree",
"node",
"ids",
"A",
"and",
"B"
] | [
"'static",
"int",
"lto_splay_tree_compare_ids",
"(",
"splay_tree_key",
"a",
",",
"splay_tree_key",
"b",
")",
"{",
"unsigned",
"HOST_WIDE_INT",
"ai",
";",
"unsigned",
"HOST_WIDE_INT",
"bi",
";",
"ai",
"=",
"*",
"(",
"unsigned",
"HOST_WIDE_INT",
"*",
")",
"a",
"... | lto_splay_tree_compare_ids | KevinOConnor/klipper | valid | Os |
78,462 | [
"Show",
"various",
"memory",
"usage",
"statistics",
"related",
"to",
"LTO"
] | [
"'static",
"void",
"print_lto_report_1",
"(",
"void",
")",
"{",
"const",
"char",
"*",
"pfx",
"=",
"(",
"flag_lto",
")",
"?",
"\"LTO\"",
":",
"(",
"flag_wpa",
")",
"?",
"\"WPA\"",
":",
"\"LTRANS\"",
";",
"fprintf",
"(",
"stderr",
",",
"\"%s",
"statistics\... | print_lto_report_1 | KevinOConnor/klipper | valid | Os |
78,463 | [
"Helper",
"for",
"qsort;",
"compare",
"partitions",
"and",
"return",
"one",
"with",
"smaller",
"order"
] | [
"'static",
"int",
"cmp_partitions_order",
"(",
"const",
"void",
"*",
"a",
",",
"const",
"void",
"*",
"b",
")",
"{",
"const",
"struct",
"ltrans_partition_def",
"*",
"pa",
"=",
"*",
"(",
"struct",
"ltrans_partition_def",
"*",
"const",
"*",
")",
"a",
";",
"... | cmp_partitions_order | KevinOConnor/klipper | valid | Os |
78,465 | [
"use",
"this",
"function",
"to",
"push",
"all",
"the",
"message",
"to",
"the",
"buffer"
] | [
"'static",
"int",
"app_msg_deal",
"(",
"void",
"*",
"msg",
",",
"int",
"len",
")",
"{",
"int",
"ret",
"=",
"-",
"1",
";",
"if",
"(",
"len",
"<=",
"cn_app_rcv_buf_len",
")",
"{",
"memcpy",
"(",
"s_rcv_buffer",
",",
"msg",
",",
"len",
")",
";",
"s_rc... | app_msg_deal | LiteOS/LiteOS_Lab | valid | Og |
78,499 | [
"Finish",
"a",
"pass",
"over",
"all"
] | [
"'bfd_boolean",
"_bfd_elf_end_eh_frame_parsing",
"(",
"struct",
"bfd_link_info",
"*",
"info",
")",
"{",
"struct",
"eh_frame_hdr_info",
"*",
"hdr_info",
";",
"unsigned",
"int",
"i",
";",
"hdr_info",
"=",
"&",
"elf_hash_table",
"(",
"info",
")",
"->",
"eh_info",
"... | _bfd_elf_end_eh_frame_parsing | KevinOConnor/klipper | valid | Os |
78,500 | [
"Order",
"eh_frame_hdr",
"entries",
"by",
"the",
"VMA",
"of",
"their",
"text",
"section"
] | [
"'static",
"int",
"cmp_eh_frame_hdr",
"(",
"const",
"void",
"*",
"a",
",",
"const",
"void",
"*",
"b",
")",
"{",
"bfd_vma",
"text_a",
";",
"bfd_vma",
"text_b",
";",
"asection",
"*",
"sec",
";",
"sec",
"=",
"*",
"(",
"asection",
"*",
"const",
"*",
")",... | cmp_eh_frame_hdr | KevinOConnor/klipper | valid | Os |
78,501 | [
"Return",
"the",
"width",
"of",
"FDE",
"addresses"
] | [
"'unsigned",
"int",
"_bfd_elf_eh_frame_address_size",
"(",
"bfd",
"*",
"abfd",
",",
"const",
"asection",
"*",
"sec",
"ATTRIBUTE_UNUSED",
")",
"{",
"return",
"elf_elfheader",
"(",
"abfd",
")",
"->",
"e_ident",
"[",
"EI_CLASS",
"]",
"==",
"ELFCLASS64",
"?",
"8",... | _bfd_elf_eh_frame_address_size | KevinOConnor/klipper | valid | Os |
78,547 | [
"r",
"scalarG",
"+",
"sum(scalars[i]points[i])"
] | [
"'__owur",
"static",
"int",
"ecp_sm2z256_points_mul",
"(",
"const",
"EC_GROUP",
"*",
"group",
",",
"EC_POINT",
"*",
"r",
",",
"const",
"BIGNUM",
"*",
"scalar",
",",
"size_t",
"num",
",",
"const",
"EC_POINT",
"*",
"points",
"[]",
",",
"const",
"BIGNUM",
"*"... | ecp_sm2z256_points_mul | guanzhi/GmSSL | valid | O1 |
78,565 | [
"Return",
"true",
"if",
"X",
"is",
"an",
"address",
"that",
"is",
"known",
"to",
"not",
"be",
"zero"
] | [
"\"bool",
"nonzero_address_p",
"(",
"const_rtx",
"x",
")",
"{",
"const",
"enum",
"rtx_code",
"code",
"=",
"GET_CODE",
"(",
"x",
")",
";",
"switch",
"(",
"code",
")",
"{",
"case",
"SYMBOL_REF",
":",
"return",
"flag_delete_null_pointer_checks",
"&&",
"!",
"SYM... | nonzero_address_p | KevinOConnor/klipper | valid | Os |
78,566 | [
"If",
"the",
"target",
"doesn't",
"override,",
"compute",
"the",
"cost",
"as",
"with",
"arithmetic"
] | [
"'int",
"default_address_cost",
"(",
"rtx",
"x",
",",
"machine_mode",
",",
"addr_space_t",
",",
"bool",
"speed",
")",
"{",
"return",
"rtx_cost",
"(",
"x",
",",
"Pmode",
",",
"MEM",
",",
"0",
",",
"speed",
")",
";",
"}'"
] | default_address_cost | KevinOConnor/klipper | valid | Os |
78,567 | [
"Return",
"true",
"if",
"X",
"is",
"referenced",
"in",
"BODY"
] | [
"'bool",
"rtx_referenced_p",
"(",
"const_rtx",
"x",
",",
"const_rtx",
"body",
")",
"{",
"subrtx_iterator",
"::",
"array_type",
"array",
";",
"FOR_EACH_SUBRTX",
"(",
"iter",
",",
"array",
",",
"body",
",",
"ALL",
")",
"if",
"(",
"const_rtx",
"y",
"=",
"*",
... | rtx_referenced_p | KevinOConnor/klipper | valid | Os |
78,568 | [
"Add",
"a",
"register",
"note",
"like",
"NOTE",
"to",
"INSN"
] | [
"'void",
"add_shallow_copy_of_reg_note",
"(",
"rtx_insn",
"*",
"insn",
",",
"rtx",
"note",
")",
"{",
"if",
"(",
"GET_CODE",
"(",
"note",
")",
"==",
"INT_LIST",
")",
"add_int_reg_note",
"(",
"insn",
",",
"REG_NOTE_KIND",
"(",
"note",
")",
",",
"XINT",
"(",
... | add_shallow_copy_of_reg_note | KevinOConnor/klipper | valid | Os |
78,569 | [
"Return",
"true",
"if",
"X",
"contains",
"a",
"threadlocal",
"symbol"
] | [
"'bool",
"tls_referenced_p",
"(",
"const_rtx",
"x",
")",
"{",
"if",
"(",
"!",
"targetm",
".",
"have_tls",
")",
"return",
"false",
";",
"subrtx_iterator",
"::",
"array_type",
"array",
";",
"FOR_EACH_SUBRTX",
"(",
"iter",
",",
"array",
",",
"x",
",",
"ALL",
... | tls_referenced_p | KevinOConnor/klipper | valid | Os |
78,570 | [
"Describe",
"address",
"operand",
"LOC",
"in",
"INFO"
] | [
"'void",
"decompose_lea_address",
"(",
"struct",
"address_info",
"*",
"info",
",",
"rtx",
"*",
"loc",
")",
"{",
"decompose_address",
"(",
"info",
",",
"loc",
",",
"VOIDmode",
",",
"ADDR_SPACE_GENERIC",
",",
"ADDRESS",
")",
";",
"}'"
] | decompose_lea_address | KevinOConnor/klipper | valid | Os |
78,571 | [
"Remove",
"all",
"REG_EQUAL",
"and",
"REG_EQUIV",
"notes",
"referring",
"to",
"REGNO"
] | [
"'void",
"remove_reg_equal_equiv_notes_for_regno",
"(",
"unsigned",
"int",
"regno",
")",
"{",
"df_ref",
"eq_use",
";",
"if",
"(",
"!",
"df",
")",
"return",
";",
"/*",
"This",
"loop",
"is",
"a",
"little",
"tricky.",
"We",
"cannot",
"just",
"go",
"down",
"th... | remove_reg_equal_equiv_notes_for_regno | KevinOConnor/klipper | valid | Os |
78,572 | [
"Return",
"the",
"CALL",
"in",
"X",
"if",
"there",
"is",
"one"
] | [
"'rtx",
"get_call_rtx_from",
"(",
"rtx",
"x",
")",
"{",
"if",
"(",
"INSN_P",
"(",
"x",
")",
")",
"x",
"=",
"PATTERN",
"(",
"x",
")",
";",
"if",
"(",
"GET_CODE",
"(",
"x",
")",
"==",
"PARALLEL",
")",
"x",
"=",
"XVECEXP",
"(",
"x",
",",
"0",
",... | get_call_rtx_from | KevinOConnor/klipper | valid | Os |
78,573 | [
"Add",
"an",
"integer",
"register",
"note",
"with",
"kind",
"KIND",
"and",
"datum",
"DATUM",
"to",
"INSN"
] | [
"'void",
"add_int_reg_note",
"(",
"rtx_insn",
"*",
"insn",
",",
"enum",
"reg_note",
"kind",
",",
"int",
"datum",
")",
"{",
"gcc_checking_assert",
"(",
"int_reg_note_p",
"(",
"kind",
")",
")",
";",
"REG_NOTES",
"(",
"insn",
")",
"=",
"gen_rtx_INT_LIST",
"(",
... | add_int_reg_note | KevinOConnor/klipper | valid | Os |
78,574 | [
"Return",
"true",
"if",
"X",
"contains",
"a",
"MEM",
"subrtx"
] | [
"'bool",
"contains_mem_rtx_p",
"(",
"rtx",
"x",
")",
"{",
"subrtx_iterator",
"::",
"array_type",
"array",
";",
"FOR_EACH_SUBRTX",
"(",
"iter",
",",
"array",
",",
"x",
",",
"ALL",
")",
"if",
"(",
"MEM_P",
"(",
"*",
"iter",
")",
")",
"return",
"true",
";... | contains_mem_rtx_p | KevinOConnor/klipper | valid | Os |
78,575 | [
"Return",
"nonzero",
"if",
"IN",
"contains",
"a",
"piece",
"of",
"rtl",
"that",
"has",
"the",
"address",
"LOC"
] | [
"'int",
"loc_mentioned_in_p",
"(",
"rtx",
"*",
"loc",
",",
"const_rtx",
"in",
")",
"{",
"enum",
"rtx_code",
"code",
";",
"const",
"char",
"*",
"fmt",
";",
"int",
"i",
",",
"<type",
"ref=\"prev\"/>",
"j",
";",
"if",
"(",
"!",
"in",
")",
"return",
"0",... | loc_mentioned_in_p | KevinOConnor/klipper | valid | Os |
78,576 | [
"Return",
"the",
"final",
"regno",
"that",
"a",
"subreg",
"expression",
"refers",
"to"
] | [
"'unsigned",
"int",
"subreg_regno",
"(",
"const_rtx",
"x",
")",
"{",
"unsigned",
"int",
"ret",
";",
"rtx",
"subreg",
"=",
"SUBREG_REG",
"(",
"x",
")",
";",
"int",
"regno",
"=",
"REGNO",
"(",
"subreg",
")",
";",
"ret",
"=",
"regno",
"+",
"subreg_regno_o... | subreg_regno | KevinOConnor/klipper | valid | Os |
78,577 | [
"Return",
"the",
"mode",
"of",
"MEM's",
"address"
] | [
"'scalar_int_mode",
"get_address_mode",
"(",
"rtx",
"mem",
")",
"{",
"machine_mode",
"mode",
";",
"gcc_assert",
"(",
"MEM_P",
"(",
"mem",
")",
")",
";",
"mode",
"=",
"GET_MODE",
"(",
"XEXP",
"(",
"mem",
",",
"0",
")",
")",
";",
"if",
"(",
"mode",
"!=... | get_address_mode | KevinOConnor/klipper | valid | Os |
78,578 | [
"Describe",
"the",
"address",
"of",
"MEM",
"X",
"in",
"INFO"
] | [
"'void",
"decompose_mem_address",
"(",
"struct",
"address_info",
"*",
"info",
",",
"rtx",
"x",
")",
"{",
"gcc_assert",
"(",
"MEM_P",
"(",
"x",
")",
")",
";",
"decompose_address",
"(",
"info",
",",
"&",
"XEXP",
"(",
"x",
",",
"0",
")",
",",
"GET_MODE",
... | decompose_mem_address | KevinOConnor/klipper | valid | Os |
78,579 | [
"Utility",
"function",
"for",
"dead_or_set_p",
"to",
"check",
"an",
"individual",
"register"
] | [
"'int",
"dead_or_set_regno_p",
"(",
"const",
"rtx_insn",
"*",
"insn",
",",
"unsigned",
"int",
"test_regno",
")",
"{",
"const_rtx",
"pattern",
";",
"/*",
"See",
"if",
"there",
"is",
"a",
"death",
"note",
"for",
"something",
"that",
"includes",
"TEST_REGNO.",
... | dead_or_set_regno_p | KevinOConnor/klipper | valid | Os |
78,580 | [
"Duplicate",
"NOTE",
"and",
"return",
"the",
"copy"
] | [
"'rtx",
"duplicate_reg_note",
"(",
"rtx",
"note",
")",
"{",
"reg_note",
"kind",
"=",
"REG_NOTE_KIND",
"(",
"note",
")",
";",
"if",
"(",
"GET_CODE",
"(",
"note",
")",
"==",
"INT_LIST",
")",
"return",
"gen_rtx_INT_LIST",
"(",
"(",
"machine_mode",
")",
"kind"... | duplicate_reg_note | KevinOConnor/klipper | valid | Os |
78,581 | [
"Add",
"a",
"REG_ARGS_SIZE",
"note",
"to",
"INSN",
"with",
"value",
"VALUE"
] | [
"'void",
"add_args_size_note",
"(",
"rtx_insn",
"*",
"insn",
",",
"poly_int64",
"value",
")",
"{",
"gcc_checking_assert",
"(",
"!",
"find_reg_note",
"(",
"insn",
",",
"REG_ARGS_SIZE",
",",
"NULL_RTX",
")",
")",
";",
"add_reg_note",
"(",
"insn",
",",
"REG_ARGS_... | add_args_size_note | KevinOConnor/klipper | valid | Os |
78,582 | [
"Check",
"whether",
"this",
"is",
"a",
"constant",
"pool",
"constant"
] | [
"'bool",
"constant_pool_constant_p",
"(",
"rtx",
"x",
")",
"{",
"x",
"=",
"avoid_constant_pool_reference",
"(",
"x",
")",
";",
"return",
"CONST_DOUBLE_P",
"(",
"x",
")",
";",
"}'"
] | constant_pool_constant_p | KevinOConnor/klipper | valid | Os |
78,583 | [
"Remove",
"register",
"note",
"NOTE",
"from",
"the",
"REG_NOTES",
"of",
"INSN"
] | [
"'void",
"remove_note",
"(",
"rtx_insn",
"*",
"insn",
",",
"const_rtx",
"note",
")",
"{",
"rtx",
"link",
";",
"if",
"(",
"note",
"==",
"NULL_RTX",
")",
"return",
";",
"if",
"(",
"REG_NOTES",
"(",
"insn",
")",
"==",
"note",
")",
"REG_NOTES",
"(",
"ins... | remove_note | KevinOConnor/klipper | valid | Os |
78,584 | [
"Return",
"true",
"if",
"REG",
"is",
"set",
"or",
"clobbered",
"inside",
"INSN"
] | [
"'int",
"reg_set_p",
"(",
"const_rtx",
"reg",
",",
"const_rtx",
"insn",
")",
"{",
"/*",
"After",
"delay",
"slot",
"handling,",
"call",
"and",
"branch",
"insns",
"might",
"be",
"in",
"a",
"sequence.",
"Check",
"all",
"the",
"elements",
"there.",
"*/",
"if",... | reg_set_p | KevinOConnor/klipper | valid | Os |
78,585 | [
"Returns",
"estimate",
"on",
"cost",
"of",
"computing",
"SEQ"
] | [
"'unsigned",
"seq_cost",
"(",
"const",
"rtx_insn",
"*",
"seq",
",",
"bool",
"speed",
")",
"{",
"unsigned",
"cost",
"=",
"0",
";",
"rtx",
"set",
";",
"for",
"(",
";",
"seq",
";",
"seq",
"=",
"NEXT_INSN",
"(",
"seq",
")",
")",
"{",
"set",
"=",
"sin... | seq_cost | KevinOConnor/klipper | valid | Os |
78,586 | [
"Like",
"record_hard_reg_sets,",
"but",
"called",
"through",
"note_uses"
] | [
"'void",
"record_hard_reg_uses",
"(",
"rtx",
"*",
"px",
",",
"void",
"*",
"data",
")",
"{",
"find_all_hard_regs",
"(",
"*",
"px",
",",
"(",
"HARD_REG_SET",
"*",
")",
"data",
")",
";",
"}'"
] | record_hard_reg_uses | KevinOConnor/klipper | valid | Os |
78,587 | [
"Add",
"all",
"hard",
"register",
"in",
"X",
"to",
"PSET"
] | [
"'void",
"find_all_hard_regs",
"(",
"const_rtx",
"x",
",",
"HARD_REG_SET",
"*",
"pset",
")",
"{",
"subrtx_iterator",
"::",
"array_type",
"array",
";",
"FOR_EACH_SUBRTX",
"(",
"iter",
",",
"array",
",",
"x",
",",
"NONCONST",
")",
"{",
"const_rtx",
"x",
"=",
... | find_all_hard_regs | KevinOConnor/klipper | valid | Os |
78,588 | [
"Return",
"the",
"argument",
"size",
"in",
"REG_ARGS_SIZE",
"note",
"X"
] | [
"'poly_int64",
"get_args_size",
"(",
"const_rtx",
"x",
")",
"{",
"gcc_checking_assert",
"(",
"REG_NOTE_KIND",
"(",
"x",
")",
"==",
"REG_ARGS_SIZE",
")",
";",
"return",
"rtx_to_poly_int64",
"(",
"XEXP",
"(",
"x",
",",
"0",
")",
")",
";",
"}'"
] | get_args_size | KevinOConnor/klipper | valid | Os |
78,589 | [
"Return",
"nonzero",
"if",
"the",
"use",
"of",
"X",
"as",
"an",
"address",
"in",
"a",
"MEM",
"can",
"cause",
"a",
"trap"
] | [
"'int",
"rtx_addr_can_trap_p",
"(",
"const_rtx",
"x",
")",
"{",
"return",
"rtx_addr_can_trap_p_1",
"(",
"x",
",",
"0",
",",
"-",
"1",
",",
"BLKmode",
",",
"false",
")",
";",
"}'"
] | rtx_addr_can_trap_p | KevinOConnor/klipper | valid | Os |
78,590 | [
"Helper",
"function",
"for",
"noticing",
"stores",
"to",
"parameter",
"registers"
] | [
"'static",
"void",
"parms_set",
"(",
"rtx",
"x",
",",
"const_rtx",
"pat",
"ATTRIBUTE_UNUSED",
",",
"void",
"*",
"data",
")",
"{",
"struct",
"parms_set_data",
"*",
"const",
"d",
"=",
"(",
"struct",
"parms_set_data",
"*",
")",
"data",
";",
"if",
"(",
"REG_... | parms_set | KevinOConnor/klipper | valid | Os |
78,634 | [
"Main",
"entry",
"point",
"of",
"the",
"program"
] | [
"'int",
"main",
"(",
"int",
"argc",
",",
"char",
"*",
"argv",
"[]",
")",
"{",
"int",
"c",
";",
"int",
"i",
"=",
"1",
";",
"int",
"option_index",
"=",
"0",
";",
"while",
"(",
"1",
")",
"{",
"option_index",
"=",
"0",
";",
"c",
"=",
"getopt_long",... | main | fabianishere/brainfuck | valid | Os |
78,635 | [
"Print",
"the",
"usage",
"message",
"of",
"this",
"program"
] | [
"'void",
"print_usage",
"(",
"char",
"*",
"name",
")",
"{",
"fprintf",
"(",
"stderr",
",",
"\"usage:",
"%s",
"[-evh]",
"[file...]\\\"",
",",
"name",
")",
";",
"fprintf",
"(",
"stderr",
",",
"\"\\\\t-e",
"--eval\\\\t\\\\trun",
"code",
"directly\\\"",
")",
";"... | print_usage | fabianishere/brainfuck | valid | Os |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.