@@ -566,13 +566,11 @@ class IR_Builder
566
566
567
567
void bindInputDecl (G4_Declare* dcl, int grfOffset);
568
568
569
- uint32_t getPerThreadInputSize () const
570
- {
569
+ uint32_t getPerThreadInputSize () const {
571
570
return kernel.getInt32KernelAttr (Attributes::ATTR_PerThreadInputSize);
572
571
}
573
572
574
- int32_t getCrossThreadInputSize () const
575
- {
573
+ int32_t getCrossThreadInputSize () const {
576
574
return kernel.getInt32KernelAttr (Attributes::ATTR_CrossThreadInputSize);
577
575
}
578
576
@@ -1336,15 +1334,15 @@ class IR_Builder
1336
1334
G4_SrcRegRegion* src, uint16_t start, uint8_t size, uint16_t newVs, uint16_t newWd);
1337
1335
G4_INST *makeSplittingInst (G4_INST *inst, G4_ExecSize execSize);
1338
1336
1339
- G4_InstSend *Create_Send_Inst_For_CISA (
1337
+ G4_InstSend *createSendInst (
1340
1338
G4_Predicate *pred,
1341
1339
G4_DstRegRegion *postDst, G4_SrcRegRegion *payload,
1342
1340
G4_ExecSize execSize,
1343
1341
G4_SendDescRaw *msgDesc,
1344
1342
G4_InstOpts options,
1345
1343
bool is_sendc);
1346
1344
1347
- G4_InstSend *Create_SplitSend_Inst (
1345
+ G4_InstSend *createSplitSendInst (
1348
1346
G4_Predicate *pred,
1349
1347
G4_DstRegRegion *dst, G4_SrcRegRegion *src1, G4_SrcRegRegion *src2,
1350
1348
G4_ExecSize execSize,
@@ -1353,7 +1351,7 @@ class IR_Builder
1353
1351
bool is_sendc);
1354
1352
1355
1353
1356
- G4_InstSend *Create_SplitSend_Inst_For_RT (
1354
+ G4_InstSend *createSplitSendToRenderTarget (
1357
1355
G4_Predicate *pred,
1358
1356
G4_DstRegRegion *dst,
1359
1357
G4_SrcRegRegion *src1,
@@ -1363,7 +1361,7 @@ class IR_Builder
1363
1361
G4_SendDescRaw *msgDesc,
1364
1362
G4_InstOpts option);
1365
1363
1366
- G4_InstSend* Create_Send_Inst_For_CISA (
1364
+ G4_InstSend* createSendInst (
1367
1365
G4_Predicate* pred,
1368
1366
G4_DstRegRegion* postDst,
1369
1367
G4_SrcRegRegion* payload,
@@ -1379,7 +1377,7 @@ class IR_Builder
1379
1377
G4_InstOpts options,
1380
1378
bool is_sendc);
1381
1379
1382
- G4_InstSend* Create_SplitSend_Inst_For_CISA (
1380
+ G4_InstSend* createSplitSendInst (
1383
1381
G4_Predicate* pred, G4_DstRegRegion* dst,
1384
1382
G4_SrcRegRegion* src1, unsigned regs2snd1,
1385
1383
G4_SrcRegRegion* src2, unsigned regs2snd2,
@@ -1395,12 +1393,14 @@ class IR_Builder
1395
1393
1396
1394
// helper functions
1397
1395
G4_Declare *createSendPayloadDcl (unsigned num_elt, G4_Type type);
1398
- void Create_MOVR0_Inst (
1396
+
1397
+ void createMovR0Inst (
1399
1398
G4_Declare* dcl,
1400
1399
short refOff,
1401
1400
short subregOff,
1402
1401
bool use_nomask = false );
1403
- void Create_MOV_Inst (
1402
+
1403
+ void createMovInst (
1404
1404
G4_Declare* dcl,
1405
1405
short refOff,
1406
1406
short subregOff,
@@ -1410,7 +1410,7 @@ class IR_Builder
1410
1410
G4_Operand* src_opnd,
1411
1411
bool use_nomask = false ,
1412
1412
G4_InstOpts options = InstOpt_NoOpt);
1413
- void Create_ADD_Inst (
1413
+ void createAddInst (
1414
1414
G4_Declare* dcl,
1415
1415
short regOff,
1416
1416
short subregOff,
@@ -1420,28 +1420,25 @@ class IR_Builder
1420
1420
G4_Operand* src0_opnd,
1421
1421
G4_Operand* src1_opnd,
1422
1422
G4_InstOption options);
1423
- void Create_MOV_Send_Src_Inst (
1423
+ void createMovSendSrcInst (
1424
1424
G4_Declare* dcl,
1425
1425
short refOff,
1426
1426
short subregOff,
1427
1427
unsigned num_dword,
1428
1428
G4_Operand* src_opnd,
1429
1429
G4_InstOpts options);
1430
1430
1431
-
1432
-
1433
1431
// short hand for creating a dstRegRegion
1434
- G4_DstRegRegion* Create_Dst_Opnd_From_Dcl (G4_Declare* dcl, unsigned short hstride);
1435
- G4_SrcRegRegion* Create_Src_Opnd_From_Dcl (G4_Declare* dcl, const RegionDesc* rd);
1432
+ G4_DstRegRegion* createDstRegRegion (G4_Declare* dcl, unsigned short hstride);
1433
+ G4_SrcRegRegion* createSrcRegRegion (G4_Declare* dcl, const RegionDesc* rd);
1436
1434
1437
1435
// Create a null dst with scalar region and the given type
1438
1436
G4_DstRegRegion* createNullDst (G4_Type dstType);
1439
1437
1440
1438
// Create a null src with scalar region and the given type
1441
1439
G4_SrcRegRegion* createNullSrc (G4_Type dstType);
1442
1440
1443
- G4_DstRegRegion* Check_Send_Dst (G4_DstRegRegion *dst_opnd);
1444
-
1441
+ G4_DstRegRegion* checkSendDst (G4_DstRegRegion *dst_opnd);
1445
1442
1446
1443
G4_INST* createDpasInst (
1447
1444
G4_opcode opc,
0 commit comments