|
reference, declaration → definition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced
|
References
gen/include/llvm/IR/IntrinsicImpl.inc 7178 static const uint8_t OTable[] = {
9584 static const uint8_t IntrinsicsToAttributesMap[] = {
gen/lib/Target/AArch64/AArch64GenAsmMatcher.inc 198 enum SubtargetFeatureBits : uint8_t {
1298 static const uint8_t TiedAsmOperandTable[][3] = {
3105 static const uint8_t ConversionTable[CVT_NUM_SIGNATURES][13] = {
6464 const uint8_t *Converter = ConversionTable[Kind];
6467 for (const uint8_t *p = Converter; *p; p+= 2) {
6798 const uint8_t *Converter = ConversionTable[Kind];
6799 for (const uint8_t *p = Converter; *p; p+= 2) {
12395 const uint8_t *Converter = ConversionTable[Kind];
12396 for (const uint8_t *p = Converter; *p; p+= 2) {
12572 enum : uint8_t {
12661 uint8_t RequiredFeaturesIdx;
27602 uint8_t OperandMask;
27604 uint8_t RequiredFeaturesIdx;
gen/lib/Target/AArch64/AArch64GenAsmWriter.inc13297 printImm8OptLsl<uint8_t>(MI, 2, STI, O);
14647 static const uint8_t RegAsmOffsetvlist1[] = {
14730 static const uint8_t RegAsmOffsetvreg[] = {
gen/lib/Target/AArch64/AArch64GenAsmWriter1.inc14135 printImm8OptLsl<uint8_t>(MI, 2, STI, O);
15363 static const uint8_t RegAsmOffsetvlist1[] = {
15446 static const uint8_t RegAsmOffsetvreg[] = {
gen/lib/Target/AArch64/AArch64GenDisassemblerTables.inc 61 static const uint8_t DecoderTable32[] = {
25718 static DecodeStatus decodeInstruction(const uint8_t DecodeTable[], MCInst &MI,
25724 const uint8_t *Ptr = DecodeTable;
gen/lib/Target/AArch64/AArch64GenGlobalISel.inc 35 enum SubtargetFeatureBits : uint8_t {
gen/lib/Target/AArch64/AArch64GenMCCodeEmitter.inc15601 enum SubtargetFeatureBits : uint8_t {
15858 enum : uint8_t {
15938 static uint8_t RequiredFeaturesRefs[] = {
gen/lib/Target/AArch64/AArch64GenRegisterInfo.inc 2284 const uint8_t FPR8Bits[] = {
2294 const uint8_t FPR16Bits[] = {
2304 const uint8_t PPRBits[] = {
2314 const uint8_t PPR_3bBits[] = {
2324 const uint8_t GPR32allBits[] = {
2334 const uint8_t FPR32Bits[] = {
2344 const uint8_t GPR32Bits[] = {
2354 const uint8_t GPR32spBits[] = {
2364 const uint8_t GPR32commonBits[] = {
2374 const uint8_t GPR32argBits[] = {
2384 const uint8_t CCRBits[] = {
2394 const uint8_t GPR32sponlyBits[] = {
2404 const uint8_t WSeqPairsClassBits[] = {
2414 const uint8_t WSeqPairsClass_with_subo32_in_GPR32commonBits[] = {
2424 const uint8_t WSeqPairsClass_with_sube32_in_GPR32argBits[] = {
2434 const uint8_t GPR64allBits[] = {
2444 const uint8_t FPR64Bits[] = {
2454 const uint8_t GPR64Bits[] = {
2464 const uint8_t GPR64spBits[] = {
2474 const uint8_t GPR64commonBits[] = {
2484 const uint8_t GPR64noipBits[] = {
2494 const uint8_t GPR64common_and_GPR64noipBits[] = {
2504 const uint8_t tcGPR64Bits[] = {
2514 const uint8_t GPR64noip_and_tcGPR64Bits[] = {
2524 const uint8_t GPR64argBits[] = {
2534 const uint8_t rtcGPR64Bits[] = {
2544 const uint8_t GPR64sponlyBits[] = {
2554 const uint8_t DDBits[] = {
2564 const uint8_t XSeqPairsClassBits[] = {
2574 const uint8_t XSeqPairsClass_with_subo64_in_GPR64commonBits[] = {
2584 const uint8_t XSeqPairsClass_with_subo64_in_GPR64noipBits[] = {
2594 const uint8_t XSeqPairsClass_with_sube64_in_GPR64noipBits[] = {
2604 const uint8_t XSeqPairsClass_with_sube64_in_tcGPR64Bits[] = {
2614 const uint8_t XSeqPairsClass_with_sube64_in_GPR64noip_and_tcGPR64Bits[] = {
2624 const uint8_t XSeqPairsClass_with_subo64_in_tcGPR64Bits[] = {
2634 const uint8_t XSeqPairsClass_with_subo64_in_GPR64noip_and_tcGPR64Bits[] = {
2644 const uint8_t XSeqPairsClass_with_sub_32_in_GPR32argBits[] = {
2654 const uint8_t XSeqPairsClass_with_sube64_in_rtcGPR64Bits[] = {
2664 const uint8_t FPR128Bits[] = {
2674 const uint8_t ZPRBits[] = {
2684 const uint8_t FPR128_loBits[] = {
2694 const uint8_t ZPR_4bBits[] = {
2704 const uint8_t ZPR_3bBits[] = {
2714 const uint8_t DDDBits[] = {
2724 const uint8_t DDDDBits[] = {
2734 const uint8_t QQBits[] = {
2744 const uint8_t ZPR2Bits[] = {
2754 const uint8_t QQ_with_qsub0_in_FPR128_loBits[] = {
2764 const uint8_t QQ_with_qsub1_in_FPR128_loBits[] = {
2774 const uint8_t ZPR2_with_zsub1_in_ZPR_4bBits[] = {
2784 const uint8_t ZPR2_with_zsub_in_FPR128_loBits[] = {
2794 const uint8_t QQ_with_qsub0_in_FPR128_lo_and_QQ_with_qsub1_in_FPR128_loBits[] = {
2804 const uint8_t ZPR2_with_zsub_in_FPR128_lo_and_ZPR2_with_zsub1_in_ZPR_4bBits[] = {
2814 const uint8_t ZPR2_with_zsub0_in_ZPR_3bBits[] = {
2824 const uint8_t ZPR2_with_zsub1_in_ZPR_3bBits[] = {
2834 const uint8_t ZPR2_with_zsub_in_FPR128_lo_and_ZPR2_with_zsub1_in_ZPR_3bBits[] = {
2844 const uint8_t QQQBits[] = {
2854 const uint8_t ZPR3Bits[] = {
2864 const uint8_t QQQ_with_qsub0_in_FPR128_loBits[] = {
2874 const uint8_t QQQ_with_qsub1_in_FPR128_loBits[] = {
2884 const uint8_t QQQ_with_qsub2_in_FPR128_loBits[] = {
2894 const uint8_t ZPR3_with_zsub1_in_ZPR_4bBits[] = {
2904 const uint8_t ZPR3_with_zsub2_in_ZPR_4bBits[] = {
2914 const uint8_t ZPR3_with_zsub_in_FPR128_loBits[] = {
2924 const uint8_t QQQ_with_qsub0_in_FPR128_lo_and_QQQ_with_qsub1_in_FPR128_loBits[] = {
2934 const uint8_t QQQ_with_qsub1_in_FPR128_lo_and_QQQ_with_qsub2_in_FPR128_loBits[] = {
2944 const uint8_t ZPR3_with_zsub1_in_ZPR_4b_and_ZPR3_with_zsub2_in_ZPR_4bBits[] = {
2954 const uint8_t ZPR3_with_zsub_in_FPR128_lo_and_ZPR3_with_zsub1_in_ZPR_4bBits[] = {
2964 const uint8_t QQQ_with_qsub0_in_FPR128_lo_and_QQQ_with_qsub2_in_FPR128_loBits[] = {
2974 const uint8_t ZPR3_with_zsub_in_FPR128_lo_and_ZPR3_with_zsub2_in_ZPR_4bBits[] = {
2984 const uint8_t ZPR3_with_zsub0_in_ZPR_3bBits[] = {
2994 const uint8_t ZPR3_with_zsub1_in_ZPR_3bBits[] = {
3004 const uint8_t ZPR3_with_zsub2_in_ZPR_3bBits[] = {
3014 const uint8_t ZPR3_with_zsub1_in_ZPR_3b_and_ZPR3_with_zsub2_in_ZPR_3bBits[] = {
3024 const uint8_t ZPR3_with_zsub_in_FPR128_lo_and_ZPR3_with_zsub1_in_ZPR_3bBits[] = {
3034 const uint8_t ZPR3_with_zsub_in_FPR128_lo_and_ZPR3_with_zsub2_in_ZPR_3bBits[] = {
3044 const uint8_t QQQQBits[] = {
3054 const uint8_t ZPR4Bits[] = {
3064 const uint8_t QQQQ_with_qsub0_in_FPR128_loBits[] = {
3074 const uint8_t QQQQ_with_qsub1_in_FPR128_loBits[] = {
3084 const uint8_t QQQQ_with_qsub2_in_FPR128_loBits[] = {
3094 const uint8_t QQQQ_with_qsub3_in_FPR128_loBits[] = {
3104 const uint8_t ZPR4_with_zsub1_in_ZPR_4bBits[] = {
3114 const uint8_t ZPR4_with_zsub2_in_ZPR_4bBits[] = {
3124 const uint8_t ZPR4_with_zsub3_in_ZPR_4bBits[] = {
3134 const uint8_t ZPR4_with_zsub_in_FPR128_loBits[] = {
3144 const uint8_t QQQQ_with_qsub0_in_FPR128_lo_and_QQQQ_with_qsub1_in_FPR128_loBits[] = {
3154 const uint8_t QQQQ_with_qsub1_in_FPR128_lo_and_QQQQ_with_qsub2_in_FPR128_loBits[] = {
3164 const uint8_t QQQQ_with_qsub2_in_FPR128_lo_and_QQQQ_with_qsub3_in_FPR128_loBits[] = {
3174 const uint8_t ZPR4_with_zsub1_in_ZPR_4b_and_ZPR4_with_zsub2_in_ZPR_4bBits[] = {
3184 const uint8_t ZPR4_with_zsub2_in_ZPR_4b_and_ZPR4_with_zsub3_in_ZPR_4bBits[] = {
3194 const uint8_t ZPR4_with_zsub_in_FPR128_lo_and_ZPR4_with_zsub1_in_ZPR_4bBits[] = {
3204 const uint8_t QQQQ_with_qsub0_in_FPR128_lo_and_QQQQ_with_qsub2_in_FPR128_loBits[] = {
3214 const uint8_t QQQQ_with_qsub1_in_FPR128_lo_and_QQQQ_with_qsub3_in_FPR128_loBits[] = {
3224 const uint8_t ZPR4_with_zsub1_in_ZPR_4b_and_ZPR4_with_zsub3_in_ZPR_4bBits[] = {
3234 const uint8_t ZPR4_with_zsub_in_FPR128_lo_and_ZPR4_with_zsub2_in_ZPR_4bBits[] = {
3244 const uint8_t QQQQ_with_qsub0_in_FPR128_lo_and_QQQQ_with_qsub3_in_FPR128_loBits[] = {
3254 const uint8_t ZPR4_with_zsub_in_FPR128_lo_and_ZPR4_with_zsub3_in_ZPR_4bBits[] = {
3264 const uint8_t ZPR4_with_zsub0_in_ZPR_3bBits[] = {
3274 const uint8_t ZPR4_with_zsub1_in_ZPR_3bBits[] = {
3284 const uint8_t ZPR4_with_zsub2_in_ZPR_3bBits[] = {
3294 const uint8_t ZPR4_with_zsub3_in_ZPR_3bBits[] = {
3304 const uint8_t ZPR4_with_zsub1_in_ZPR_3b_and_ZPR4_with_zsub2_in_ZPR_3bBits[] = {
3314 const uint8_t ZPR4_with_zsub2_in_ZPR_3b_and_ZPR4_with_zsub3_in_ZPR_3bBits[] = {
3324 const uint8_t ZPR4_with_zsub_in_FPR128_lo_and_ZPR4_with_zsub1_in_ZPR_3bBits[] = {
3334 const uint8_t ZPR4_with_zsub1_in_ZPR_3b_and_ZPR4_with_zsub3_in_ZPR_3bBits[] = {
3344 const uint8_t ZPR4_with_zsub_in_FPR128_lo_and_ZPR4_with_zsub2_in_ZPR_3bBits[] = {
3354 const uint8_t ZPR4_with_zsub_in_FPR128_lo_and_ZPR4_with_zsub3_in_ZPR_3bBits[] = {
8936 static const uint8_t RowMap[99] = {
8939 static const uint8_t Rows[12][99] = {
8961 uint8_t RotateLeft;
9146 static const uint8_t Table[108][99] = {
20238 static const uint8_t PressureLimitTable[] = {
gen/lib/Target/AArch64/AArch64GenSystemOperands.inc 1160 const BTI *lookupBTIByEncoding(uint8_t Encoding);
1200 const BTI *lookupBTIByEncoding(uint8_t Encoding) {
1202 uint8_t Encoding;
1212 uint8_t Encoding;
1234 const DB *lookupDBByEncoding(uint8_t Encoding);
1292 const DB *lookupDBByEncoding(uint8_t Encoding) {
1294 uint8_t Encoding;
1313 uint8_t Encoding;
1483 const ExactFPImm *lookupExactFPImmByEnum(uint8_t Enum);
1495 const ExactFPImm *lookupExactFPImmByEnum(uint8_t Enum) {
1497 uint8_t Enum;
1620 const ISB *lookupISBByEncoding(uint8_t Encoding);
1656 const ISB *lookupISBByEncoding(uint8_t Encoding) {
1658 uint8_t Encoding;
1666 uint8_t Encoding;
1756 const PRFM *lookupPRFMByEncoding(uint8_t Encoding);
1826 const PRFM *lookupPRFMByEncoding(uint8_t Encoding) {
1828 uint8_t Encoding;
1853 uint8_t Encoding;
1875 const PSB *lookupPSBByEncoding(uint8_t Encoding);
1911 const PSB *lookupPSBByEncoding(uint8_t Encoding) {
1913 uint8_t Encoding;
1921 uint8_t Encoding;
1943 const PState *lookupPStateByEncoding(uint8_t Encoding);
1993 const PState *lookupPStateByEncoding(uint8_t Encoding) {
1995 uint8_t Encoding;
2010 uint8_t Encoding;
2032 const SVEPREDPAT *lookupSVEPREDPATByEncoding(uint8_t Encoding);
2100 const SVEPREDPAT *lookupSVEPREDPATByEncoding(uint8_t Encoding) {
2102 uint8_t Encoding;
2126 uint8_t Encoding;
2148 const SVEPRFM *lookupSVEPRFMByEncoding(uint8_t Encoding);
2206 const SVEPRFM *lookupSVEPRFMByEncoding(uint8_t Encoding) {
2208 uint8_t Encoding;
2227 uint8_t Encoding;
4920 const TSB *lookupTSBByEncoding(uint8_t Encoding);
4956 const TSB *lookupTSBByEncoding(uint8_t Encoding) {
4958 uint8_t Encoding;
gen/lib/Target/AMDGPU/AMDGPUGenAsmMatcher.inc 57 enum SubtargetFeatureBits : uint8_t {
3274 static const uint8_t TiedAsmOperandTable[][3] = {
3483 static const uint8_t ConversionTable[CVT_NUM_SIGNATURES][19] = {
3781 const uint8_t *Converter = ConversionTable[Kind];
3790 for (const uint8_t *p = Converter; *p; p+= 2) {
4010 const uint8_t *Converter = ConversionTable[Kind];
4011 for (const uint8_t *p = Converter; *p; p+= 2) {
10315 const uint8_t *Converter = ConversionTable[Kind];
10316 for (const uint8_t *p = Converter; *p; p+= 2) {
10781 enum : uint8_t {
11053 uint8_t ConvertFn;
11054 uint8_t RequiredFeaturesIdx;
24133 uint8_t RequiredFeaturesIdx;
gen/lib/Target/AMDGPU/AMDGPUGenDisassemblerTables.inc 61 static const uint8_t DecoderTableAMDGPU32[] = {
220 static const uint8_t DecoderTableAMDGPU64[] = {
1886 static const uint8_t DecoderTableDPP64[] = {
2378 static const uint8_t DecoderTableDPP864[] = {
2680 static const uint8_t DecoderTableGFX1032[] = {
4148 static const uint8_t DecoderTableGFX1064[] = {
11572 static const uint8_t DecoderTableGFX664[] = {
11582 static const uint8_t DecoderTableGFX6GFX732[] = {
13062 static const uint8_t DecoderTableGFX6GFX764[] = {
17388 static const uint8_t DecoderTableGFX732[] = {
17419 static const uint8_t DecoderTableGFX764[] = {
18030 static const uint8_t DecoderTableGFX832[] = {
19574 static const uint8_t DecoderTableGFX864[] = {
27267 static const uint8_t DecoderTableGFX80_UNPACKED64[] = {
27585 static const uint8_t DecoderTableGFX932[] = {
27622 static const uint8_t DecoderTableGFX964[] = {
27736 static const uint8_t DecoderTableGFX9_DL64[] = {
27751 static const uint8_t DecoderTableSDWA64[] = {
29282 static const uint8_t DecoderTableSDWA1064[] = {
31123 static const uint8_t DecoderTableSDWA964[] = {
41982 static DecodeStatus decodeInstruction(const uint8_t DecodeTable[], MCInst &MI,
41988 const uint8_t *Ptr = DecodeTable;
gen/lib/Target/AMDGPU/AMDGPUGenGlobalISel.inc 35 enum SubtargetFeatureBits : uint8_t {
gen/lib/Target/AMDGPU/AMDGPUGenMCCodeEmitter.inc34512 enum SubtargetFeatureBits : uint8_t {
34753 enum : uint8_t {
35091 static uint8_t RequiredFeaturesRefs[] = {
gen/lib/Target/AMDGPU/AMDGPUGenRegisterInfo.inc10009 const uint8_t SCC_CLASSBits[] = {
10019 const uint8_t SReg_1Bits[] = {
10029 const uint8_t SReg_1_XEXECBits[] = {
10039 const uint8_t SReg_1_with_sub0Bits[] = {
10049 const uint8_t SReg_1_XEXEC_with_sub0Bits[] = {
10059 const uint8_t SReg_1_with_sub0_with_sub0_in_SGPR_32Bits[] = {
10069 const uint8_t SReg_1_with_sub0_with_sub0_in_TTMP_32Bits[] = {
10079 const uint8_t VReg_1Bits[] = {
10089 const uint8_t AV_32Bits[] = {
10099 const uint8_t VS_32Bits[] = {
10109 const uint8_t VRegOrLds_32Bits[] = {
10119 const uint8_t AGPR_32Bits[] = {
10129 const uint8_t VGPR_32Bits[] = {
10139 const uint8_t SRegOrLds_32Bits[] = {
10149 const uint8_t SReg_32Bits[] = {
10159 const uint8_t SReg_32_XEXEC_HIBits[] = {
10169 const uint8_t SReg_32_XM0Bits[] = {
10179 const uint8_t SRegOrLds_32_and_SReg_1Bits[] = {
10189 const uint8_t SReg_32_XM0_XEXECBits[] = {
10199 const uint8_t SGPR_32Bits[] = {
10209 const uint8_t TTMP_32Bits[] = {
10219 const uint8_t Pseudo_SReg_32Bits[] = {
10229 const uint8_t LDS_DIRECT_CLASSBits[] = {
10239 const uint8_t M0_CLASSBits[] = {
10249 const uint8_t AV_64Bits[] = {
10259 const uint8_t VS_64Bits[] = {
10269 const uint8_t AReg_64Bits[] = {
10279 const uint8_t VReg_64Bits[] = {
10289 const uint8_t SReg_64Bits[] = {
10299 const uint8_t SReg_64_XEXECBits[] = {
10309 const uint8_t SGPR_64Bits[] = {
10319 const uint8_t CCR_SGPR_64Bits[] = {
10329 const uint8_t TTMP_64Bits[] = {
10339 const uint8_t VReg_96Bits[] = {
10349 const uint8_t SGPR_96Bits[] = {
10359 const uint8_t SReg_96Bits[] = {
10369 const uint8_t SGPR_96_with_sub0_sub1Bits[] = {
10379 const uint8_t SGPR_96_with_sub1_sub2Bits[] = {
10389 const uint8_t SGPR_96_with_sub0_sub1_with_sub0_sub1_in_CCR_SGPR_64Bits[] = {
10399 const uint8_t SGPR_96_with_sub1_sub2_with_sub1_sub2_in_CCR_SGPR_64Bits[] = {
10409 const uint8_t AReg_128Bits[] = {
10419 const uint8_t VReg_128Bits[] = {
10429 const uint8_t SReg_128Bits[] = {
10439 const uint8_t SGPR_128Bits[] = {
10449 const uint8_t SGPR_128_with_sub0_sub1_sub2Bits[] = {
10459 const uint8_t SGPR_128_with_sub0_sub1_in_CCR_SGPR_64Bits[] = {
10469 const uint8_t SGPR_128_with_sub1_sub2_sub3Bits[] = {
10479 const uint8_t TTMP_128Bits[] = {
10489 const uint8_t SGPR_128_with_sub0_sub1_sub2_and_SGPR_128_with_sub0_sub1_in_CCR_SGPR_64Bits[] = {
10499 const uint8_t SGPR_128_with_sub1_sub2_sub3_and_SGPR_128_with_sub0_sub1_in_CCR_SGPR_64Bits[] = {
10509 const uint8_t Pseudo_SReg_128Bits[] = {
10519 const uint8_t VReg_160Bits[] = {
10529 const uint8_t SGPR_160Bits[] = {
10539 const uint8_t SReg_160Bits[] = {
10549 const uint8_t SGPR_160_with_sub0_sub1_sub2Bits[] = {
10559 const uint8_t SGPR_160_with_sub2_sub3_sub4Bits[] = {
10569 const uint8_t SGPR_160_with_sub0_sub1_sub2_sub3_in_SGPR_128_with_sub0_sub1_in_CCR_SGPR_64Bits[] = {
10579 const uint8_t SGPR_160_with_sub1_sub2_sub3Bits[] = {
10589 const uint8_t SGPR_160_with_sub0_sub1_sub2_and_SGPR_160_with_sub0_sub1_sub2_sub3_in_SGPR_128_with_sub0_sub1_in_CCR_SGPR_64Bits[] = {
10599 const uint8_t SGPR_160_with_sub2_sub3_sub4_and_SGPR_160_with_sub0_sub1_sub2_sub3_in_SGPR_128_with_sub0_sub1_in_CCR_SGPR_64Bits[] = {
10609 const uint8_t SGPR_160_with_sub1_sub2_sub3_and_SGPR_160_with_sub0_sub1_sub2_sub3_in_SGPR_128_with_sub0_sub1_in_CCR_SGPR_64Bits[] = {
10619 const uint8_t VReg_256Bits[] = {
10629 const uint8_t SReg_256Bits[] = {
10639 const uint8_t SGPR_256Bits[] = {
10649 const uint8_t SGPR_256_with_sub0_sub1_sub2Bits[] = {
10659 const uint8_t SGPR_256_with_sub0_sub1_sub2_sub3_in_SGPR_128_with_sub0_sub1_in_CCR_SGPR_64Bits[] = {
10669 const uint8_t SGPR_256_with_sub1_sub2_sub3Bits[] = {
10679 const uint8_t SGPR_256_with_sub2_sub3_sub4Bits[] = {
10689 const uint8_t SGPR_256_with_sub4_sub5_sub6_sub7_in_SGPR_128_with_sub0_sub1_in_CCR_SGPR_64Bits[] = {
10699 const uint8_t SGPR_256_with_sub0_sub1_sub2_and_SGPR_256_with_sub0_sub1_sub2_sub3_in_SGPR_128_with_sub0_sub1_in_CCR_SGPR_64Bits[] = {
10709 const uint8_t SGPR_256_with_sub2_sub3_sub4_and_SGPR_256_with_sub0_sub1_sub2_sub3_in_SGPR_128_with_sub0_sub1_in_CCR_SGPR_64Bits[] = {
10719 const uint8_t TTMP_256Bits[] = {
10729 const uint8_t SGPR_256_with_sub1_sub2_sub3_and_SGPR_256_with_sub0_sub1_sub2_sub3_in_SGPR_128_with_sub0_sub1_in_CCR_SGPR_64Bits[] = {
10739 const uint8_t SGPR_256_with_sub2_sub3_sub4_and_SGPR_256_with_sub4_sub5_sub6_sub7_in_SGPR_128_with_sub0_sub1_in_CCR_SGPR_64Bits[] = {
10749 const uint8_t AReg_512Bits[] = {
10759 const uint8_t VReg_512Bits[] = {
10769 const uint8_t SReg_512Bits[] = {
10779 const uint8_t SGPR_512Bits[] = {
10789 const uint8_t SGPR_512_with_sub0_sub1_sub2Bits[] = {
10799 const uint8_t SGPR_512_with_sub0_sub1_sub2_sub3_in_SGPR_128_with_sub0_sub1_in_CCR_SGPR_64Bits[] = {
10809 const uint8_t SGPR_512_with_sub2_sub3_sub4Bits[] = {
10819 const uint8_t SGPR_512_with_sub1_sub2_sub3Bits[] = {
10829 const uint8_t SGPR_512_with_sub4_sub5_sub6_sub7_in_SGPR_128_with_sub0_sub1_in_CCR_SGPR_64Bits[] = {
10839 const uint8_t SGPR_512_with_sub8_sub9_sub10_sub11_in_SGPR_128_with_sub0_sub1_in_CCR_SGPR_64Bits[] = {
10849 const uint8_t SGPR_512_with_sub12_sub13_sub14_sub15_in_SGPR_128_with_sub0_sub1_in_CCR_SGPR_64Bits[] = {
10859 const uint8_t SGPR_512_with_sub0_sub1_sub2_and_SGPR_512_with_sub0_sub1_sub2_sub3_in_SGPR_128_with_sub0_sub1_in_CCR_SGPR_64Bits[] = {
10869 const uint8_t SGPR_512_with_sub2_sub3_sub4_and_SGPR_512_with_sub0_sub1_sub2_sub3_in_SGPR_128_with_sub0_sub1_in_CCR_SGPR_64Bits[] = {
10879 const uint8_t SGPR_512_with_sub0_sub1_sub2_and_SGPR_512_with_sub8_sub9_sub10_sub11_in_SGPR_128_with_sub0_sub1_in_CCR_SGPR_64Bits[] = {
10889 const uint8_t SGPR_512_with_sub1_sub2_sub3_and_SGPR_512_with_sub0_sub1_sub2_sub3_in_SGPR_128_with_sub0_sub1_in_CCR_SGPR_64Bits[] = {
10899 const uint8_t SGPR_512_with_sub2_sub3_sub4_and_SGPR_512_with_sub4_sub5_sub6_sub7_in_SGPR_128_with_sub0_sub1_in_CCR_SGPR_64Bits[] = {
10909 const uint8_t SGPR_512_with_sub1_sub2_sub3_and_SGPR_512_with_sub12_sub13_sub14_sub15_in_SGPR_128_with_sub0_sub1_in_CCR_SGPR_64Bits[] = {
10919 const uint8_t TTMP_512Bits[] = {
10929 const uint8_t AReg_1024Bits[] = {
10939 const uint8_t VReg_1024Bits[] = {
10949 const uint8_t SGPR_1024Bits[] = {
10959 const uint8_t SReg_1024Bits[] = {
10969 const uint8_t SGPR_1024_with_sub0_sub1_in_CCR_SGPR_64Bits[] = {
10979 const uint8_t SGPR_1024_with_sub0_sub1_sub2Bits[] = {
10989 const uint8_t SGPR_1024_with_sub4_sub5_in_CCR_SGPR_64Bits[] = {
10999 const uint8_t SGPR_1024_with_sub1_sub2_sub3Bits[] = {
11009 const uint8_t SGPR_1024_with_sub2_sub3_sub4Bits[] = {
11019 const uint8_t SGPR_1024_with_sub8_sub9_in_CCR_SGPR_64Bits[] = {
11029 const uint8_t SGPR_1024_with_sub12_sub13_in_CCR_SGPR_64Bits[] = {
11039 const uint8_t SGPR_1024_with_sub16_sub17_in_CCR_SGPR_64Bits[] = {
11049 const uint8_t SGPR_1024_with_sub0_sub1_sub2_and_SGPR_1024_with_sub0_sub1_in_CCR_SGPR_64Bits[] = {
11059 const uint8_t SGPR_1024_with_sub20_sub21_in_CCR_SGPR_64Bits[] = {
11069 const uint8_t SGPR_1024_with_sub2_sub3_sub4_and_SGPR_1024_with_sub0_sub1_in_CCR_SGPR_64Bits[] = {
11079 const uint8_t SGPR_1024_with_sub0_sub1_sub2_and_SGPR_1024_with_sub8_sub9_in_CCR_SGPR_64Bits[] = {
11089 const uint8_t SGPR_1024_with_sub1_sub2_sub3_and_SGPR_1024_with_sub0_sub1_in_CCR_SGPR_64Bits[] = {
11099 const uint8_t SGPR_1024_with_sub24_sub25_in_CCR_SGPR_64Bits[] = {
11109 const uint8_t SGPR_1024_with_sub2_sub3_sub4_and_SGPR_1024_with_sub4_sub5_in_CCR_SGPR_64Bits[] = {
11119 const uint8_t SGPR_1024_with_sub1_sub2_sub3_and_SGPR_1024_with_sub12_sub13_in_CCR_SGPR_64Bits[] = {
11129 const uint8_t SGPR_1024_with_sub28_sub29_in_CCR_SGPR_64Bits[] = {
11139 const uint8_t SGPR_1024_with_sub2_sub3_sub4_and_SGPR_1024_with_sub16_sub17_in_CCR_SGPR_64Bits[] = {
25493 static const uint8_t RowMap[192] = {
25496 static const uint8_t Rows[31][192] = {
25537 uint8_t RotateLeft;
25796 static const uint8_t Table[114][192] = {
gen/lib/Target/AMDGPU/AMDGPUGenSearchableTables.inc 772 const MIMGDimInfo *getMIMGDimInfoByEncoding(uint8_t Encoding) {
774 uint8_t Encoding;
4908 const MIMGInfo *getMIMGOpcodeHelper(unsigned BaseOpcode, unsigned MIMGEncoding, uint8_t VDataDwords, uint8_t VAddrDwords) {
4908 const MIMGInfo *getMIMGOpcodeHelper(unsigned BaseOpcode, unsigned MIMGEncoding, uint8_t VDataDwords, uint8_t VAddrDwords) {
4912 uint8_t VDataDwords;
4913 uint8_t VAddrDwords;
9153 const MTBUFInfo *getMTBUFInfoFromBaseOpcodeAndElements(unsigned BaseOpcode, uint8_t elements);
9398 const MTBUFInfo *getMTBUFInfoFromBaseOpcodeAndElements(unsigned BaseOpcode, uint8_t elements) {
9401 uint8_t elements;
9625 uint8_t elements;
9896 const MUBUFInfo *getMUBUFInfoFromBaseOpcodeAndElements(unsigned BaseOpcode, uint8_t elements);
10774 const MUBUFInfo *getMUBUFInfoFromBaseOpcodeAndElements(unsigned BaseOpcode, uint8_t elements) {
10777 uint8_t elements;
11634 uint8_t elements;
gen/lib/Target/AMDGPU/R600GenMCCodeEmitter.inc 1768 enum SubtargetFeatureBits : uint8_t {
1785 enum : uint8_t {
1797 static uint8_t RequiredFeaturesRefs[] = {
gen/lib/Target/AMDGPU/R600GenRegisterInfo.inc 6641 const uint8_t R600_Reg32Bits[] = {
6651 const uint8_t R600_TReg32Bits[] = {
6661 const uint8_t R600_TReg32_XBits[] = {
6671 const uint8_t R600_AddrBits[] = {
6681 const uint8_t R600_KC0Bits[] = {
6691 const uint8_t R600_KC1Bits[] = {
6701 const uint8_t R600_TReg32_WBits[] = {
6711 const uint8_t R600_TReg32_YBits[] = {
6721 const uint8_t R600_TReg32_ZBits[] = {
6731 const uint8_t R600_ArrayBaseBits[] = {
6741 const uint8_t R600_KC0_WBits[] = {
6751 const uint8_t R600_KC0_XBits[] = {
6761 const uint8_t R600_KC0_YBits[] = {
6771 const uint8_t R600_KC0_ZBits[] = {
6781 const uint8_t R600_KC1_WBits[] = {
6791 const uint8_t R600_KC1_XBits[] = {
6801 const uint8_t R600_KC1_YBits[] = {
6811 const uint8_t R600_KC1_ZBits[] = {
6821 const uint8_t R600_LDS_SRC_REGBits[] = {
6831 const uint8_t R600_PredicateBits[] = {
6841 const uint8_t R600_Addr_WBits[] = {
6851 const uint8_t R600_Addr_YBits[] = {
6861 const uint8_t R600_Addr_ZBits[] = {
6871 const uint8_t R600_LDS_SRC_REG_and_R600_Reg32Bits[] = {
6881 const uint8_t R600_Predicate_BitBits[] = {
6891 const uint8_t R600_Reg64Bits[] = {
6901 const uint8_t R600_Reg64VerticalBits[] = {
6911 const uint8_t R600_Reg64Vertical_with_sub0_in_R600_TReg32_WBits[] = {
6921 const uint8_t R600_Reg64Vertical_with_sub0_in_R600_TReg32_XBits[] = {
6931 const uint8_t R600_Reg64Vertical_with_sub0_in_R600_TReg32_YBits[] = {
6941 const uint8_t R600_Reg64Vertical_with_sub0_in_R600_TReg32_ZBits[] = {
6951 const uint8_t R600_Reg128Bits[] = {
6961 const uint8_t R600_Reg128VerticalBits[] = {
6971 const uint8_t R600_Reg128Vertical_with_sub0_in_R600_TReg32_WBits[] = {
6981 const uint8_t R600_Reg128Vertical_with_sub0_in_R600_TReg32_XBits[] = {
6991 const uint8_t R600_Reg128Vertical_with_sub0_in_R600_TReg32_YBits[] = {
7001 const uint8_t R600_Reg128Vertical_with_sub0_in_R600_TReg32_ZBits[] = {
11430 static const uint8_t Rows[1][16] = {
11441 uint8_t RotateLeft;
11508 static const uint8_t Table[37][16] = {
12327 static const uint8_t RCSetStartTable[] = {
12337 static const uint8_t RUSetStartTable[] = {
gen/lib/Target/ARC/ARCGenAsmWriter.inc 989 static const uint8_t RegAsmOffset[] = {
gen/lib/Target/ARC/ARCGenDisassemblerTables.inc 61 static const uint8_t DecoderTable16[] = {
348 static const uint8_t DecoderTable32[] = {
724 static const uint8_t DecoderTable48[] = {
752 static const uint8_t DecoderTable64[] = {
1453 static DecodeStatus decodeInstruction(const uint8_t DecodeTable[], MCInst &MI,
1459 const uint8_t *Ptr = DecodeTable;
gen/lib/Target/ARC/ARCGenRegisterInfo.inc 220 const uint8_t SREGBits[] = {
230 const uint8_t GPR_SBits[] = {
240 const uint8_t GPR32Bits[] = {
250 const uint8_t GPR32_and_GPR_SBits[] = {
741 static const uint8_t PressureLimitTable[] = {
759 static const uint8_t RCSetStartTable[] = {
769 static const uint8_t RUSetStartTable[] = {
gen/lib/Target/ARM/ARMGenAsmMatcher.inc 125 enum SubtargetFeatureBits : uint8_t {
2118 static const uint8_t TiedAsmOperandTable[][3] = {
2973 static const uint8_t ConversionTable[CVT_NUM_SIGNATURES][17] = {
4348 const uint8_t *Converter = ConversionTable[Kind];
4351 for (const uint8_t *p = Converter; *p; p+= 2) {
4805 const uint8_t *Converter = ConversionTable[Kind];
4806 for (const uint8_t *p = Converter; *p; p+= 2) {
9964 enum : uint8_t {
10179 uint8_t RequiredFeaturesIdx;
15320 uint8_t OperandMask;
15322 uint8_t RequiredFeaturesIdx;
gen/lib/Target/ARM/ARMGenAsmWriter.inc12019 static const uint8_t RegAsmOffsetRegNamesRaw[] = {
gen/lib/Target/ARM/ARMGenDisassemblerTables.inc 61 static const uint8_t DecoderTableARM32[] = {
1804 static const uint8_t DecoderTableCoProc32[] = {
1940 static const uint8_t DecoderTableMVE32[] = {
6861 static const uint8_t DecoderTableNEONData32[] = {
10768 static const uint8_t DecoderTableNEONDup32[] = {
10861 static const uint8_t DecoderTableNEONLoadStore32[] = {
12248 static const uint8_t DecoderTableThumb16[] = {
12503 static const uint8_t DecoderTableThumb32[] = {
12520 static const uint8_t DecoderTableThumb216[] = {
12528 static const uint8_t DecoderTableThumb232[] = {
14233 static const uint8_t DecoderTableThumb2CoProc32[] = {
14393 static const uint8_t DecoderTableThumbSBit16[] = {
14472 static const uint8_t DecoderTableVFP32[] = {
15566 static const uint8_t DecoderTableVFPV832[] = {
16062 static const uint8_t DecoderTablev8Crypto32[] = {
16163 static const uint8_t DecoderTablev8NEON32[] = {
21760 static DecodeStatus decodeInstruction(const uint8_t DecodeTable[], MCInst &MI,
21766 const uint8_t *Ptr = DecodeTable;
gen/lib/Target/ARM/ARMGenGlobalISel.inc 35 enum SubtargetFeatureBits : uint8_t {
gen/lib/Target/ARM/ARMGenRegisterInfo.inc 1571 const uint8_t HPRBits[] = {
1581 const uint8_t FPWithVPRBits[] = {
1591 const uint8_t SPRBits[] = {
1601 const uint8_t FPWithVPR_with_ssub_0Bits[] = {
1611 const uint8_t GPRBits[] = {
1621 const uint8_t GPRwithAPSRBits[] = {
1631 const uint8_t GPRwithZRBits[] = {
1641 const uint8_t SPR_8Bits[] = {
1651 const uint8_t GPRnopcBits[] = {
1661 const uint8_t GPRwithAPSRnospBits[] = {
1671 const uint8_t GPRwithZRnospBits[] = {
1681 const uint8_t rGPRBits[] = {
1691 const uint8_t tGPRwithpcBits[] = {
1701 const uint8_t FPWithVPR_with_ssub_0_with_ssub_0_in_SPR_8Bits[] = {
1711 const uint8_t hGPRBits[] = {
1721 const uint8_t tGPRBits[] = {
1731 const uint8_t tGPREvenBits[] = {
1741 const uint8_t GPRnopc_and_hGPRBits[] = {
1751 const uint8_t GPRwithAPSRnosp_and_hGPRBits[] = {
1761 const uint8_t tGPROddBits[] = {
1771 const uint8_t tcGPRBits[] = {
1781 const uint8_t hGPR_and_tGPREvenBits[] = {
1791 const uint8_t tGPR_and_tGPREvenBits[] = {
1801 const uint8_t tGPR_and_tGPROddBits[] = {
1811 const uint8_t tGPR_and_tcGPRBits[] = {
1821 const uint8_t tGPREven_and_tcGPRBits[] = {
1831 const uint8_t hGPR_and_tGPROddBits[] = {
1841 const uint8_t tGPREven_and_tGPR_and_tcGPRBits[] = {
1851 const uint8_t tGPROdd_and_tcGPRBits[] = {
1861 const uint8_t CCRBits[] = {
1871 const uint8_t GPRlrBits[] = {
1881 const uint8_t GPRspBits[] = {
1891 const uint8_t VCCRBits[] = {
1901 const uint8_t cl_FPSCR_NZCVBits[] = {
1911 const uint8_t hGPR_and_tGPRwithpcBits[] = {
1921 const uint8_t hGPR_and_tcGPRBits[] = {
1931 const uint8_t DPRBits[] = {
1941 const uint8_t DPR_VFP2Bits[] = {
1951 const uint8_t DPR_8Bits[] = {
1961 const uint8_t GPRPairBits[] = {
1971 const uint8_t GPRPairnospBits[] = {
1981 const uint8_t GPRPair_with_gsub_0_in_tGPRBits[] = {
1991 const uint8_t GPRPair_with_gsub_0_in_hGPRBits[] = {
2001 const uint8_t GPRPair_with_gsub_0_in_tcGPRBits[] = {
2011 const uint8_t GPRPair_with_gsub_1_in_tcGPRBits[] = {
2021 const uint8_t GPRPairnosp_and_GPRPair_with_gsub_0_in_hGPRBits[] = {
2031 const uint8_t GPRPair_with_gsub_1_in_GPRspBits[] = {
2041 const uint8_t DPairSpcBits[] = {
2051 const uint8_t DPairSpc_with_ssub_0Bits[] = {
2061 const uint8_t DPairSpc_with_ssub_4Bits[] = {
2071 const uint8_t DPairSpc_with_dsub_0_in_DPR_8Bits[] = {
2081 const uint8_t DPairSpc_with_dsub_2_in_DPR_8Bits[] = {
2091 const uint8_t DPairBits[] = {
2101 const uint8_t DPair_with_ssub_0Bits[] = {
2111 const uint8_t QPRBits[] = {
2121 const uint8_t DPair_with_ssub_2Bits[] = {
2131 const uint8_t DPair_with_dsub_0_in_DPR_8Bits[] = {
2141 const uint8_t MQPRBits[] = {
2151 const uint8_t QPR_VFP2Bits[] = {
2161 const uint8_t DPair_with_dsub_1_in_DPR_8Bits[] = {
2171 const uint8_t QPR_8Bits[] = {
2181 const uint8_t DTripleBits[] = {
2191 const uint8_t DTripleSpcBits[] = {
2201 const uint8_t DTripleSpc_with_ssub_0Bits[] = {
2211 const uint8_t DTriple_with_ssub_0Bits[] = {
2221 const uint8_t DTriple_with_qsub_0_in_QPRBits[] = {
2231 const uint8_t DTriple_with_ssub_2Bits[] = {
2241 const uint8_t DTriple_with_ssub_2_ssub_3_ssub_4_ssub_5_in_QPRBits[] = {
2251 const uint8_t DTripleSpc_with_ssub_4Bits[] = {
2261 const uint8_t DTriple_with_ssub_4Bits[] = {
2271 const uint8_t DTripleSpc_with_ssub_8Bits[] = {
2281 const uint8_t DTripleSpc_with_dsub_0_in_DPR_8Bits[] = {
2291 const uint8_t DTriple_with_dsub_0_in_DPR_8Bits[] = {
2301 const uint8_t DTriple_with_qsub_0_in_MQPRBits[] = {
2311 const uint8_t DTriple_with_ssub_0_and_DTriple_with_ssub_2_ssub_3_ssub_4_ssub_5_in_QPRBits[] = {
2321 const uint8_t DTriple_with_dsub_1_in_DPR_8Bits[] = {
2331 const uint8_t DTriple_with_ssub_2_ssub_3_ssub_4_ssub_5_in_MQPRBits[] = {
2341 const uint8_t DTriple_with_ssub_4_and_DTriple_with_qsub_0_in_MQPRBits[] = {
2351 const uint8_t DTripleSpc_with_dsub_2_in_DPR_8Bits[] = {
2361 const uint8_t DTriple_with_dsub_2_in_DPR_8Bits[] = {
2371 const uint8_t DTripleSpc_with_dsub_4_in_DPR_8Bits[] = {
2381 const uint8_t DTriple_with_dsub_0_in_DPR_8_and_DTriple_with_ssub_2_ssub_3_ssub_4_ssub_5_in_MQPRBits[] = {
2391 const uint8_t DTriple_with_qsub_0_in_QPR_8Bits[] = {
2401 const uint8_t DTriple_with_dsub_2_in_DPR_8_and_DTriple_with_qsub_0_in_MQPRBits[] = {
2411 const uint8_t DTriple_with_ssub_2_ssub_3_ssub_4_ssub_5_in_QPR_8Bits[] = {
2421 const uint8_t DQuadSpcBits[] = {
2431 const uint8_t DQuadSpc_with_ssub_0Bits[] = {
2441 const uint8_t DQuadSpc_with_ssub_4Bits[] = {
2451 const uint8_t DQuadSpc_with_ssub_8Bits[] = {
2461 const uint8_t DQuadSpc_with_dsub_0_in_DPR_8Bits[] = {
2471 const uint8_t DQuadSpc_with_dsub_2_in_DPR_8Bits[] = {
2481 const uint8_t DQuadSpc_with_dsub_4_in_DPR_8Bits[] = {
2491 const uint8_t DQuadBits[] = {
2501 const uint8_t DQuad_with_ssub_0Bits[] = {
2511 const uint8_t DQuad_with_ssub_2Bits[] = {
2521 const uint8_t QQPRBits[] = {
2531 const uint8_t DQuad_with_ssub_2_ssub_3_ssub_4_ssub_5_in_QPRBits[] = {
2541 const uint8_t DQuad_with_ssub_4Bits[] = {
2551 const uint8_t DQuad_with_ssub_6Bits[] = {
2561 const uint8_t DQuad_with_dsub_0_in_DPR_8Bits[] = {
2571 const uint8_t DQuad_with_qsub_0_in_MQPRBits[] = {
2581 const uint8_t DQuad_with_ssub_0_and_DQuad_with_ssub_2_ssub_3_ssub_4_ssub_5_in_QPRBits[] = {
2591 const uint8_t DQuad_with_dsub_1_in_DPR_8Bits[] = {
2601 const uint8_t DQuad_with_qsub_1_in_MQPRBits[] = {
2611 const uint8_t DQuad_with_ssub_2_ssub_3_ssub_4_ssub_5_in_MQPRBits[] = {
2621 const uint8_t DQuad_with_dsub_2_in_DPR_8Bits[] = {
2631 const uint8_t DQuad_with_ssub_6_and_DQuad_with_ssub_2_ssub_3_ssub_4_ssub_5_in_MQPRBits[] = {
2641 const uint8_t DQuad_with_dsub_3_in_DPR_8Bits[] = {
2651 const uint8_t DQuad_with_dsub_0_in_DPR_8_and_DQuad_with_ssub_2_ssub_3_ssub_4_ssub_5_in_MQPRBits[] = {
2661 const uint8_t DQuad_with_qsub_0_in_QPR_8Bits[] = {
2671 const uint8_t DQuad_with_qsub_1_in_QPR_8Bits[] = {
2681 const uint8_t DQuad_with_ssub_2_ssub_3_ssub_4_ssub_5_in_QPR_8Bits[] = {
2691 const uint8_t DQuad_with_dsub_3_in_DPR_8_and_DQuad_with_ssub_2_ssub_3_ssub_4_ssub_5_in_MQPRBits[] = {
2701 const uint8_t QQQQPRBits[] = {
2711 const uint8_t QQQQPR_with_ssub_0Bits[] = {
2721 const uint8_t QQQQPR_with_ssub_4Bits[] = {
2731 const uint8_t QQQQPR_with_ssub_8Bits[] = {
2741 const uint8_t QQQQPR_with_ssub_12Bits[] = {
2751 const uint8_t QQQQPR_with_dsub_0_in_DPR_8Bits[] = {
2761 const uint8_t QQQQPR_with_dsub_2_in_DPR_8Bits[] = {
2771 const uint8_t QQQQPR_with_dsub_4_in_DPR_8Bits[] = {
2781 const uint8_t QQQQPR_with_dsub_6_in_DPR_8Bits[] = {
8436 static const uint8_t RowMap[56] = {
8439 static const uint8_t Rows[8][56] = {
8457 uint8_t RotateLeft;
8566 static const uint8_t Table[122][56] = {
15786 static const uint8_t RUWeightTable[] = {
15843 static const uint8_t PressureLimitTable[] = {
15917 static const uint8_t RCSetStartTable[] = {
15927 static const uint8_t RUSetStartTable[] = {
gen/lib/Target/ARM/ARMGenSystemRegister.inc 83 const BankedReg *lookupBankedRegByEncoding(uint8_t Encoding);
183 const BankedReg *lookupBankedRegByEncoding(uint8_t Encoding) {
185 uint8_t Encoding;
225 uint8_t Encoding;
gen/lib/Target/AVR/AVRGenAsmMatcher.inc 56 enum SubtargetFeatureBits : uint8_t {
356 static const uint8_t TiedAsmOperandTable[][3] = {
424 static const uint8_t ConversionTable[CVT_NUM_SIGNATURES][9] = {
497 const uint8_t *Converter = ConversionTable[Kind];
500 for (const uint8_t *p = Converter; *p; p+= 2) {
567 const uint8_t *Converter = ConversionTable[Kind];
568 for (const uint8_t *p = Converter; *p; p+= 2) {
1010 const uint8_t *Converter = ConversionTable[Kind];
1011 for (const uint8_t *p = Converter; *p; p+= 2) {
1055 enum : uint8_t {
1099 uint8_t ConvertFn;
1100 uint8_t RequiredFeaturesIdx;
1101 uint8_t Classes[3];
1455 uint8_t OperandMask;
1456 uint8_t Class;
1457 uint8_t RequiredFeaturesIdx;
gen/lib/Target/AVR/AVRGenAsmWriter.inc 504 static const uint8_t OpInfo1[] = {
1018 static const uint8_t RegAsmOffsetNoRegAltName[] = {
1031 static const uint8_t RegAsmOffsetptr[] = {
gen/lib/Target/AVR/AVRGenDisassemblerTables.inc 61 static const uint8_t DecoderTable16[] = {
364 static const uint8_t DecoderTable32[] = {
575 static DecodeStatus decodeInstruction(const uint8_t DecodeTable[], MCInst &MI,
581 const uint8_t *Ptr = DecodeTable;
gen/lib/Target/AVR/AVRGenRegisterInfo.inc 340 const uint8_t GPR8Bits[] = {
350 const uint8_t GPR8loBits[] = {
360 const uint8_t LD8Bits[] = {
370 const uint8_t LD8loBits[] = {
380 const uint8_t CCRBits[] = {
390 const uint8_t DREGSBits[] = {
400 const uint8_t DREGS_WITHOUT_YZ_WORKAROUNDBits[] = {
410 const uint8_t DLDREGSBits[] = {
420 const uint8_t DREGS_with_sub_hi_in_GPR8loBits[] = {
430 const uint8_t DLDREGS_and_DREGS_WITHOUT_YZ_WORKAROUNDBits[] = {
440 const uint8_t DLDREGS_with_sub_hi_in_LD8loBits[] = {
450 const uint8_t IWREGSBits[] = {
460 const uint8_t PTRREGSBits[] = {
470 const uint8_t DREGS_WITHOUT_YZ_WORKAROUND_and_IWREGSBits[] = {
480 const uint8_t PTRDISPREGSBits[] = {
490 const uint8_t DREGS_WITHOUT_YZ_WORKAROUND_and_PTRREGSBits[] = {
500 const uint8_t GPRSPBits[] = {
510 const uint8_t ZREGBits[] = {
1436 static const uint8_t Rows[1][2] = {
1447 uint8_t RotateLeft;
1486 static const uint8_t Table[18][2] = {
1630 static const uint8_t PressureLimitTable[] = {
1659 static const uint8_t RCSetStartTable[] = {
1669 static const uint8_t RUSetStartTable[] = {
gen/lib/Target/BPF/BPFGenAsmMatcher.inc 48 enum SubtargetFeatureBits : uint8_t {
164 static const uint8_t TiedAsmOperandTable[][3] = {
212 static const uint8_t ConversionTable[CVT_NUM_SIGNATURES][9] = {
269 const uint8_t *Converter = ConversionTable[Kind];
272 for (const uint8_t *p = Converter; *p; p+= 2) {
306 const uint8_t *Converter = ConversionTable[Kind];
307 for (const uint8_t *p = Converter; *p; p+= 2) {
698 const uint8_t *Converter = ConversionTable[Kind];
699 for (const uint8_t *p = Converter; *p; p+= 2) {
732 enum : uint8_t {
742 uint8_t Mnemonic;
744 uint8_t ConvertFn;
745 uint8_t RequiredFeaturesIdx;
746 uint8_t Classes[13];
gen/lib/Target/BPF/BPFGenAsmWriter.inc 358 static const uint8_t OpInfo1[] = {
1049 static const uint8_t RegAsmOffset[] = {
gen/lib/Target/BPF/BPFGenDisassemblerTables.inc 61 static const uint8_t DecoderTableBPF64[] = {
307 static const uint8_t DecoderTableBPFALU3264[] = {
512 static DecodeStatus decodeInstruction(const uint8_t DecodeTable[], MCInst &MI,
518 const uint8_t *Ptr = DecodeTable;
gen/lib/Target/BPF/BPFGenMCCodeEmitter.inc 632 enum SubtargetFeatureBits : uint8_t {
649 enum : uint8_t {
661 static uint8_t RequiredFeaturesRefs[] = {
gen/lib/Target/BPF/BPFGenRegisterInfo.inc 186 const uint8_t GPR32Bits[] = {
196 const uint8_t GPRBits[] = {
529 static const uint8_t Rows[1][1] = {
540 uint8_t RotateLeft;
577 static const uint8_t Table[2][1] = {
630 static const uint8_t PressureLimitTable[] = {
645 static const uint8_t RCSetStartTable[] = {
655 static const uint8_t RUSetStartTable[] = {
gen/lib/Target/Hexagon/HexagonGenAsmMatcher.inc 48 enum SubtargetFeatureBits : uint8_t {
1166 static const uint8_t TiedAsmOperandTable[][3] = {
1651 static const uint8_t ConversionTable[CVT_NUM_SIGNATURES][13] = {
2546 const uint8_t *Converter = ConversionTable[Kind];
2549 for (const uint8_t *p = Converter; *p; p+= 2) {
2610 const uint8_t *Converter = ConversionTable[Kind];
2611 for (const uint8_t *p = Converter; *p; p+= 2) {
7481 const uint8_t *Converter = ConversionTable[Kind];
7482 for (const uint8_t *p = Converter; *p; p+= 2) {
7521 enum : uint8_t {
7556 uint8_t RequiredFeaturesIdx;
gen/lib/Target/Hexagon/HexagonGenAsmWriter.inc 6089 static const uint8_t OpInfo2[] = {
gen/lib/Target/Hexagon/HexagonGenDAGISel.inc72432 uint8_t NV = ~N->getZExtValue();
72980 uint8_t NV = ~N->getZExtValue();
73001 uint8_t V = N->getZExtValue();
gen/lib/Target/Hexagon/HexagonGenDisassemblerTables.inc 61 static const uint8_t DecoderTable32[] = {
5439 static const uint8_t DecoderTableEXT_mmvec32[] = {
7797 static const uint8_t DecoderTableMustExtend32[] = {
8301 static const uint8_t DecoderTableSUBINSN_A32[] = {
8396 static const uint8_t DecoderTableSUBINSN_L132[] = {
8408 static const uint8_t DecoderTableSUBINSN_L232[] = {
8468 static const uint8_t DecoderTableSUBINSN_S132[] = {
8480 static const uint8_t DecoderTableSUBINSN_S232[] = {
12199 static DecodeStatus decodeInstruction(const uint8_t DecodeTable[], MCInst &MI,
12205 const uint8_t *Ptr = DecodeTable;
gen/lib/Target/Hexagon/HexagonGenMCCodeEmitter.inc11548 enum SubtargetFeatureBits : uint8_t {
11621 enum : uint8_t {
11655 static uint8_t RequiredFeaturesRefs[] = {
gen/lib/Target/Hexagon/HexagonGenRegisterInfo.inc 1009 const uint8_t UsrBitsBits[] = {
1019 const uint8_t GuestRegsBits[] = {
1029 const uint8_t IntRegsBits[] = {
1039 const uint8_t CtrRegsBits[] = {
1049 const uint8_t GeneralSubRegsBits[] = {
1059 const uint8_t V62RegsBits[] = {
1069 const uint8_t IntRegsLow8Bits[] = {
1079 const uint8_t CtrRegs_and_V62RegsBits[] = {
1089 const uint8_t PredRegsBits[] = {
1099 const uint8_t V62Regs_with_isub_hiBits[] = {
1109 const uint8_t ModRegsBits[] = {
1119 const uint8_t CtrRegs_with_subreg_overflowBits[] = {
1129 const uint8_t V65RegsBits[] = {
1139 const uint8_t DoubleRegsBits[] = {
1149 const uint8_t GuestRegs64Bits[] = {
1159 const uint8_t CtrRegs64Bits[] = {
1169 const uint8_t GeneralDoubleLow8RegsBits[] = {
1179 const uint8_t DoubleRegs_with_isub_hi_in_IntRegsLow8Bits[] = {
1189 const uint8_t CtrRegs64_and_V62RegsBits[] = {
1199 const uint8_t CtrRegs64_with_isub_hi_in_ModRegsBits[] = {
1209 const uint8_t HvxVRBits[] = {
1219 const uint8_t HvxQRBits[] = {
1229 const uint8_t HvxVR_and_V65RegsBits[] = {
1239 const uint8_t HvxWRBits[] = {
1249 const uint8_t HvxVQRBits[] = {
3178 static const uint8_t RowMap[9] = {
3181 static const uint8_t Rows[2][9] = {
3193 uint8_t RotateLeft;
3244 static const uint8_t Table[25][9] = {
3596 static const uint8_t PressureLimitTable[] = {
3622 static const uint8_t RCSetStartTable[] = {
3632 static const uint8_t RUSetStartTable[] = {
gen/lib/Target/Lanai/LanaiGenAsmMatcher.inc 56 enum SubtargetFeatureBits : uint8_t {
212 static const uint8_t TiedAsmOperandTable[][3] = { /* empty */ {0, 0, 0} };
276 static const uint8_t ConversionTable[CVT_NUM_SIGNATURES][9] = {
345 const uint8_t *Converter = ConversionTable[Kind];
348 for (const uint8_t *p = Converter; *p; p+= 2) {
424 const uint8_t *Converter = ConversionTable[Kind];
425 for (const uint8_t *p = Converter; *p; p+= 2) {
864 const uint8_t *Converter = ConversionTable[Kind];
865 for (const uint8_t *p = Converter; *p; p+= 2) {
902 enum : uint8_t {
912 uint8_t Mnemonic;
914 uint8_t ConvertFn;
915 uint8_t RequiredFeaturesIdx;
916 uint8_t Classes[7];
1238 uint8_t Mnemonic;
1239 uint8_t OperandMask;
1240 uint8_t Class;
1241 uint8_t RequiredFeaturesIdx;
gen/lib/Target/Lanai/LanaiGenAsmWriter.inc 358 static const uint8_t OpInfo1[] = {
885 static const uint8_t RegAsmOffset[] = {
gen/lib/Target/Lanai/LanaiGenDisassemblerTables.inc 61 static const uint8_t DecoderTableLanai32[] = {
453 static DecodeStatus decodeInstruction(const uint8_t DecodeTable[], MCInst &MI,
459 const uint8_t *Ptr = DecodeTable;
gen/lib/Target/Lanai/LanaiGenRegisterInfo.inc 269 const uint8_t GPRBits[] = {
279 const uint8_t GPR_with_sub_32Bits[] = {
289 const uint8_t CCRBits[] = {
749 static const uint8_t Rows[1][1] = {
760 uint8_t RotateLeft;
797 static const uint8_t Table[3][1] = {
855 static const uint8_t PressureLimitTable[] = {
871 static const uint8_t RCSetStartTable[] = {
881 static const uint8_t RUSetStartTable[] = {
gen/lib/Target/MSP430/MSP430GenAsmMatcher.inc 48 enum SubtargetFeatureBits : uint8_t {
160 static const uint8_t TiedAsmOperandTable[][3] = {
235 static const uint8_t ConversionTable[CVT_NUM_SIGNATURES][9] = {
330 const uint8_t *Converter = ConversionTable[Kind];
333 for (const uint8_t *p = Converter; *p; p+= 2) {
394 const uint8_t *Converter = ConversionTable[Kind];
395 for (const uint8_t *p = Converter; *p; p+= 2) {
632 const uint8_t *Converter = ConversionTable[Kind];
633 for (const uint8_t *p = Converter; *p; p+= 2) {
673 enum : uint8_t {
685 uint8_t ConvertFn;
686 uint8_t RequiredFeaturesIdx;
687 uint8_t Classes[2];
gen/lib/Target/MSP430/MSP430GenAsmWriter.inc 753 static const uint8_t RegAsmOffset[] = {
gen/lib/Target/MSP430/MSP430GenDisassemblerTables.inc 61 static const uint8_t DecoderTable16[] = {
139 static const uint8_t DecoderTable32[] = {
165 static const uint8_t DecoderTableAlpha16[] = {
245 static const uint8_t DecoderTableAlpha32[] = {
323 static const uint8_t DecoderTableBeta16[] = {
401 static const uint8_t DecoderTableBeta32[] = {
479 static const uint8_t DecoderTableDelta16[] = {
610 static const uint8_t DecoderTableDelta32[] = {
732 static const uint8_t DecoderTableGamma32[] = {
887 static const uint8_t DecoderTableGamma48[] = {
1330 static DecodeStatus decodeInstruction(const uint8_t DecodeTable[], MCInst &MI,
1336 const uint8_t *Ptr = DecodeTable;
gen/lib/Target/MSP430/MSP430GenRegisterInfo.inc 220 const uint8_t GR8Bits[] = {
230 const uint8_t GR16Bits[] = {
462 static const uint8_t Rows[1][1] = {
473 uint8_t RotateLeft;
510 static const uint8_t Table[2][1] = {
563 static const uint8_t PressureLimitTable[] = {
578 static const uint8_t RCSetStartTable[] = {
588 static const uint8_t RUSetStartTable[] = {
gen/lib/Target/Mips/MipsGenAsmMatcher.inc 106 enum SubtargetFeatureBits : uint8_t {
234 static const uint8_t TiedAsmOperandTable[][3] = {
655 static const uint8_t ConversionTable[CVT_NUM_SIGNATURES][11] = {
1326 const uint8_t *Converter = ConversionTable[Kind];
1329 for (const uint8_t *p = Converter; *p; p+= 2) {
1564 const uint8_t *Converter = ConversionTable[Kind];
1565 for (const uint8_t *p = Converter; *p; p+= 2) {
4881 const uint8_t *Converter = ConversionTable[Kind];
4882 for (const uint8_t *p = Converter; *p; p+= 2) {
5100 enum : uint8_t {
5391 uint8_t RequiredFeaturesIdx;
5392 uint8_t Classes[8];
8273 uint8_t OperandMask;
8274 uint8_t Class;
8275 uint8_t RequiredFeaturesIdx;
gen/lib/Target/Mips/MipsGenDisassemblerTables.inc 61 static const uint8_t DecoderTable16[] = {
194 static const uint8_t DecoderTable32[] = {
300 static const uint8_t DecoderTableCOP3_32[] = {
318 static const uint8_t DecoderTableCnMips32[] = {
426 static const uint8_t DecoderTableMicroMips16[] = {
569 static const uint8_t DecoderTableMicroMips32[] = {
1962 static const uint8_t DecoderTableMicroMipsDSP32[] = {
1974 static const uint8_t DecoderTableMicroMipsFP6432[] = {
2047 static const uint8_t DecoderTableMicroMipsR616[] = {
2149 static const uint8_t DecoderTableMicroMipsR632[] = {
2804 static const uint8_t DecoderTableMicroMipsR6_Ambiguous32[] = {
2828 static const uint8_t DecoderTableMips32[] = {
6207 static const uint8_t DecoderTableMips32_64_PTR6432[] = {
6223 static const uint8_t DecoderTableMips32r6_64r632[] = {
6722 static const uint8_t DecoderTableMips32r6_64r6_Ambiguous32[] = {
6764 static const uint8_t DecoderTableMips32r6_64r6_BranchZero32[] = {
6776 static const uint8_t DecoderTableMips32r6_64r6_GP6432[] = {
6830 static const uint8_t DecoderTableMips32r6_64r6_PTR6432[] = {
6844 static const uint8_t DecoderTableMips6432[] = {
7095 static const uint8_t DecoderTableMipsDSP32[] = {
7107 static const uint8_t DecoderTableMipsFP6432[] = {
10310 static DecodeStatus decodeInstruction(const uint8_t DecodeTable[], MCInst &MI,
10316 const uint8_t *Ptr = DecodeTable;
gen/lib/Target/Mips/MipsGenGlobalISel.inc 35 enum SubtargetFeatureBits : uint8_t {
gen/lib/Target/Mips/MipsGenRegisterInfo.inc 1921 const uint8_t MSA128F16Bits[] = {
1931 const uint8_t CCRBits[] = {
1941 const uint8_t COP0Bits[] = {
1951 const uint8_t COP2Bits[] = {
1961 const uint8_t COP3Bits[] = {
1971 const uint8_t DSPRBits[] = {
1981 const uint8_t FGR32Bits[] = {
1991 const uint8_t FGRCCBits[] = {
2001 const uint8_t GPR32Bits[] = {
2011 const uint8_t HWRegsBits[] = {
2021 const uint8_t MSACtrlBits[] = {
2031 const uint8_t GPR32NONZEROBits[] = {
2041 const uint8_t CPU16RegsPlusSPBits[] = {
2051 const uint8_t CPU16RegsBits[] = {
2061 const uint8_t FCCBits[] = {
2071 const uint8_t GPRMM16Bits[] = {
2081 const uint8_t GPRMM16MovePBits[] = {
2091 const uint8_t GPRMM16ZeroBits[] = {
2101 const uint8_t CPU16Regs_and_GPRMM16ZeroBits[] = {
2111 const uint8_t GPR32NONZERO_and_GPRMM16MovePBits[] = {
2121 const uint8_t GPRMM16MovePPairSecondBits[] = {
2131 const uint8_t CPU16Regs_and_GPRMM16MovePBits[] = {
2141 const uint8_t GPRMM16MoveP_and_GPRMM16ZeroBits[] = {
2151 const uint8_t HI32DSPBits[] = {
2161 const uint8_t LO32DSPBits[] = {
2171 const uint8_t CPU16Regs_and_GPRMM16MovePPairSecondBits[] = {
2181 const uint8_t GPRMM16MovePPairFirstBits[] = {
2191 const uint8_t GPRMM16MoveP_and_CPU16Regs_and_GPRMM16ZeroBits[] = {
2201 const uint8_t GPRMM16MovePPairFirst_and_GPRMM16MovePPairSecondBits[] = {
2211 const uint8_t CPURARegBits[] = {
2221 const uint8_t CPUSPRegBits[] = {
2231 const uint8_t DSPCCBits[] = {
2241 const uint8_t GP32Bits[] = {
2251 const uint8_t GPR32ZEROBits[] = {
2261 const uint8_t HI32Bits[] = {
2271 const uint8_t LO32Bits[] = {
2281 const uint8_t SP32Bits[] = {
2291 const uint8_t FGR64Bits[] = {
2301 const uint8_t GPR64Bits[] = {
2311 const uint8_t GPR64_with_sub_32_in_GPR32NONZEROBits[] = {
2321 const uint8_t AFGR64Bits[] = {
2331 const uint8_t GPR64_with_sub_32_in_CPU16RegsPlusSPBits[] = {
2341 const uint8_t GPR64_with_sub_32_in_CPU16RegsBits[] = {
2351 const uint8_t GPR64_with_sub_32_in_GPRMM16MovePBits[] = {
2361 const uint8_t GPR64_with_sub_32_in_GPRMM16ZeroBits[] = {
2371 const uint8_t GPR64_with_sub_32_in_CPU16Regs_and_GPRMM16ZeroBits[] = {
2381 const uint8_t GPR64_with_sub_32_in_GPR32NONZERO_and_GPRMM16MovePBits[] = {
2391 const uint8_t GPR64_with_sub_32_in_GPRMM16MovePPairSecondBits[] = {
2401 const uint8_t ACC64DSPBits[] = {
2411 const uint8_t GPR64_with_sub_32_in_CPU16Regs_and_GPRMM16MovePBits[] = {
2421 const uint8_t GPR64_with_sub_32_in_GPRMM16MoveP_and_GPRMM16ZeroBits[] = {
2431 const uint8_t GPR64_with_sub_32_in_CPU16Regs_and_GPRMM16MovePPairSecondBits[] = {
2441 const uint8_t GPR64_with_sub_32_in_GPRMM16MovePPairFirstBits[] = {
2451 const uint8_t GPR64_with_sub_32_in_GPRMM16MoveP_and_CPU16Regs_and_GPRMM16ZeroBits[] = {
2461 const uint8_t OCTEON_MPLBits[] = {
2471 const uint8_t OCTEON_PBits[] = {
2481 const uint8_t GPR64_with_sub_32_in_GPRMM16MovePPairFirst_and_GPRMM16MovePPairSecondBits[] = {
2491 const uint8_t ACC64Bits[] = {
2501 const uint8_t GP64Bits[] = {
2511 const uint8_t GPR64_with_sub_32_in_CPURARegBits[] = {
2521 const uint8_t GPR64_with_sub_32_in_GPR32ZEROBits[] = {
2531 const uint8_t HI64Bits[] = {
2541 const uint8_t LO64Bits[] = {
2551 const uint8_t SP64Bits[] = {
2561 const uint8_t MSA128BBits[] = {
2571 const uint8_t MSA128DBits[] = {
2581 const uint8_t MSA128HBits[] = {
2591 const uint8_t MSA128WBits[] = {
2601 const uint8_t MSA128WEvensBits[] = {
2611 const uint8_t ACC128Bits[] = {
6157 static const uint8_t RowMap[11] = {
6160 static const uint8_t Rows[2][11] = {
6172 uint8_t RotateLeft;
6225 static const uint8_t Table[70][11] = {
7269 static const uint8_t PressureLimitTable[] = {
7314 static const uint8_t RCSetStartTable[] = {
7324 static const uint8_t RUSetStartTable[] = {
gen/lib/Target/NVPTX/NVPTXGenRegisterInfo.inc 472 const uint8_t Int1RegsBits[] = {
482 const uint8_t Float16RegsBits[] = {
492 const uint8_t Int16RegsBits[] = {
502 const uint8_t SpecialRegsBits[] = {
512 const uint8_t Float16x2RegsBits[] = {
522 const uint8_t Float32ArgRegsBits[] = {
532 const uint8_t Float32RegsBits[] = {
542 const uint8_t Int32ArgRegsBits[] = {
552 const uint8_t Int32RegsBits[] = {
562 const uint8_t Float64ArgRegsBits[] = {
572 const uint8_t Float64RegsBits[] = {
582 const uint8_t Int64ArgRegsBits[] = {
592 const uint8_t Int64RegsBits[] = {
1240 static const uint8_t PressureLimitTable[] = {
1279 static const uint8_t RCSetStartTable[] = {
1289 static const uint8_t RUSetStartTable[] = {
gen/lib/Target/PowerPC/PPCGenAsmMatcher.inc 48 enum SubtargetFeatureBits : uint8_t {
106 static const uint8_t TiedAsmOperandTable[][3] = {
857 static const uint8_t ConversionTable[CVT_NUM_SIGNATURES][13] = {
2082 const uint8_t *Converter = ConversionTable[Kind];
2085 for (const uint8_t *p = Converter; *p; p+= 2) {
2482 const uint8_t *Converter = ConversionTable[Kind];
2483 for (const uint8_t *p = Converter; *p; p+= 2) {
4120 const uint8_t *Converter = ConversionTable[Kind];
4121 for (const uint8_t *p = Converter; *p; p+= 2) {
4431 enum : uint8_t {
4444 uint8_t RequiredFeaturesIdx;
4445 uint8_t Classes[6];
gen/lib/Target/PowerPC/PPCGenDisassemblerTables.inc 61 static const uint8_t DecoderTable32[] = {
3421 static const uint8_t DecoderTableQPX32[] = {
3843 static const uint8_t DecoderTableSPE32[] = {
6560 static DecodeStatus decodeInstruction(const uint8_t DecodeTable[], MCInst &MI,
6566 const uint8_t *Ptr = DecodeTable;
gen/lib/Target/PowerPC/PPCGenMCCodeEmitter.inc 6252 enum SubtargetFeatureBits : uint8_t {
6269 enum : uint8_t {
6281 static uint8_t RequiredFeaturesRefs[] = {
gen/lib/Target/PowerPC/PPCGenRegisterInfo.inc 1340 const uint8_t VSSRCBits[] = {
1350 const uint8_t GPRCBits[] = {
1360 const uint8_t GPRC_NOR0Bits[] = {
1370 const uint8_t GPRC_and_GPRC_NOR0Bits[] = {
1380 const uint8_t CRBITRCBits[] = {
1390 const uint8_t F4RCBits[] = {
1400 const uint8_t CRRCBits[] = {
1410 const uint8_t CARRYRCBits[] = {
1420 const uint8_t CTRRCBits[] = {
1430 const uint8_t VRSAVERCBits[] = {
1440 const uint8_t SPILLTOVSRRCBits[] = {
1450 const uint8_t VSFRCBits[] = {
1460 const uint8_t G8RCBits[] = {
1470 const uint8_t G8RC_NOX0Bits[] = {
1480 const uint8_t SPILLTOVSRRC_and_VSFRCBits[] = {
1490 const uint8_t G8RC_and_G8RC_NOX0Bits[] = {
1500 const uint8_t F8RCBits[] = {
1510 const uint8_t SPERCBits[] = {
1520 const uint8_t VFRCBits[] = {
1530 const uint8_t SPERC_with_sub_32_in_GPRC_NOR0Bits[] = {
1540 const uint8_t SPILLTOVSRRC_and_VFRCBits[] = {
1550 const uint8_t SPILLTOVSRRC_and_F4RCBits[] = {
1560 const uint8_t CTRRC8Bits[] = {
1570 const uint8_t VSRCBits[] = {
1580 const uint8_t VSRC_with_sub_64_in_SPILLTOVSRRCBits[] = {
1590 const uint8_t QSRCBits[] = {
1600 const uint8_t VRRCBits[] = {
1610 const uint8_t VSLRCBits[] = {
1620 const uint8_t VRRC_with_sub_64_in_SPILLTOVSRRCBits[] = {
1630 const uint8_t QSRC_with_sub_64_in_SPILLTOVSRRCBits[] = {
1640 const uint8_t VSLRC_with_sub_64_in_SPILLTOVSRRCBits[] = {
1650 const uint8_t QBRCBits[] = {
1660 const uint8_t QFRCBits[] = {
1670 const uint8_t QBRC_with_sub_64_in_SPILLTOVSRRCBits[] = {
5165 static const uint8_t Rows[1][6] = {
5176 uint8_t RotateLeft;
5223 static const uint8_t Table[34][6] = {
5589 static const uint8_t PressureLimitTable[] = {
5628 static const uint8_t RCSetStartTable[] = {
5638 static const uint8_t RUSetStartTable[] = {
gen/lib/Target/RISCV/RISCVGenAsmMatcher.inc 84 enum SubtargetFeatureBits : uint8_t {
626 static const uint8_t TiedAsmOperandTable[][3] = {
758 static const uint8_t ConversionTable[CVT_NUM_SIGNATURES][11] = {
951 const uint8_t *Converter = ConversionTable[Kind];
954 for (const uint8_t *p = Converter; *p; p+= 2) {
1042 const uint8_t *Converter = ConversionTable[Kind];
1043 for (const uint8_t *p = Converter; *p; p+= 2) {
1768 const uint8_t *Converter = ConversionTable[Kind];
1769 for (const uint8_t *p = Converter; *p; p+= 2) {
1850 enum : uint8_t {
1894 uint8_t ConvertFn;
1895 uint8_t RequiredFeaturesIdx;
1896 uint8_t Classes[5];
2591 uint8_t OperandMask;
2592 uint8_t Class;
2593 uint8_t RequiredFeaturesIdx;
gen/lib/Target/RISCV/RISCVGenAsmWriter.inc 788 static const uint8_t OpInfo1[] = {
1498 static const uint8_t RegAsmOffsetABIRegAltName[] = {
1575 static const uint8_t RegAsmOffsetNoRegAltName[] = {
gen/lib/Target/RISCV/RISCVGenDisassemblerTables.inc 61 static const uint8_t DecoderTable16[] = {
240 static const uint8_t DecoderTable32[] = {
1098 static const uint8_t DecoderTableRISCV32Only_16[] = {
1736 static DecodeStatus decodeInstruction(const uint8_t DecodeTable[], MCInst &MI,
1742 const uint8_t *Ptr = DecodeTable;
gen/lib/Target/RISCV/RISCVGenGlobalISel.inc 35 enum SubtargetFeatureBits : uint8_t {
gen/lib/Target/RISCV/RISCVGenRegisterInfo.inc 475 const uint8_t FPR32Bits[] = {
485 const uint8_t GPRBits[] = {
495 const uint8_t GPRNoX0Bits[] = {
505 const uint8_t GPRNoX0X2Bits[] = {
515 const uint8_t GPRTCBits[] = {
525 const uint8_t FPR32CBits[] = {
535 const uint8_t GPRCBits[] = {
545 const uint8_t GPRC_and_GPRTCBits[] = {
555 const uint8_t GPRX0Bits[] = {
565 const uint8_t SPBits[] = {
575 const uint8_t FPR64Bits[] = {
585 const uint8_t FPR64CBits[] = {
1603 static const uint8_t Rows[1][1] = {
1614 uint8_t RotateLeft;
1651 static const uint8_t Table[12][1] = {
1750 static const uint8_t PressureLimitTable[] = {
1774 static const uint8_t RCSetStartTable[] = {
1784 static const uint8_t RUSetStartTable[] = {
gen/lib/Target/Sparc/SparcGenAsmMatcher.inc 56 enum SubtargetFeatureBits : uint8_t {
371 static const uint8_t TiedAsmOperandTable[][3] = {
797 static const uint8_t ConversionTable[CVT_NUM_SIGNATURES][11] = {
1570 const uint8_t *Converter = ConversionTable[Kind];
1573 for (const uint8_t *p = Converter; *p; p+= 2) {
1670 const uint8_t *Converter = ConversionTable[Kind];
1671 for (const uint8_t *p = Converter; *p; p+= 2) {
2335 const uint8_t *Converter = ConversionTable[Kind];
2336 for (const uint8_t *p = Converter; *p; p+= 2) {
2434 enum : uint8_t {
2457 uint8_t RequiredFeaturesIdx;
2458 uint8_t Classes[6];
4335 uint8_t OperandMask;
4336 uint8_t Class;
4337 uint8_t RequiredFeaturesIdx;
gen/lib/Target/Sparc/SparcGenDisassemblerTables.inc 61 static const uint8_t DecoderTableSparc32[] = {
1733 static const uint8_t DecoderTableSparcV832[] = {
1748 static const uint8_t DecoderTableSparcV932[] = {
2358 static DecodeStatus decodeInstruction(const uint8_t DecodeTable[], MCInst &MI,
2364 const uint8_t *Ptr = DecodeTable;
gen/lib/Target/Sparc/SparcGenMCCodeEmitter.inc 1686 enum SubtargetFeatureBits : uint8_t {
1727 enum : uint8_t {
1749 static uint8_t RequiredFeaturesRefs[] = {
gen/lib/Target/Sparc/SparcGenRegisterInfo.inc 1095 const uint8_t FCCRegsBits[] = {
1105 const uint8_t ASRRegsBits[] = {
1115 const uint8_t CoprocRegsBits[] = {
1125 const uint8_t FPRegsBits[] = {
1135 const uint8_t IntRegsBits[] = {
1145 const uint8_t DFPRegsBits[] = {
1155 const uint8_t I64RegsBits[] = {
1165 const uint8_t CoprocPairBits[] = {
1175 const uint8_t IntPairBits[] = {
1185 const uint8_t LowDFPRegsBits[] = {
1195 const uint8_t PRRegsBits[] = {
1205 const uint8_t QFPRegsBits[] = {
1215 const uint8_t LowQFPRegsBits[] = {
2490 static const uint8_t RowMap[6] = {
2493 static const uint8_t Rows[2][6] = {
2505 uint8_t RotateLeft;
2550 static const uint8_t Table[13][6] = {
2689 static const uint8_t RUWeightTable[] = {
2717 static const uint8_t PressureLimitTable[] = {
2739 static const uint8_t RCSetStartTable[] = {
2749 static const uint8_t RUSetStartTable[] = {
gen/lib/Target/SystemZ/SystemZGenAsmMatcher.inc 56 enum SubtargetFeatureBits : uint8_t {
155 static const uint8_t TiedAsmOperandTable[][3] = {
568 static const uint8_t ConversionTable[CVT_NUM_SIGNATURES][13] = {
1343 const uint8_t *Converter = ConversionTable[Kind];
1346 for (const uint8_t *p = Converter; *p; p+= 2) {
1398 const uint8_t *Converter = ConversionTable[Kind];
1399 for (const uint8_t *p = Converter; *p; p+= 2) {
2329 const uint8_t *Converter = ConversionTable[Kind];
2330 for (const uint8_t *p = Converter; *p; p+= 2) {
2671 enum : uint8_t {
2752 uint8_t RequiredFeaturesIdx;
2753 uint8_t Classes[6];
5530 uint8_t OperandMask;
5531 uint8_t Class;
5532 uint8_t RequiredFeaturesIdx;
gen/lib/Target/SystemZ/SystemZGenAsmWriter.inc 8359 static const uint8_t OpInfo2[] = {
gen/lib/Target/SystemZ/SystemZGenDisassemblerTables.inc 61 static const uint8_t DecoderTable16[] = {
237 static const uint8_t DecoderTable32[] = {
2312 static const uint8_t DecoderTable48[] = {
10731 static DecodeStatus decodeInstruction(const uint8_t DecodeTable[], MCInst &MI,
10737 const uint8_t *Ptr = DecodeTable;
gen/lib/Target/SystemZ/SystemZGenMCCodeEmitter.inc 8738 enum SubtargetFeatureBits : uint8_t {
8895 enum : uint8_t {
8977 static uint8_t RequiredFeaturesRefs[] = {
gen/lib/Target/SystemZ/SystemZGenRegisterInfo.inc 860 const uint8_t GRX32BitBits[] = {
870 const uint8_t VR32BitBits[] = {
880 const uint8_t AR32BitBits[] = {
890 const uint8_t FP32BitBits[] = {
900 const uint8_t GR32BitBits[] = {
910 const uint8_t GRH32BitBits[] = {
920 const uint8_t ADDR32BitBits[] = {
930 const uint8_t CCRBits[] = {
940 const uint8_t FPCRegsBits[] = {
950 const uint8_t AnyRegBitBits[] = {
960 const uint8_t AnyRegBit_with_subreg_h32_in_FP32BitBits[] = {
970 const uint8_t VR64BitBits[] = {
980 const uint8_t AnyRegBit_with_subreg_h64Bits[] = {
990 const uint8_t CR64BitBits[] = {
1000 const uint8_t FP64BitBits[] = {
1010 const uint8_t GR64BitBits[] = {
1020 const uint8_t ADDR64BitBits[] = {
1030 const uint8_t VR128BitBits[] = {
1040 const uint8_t VF128BitBits[] = {
1050 const uint8_t FP128BitBits[] = {
1060 const uint8_t GR128BitBits[] = {
1070 const uint8_t ADDR128BitBits[] = {
2576 static const uint8_t RowMap[6] = {
2579 static const uint8_t Rows[2][6] = {
2591 uint8_t RotateLeft;
2637 static const uint8_t Table[22][6] = {
2884 static const uint8_t PressureLimitTable[] = {
2905 static const uint8_t RCSetStartTable[] = {
2915 static const uint8_t RUSetStartTable[] = {
gen/lib/Target/WebAssembly/WebAssemblyGenAsmMatcher.inc 48 enum SubtargetFeatureBits : uint8_t {
91 static const uint8_t TiedAsmOperandTable[][3] = { /* empty */ {0, 0, 0} };
125 static const uint8_t ConversionTable[CVT_NUM_SIGNATURES][33] = {
160 const uint8_t *Converter = ConversionTable[Kind];
163 for (const uint8_t *p = Converter; *p; p+= 2) {
200 const uint8_t *Converter = ConversionTable[Kind];
201 for (const uint8_t *p = Converter; *p; p+= 2) {
386 const uint8_t *Converter = ConversionTable[Kind];
387 for (const uint8_t *p = Converter; *p; p+= 2) {
521 enum : uint8_t {
549 uint8_t ConvertFn;
550 uint8_t RequiredFeaturesIdx;
551 uint8_t Classes[16];
gen/lib/Target/WebAssembly/WebAssemblyGenAsmWriter.inc 2317 static const uint8_t RegAsmOffset[] = {
gen/lib/Target/WebAssembly/WebAssemblyGenDisassemblerTables.inc 15 enum EntryType : uint8_t { ET_Unused, ET_Prefix, ET_Instruction };
20 uint8_t NumOperands;
1492 const uint8_t OperandTable[] = {
1533 struct { uint8_t Prefix; const WebAssemblyInstruction *Table; }
gen/lib/Target/WebAssembly/WebAssemblyGenRegisterInfo.inc 138 const uint8_t EXNREFBits[] = {
148 const uint8_t I32Bits[] = {
158 const uint8_t F32Bits[] = {
168 const uint8_t I64Bits[] = {
178 const uint8_t F64Bits[] = {
188 const uint8_t V128Bits[] = {
507 static const uint8_t PressureLimitTable[] = {
532 static const uint8_t RCSetStartTable[] = {
542 static const uint8_t RUSetStartTable[] = {
gen/lib/Target/X86/X86GenAsmMatcher.inc 50 enum SubtargetFeatureBits : uint8_t {
2137 static const uint8_t TiedAsmOperandTable[][3] = {
3108 static const uint8_t ConversionTable[CVT_NUM_SIGNATURES][13] = {
4941 const uint8_t *Converter = ConversionTable[Kind];
4944 for (const uint8_t *p = Converter; *p; p+= 2) {
5068 const uint8_t *Converter = ConversionTable[Kind];
5069 for (const uint8_t *p = Converter; *p; p+= 2) {
7577 const uint8_t *Converter = ConversionTable[Kind];
7578 for (const uint8_t *p = Converter; *p; p+= 2) {
7918 enum : uint8_t {
7941 uint8_t RequiredFeaturesIdx;
7942 uint8_t Classes[9];
gen/lib/Target/X86/X86GenAsmWriter.inc32162 static const uint8_t OpInfo2[] = {
gen/lib/Target/X86/X86GenDAGISel.inc254745 uint8_t Imm = N->getZExtValue();
254780 uint8_t Imm = X86::getSwappedVCMPImm(N->getZExtValue() & 0x1f);
254788 uint8_t SSECC = X86::getVPCMPImmForCond(CC);
254796 uint8_t SSECC = X86::getVPCMPImmForCond(CC);
254864 uint8_t Imm = N->getZExtValue();
254866 uint8_t NewImm = Imm & 0xa5;
254878 uint8_t Imm = N->getZExtValue();
254880 uint8_t NewImm = Imm & 0x99;
254892 uint8_t Imm = N->getZExtValue();
254894 uint8_t NewImm = Imm & 0xc3;
254906 uint8_t Imm = N->getZExtValue();
254908 uint8_t NewImm = Imm & 0x81;
254922 uint8_t Imm = N->getZExtValue();
254924 uint8_t NewImm = Imm & 0x81;
254937 uint8_t Imm = N->getZExtValue() & 0x7;
254945 uint8_t Imm = N->getZExtValue() & 0xff;
254952 uint8_t Imm = N->getZExtValue() & 0x0f;
254959 uint8_t Imm = N->getZExtValue();
254960 uint8_t NewImm = 0;
254971 uint8_t Imm = N->getZExtValue();
254972 uint8_t NewImm = 0;
254983 uint8_t Imm = N->getZExtValue();
254984 uint8_t NewImm = 0;
254995 uint8_t Imm = N->getZExtValue();
254996 uint8_t NewImm = 0;
255007 uint8_t Imm = N->getZExtValue();
255008 uint8_t NewImm = 0;
255019 uint8_t Imm = N->getZExtValue();
255020 uint8_t NewImm = 0;
255031 uint8_t Imm = N->getZExtValue() & 0x03;
gen/lib/Target/X86/X86GenDisassemblerTables.inc68347 static const uint8_t x86DisassemblerContexts[8192] = {
gen/lib/Target/X86/X86GenGlobalISel.inc 35 enum SubtargetFeatureBits : uint8_t {
gen/lib/Target/X86/X86GenRegisterInfo.inc 1317 const uint8_t GR8Bits[] = {
1327 const uint8_t GRH8Bits[] = {
1337 const uint8_t GR8_NOREXBits[] = {
1347 const uint8_t GR8_ABCD_HBits[] = {
1357 const uint8_t GR8_ABCD_LBits[] = {
1367 const uint8_t GRH16Bits[] = {
1377 const uint8_t GR16Bits[] = {
1387 const uint8_t GR16_NOREXBits[] = {
1397 const uint8_t VK1Bits[] = {
1407 const uint8_t VK16Bits[] = {
1417 const uint8_t VK2Bits[] = {
1427 const uint8_t VK4Bits[] = {
1437 const uint8_t VK8Bits[] = {
1447 const uint8_t VK16WMBits[] = {
1457 const uint8_t VK1WMBits[] = {
1467 const uint8_t VK2WMBits[] = {
1477 const uint8_t VK4WMBits[] = {
1487 const uint8_t VK8WMBits[] = {
1497 const uint8_t SEGMENT_REGBits[] = {
1507 const uint8_t GR16_ABCDBits[] = {
1517 const uint8_t FPCCRBits[] = {
1527 const uint8_t VK16PAIRBits[] = {
1537 const uint8_t VK1PAIRBits[] = {
1547 const uint8_t VK2PAIRBits[] = {
1557 const uint8_t VK4PAIRBits[] = {
1567 const uint8_t VK8PAIRBits[] = {
1577 const uint8_t VK16PAIR_with_sub_mask_0_in_VK16WMBits[] = {
1587 const uint8_t FR32XBits[] = {
1597 const uint8_t LOW32_ADDR_ACCESS_RBPBits[] = {
1607 const uint8_t LOW32_ADDR_ACCESSBits[] = {
1617 const uint8_t LOW32_ADDR_ACCESS_RBP_with_sub_8bitBits[] = {
1627 const uint8_t DEBUG_REGBits[] = {
1637 const uint8_t FR32Bits[] = {
1647 const uint8_t GR32Bits[] = {
1657 const uint8_t GR32_NOSPBits[] = {
1667 const uint8_t LOW32_ADDR_ACCESS_RBP_with_sub_16bit_in_GR16_NOREXBits[] = {
1677 const uint8_t GR32_NOREXBits[] = {
1687 const uint8_t VK32Bits[] = {
1697 const uint8_t GR32_NOREX_NOSPBits[] = {
1707 const uint8_t RFP32Bits[] = {
1717 const uint8_t VK32WMBits[] = {
1727 const uint8_t GR32_ABCDBits[] = {
1737 const uint8_t GR32_TCBits[] = {
1747 const uint8_t GR32_ABCD_and_GR32_TCBits[] = {
1757 const uint8_t GR32_ADBits[] = {
1767 const uint8_t GR32_BPSPBits[] = {
1777 const uint8_t GR32_BSIBits[] = {
1787 const uint8_t GR32_CBBits[] = {
1797 const uint8_t GR32_DCBits[] = {
1807 const uint8_t GR32_DIBPBits[] = {
1817 const uint8_t GR32_SIDIBits[] = {
1827 const uint8_t LOW32_ADDR_ACCESS_RBP_with_sub_32bitBits[] = {
1837 const uint8_t CCRBits[] = {
1847 const uint8_t DFCCRBits[] = {
1857 const uint8_t GR32_ABCD_and_GR32_BSIBits[] = {
1867 const uint8_t GR32_AD_and_GR32_DCBits[] = {
1877 const uint8_t GR32_BPSP_and_GR32_DIBPBits[] = {
1887 const uint8_t GR32_BPSP_and_GR32_TCBits[] = {
1897 const uint8_t GR32_BSI_and_GR32_SIDIBits[] = {
1907 const uint8_t GR32_CB_and_GR32_DCBits[] = {
1917 const uint8_t GR32_DIBP_and_GR32_SIDIBits[] = {
1927 const uint8_t LOW32_ADDR_ACCESS_RBP_with_sub_8bit_with_sub_32bitBits[] = {
1937 const uint8_t LOW32_ADDR_ACCESS_with_sub_32bitBits[] = {
1947 const uint8_t RFP64Bits[] = {
1957 const uint8_t FR64XBits[] = {
1967 const uint8_t GR64Bits[] = {
1977 const uint8_t CONTROL_REGBits[] = {
1987 const uint8_t FR64Bits[] = {
1997 const uint8_t GR64_with_sub_8bitBits[] = {
2007 const uint8_t GR64_NOSPBits[] = {
2017 const uint8_t GR64_TCBits[] = {
2027 const uint8_t GR64_NOREXBits[] = {
2037 const uint8_t GR64_TCW64Bits[] = {
2047 const uint8_t GR64_TC_with_sub_8bitBits[] = {
2057 const uint8_t GR64_NOSP_and_GR64_TCBits[] = {
2067 const uint8_t GR64_TCW64_with_sub_8bitBits[] = {
2077 const uint8_t GR64_TC_and_GR64_TCW64Bits[] = {
2087 const uint8_t GR64_with_sub_16bit_in_GR16_NOREXBits[] = {
2097 const uint8_t VK64Bits[] = {
2107 const uint8_t VR64Bits[] = {
2117 const uint8_t GR64_NOREX_NOSPBits[] = {
2127 const uint8_t GR64_NOREX_and_GR64_TCBits[] = {
2137 const uint8_t GR64_NOSP_and_GR64_TCW64Bits[] = {
2147 const uint8_t GR64_TCW64_and_GR64_TC_with_sub_8bitBits[] = {
2157 const uint8_t VK64WMBits[] = {
2167 const uint8_t GR64_TC_and_GR64_NOSP_and_GR64_TCW64Bits[] = {
2177 const uint8_t GR64_TC_and_GR64_with_sub_16bit_in_GR16_NOREXBits[] = {
2187 const uint8_t GR64_NOREX_NOSP_and_GR64_TCBits[] = {
2197 const uint8_t GR64_NOREX_and_GR64_TCW64Bits[] = {
2207 const uint8_t GR64_ABCDBits[] = {
2217 const uint8_t GR64_with_sub_32bit_in_GR32_TCBits[] = {
2227 const uint8_t GR64_with_sub_32bit_in_GR32_ABCD_and_GR32_TCBits[] = {
2237 const uint8_t GR64_ADBits[] = {
2247 const uint8_t GR64_and_LOW32_ADDR_ACCESS_RBPBits[] = {
2257 const uint8_t GR64_with_sub_32bit_in_GR32_BPSPBits[] = {
2267 const uint8_t GR64_with_sub_32bit_in_GR32_BSIBits[] = {
2277 const uint8_t GR64_with_sub_32bit_in_GR32_CBBits[] = {
2287 const uint8_t GR64_with_sub_32bit_in_GR32_DCBits[] = {
2297 const uint8_t GR64_with_sub_32bit_in_GR32_DIBPBits[] = {
2307 const uint8_t GR64_with_sub_32bit_in_GR32_SIDIBits[] = {
2317 const uint8_t GR64_and_LOW32_ADDR_ACCESSBits[] = {
2327 const uint8_t GR64_with_sub_32bit_in_GR32_ABCD_and_GR32_BSIBits[] = {
2337 const uint8_t GR64_with_sub_32bit_in_GR32_AD_and_GR32_DCBits[] = {
2347 const uint8_t GR64_with_sub_32bit_in_GR32_BPSP_and_GR32_DIBPBits[] = {
2357 const uint8_t GR64_with_sub_32bit_in_GR32_BPSP_and_GR32_TCBits[] = {
2367 const uint8_t GR64_with_sub_32bit_in_GR32_BSI_and_GR32_SIDIBits[] = {
2377 const uint8_t GR64_with_sub_32bit_in_GR32_CB_and_GR32_DCBits[] = {
2387 const uint8_t GR64_with_sub_32bit_in_GR32_DIBP_and_GR32_SIDIBits[] = {
2397 const uint8_t RSTBits[] = {
2407 const uint8_t RFP80Bits[] = {
2417 const uint8_t RFP80_7Bits[] = {
2427 const uint8_t VR128XBits[] = {
2437 const uint8_t VR128Bits[] = {
2447 const uint8_t BNDRBits[] = {
2457 const uint8_t VR256XBits[] = {
2467 const uint8_t VR256Bits[] = {
2477 const uint8_t VR512Bits[] = {
2487 const uint8_t VR512_0_15Bits[] = {
8109 static const uint8_t Rows[1][10] = {
8120 uint8_t RotateLeft;
8172 static const uint8_t Table[118][10] = {
9783 static const uint8_t PressureLimitTable[] = {
gen/lib/Target/XCore/XCoreGenAsmWriter.inc 873 static const uint8_t RegAsmOffset[] = {
gen/lib/Target/XCore/XCoreGenDisassemblerTables.inc 61 static const uint8_t DecoderTable16[] = {
392 static const uint8_t DecoderTable32[] = {
802 static DecodeStatus decodeInstruction(const uint8_t DecodeTable[], MCInst &MI,
808 const uint8_t *Ptr = DecodeTable;
gen/lib/Target/XCore/XCoreGenRegisterInfo.inc 150 const uint8_t RRegsBits[] = {
160 const uint8_t GRRegsBits[] = {
502 static const uint8_t PressureLimitTable[] = {
517 static const uint8_t RCSetStartTable[] = {
527 static const uint8_t RUSetStartTable[] = {
gen/projects/openmp/runtime/src/omp-tools.h 1028 uint8_t sizeof_char;
1029 uint8_t sizeof_short;
1030 uint8_t sizeof_int;
1031 uint8_t sizeof_long;
1032 uint8_t sizeof_long_long;
1033 uint8_t sizeof_pointer;
gen/tools/clang/lib/AST/Opcodes.inc 698 auto V0 = PC.read<uint8_t>();
707 OS << "\t" << PC.read<uint8_t>() << " "<< "\n";
711 bool emitConstUint8(uint8_t, const SourceInfo &);
714 bool ByteCodeEmitter::emitConstUint8(uint8_t A0,const SourceInfo &L) {
715 return emitOp<uint8_t>(OP_ConstUint8, A0, L);
719 bool EvalEmitter::emitConstUint8(uint8_t A0,const SourceInfo &L) {
gen/tools/lldb/scripts/LLDBWrapPython.cpp18377 uint8_t result;
18400 uint8_t arg2 ;
18796 uint8_t result;
19335 uint8_t arg6 ;
29394 uint8_t *arg2 = (uint8_t *) 0 ;
29424 arg3 = (size_t) (size/sizeof(uint8_t));
29447 uint8_t *arg2 = (uint8_t *) 0 ;
29477 arg3 = (size_t) (size / sizeof(uint8_t const));
40940 uint8_t *result = 0 ;
40989 uint8_t *arg2 = (uint8_t *) 0 ;
include/llvm-c/Core.h 1897 uint8_t Radix);
1906 unsigned SLen, uint8_t Radix);
include/llvm-c/Disassembler.h 101 size_t LLVMDisasmInstruction(LLVMDisasmContextRef DC, uint8_t *Bytes,
include/llvm-c/ExecutionEngine.h 155 typedef uint8_t *(*LLVMMemoryManagerAllocateCodeSectionCallback)(
158 typedef uint8_t *(*LLVMMemoryManagerAllocateDataSectionCallback)(
include/llvm/ADT/APInt.h 183 void fromString(unsigned numBits, StringRef str, uint8_t radix);
317 APInt(unsigned numBits, StringRef str, uint8_t radix);
1598 static unsigned getBitsNeeded(StringRef str, uint8_t radix);
2237 void StoreIntToMemory(const APInt &IntVal, uint8_t *Dst, unsigned StoreBytes);
2241 void LoadIntFromMemory(APInt &IntVal, uint8_t *Src, unsigned LoadBytes);
include/llvm/ADT/Hashing.h 190 uint8_t a = s[0];
191 uint8_t b = s[len >> 1];
192 uint8_t c = s[len - 1];
include/llvm/ADT/StringExtras.h 55 inline StringRef toStringRef(ArrayRef<uint8_t> Input) {
60 inline ArrayRef<uint8_t> arrayRefFromStringRef(StringRef Input) {
143 const uint8_t Offset = LowerCase ? 32 : 0;
156 inline std::string toHex(ArrayRef<uint8_t> Input, bool LowerCase = false) {
160 inline uint8_t hexFromNibbles(char MSB, char LSB) {
183 uint8_t Hex = hexFromNibbles(Input[0], Input[1]);
include/llvm/Analysis/AliasAnalysis.h 78 enum AliasResult : uint8_t {
102 enum class ModRefInfo : uint8_t {
include/llvm/Analysis/MemoryBuiltins.h 184 enum class Mode : uint8_t {
include/llvm/BinaryFormat/COFF.h 83 uint8_t UUID[16];
192 uint8_t StorageClass;
193 uint8_t NumberOfAuxSymbols;
405 enum COMDATType : uint8_t {
425 uint8_t unused1[4];
427 uint8_t unused2[6];
429 uint8_t unused3[2];
435 uint8_t unused[10];
450 uint8_t Selection;
455 uint8_t AuxType;
456 uint8_t unused1;
542 uint8_t MajorLinkerVersion;
543 uint8_t MinorLinkerVersion;
include/llvm/BinaryFormat/Dwarf.h 70 enum DwarfFormat : uint8_t { DWARF32, DWARF64 };
126 enum TypeKind : uint8_t {
274 enum LineNumberOps : uint8_t {
380 inline bool isUnitType(uint8_t UnitType) {
538 uint8_t AddrSize;
544 uint8_t getRefAddrByteSize() const {
551 uint8_t getDwarfOffsetByteSize() const {
565 inline uint8_t getUnitLengthFieldByteSize(DwarfFormat Format) {
585 Optional<uint8_t> getFixedFormByteSize(dwarf::Form Form, FormParams Params);
616 explicit PubIndexEntryDescriptor(uint8_t Value)
621 uint8_t toBits() const {
include/llvm/BinaryFormat/MachO.h 301 enum NListType : uint8_t {
584 inline bool isVirtualSection(uint8_t type) {
781 uint8_t uuid[16];
979 uint8_t n_type;
980 uint8_t n_sect;
986 uint8_t n_type;
987 uint8_t n_sect;
994 uint8_t n_type;
995 uint8_t n_sect;
1394 inline void SET_LIBRARY_ORDINAL(uint16_t &n_desc, uint8_t ordinal) {
1398 inline uint8_t GET_COMM_ALIGN(uint16_t n_desc) {
1402 inline void SET_COMM_ALIGN(uint16_t &n_desc, uint8_t align) {
1601 uint8_t fpu_ftw;
1602 uint8_t fpu_rsrv1;
include/llvm/BinaryFormat/Minidump.h 154 uint8_t ProcessorFeatures[16];
166 uint8_t NumberOfProcessors;
167 uint8_t ProductType;
include/llvm/BinaryFormat/MsgPackReader.h 48 enum class Type : uint8_t {
include/llvm/BinaryFormat/Wasm.h 53 uint8_t Prefix;
59 uint8_t Kind;
64 uint8_t Flags;
70 uint8_t ElemType;
75 uint8_t Opcode;
86 uint8_t Type;
112 uint8_t Kind;
123 uint8_t Type;
130 ArrayRef<uint8_t> Body;
143 ArrayRef<uint8_t> Content;
165 uint8_t Type; // The type of the relocation.
178 uint8_t Kind;
283 enum : uint8_t {
include/llvm/BinaryFormat/XCOFF.h 28 enum StorageMappingClass : uint8_t {
76 enum StorageClass : uint8_t {
152 enum RelocationType : uint8_t {
236 enum CFileStringType : uint8_t {
243 enum CFileLangId : uint8_t {
248 enum CFileCpuId : uint8_t {
include/llvm/Bitcode/BitcodeReader.h 59 ArrayRef<uint8_t> Buffer;
71 BitcodeModule(ArrayRef<uint8_t> Buffer, StringRef ModuleIdentifier,
include/llvm/Bitstream/BitstreamReader.h 81 ArrayRef<uint8_t> BitcodeBytes;
103 explicit SimpleBitstreamCursor(ArrayRef<uint8_t> BitcodeBytes)
127 ArrayRef<uint8_t> getBitcodeBytes() const { return BitcodeBytes; }
151 const uint8_t *getPointerToByte(uint64_t ByteNo, uint64_t NumBytes) {
158 const uint8_t *getPointerToBit(uint64_t BitNo, uint64_t NumBytes) {
170 const uint8_t *NextCharPtr = BitcodeBytes.data() + NextChar;
363 explicit BitstreamCursor(ArrayRef<uint8_t> BitcodeBytes)
include/llvm/CodeGen/AsmPrinter.h 247 enum class SledKind : uint8_t {
266 uint8_t Version;
279 uint8_t Version = 0);
include/llvm/CodeGen/DIE.h 858 const uint8_t AddrSize; /// The size in bytes of an address for this unit.
863 DIEUnit(uint16_t Version, uint8_t AddrSize, dwarf::Tag UnitTag);
896 BasicDIEUnit(uint16_t Version, uint8_t AddrSize, dwarf::Tag UnitTag)
include/llvm/CodeGen/FaultMaps.h 83 using FaultMapVersionType = uint8_t;
84 using Reserved0Type = uint8_t;
97 const uint8_t *P;
98 const uint8_t *E;
100 template <typename T> static T read(const uint8_t *P, const uint8_t *E) {
100 template <typename T> static T read(const uint8_t *P, const uint8_t *E) {
117 const uint8_t *P;
118 const uint8_t *E;
124 explicit FunctionFaultInfoAccessor(const uint8_t *P, const uint8_t *E)
124 explicit FunctionFaultInfoAccessor(const uint8_t *P, const uint8_t *E)
154 const uint8_t *P = nullptr;
155 const uint8_t *E = nullptr;
160 explicit FunctionInfoAccessor(const uint8_t *P, const uint8_t *E)
160 explicit FunctionInfoAccessor(const uint8_t *P, const uint8_t *E)
173 const uint8_t *Begin = P + FunctionFaultInfosOffset +
182 const uint8_t *Begin = P + MySize;
188 explicit FaultMapParser(const uint8_t *Begin, const uint8_t *End)
188 explicit FaultMapParser(const uint8_t *Begin, const uint8_t *End)
202 const uint8_t *Begin = P + FunctionInfosOffset;
include/llvm/CodeGen/GlobalISel/LegalizerInfo.h 44 enum LegalizeAction : std::uint8_t {
include/llvm/CodeGen/MachineFrameInfo.h 160 uint8_t StackID;
182 uint8_t SSPLayout;
186 bool IsAliased, uint8_t StackID = 0)
700 uint8_t getStackID(int ObjectIdx) const {
705 void setStackID(int ObjectIdx, uint8_t ID) {
738 const AllocaInst *Alloca = nullptr, uint8_t ID = 0);
743 uint8_t ID = 0) {
include/llvm/CodeGen/MachineInstr.h 125 uint8_t AsmPrinterFlags = 0; // Various bits of information used by
286 uint8_t getAsmPrinterFlags() const { return AsmPrinterFlags; }
297 void setAsmPrinterFlag(uint8_t Flag) {
include/llvm/CodeGen/MachineMemOperand.h 45 uint8_t StackID;
50 uint8_t ID = 0)
56 uint8_t ID = 0)
68 uint8_t ID = 0)
111 uint8_t ID = 0);
include/llvm/CodeGen/MachineScheduler.h 789 enum CandReason : uint8_t {
include/llvm/CodeGen/RegisterClassInfo.h 35 uint8_t MinCost = 0;
include/llvm/CodeGen/TargetLowering.h 113 enum LegalizeAction : uint8_t {
123 enum LegalizeTypeAction : uint8_t {
726 virtual uint8_t getRepRegClassCostFor(MVT VT) const {
2026 virtual std::pair<const TargetRegisterClass *, uint8_t>
2759 uint8_t RepRegClassCostForVT[MVT::LAST_VALUETYPE];
2791 uint8_t IndexedModeActions[MVT::LAST_VALUETYPE][ISD::LAST_INDEXED_MODE];
include/llvm/CodeGen/TargetRegisterInfo.h 57 const uint8_t AllocationPriority;
include/llvm/DebugInfo/CodeView/AppendingTypeTableBuilder.h 35 SmallVector<ArrayRef<uint8_t>, 2> SeenRecords;
56 ArrayRef<ArrayRef<uint8_t>> records() const;
57 TypeIndex insertRecordBytes(ArrayRef<uint8_t> &Record);
61 ArrayRef<uint8_t> Data = SimpleSerializer.serialize(Record);
include/llvm/DebugInfo/CodeView/CVRecord.h 34 CVRecord(ArrayRef<uint8_t> Data) : RecordData(Data) {}
50 ArrayRef<uint8_t> data() const { return RecordData; }
57 ArrayRef<uint8_t> content() const {
61 ArrayRef<uint8_t> RecordData;
72 Error forEachCodeViewRecord(ArrayRef<uint8_t> StreamBuffer, Func F) {
84 ArrayRef<uint8_t> Data = StreamBuffer.take_front(RealLen);
108 ArrayRef<uint8_t> RawData;
include/llvm/DebugInfo/CodeView/CVTypeVisitor.h 38 Error visitMemberRecord(TypeLeafKind Kind, ArrayRef<uint8_t> Record,
41 Error visitMemberRecordStream(ArrayRef<uint8_t> FieldList,
include/llvm/DebugInfo/CodeView/CodeView.h 143 enum SourceLanguage : uint8_t {
173 enum class CallingConvention : uint8_t {
244 enum class FunctionOptions : uint8_t {
252 enum class HfaKind : uint8_t {
260 enum class MemberAccess : uint8_t {
268 enum class MethodKind : uint8_t {
331 enum class PointerKind : uint8_t {
348 enum class PointerMode : uint8_t {
383 enum class VFTableSlotKind : uint8_t {
393 enum class WindowsRTClassKind : uint8_t {
428 enum class ProcSymFlags : uint8_t {
506 enum class FrameCookieKind : uint8_t {
536 enum class EncodedFramePtrReg : uint8_t {
548 enum class ThunkOrdinal : uint8_t {
561 enum class FileChecksumKind : uint8_t { None, MD5, SHA1, SHA256 };
include/llvm/DebugInfo/CodeView/CodeViewRecordIO.h 199 Error mapByteVectorTail(ArrayRef<uint8_t> &Bytes, const Twine &Comment = "");
200 Error mapByteVectorTail(std::vector<uint8_t> &Bytes,
include/llvm/DebugInfo/CodeView/ContinuationRecordBuilder.h 40 ArrayRef<uint8_t> InjectedSegmentBytes;
include/llvm/DebugInfo/CodeView/DebugChecksumsSubsection.h 34 ArrayRef<uint8_t> Checksum; // The bytes of the checksum.
84 ArrayRef<uint8_t> Bytes);
include/llvm/DebugInfo/CodeView/EnumTables.h 25 ArrayRef<EnumEntry<uint8_t>> getProcSymFlagNames();
27 ArrayRef<EnumEntry<uint8_t>> getFrameCookieKindNames();
36 ArrayRef<EnumEntry<uint8_t>> getThunkOrdinalNames();
41 ArrayRef<EnumEntry<uint8_t>> getMemberAccessNames();
44 ArrayRef<EnumEntry<uint8_t>> getPtrKindNames();
45 ArrayRef<EnumEntry<uint8_t>> getPtrModeNames();
48 ArrayRef<EnumEntry<uint8_t>> getCallingConventions();
49 ArrayRef<EnumEntry<uint8_t>> getFunctionOptionEnum();
include/llvm/DebugInfo/CodeView/Formatters.h 27 class GuidAdapter final : public FormatAdapter<ArrayRef<uint8_t>> {
28 ArrayRef<uint8_t> Guid;
31 explicit GuidAdapter(ArrayRef<uint8_t> Guid);
43 inline detail::GuidAdapter fmt_guid(ArrayRef<uint8_t> Item) {
include/llvm/DebugInfo/CodeView/GUID.h 22 uint8_t Guid[16];
include/llvm/DebugInfo/CodeView/GlobalTypeTableBuilder.h 44 SmallVector<ArrayRef<uint8_t>, 2> SeenRecords;
68 ArrayRef<ArrayRef<uint8_t>> records() const;
78 uint8_t *Stable = RecordStorage.Allocate<uint8_t>(RecordSize);
78 uint8_t *Stable = RecordStorage.Allocate<uint8_t>(RecordSize);
79 MutableArrayRef<uint8_t> Data(Stable, RecordSize);
80 ArrayRef<uint8_t> StableRecord = Create(Data);
103 TypeIndex insertRecordBytes(ArrayRef<uint8_t> Data);
107 ArrayRef<uint8_t> Data = SimpleSerializer.serialize(Record);
include/llvm/DebugInfo/CodeView/LazyRandomTypeCollection.h 62 LazyRandomTypeCollection(ArrayRef<uint8_t> Data, uint32_t RecordCountHint);
67 void reset(ArrayRef<uint8_t> Data, uint32_t RecordCountHint);
include/llvm/DebugInfo/CodeView/MergingTypeTableBuilder.h 44 SmallVector<ArrayRef<uint8_t>, 2> SeenRecords;
65 ArrayRef<ArrayRef<uint8_t>> records() const;
67 TypeIndex insertRecordAs(hash_code Hash, ArrayRef<uint8_t> &Record);
68 TypeIndex insertRecordBytes(ArrayRef<uint8_t> &Record);
72 ArrayRef<uint8_t> Data = SimpleSerializer.serialize(Record);
include/llvm/DebugInfo/CodeView/RecordSerialization.h 43 StringRef getBytesAsCharacters(ArrayRef<uint8_t> LeafData);
44 StringRef getBytesAsCString(ArrayRef<uint8_t> LeafData);
include/llvm/DebugInfo/CodeView/SimpleTypeSerializer.h 34 std::vector<uint8_t> ScratchBuffer;
43 template <typename T> ArrayRef<uint8_t> serialize(T &Record);
46 ArrayRef<uint8_t> serialize(const FieldListRecord &Record) = delete;
include/llvm/DebugInfo/CodeView/SymbolDeserializer.h 26 MappingInfo(ArrayRef<uint8_t> RecordData, CodeViewContainer Container)
include/llvm/DebugInfo/CodeView/SymbolDumpDelegate.h 28 ArrayRef<uint8_t> Block) = 0;
include/llvm/DebugInfo/CodeView/SymbolRecord.h 84 ArrayRef<uint8_t> VariantData;
114 uint8_t Alignment = 0;
161 ArrayRef<uint8_t> Bytes;
173 BinaryAnnotationIterator(ArrayRef<uint8_t> Annotations) : Data(Annotations) {}
203 static uint32_t GetCompressedAnnotation(ArrayRef<uint8_t> &Annotations) {
207 uint8_t FirstByte = Annotations.front();
216 uint8_t SecondByte = Annotations.front();
225 uint8_t ThirdByte = Annotations.front();
231 uint8_t FourthByte = Annotations.front();
247 static int32_t DecodeSignedOperand(ArrayRef<uint8_t> &Annotations) {
328 ArrayRef<uint8_t> Data;
329 ArrayRef<uint8_t> Next;
348 std::vector<uint8_t> AnnotationData;
714 uint8_t getLanguage() const { return static_cast<uint32_t>(Flags) & 0xFF; }
851 uint8_t Flags = 0;
include/llvm/DebugInfo/CodeView/SymbolSerializer.h 33 std::array<uint8_t, MaxRecordLength> RecordBuffer;
include/llvm/DebugInfo/CodeView/TypeDeserializer.h 30 explicit MappingInfo(ArrayRef<uint8_t> RecordData)
55 static Expected<T> deserializeAs(ArrayRef<uint8_t> Data) {
include/llvm/DebugInfo/CodeView/TypeHashing.h 34 ArrayRef<uint8_t> RecordData;
37 static LocallyHashedType hashType(ArrayRef<uint8_t> RecordData);
81 GloballyHashedType(ArrayRef<uint8_t> H) {
85 std::array<uint8_t, 8> Hash;
93 static GloballyHashedType hashType(ArrayRef<uint8_t> RecordData,
225 for (uint8_t B : V.Hash) {
include/llvm/DebugInfo/CodeView/TypeIndexDiscovery.h 26 void discoverTypeIndices(ArrayRef<uint8_t> RecordData,
32 void discoverTypeIndices(ArrayRef<uint8_t> RecordData,
39 bool discoverTypeIndicesInSymbol(ArrayRef<uint8_t> RecordData,
41 bool discoverTypeIndicesInSymbol(ArrayRef<uint8_t> RecordData,
include/llvm/DebugInfo/CodeView/TypeRecord.h 40 ArrayRef<uint8_t> Data;
294 PointerOptions PO, uint8_t Size)
299 PointerOptions PO, uint8_t Size, const MemberPointerInfo &MPI)
319 uint8_t getSize() const {
358 uint8_t Size) {
364 uint8_t Size) {
394 explicit FieldListRecord(ArrayRef<uint8_t> Data)
397 ArrayRef<uint8_t> Data;
544 BitFieldRecord(TypeIndex Type, uint8_t BitSize, uint8_t BitOffset)
544 BitFieldRecord(TypeIndex Type, uint8_t BitSize, uint8_t BitOffset)
549 uint8_t getBitOffset() const { return BitOffset; }
550 uint8_t getBitSize() const { return BitSize; }
553 uint8_t BitSize;
554 uint8_t BitOffset;
include/llvm/DebugInfo/CodeView/TypeTableCollection.h 22 explicit TypeTableCollection(ArrayRef<ArrayRef<uint8_t>> Records);
37 ArrayRef<ArrayRef<uint8_t>> Records;
include/llvm/DebugInfo/DIContext.h 176 uint8_t AddrSize = 4; // Address byte size to assume when extracting.
include/llvm/DebugInfo/DWARF/DWARFAbbreviationDeclaration.h 34 AttributeSpec(dwarf::Attribute A, dwarf::Form F, Optional<uint8_t> ByteSize)
61 uint8_t ByteSize;
89 uint8_t getCodeByteSize() const { return CodeByteSize; }
154 uint8_t NumAddrs = 0;
156 uint8_t NumRefAddrs = 0;
158 uint8_t NumDwarfOffsets = 0;
173 uint8_t CodeByteSize;
include/llvm/DebugInfo/DWARF/DWARFContext.h 356 uint8_t AddrSize, bool isLittleEndian = sys::IsLittleEndianHost);
365 uint8_t getCUAddrSize();
include/llvm/DebugInfo/DWARF/DWARFDataExtractor.h 28 bool IsLittleEndian, uint8_t AddressSize)
33 DWARFDataExtractor(StringRef Data, bool IsLittleEndian, uint8_t AddressSize)
56 Optional<uint64_t> getEncodedPointer(uint64_t *Offset, uint8_t Encoding,
include/llvm/DebugInfo/DWARF/DWARFDebugAddr.h 40 uint8_t AddrSize;
43 uint8_t SegSize = 0;
58 uint16_t Version, uint8_t AddrSize,
62 uint8_t getAddrSize() const { return HeaderData.AddrSize; }
70 uint8_t getHeaderSize() const {
include/llvm/DebugInfo/DWARF/DWARFDebugArangeSet.h 34 uint8_t AddrSize;
37 uint8_t SegSize;
include/llvm/DebugInfo/DWARF/DWARFDebugFrame.h 42 Instruction(uint8_t Opcode) : Opcode(Opcode) {}
44 uint8_t Opcode;
84 void addInstruction(uint8_t Opcode) {
89 void addInstruction(uint8_t Opcode, uint64_t Operand1) {
95 void addInstruction(uint8_t Opcode, uint64_t Operand1, uint64_t Operand2) {
169 CIE(uint64_t Offset, uint64_t Length, uint8_t Version,
193 uint8_t getVersion() const { return Version; }
207 const uint8_t Version;
209 const uint8_t AddressSize;
210 const uint8_t SegmentDescriptorSize;
include/llvm/DebugInfo/DWARF/DWARFDebugLine.h 77 uint8_t SegSelectorSize;
81 uint8_t MinInstLength;
84 uint8_t MaxOpsPerInst;
86 uint8_t DefaultIsStmt;
90 uint8_t LineRange;
92 uint8_t OpcodeBase;
95 std::vector<uint8_t> StandardOpcodeLengths;
101 uint8_t getAddressSize() const { return FormParams.AddrSize; }
182 uint8_t Isa;
185 uint8_t IsStmt : 1,
include/llvm/DebugInfo/DWARF/DWARFDebugLoc.h 33 SmallVector<uint8_t, 4> Loc;
80 uint8_t Kind;
84 SmallVector<uint8_t, 4> Loc;
include/llvm/DebugInfo/DWARF/DWARFDebugRangeList.h 52 bool isBaseAddressSelectionEntry(uint8_t AddressSize) const {
63 uint8_t AddressSize;
include/llvm/DebugInfo/DWARF/DWARFDebugRnglists.h 38 void dump(raw_ostream &OS, uint8_t AddrSize, uint8_t MaxEncodingStringLength,
38 void dump(raw_ostream &OS, uint8_t AddrSize, uint8_t MaxEncodingStringLength,
include/llvm/DebugInfo/DWARF/DWARFExpression.h 35 enum Encoding : uint8_t {
54 enum DwarfVersion : uint8_t {
77 uint8_t Opcode; ///< The Op Opcode, DW_OP_<something>.
86 uint8_t getCode() { return Opcode; }
90 bool extract(DataExtractor Data, uint16_t Version, uint8_t AddressSize,
130 DWARFExpression(DataExtractor Data, uint16_t Version, uint8_t AddressSize)
146 uint8_t AddressSize;
include/llvm/DebugInfo/DWARF/DWARFFormValue.h 53 const uint8_t *data = nullptr;
71 ArrayRef<uint8_t> D);
118 Optional<ArrayRef<uint8_t>> getAsBlock() const;
311 inline Optional<ArrayRef<uint8_t>> toBlock(const Optional<DWARFFormValue> &V) {
include/llvm/DebugInfo/DWARF/DWARFListTable.h 31 uint8_t EntryKind;
66 uint8_t AddrSize;
69 uint8_t SegSize;
99 uint8_t getAddrSize() const { return HeaderData.AddrSize; }
108 static uint8_t getHeaderSize(dwarf::DwarfFormat Format) {
169 uint8_t getAddrSize() const { return Header.getAddrSize(); }
184 uint8_t getHeaderSize() const {
include/llvm/DebugInfo/DWARF/DWARFObject.h 34 virtual uint8_t getAddressSize() const { llvm_unreachable("unimplemented"); }
include/llvm/DebugInfo/DWARF/DWARFUnit.h 65 uint8_t UnitType = 0;
68 uint8_t Size = 0;
80 uint8_t getAddressByteSize() const { return FormParams.AddrSize; }
81 uint8_t getRefAddrByteSize() const { return FormParams.getRefAddrByteSize(); }
82 uint8_t getDwarfOffsetByteSize() const {
95 uint8_t getUnitType() const { return UnitType; }
99 uint8_t getSize() const { return Size; }
100 uint8_t getUnitLengthFieldByteSize() const {
177 uint8_t Version, dwarf::DwarfFormat Format)
181 uint8_t getVersion() const { return FormParams.Version; }
183 uint8_t getDwarfOffsetByteSize() const {
284 uint8_t getAddressByteSize() const { return Header.getAddressByteSize(); }
285 uint8_t getRefAddrByteSize() const { return Header.getRefAddrByteSize(); }
286 uint8_t getDwarfOffsetByteSize() const {
290 uint8_t getUnitType() const { return Header.getUnitType(); }
335 uint8_t getDwarfStringOffsetsByteSize() const {
347 static bool isMatchingUnitTypeAndTag(uint8_t UnitType, dwarf::Tag Tag) {
369 static uint32_t getDWARF5HeaderSize(uint8_t UnitType) {
include/llvm/DebugInfo/DWARF/DWARFVerifier.h 141 uint64_t *Offset, unsigned UnitIndex, uint8_t &UnitType,
include/llvm/DebugInfo/GSYM/FileWriter.h 40 void writeU8(uint8_t Value);
79 void writeData(llvm::ArrayRef<uint8_t> Data);
include/llvm/DebugInfo/GSYM/GsymCreator.h 140 std::vector<uint8_t> UUID;
206 void setUUID(llvm::ArrayRef<uint8_t> UUIDBytes) {
include/llvm/DebugInfo/GSYM/GsymReader.h 56 ArrayRef<uint8_t> AddrOffsets;
66 std::vector<uint8_t> AddrOffsets;
include/llvm/DebugInfo/GSYM/Header.h 56 uint8_t AddrOffSize;
58 uint8_t UUIDSize;
86 uint8_t UUID[GSYM_MAX_UUID_SIZE];
include/llvm/DebugInfo/MSF/IMSFFile.h 32 virtual Expected<ArrayRef<uint8_t>> getBlockData(uint32_t BlockIndex,
35 ArrayRef<uint8_t> Data) const = 0;
include/llvm/DebugInfo/MSF/MappedBlockStream.h 64 ArrayRef<uint8_t> &Buffer) override;
66 ArrayRef<uint8_t> &Buffer) override;
84 void fixCacheAfterWrite(uint32_t Offset, ArrayRef<uint8_t> Data) const;
86 Error readBytes(uint32_t Offset, MutableArrayRef<uint8_t> Buffer);
88 ArrayRef<uint8_t> &Buffer);
94 using CacheEntry = MutableArrayRef<uint8_t>;
131 ArrayRef<uint8_t> &Buffer) override;
133 ArrayRef<uint8_t> &Buffer) override;
136 Error writeBytes(uint32_t Offset, ArrayRef<uint8_t> Buffer) override;
include/llvm/DebugInfo/PDB/IPDBDataStream.h 25 using RecordType = SmallVector<uint8_t, 32>;
include/llvm/DebugInfo/PDB/IPDBRawSymbol.h 89 virtual void getDataBytes(llvm::SmallVector<uint8_t, 32> &bytes) const = 0;
include/llvm/DebugInfo/PDB/Native/DbiModuleDescriptorBuilder.h 53 void addSymbolsInBulk(ArrayRef<uint8_t> BulkSymbols);
94 std::vector<ArrayRef<uint8_t>> Symbols;
include/llvm/DebugInfo/PDB/Native/DbiStreamBuilder.h 54 void setBuildNumber(uint8_t Major, uint8_t Minor);
54 void setBuildNumber(uint8_t Major, uint8_t Minor);
63 Error addDbgStream(pdb::DbgHeaderType Type, ArrayRef<uint8_t> Data);
include/llvm/DebugInfo/PDB/Native/GSIStreamBuilder.h 29 static ArrayRef<uint8_t> bytes(const codeview::CVSymbol &Item) {
include/llvm/DebugInfo/PDB/Native/Hash.h 21 uint32_t hashBufferV8(ArrayRef<uint8_t> Data);
include/llvm/DebugInfo/PDB/Native/NativeRawSymbol.h 64 void getDataBytes(SmallVector<uint8_t, 32> &Bytes) const override;
include/llvm/DebugInfo/PDB/Native/PDBFile.h 70 Expected<ArrayRef<uint8_t>> getBlockData(uint32_t BlockIndex,
73 ArrayRef<uint8_t> Data) const override;
include/llvm/DebugInfo/PDB/Native/RawTypes.h 326 uint8_t Padding[44]; // Pad to 64 bytes.
339 uint8_t Compression; // PDB_SourceCompression enumeration.
340 uint8_t IsVirtual; // Is this a virtual file (injected)?
include/llvm/DebugInfo/PDB/Native/TpiHashing.h 61 uint8_t State = 0;
include/llvm/DebugInfo/PDB/Native/TpiStreamBuilder.h 30 static ArrayRef<uint8_t> bytes(const codeview::CVType &Item) {
56 void addTypeRecord(ArrayRef<uint8_t> Type, Optional<uint32_t> Hash);
77 std::vector<ArrayRef<uint8_t>> TypeRecords;
include/llvm/DebugInfo/PDB/PDBSymbolCustom.h 29 void getDataBytes(llvm::SmallVector<uint8_t, 32> &bytes);
include/llvm/DebugInfo/PDB/PDBTypes.h 428 explicit Variant(uint8_t V) : Type(PDB_VariantType::UInt8) {
459 uint8_t UInt8;
include/llvm/Demangle/MicrosoftDemangle.h 30 uint8_t *Buf = nullptr;
38 NewHead->Buf = new uint8_t[Capacity];
61 uint8_t *P = Head->Buf + Head->Used;
79 uint8_t *PP = (uint8_t *)AlignedP;
98 uint8_t *PP = (uint8_t *)AlignedP;
129 enum NameBackrefBehavior : uint8_t {
252 uint8_t demangleCharLiteral(StringView &MangledName);
include/llvm/Demangle/MicrosoftDemangleNodes.h 35 enum Qualifiers : uint8_t {
46 enum class StorageClass : uint8_t {
59 enum class CallingConv : uint8_t {
72 enum class ReferenceKind : uint8_t { None, LValueRef, RValueRef };
115 enum class IntrinsicFunctionKind : uint8_t {
include/llvm/ExecutionEngine/JITLink/JITLink.h 59 using Kind = uint8_t;
250 enum class Linkage : uint8_t {
262 enum class Scope : uint8_t { Default, Hidden, Local };
include/llvm/ExecutionEngine/JITSymbol.h 58 using UnderlyingType = uint8_t;
59 using TargetFlagsType = uint8_t;
include/llvm/ExecutionEngine/Orc/Core.h 38 enum class SymbolState : uint8_t;
429 enum class SymbolState : uint8_t {
701 uint8_t State : 6;
702 uint8_t MaterializerAttached : 1;
703 uint8_t PendingRemoval : 1;
include/llvm/ExecutionEngine/Orc/IndirectionUtils.h 158 uint8_t *TrampolineMem = static_cast<uint8_t *>(TrampolineBlock.base());
include/llvm/ExecutionEngine/Orc/OrcABISupport.h 45 static void writeResolverCode(uint8_t *ResolveMem, JITReentryFn Reentry,
51 static void writeTrampolines(uint8_t *TrampolineMem, void *ResolverAddr,
128 static void writeResolverCode(uint8_t *ResolveMem, JITReentryFn Reentry,
134 static void writeTrampolines(uint8_t *TrampolineMem, void *ResolverAddr,
160 static void writeTrampolines(uint8_t *TrampolineMem, void *ResolverAddr,
185 static void writeResolverCode(uint8_t *ResolveMem, JITReentryFn Reentry,
201 static void writeResolverCode(uint8_t *ResolveMem, JITReentryFn Reentry,
221 static void writeResolverCode(uint8_t *ResolveMem, JITReentryFn Reentry,
227 static void writeTrampolines(uint8_t *TrampolineMem, void *ResolverAddr,
255 static void writeTrampolines(uint8_t *TrampolineMem, void *ResolverAddr,unsigned NumTrampolines);
259 static void writeResolverCode(uint8_t *ResolveMem, JITReentryFn Reentry,void *CallbackMgr, bool isBigEndian);
272 static void writeResolverCode(uint8_t *ResolveMem, JITReentryFn Reentry,void *CallbackMgr)
278 static void writeResolverCode(uint8_t *ResolveMem, JITReentryFn Reentry,void *CallbackMgr)
296 static void writeResolverCode(uint8_t *ResolveMem, JITReentryFn Reentry,void *CallbackMgr);
301 static void writeTrampolines(uint8_t *TrampolineMem, void *ResolverAddr,unsigned NumTrampolines);
include/llvm/ExecutionEngine/Orc/OrcRemoteTargetClient.h 74 uint8_t *allocateCodeSection(uintptr_t Size, unsigned Alignment,
78 uint8_t *Alloc = reinterpret_cast<uint8_t *>(
86 uint8_t *allocateDataSection(uintptr_t Size, unsigned Alignment,
91 uint8_t *Alloc = reinterpret_cast<uint8_t *>(
100 uint8_t *Alloc = reinterpret_cast<uint8_t *>(
152 void registerEHFrames(uint8_t *Addr, uint64_t LoadAddr,
642 Expected<std::vector<uint8_t>> readMem(char *Dst, JITTargetAddress Src,
include/llvm/ExecutionEngine/Orc/OrcRemoteTargetRPCAPI.h 239 : public rpc::Function<ReadMem, std::vector<uint8_t>(JITTargetAddress Src,
include/llvm/ExecutionEngine/Orc/OrcRemoteTargetServer.h 54 std::function<void(uint8_t *Addr, uint32_t Size)>;
227 uint8_t *Addr = reinterpret_cast<uint8_t *>(static_cast<uintptr_t>(TAddr));
311 uint8_t *TrampolineMem = static_cast<uint8_t *>(TrampolineBlock.base());
352 Expected<std::vector<uint8_t>> handleReadMem(JITTargetAddress RSrc,
354 uint8_t *Src = reinterpret_cast<uint8_t *>(static_cast<uintptr_t>(RSrc));
359 std::vector<uint8_t> Buffer;
361 for (uint8_t *P = Src; Size != 0; --Size)
368 uint8_t *Addr = reinterpret_cast<uint8_t *>(static_cast<uintptr_t>(TAddr));
include/llvm/ExecutionEngine/Orc/RawByteChannel.h 117 uint8_t Tmp = V ? 1 : 0;
125 uint8_t Tmp = 0;
include/llvm/ExecutionEngine/RTDyldMemoryManager.h 69 static void registerEHFramesInProcess(uint8_t *Addr, size_t Size);
72 static void deregisterEHFramesInProcess(uint8_t *Addr, size_t Size);
74 void registerEHFrames(uint8_t *Addr, uint64_t LoadAddr, size_t Size) override;
142 uint8_t *Addr;
include/llvm/ExecutionEngine/RuntimeDyld.h 104 virtual uint8_t *allocateCodeSection(uintptr_t Size, unsigned Alignment,
111 virtual uint8_t *allocateDataSection(uintptr_t Size, unsigned Alignment,
139 virtual void registerEHFrames(uint8_t *Addr, uint64_t LoadAddr,
include/llvm/ExecutionEngine/SectionMemoryManager.h 118 uint8_t *allocateCodeSection(uintptr_t Size, unsigned Alignment,
127 uint8_t *allocateDataSection(uintptr_t Size, unsigned Alignment,
178 uint8_t *allocateSection(AllocationPurpose Purpose, uintptr_t Size,
include/llvm/FuzzMutate/FuzzerCLI.h 43 using FuzzerTestFun = int (*)(const uint8_t *Data, size_t Size);
58 std::unique_ptr<Module> parseModule(const uint8_t *Data, size_t Size,
68 size_t writeModule(const Module &M, uint8_t *Dest, size_t MaxSize);
73 std::unique_ptr<Module> parseAndVerify(const uint8_t *Data, size_t Size,
include/llvm/IR/Constants.h 128 uint8_t radix);
773 static Constant *get(LLVMContext &Context, ArrayRef<uint8_t> Elts);
include/llvm/IR/DebugInfoMetadata.h 1067 uint8_t CC;
1070 uint8_t CC, ArrayRef<Metadata *> Ops)
1077 uint8_t CC, DITypeRefArray TypeArray,
1083 uint8_t CC, Metadata *TypeArray,
1101 uint8_t getCC() const { return CC; }
2485 enum PrependOps : uint8_t {
2495 static DIExpression *prepend(const DIExpression *Expr, uint8_t Flags,
include/llvm/IR/IRBuilder.h 348 ConstantInt *getInt8(uint8_t C) {
include/llvm/IR/InstrTypes.h 2038 uint8_t *BytesBegin = getDescriptor().begin();
2055 uint8_t *BytesEnd = getDescriptor().end();
include/llvm/IR/IntrinsicInst.h 214 enum RoundingMode : uint8_t {
225 enum ExceptionBehavior : uint8_t {
include/llvm/IR/LLVMContext.h 43 typedef uint8_t ID;
include/llvm/IR/ModuleSummaryIndex.h 54 enum class HotnessType : uint8_t {
821 uint8_t BitMask = 0;
include/llvm/IR/User.h 194 ArrayRef<const uint8_t> getDescriptor() const;
197 MutableArrayRef<uint8_t> getDescriptor();
include/llvm/MC/MCCodeView.h 144 ArrayRef<uint8_t> ChecksumBytes, uint8_t ChecksumKind);
144 ArrayRef<uint8_t> ChecksumBytes, uint8_t ChecksumKind);
236 uint8_t ChecksumKind;
238 ArrayRef<uint8_t> Checksum;
include/llvm/MC/MCDisassembler/MCDisassembler.h 79 ArrayRef<uint8_t> Bytes, uint64_t Address,
96 ArrayRef<uint8_t> Bytes, uint64_t Address,
include/llvm/MC/MCDwarf.h 75 uint8_t Flags;
76 uint8_t Isa;
205 uint8_t DWARF2LineOpcodeBase = 13;
210 uint8_t DWARF2LineRange = 14;
include/llvm/MC/MCELFObjectWriter.h 55 const uint8_t OSABI;
56 const uint8_t ABIVersion;
62 MCELFObjectTargetWriter(bool Is64Bit_, uint8_t OSABI_, uint16_t EMachine_,
63 bool HasRelocationAddend_, uint8_t ABIVersion_ = 0);
73 static uint8_t getOSABI(Triple::OSType OSType) {
100 uint8_t getOSABI() const { return OSABI; }
101 uint8_t getABIVersion() const { return ABIVersion; }
119 uint8_t getRType(uint32_t Type) const {
122 uint8_t getRType2(uint32_t Type) const {
125 uint8_t getRType3(uint32_t Type) const {
128 uint8_t getRSsym(uint32_t Type) const {
include/llvm/MC/MCFragment.h 34 enum FragmentType : uint8_t {
131 uint8_t BundlePadding = 0;
166 uint8_t getBundlePadding() const { return BundlePadding; }
170 void setBundlePadding(uint8_t N) { BundlePadding = N; }
432 uint8_t ValueSize;
440 MCFillFragment(uint64_t Value, uint8_t VSize, const MCExpr &NumValues,
446 uint8_t getValueSize() const { return ValueSize; }
476 uint8_t getValue() const { return Value; }
include/llvm/MC/MCInstPrinter.h 26 void dumpBytes(ArrayRef<uint8_t> Bytes, raw_ostream &OS);
include/llvm/MC/MCInstrAnalysis.h 163 findPltEntries(uint64_t PltSectionVA, ArrayRef<uint8_t> PltContents,
include/llvm/MC/MCInstrDesc.h 79 uint8_t Flags;
82 uint8_t OperandType;
include/llvm/MC/MCMachObjectWriter.h 86 uint8_t SectionIndex;
include/llvm/MC/MCRegisterInfo.h 35 const uint8_t *const RegSet;
include/llvm/MC/MCStreamer.h 148 const SmallVectorImpl<uint8_t> &Opcodes);
714 void emitFill(uint64_t NumBytes, uint8_t FillValue);
843 ArrayRef<uint8_t> Checksum,
include/llvm/MC/MCSymbol.h 56 enum Contents : uint8_t {
include/llvm/MC/StringTableBuilder.h 66 void write(uint8_t *Buf) const;
include/llvm/Object/COFF.h 93 uint8_t UUID[16];
106 uint8_t MajorLinkerVersion;
107 uint8_t MinorLinkerVersion;
142 uint8_t MajorLinkerVersion;
143 uint8_t MinorLinkerVersion;
261 uint8_t StorageClass;
262 uint8_t NumberOfAuxSymbols;
338 uint8_t getStorageClass() const {
343 uint8_t getNumberOfAuxSymbols() const {
348 uint8_t getBaseType() const { return getType() & 0x0F; }
350 uint8_t getComplexType() const {
517 uint8_t Selection;
518 uint8_t Unused;
532 uint8_t AuxType;
533 uint8_t Reserved;
907 Expected<ArrayRef<uint8_t>>
940 uint8_t getBytesInAddress() const override;
1027 ArrayRef<uint8_t> getSymbolAuxData(COFFSymbolRef Symbol) const;
1044 ArrayRef<uint8_t> &Res) const;
1054 ArrayRef<uint8_t> &Contents) const;
1197 std::error_code getType(uint8_t &Type) const;
include/llvm/Object/CVDebugRecord.h 32 uint8_t Signature[16];
include/llvm/Object/ELF.h 109 const uint8_t *base() const { return Buf.bytes_begin(); }
168 Expected<const uint8_t *> toMappedAddr(uint64_t VAddr) const;
301 Expected<ArrayRef<uint8_t>> getSectionContents(const Elf_Shdr *Sec) const;
421 Expected<ArrayRef<uint8_t>>
423 return getSectionContentsAsArray<uint8_t>(Sec);
444 uint8_t Type1 = (Type >> 0) & 0xFF;
445 uint8_t Type2 = (Type >> 8) & 0xFF;
446 uint8_t Type3 = (Type >> 16) & 0xFF;
include/llvm/Object/ELFObjectFile.h 58 virtual uint8_t getSymbolBinding(DataRefImpl Symb) const = 0;
59 virtual uint8_t getSymbolOther(DataRefImpl Symb) const = 0;
60 virtual uint8_t getSymbolELFType(DataRefImpl Symb) const = 0;
150 uint8_t getBinding() const {
154 uint8_t getOther() const {
158 uint8_t getELFType() const {
163 uint8_t Type = getELFType();
265 uint8_t getSymbolBinding(DataRefImpl Symb) const override;
266 uint8_t getSymbolOther(DataRefImpl Symb) const override;
267 uint8_t getSymbolELFType(DataRefImpl Symb) const override;
278 Expected<ArrayRef<uint8_t>>
424 uint8_t getBytesInAddress() const override;
571 uint8_t ELFObjectFile<ELFT>::getSymbolBinding(DataRefImpl Symb) const {
576 uint8_t ELFObjectFile<ELFT>::getSymbolOther(DataRefImpl Symb) const {
581 uint8_t ELFObjectFile<ELFT>::getSymbolELFType(DataRefImpl Symb) const {
723 Expected<ArrayRef<uint8_t>>
1049 uint8_t ELFObjectFile<ELFT>::getBytesInAddress() const {
include/llvm/Object/ELFTypes.h 611 ArrayRef<uint8_t> getDesc() const {
614 return ArrayRef<uint8_t>(
646 void advanceNhdr(const uint8_t *NhdrPos, size_t NoteSize) {
666 Elf_Note_Iterator_Impl(const uint8_t *Start, size_t Size, Error &Err)
676 const uint8_t *NhdrPos = reinterpret_cast<const uint8_t *>(Nhdr);
728 uint8_t kind; // Determines interpretation of variable part of descriptor
729 uint8_t size; // Byte size of descriptor, including this header
748 uint8_t isa_level; // ISA level: 1-5, 32, and 64
749 uint8_t isa_rev; // ISA revision (0 for MIPS I - MIPS V)
750 uint8_t gpr_size; // General purpose registers size
751 uint8_t cpr1_size; // Co-processor 1 registers size
752 uint8_t cpr2_size; // Co-processor 2 registers size
753 uint8_t fp_abi; // Floating-point ABI flag
include/llvm/Object/MachO.h 74 ExportEntry(Error *Err, const MachOObjectFile *O, ArrayRef<uint8_t> Trie);
92 uint64_t readULEB128(const uint8_t *&p, const char **error);
98 NodeState(const uint8_t *Ptr);
100 const uint8_t *Start;
101 const uint8_t *Current;
116 ArrayRef<uint8_t> Trie;
137 uint8_t PointerSize, uint32_t Count=1,
170 ArrayRef<uint8_t> opcodes, bool is64Bit);
192 ArrayRef<uint8_t> Opcodes;
193 const uint8_t *Ptr;
198 uint8_t RebaseType = 0;
199 uint8_t PointerSize;
216 ArrayRef<uint8_t> Opcodes, bool is64Bit, MachOBindEntry::Kind);
244 ArrayRef<uint8_t> Opcodes;
245 const uint8_t *Ptr;
255 uint8_t BindType = 0;
256 uint8_t PointerSize;
300 ArrayRef<uint8_t> getSectionContents(uint32_t Offset, uint64_t Size) const;
301 Expected<ArrayRef<uint8_t>>
341 uint8_t getRelocationLength(DataRefImpl Rel) const;
362 uint8_t getBytesInAddress() const override;
384 ArrayRef<uint8_t> Trie,
394 ArrayRef<uint8_t> Opcodes,
409 ArrayRef<uint8_t> Opcodes,
420 uint8_t PointerSize, uint32_t Count=1,
434 uint8_t PointerSize,
556 ArrayRef<uint8_t> getDyldInfoRebaseOpcodes() const;
557 ArrayRef<uint8_t> getDyldInfoBindOpcodes() const;
558 ArrayRef<uint8_t> getDyldInfoWeakBindOpcodes() const;
559 ArrayRef<uint8_t> getDyldInfoLazyBindOpcodes() const;
560 ArrayRef<uint8_t> getDyldInfoExportsTrie() const;
561 ArrayRef<uint8_t> getUuid() const;
include/llvm/Object/Minidump.h 39 ArrayRef<uint8_t> getRawStream(const minidump::Directory &Stream) const {
45 Optional<ArrayRef<uint8_t>> getRawStream(minidump::StreamType Type) const;
49 Expected<ArrayRef<uint8_t>>
110 MemoryInfoIterator(ArrayRef<uint8_t> Storage, size_t Stride)
130 ArrayRef<uint8_t> Storage;
154 static Expected<ArrayRef<uint8_t>> getDataSlice(ArrayRef<uint8_t> Data,
154 static Expected<ArrayRef<uint8_t>> getDataSlice(ArrayRef<uint8_t> Data,
161 static Expected<ArrayRef<T>> getDataSliceAs(ArrayRef<uint8_t> Data,
170 ArrayRef<uint8_t> getData() const {
191 if (Optional<ArrayRef<uint8_t>> Stream = getRawStream(Type)) {
200 Expected<ArrayRef<T>> MinidumpFile::getDataSliceAs(ArrayRef<uint8_t> Data,
206 Expected<ArrayRef<uint8_t>> Slice =
include/llvm/Object/ObjectFile.h 227 const uint8_t *base() const {
260 virtual Expected<ArrayRef<uint8_t>>
316 virtual uint8_t getBytesInAddress() const = 0;
449 Expected<ArrayRef<uint8_t>> Res =
include/llvm/Object/StackMapParser.h 72 FunctionAccessor(const uint8_t *P) : P(P) {}
80 const uint8_t *P;
92 ConstantAccessor(const uint8_t *P) : P(P) {}
100 const uint8_t *P;
103 enum class LocationKind : uint8_t {
151 LocationAccessor(const uint8_t *P) : P(P) {}
163 const uint8_t *P;
179 return read<uint8_t>(P + SizeOffset);
183 LiveOutAccessor(const uint8_t *P) : P(P) {}
191 DwarfRegNumOffset + sizeof(uint16_t) + sizeof(uint8_t);
194 const uint8_t *P;
271 RecordAccessor(const uint8_t *P) : P(P) {}
299 const uint8_t *P;
304 StackMapParser(ArrayRef<uint8_t> StackMapSection)
419 static T read(const uint8_t *P) {
440 ArrayRef<uint8_t> StackMapSection;
include/llvm/Object/Wasm.h 109 ArrayRef<uint8_t> Content; // Section content
178 Expected<ArrayRef<uint8_t>>
200 uint8_t getBytesInAddress() const override;
208 const uint8_t *Start;
209 const uint8_t *Ptr;
210 const uint8_t *End;
include/llvm/Object/WindowsResource.h 113 ArrayRef<uint8_t> getData() const { return Data; }
133 ArrayRef<uint8_t> Data;
163 const ArrayRef<std::vector<uint8_t>> getData() const { return Data; }
204 std::vector<std::vector<uint8_t>> &Data,
212 std::vector<std::vector<uint8_t>> &Data,
254 std::vector<std::vector<uint8_t>> Data;
include/llvm/Object/XCOFFObjectFile.h 89 uint8_t LanguageId;
90 uint8_t CpuTypeId;
107 uint8_t NumberOfAuxEntries;
124 uint8_t SymbolAlignmentAndType;
141 uint8_t ReservedZeros[2];
142 uint8_t AuxType; // 64-bit XCOFF file only.
149 uint8_t Pad[10];
157 static constexpr uint8_t XR_SIGN_INDICATOR_MASK = 0x80;
161 static constexpr uint8_t XR_FIXUP_INDICATOR_MASK = 0x40;
165 static constexpr uint8_t XR_BIASED_LENGTH_MASK = 0x3f;
172 uint8_t Info;
181 uint8_t getRelocatedLength() const;
253 Expected<ArrayRef<uint8_t>>
274 uint8_t getBytesInAddress() const override;
346 uint8_t getNumberOfAuxEntries() const;
include/llvm/ObjectYAML/CodeViewYAMLDebugSections.h 81 std::vector<uint8_t> Bytes;
126 fromDebugS(ArrayRef<uint8_t> Data, const codeview::StringsAndChecksumsRef &SC);
include/llvm/ObjectYAML/CodeViewYAMLTypeHashing.h 36 explicit GlobalHash(ArrayRef<uint8_t> S) : Hash(S) {
49 DebugHSection fromDebugH(ArrayRef<uint8_t> DebugH);
50 ArrayRef<uint8_t> toDebugH(const DebugHSection &DebugH,
include/llvm/ObjectYAML/CodeViewYAMLTypes.h 53 std::vector<LeafRecord> fromDebugT(ArrayRef<uint8_t> DebugTorP,
55 ArrayRef<uint8_t> toDebugT(ArrayRef<LeafRecord>, BumpPtrAllocator &Alloc,
include/llvm/ObjectYAML/DWARFYAML.h 69 uint8_t AddrSize;
70 uint8_t SegSize;
105 uint8_t AddrSize;
131 uint8_t MinInstLength;
132 uint8_t MaxOpsPerInst;
133 uint8_t DefaultIsStmt;
134 uint8_t LineBase;
135 uint8_t LineRange;
136 uint8_t OpcodeBase;
137 std::vector<uint8_t> StandardOpcodeLengths;
include/llvm/ObjectYAML/ELFYAML.h 110 Optional<uint8_t> Other;
include/llvm/ObjectYAML/MachOYAML.h 71 uint8_t n_sect;
78 uint8_t Imm;
84 uint8_t Imm;
include/llvm/ObjectYAML/MinidumpYAML.h 117 ArrayRef<uint8_t> ThreadContext)
152 RawContentStream(minidump::StreamType Type, ArrayRef<uint8_t> Content = {})
include/llvm/ObjectYAML/XCOFFYAML.h 38 uint8_t NumberOfAuxEntries; // Number of auxiliary entries
include/llvm/ObjectYAML/YAML.h 68 ArrayRef<uint8_t> Data;
75 BinaryRef(ArrayRef<uint8_t> Data) : Data(Data), DataIsHexString(false) {}
80 ArrayRef<uint8_t>::size_type binary_size() const {
include/llvm/ProfileData/Coverage/CoverageMappingReader.h 213 uint8_t BytesInAddress,
include/llvm/ProfileData/InstrProfData.inc 298 uint8_t SiteCountArray[1];
469 sizeof(uint8_t) * NumValueSites;
include/llvm/ProfileData/InstrProfReader.h 205 const uint8_t *ValueDataStart;
251 inline uint8_t getNumPaddingBytes(uint64_t SizeInBytes) {
include/llvm/ProfileData/SampleProf.h 665 std::error_code read(const uint8_t *Data, uint64_t ListSize);
include/llvm/ProfileData/SampleProfReader.h 504 std::error_code readFuncProfile(const uint8_t *Start);
519 const uint8_t *Data = nullptr;
522 const uint8_t *End = nullptr;
569 std::error_code decompressSection(const uint8_t *SecStart,
571 const uint8_t *&DecompressBuf,
583 virtual std::error_code readOneSection(const uint8_t *Start, uint64_t Size,
604 virtual std::error_code readOneSection(const uint8_t *Start, uint64_t Size,
include/llvm/Remarks/BitstreamRemarkParser.h 37 Optional<uint8_t> ContainerType;
58 Optional<uint8_t> Type;
include/llvm/Support/AMDGPUMetadata.h 42 enum class AccessQualifier : uint8_t {
51 enum class AddressSpaceQualifier : uint8_t {
62 enum class ValueKind : uint8_t {
82 enum class ValueType : uint8_t {
include/llvm/Support/AMDHSAKernelDescriptor.h 51 enum : uint8_t {
59 enum : uint8_t {
67 enum : uint8_t {
155 uint8_t reserved0[8];
157 uint8_t reserved1[20];
162 uint8_t reserved2[6];
include/llvm/Support/ARMAttributeParser.h 32 uint64_t ParseInteger(const uint8_t *Data, uint32_t &Offset);
33 StringRef ParseString(const uint8_t *Data, uint32_t &Offset);
35 void IntegerAttribute(ARMBuildAttrs::AttrType Tag, const uint8_t *Data,
37 void StringAttribute(ARMBuildAttrs::AttrType Tag, const uint8_t *Data,
42 void CPU_arch(ARMBuildAttrs::AttrType Tag, const uint8_t *Data,
44 void CPU_arch_profile(ARMBuildAttrs::AttrType Tag, const uint8_t *Data,
46 void ARM_ISA_use(ARMBuildAttrs::AttrType Tag, const uint8_t *Data,
48 void THUMB_ISA_use(ARMBuildAttrs::AttrType Tag, const uint8_t *Data,
50 void FP_arch(ARMBuildAttrs::AttrType Tag, const uint8_t *Data,
52 void WMMX_arch(ARMBuildAttrs::AttrType Tag, const uint8_t *Data,
54 void Advanced_SIMD_arch(ARMBuildAttrs::AttrType Tag, const uint8_t *Data,
56 void MVE_arch(ARMBuildAttrs::AttrType Tag, const uint8_t *Data,
58 void PCS_config(ARMBuildAttrs::AttrType Tag, const uint8_t *Data,
60 void ABI_PCS_R9_use(ARMBuildAttrs::AttrType Tag, const uint8_t *Data,
62 void ABI_PCS_RW_data(ARMBuildAttrs::AttrType Tag, const uint8_t *Data,
64 void ABI_PCS_RO_data(ARMBuildAttrs::AttrType Tag, const uint8_t *Data,
66 void ABI_PCS_GOT_use(ARMBuildAttrs::AttrType Tag, const uint8_t *Data,
68 void ABI_PCS_wchar_t(ARMBuildAttrs::AttrType Tag, const uint8_t *Data,
70 void ABI_FP_rounding(ARMBuildAttrs::AttrType Tag, const uint8_t *Data,
72 void ABI_FP_denormal(ARMBuildAttrs::AttrType Tag, const uint8_t *Data,
74 void ABI_FP_exceptions(ARMBuildAttrs::AttrType Tag, const uint8_t *Data,
76 void ABI_FP_user_exceptions(ARMBuildAttrs::AttrType Tag, const uint8_t *Data,
78 void ABI_FP_number_model(ARMBuildAttrs::AttrType Tag, const uint8_t *Data,
80 void ABI_align_needed(ARMBuildAttrs::AttrType Tag, const uint8_t *Data,
82 void ABI_align_preserved(ARMBuildAttrs::AttrType Tag, const uint8_t *Data,
84 void ABI_enum_size(ARMBuildAttrs::AttrType Tag, const uint8_t *Data,
86 void ABI_HardFP_use(ARMBuildAttrs::AttrType Tag, const uint8_t *Data,
88 void ABI_VFP_args(ARMBuildAttrs::AttrType Tag, const uint8_t *Data,
90 void ABI_WMMX_args(ARMBuildAttrs::AttrType Tag, const uint8_t *Data,
92 void ABI_optimization_goals(ARMBuildAttrs::AttrType Tag, const uint8_t *Data,
95 const uint8_t *Data, uint32_t &Offset);
96 void compatibility(ARMBuildAttrs::AttrType Tag, const uint8_t *Data,
98 void CPU_unaligned_access(ARMBuildAttrs::AttrType Tag, const uint8_t *Data,
100 void FP_HP_extension(ARMBuildAttrs::AttrType Tag, const uint8_t *Data,
102 void ABI_FP_16bit_format(ARMBuildAttrs::AttrType Tag, const uint8_t *Data,
104 void MPextension_use(ARMBuildAttrs::AttrType Tag, const uint8_t *Data,
106 void DIV_use(ARMBuildAttrs::AttrType Tag, const uint8_t *Data,
108 void DSP_extension(ARMBuildAttrs::AttrType Tag, const uint8_t *Data,
110 void T2EE_use(ARMBuildAttrs::AttrType Tag, const uint8_t *Data,
112 void Virtualization_use(ARMBuildAttrs::AttrType Tag, const uint8_t *Data,
114 void nodefaults(ARMBuildAttrs::AttrType Tag, const uint8_t *Data,
117 void ParseAttributeList(const uint8_t *Data, uint32_t &Offset,
119 void ParseIndexList(const uint8_t *Data, uint32_t &Offset,
120 SmallVectorImpl<uint8_t> &IndexList);
121 void ParseSubsection(const uint8_t *Data, uint32_t Length);
127 void Parse(ArrayRef<uint8_t> Section, bool isLittle);
include/llvm/Support/ARMWinEH.h 147 uint8_t Reg() const {
323 uint8_t ResARM() const {
327 uint8_t ResAArch64() const {
332 uint8_t Condition() const {
337 uint8_t EpilogueStartIndexARM() const {
368 uint8_t Vers() const {
394 uint8_t CodeWords() const {
409 ArrayRef<uint8_t> UnwindByteCode() const {
412 const uint8_t *ByteCode =
include/llvm/Support/Alignment.h 42 uint8_t ShiftValue = 0; /// The log2 of the required alignment.
64 uint8_t Log;
include/llvm/Support/ArrayRecycler.h 72 uint8_t Index;
73 explicit Capacity(uint8_t idx) : Index(idx) {}
include/llvm/Support/BinaryByteStream.h 34 BinaryByteStream(ArrayRef<uint8_t> Data, llvm::support::endianness Endian)
42 ArrayRef<uint8_t> &Buffer) override {
50 ArrayRef<uint8_t> &Buffer) override {
59 ArrayRef<uint8_t> data() const { return Data; }
68 ArrayRef<uint8_t> Data;
92 MutableBinaryByteStream(MutableArrayRef<uint8_t> Data,
101 ArrayRef<uint8_t> &Buffer) override {
106 ArrayRef<uint8_t> &Buffer) override {
112 Error writeBytes(uint32_t Offset, ArrayRef<uint8_t> Buffer) override {
119 uint8_t *DataPtr = const_cast<uint8_t *>(Data.data());
126 MutableArrayRef<uint8_t> data() const { return Data; }
129 MutableArrayRef<uint8_t> Data;
136 std::vector<uint8_t> Data;
149 ArrayRef<uint8_t> &Buffer) override {
157 void insert(uint32_t Offset, ArrayRef<uint8_t> Bytes) {
162 ArrayRef<uint8_t> &Buffer) override {
172 Error writeBytes(uint32_t Offset, ArrayRef<uint8_t> Buffer) override {
200 MutableArrayRef<uint8_t> data() { return Data; }
225 uint8_t *getBufferStart() const { return FileBuffer->getBufferStart(); }
228 uint8_t *getBufferEnd() const { return FileBuffer->getBufferEnd(); }
244 ArrayRef<uint8_t> &Buffer) override {
249 ArrayRef<uint8_t> &Buffer) override {
255 Error writeBytes(uint32_t Offset, ArrayRef<uint8_t> Data) override {
262 uint8_t *getBufferStart() const { return Impl.getBufferStart(); }
265 uint8_t *getBufferEnd() const { return Impl.getBufferEnd(); }
include/llvm/Support/BinaryItemStream.h 23 static ArrayRef<uint8_t> bytes(const T &Item) = delete;
42 ArrayRef<uint8_t> &Buffer) override {
56 ArrayRef<uint8_t> &Buffer) override {
include/llvm/Support/BinaryStream.h 45 ArrayRef<uint8_t> &Buffer) = 0;
50 ArrayRef<uint8_t> &Buffer) = 0;
80 virtual Error writeBytes(uint32_t Offset, ArrayRef<uint8_t> Data) = 0;
include/llvm/Support/BinaryStreamArray.h 282 ArrayRef<uint8_t> Data;
include/llvm/Support/BinaryStreamReader.h 36 explicit BinaryStreamReader(ArrayRef<uint8_t> Data,
57 Error readLongestContiguousChunk(ArrayRef<uint8_t> &Buffer);
66 Error readBytes(ArrayRef<uint8_t> &Buffer, uint32_t Size);
79 ArrayRef<uint8_t> Bytes;
170 ArrayRef<uint8_t> Buffer;
188 ArrayRef<uint8_t> Bytes;
269 uint8_t peek() const;
include/llvm/Support/BinaryStreamRef.h 169 explicit BinaryStreamRef(ArrayRef<uint8_t> Data,
189 ArrayRef<uint8_t> &Buffer) const;
197 ArrayRef<uint8_t> &Buffer) const;
244 explicit WritableBinaryStreamRef(MutableArrayRef<uint8_t> Data,
263 Error writeBytes(uint32_t Offset, ArrayRef<uint8_t> Data) const;
include/llvm/Support/BinaryStreamWriter.h 36 explicit BinaryStreamWriter(MutableArrayRef<uint8_t> Data,
56 Error writeBytes(ArrayRef<uint8_t> Buffer);
67 uint8_t Buffer[sizeof(T)];
159 ArrayRef<uint8_t>(reinterpret_cast<const uint8_t *>(Array.data()),
include/llvm/Support/CRC.h 22 uint32_t crc32(ArrayRef<uint8_t> Data);
26 uint32_t crc32(uint32_t CRC, ArrayRef<uint8_t> Data);
50 void update(ArrayRef<uint8_t> Data);
include/llvm/Support/DataExtractor.h 20 uint8_t Bytes[3];
21 Uint24(uint8_t U) {
24 Uint24(uint8_t U0, uint8_t U1, uint8_t U2) {
24 Uint24(uint8_t U0, uint8_t U1, uint8_t U2) {
24 Uint24(uint8_t U0, uint8_t U1, uint8_t U2) {
43 uint8_t IsLittleEndian;
44 uint8_t AddressSize;
83 DataExtractor(StringRef Data, bool IsLittleEndian, uint8_t AddressSize)
85 DataExtractor(ArrayRef<uint8_t> Data, bool IsLittleEndian,
86 uint8_t AddressSize)
96 uint8_t getAddressSize() const { return AddressSize; }
98 void setAddressSize(uint8_t Size) { AddressSize = Size; }
255 uint8_t getU8(uint64_t *offset_ptr, Error *Err = nullptr) const;
260 uint8_t getU8(Cursor &C) const { return getU8(&C.Offset, &C.Err); }
285 uint8_t *getU8(uint64_t *offset_ptr, uint8_t *dst, uint32_t count) const;
285 uint8_t *getU8(uint64_t *offset_ptr, uint8_t *dst, uint32_t count) const;
291 uint8_t *getU8(Cursor &C, uint8_t *Dst, uint32_t Count) const;
291 uint8_t *getU8(Cursor &C, uint8_t *Dst, uint32_t Count) const;
298 void getU8(Cursor &C, SmallVectorImpl<uint8_t> &Dst, uint32_t Count) const {
include/llvm/Support/FileOutputBuffer.h 50 virtual uint8_t *getBufferStart() const = 0;
53 virtual uint8_t *getBufferEnd() const = 0;
include/llvm/Support/Format.h 216 ArrayRef<uint8_t> Bytes;
222 uint8_t ByteGroupSize; // How many hex bytes are grouped without spaces
228 FormattedBytes(ArrayRef<uint8_t> B, uint32_t IL, Optional<uint64_t> O,
229 uint32_t NPL, uint8_t BGS, bool U, bool A)
239 format_bytes(ArrayRef<uint8_t> Bytes, Optional<uint64_t> FirstByteOffset = None,
240 uint32_t NumPerLine = 16, uint8_t ByteGroupSize = 4,
247 format_bytes_with_ascii(ArrayRef<uint8_t> Bytes,
249 uint32_t NumPerLine = 16, uint8_t ByteGroupSize = 4,
include/llvm/Support/LEB128.h 28 uint8_t Byte = Value & 0x7f;
41 uint8_t PadValue = Value < 0 ? 0x7f : 0x00;
52 inline unsigned encodeSLEB128(int64_t Value, uint8_t *p, unsigned PadTo = 0) {
53 uint8_t *orig_p = p;
57 uint8_t Byte = Value & 0x7f;
70 uint8_t PadValue = Value < 0 ? 0x7f : 0x00;
84 uint8_t Byte = Value & 0x7f;
104 inline unsigned encodeULEB128(uint64_t Value, uint8_t *p,
106 uint8_t *orig_p = p;
109 uint8_t Byte = Value & 0x7f;
128 inline uint64_t decodeULEB128(const uint8_t *p, unsigned *n = nullptr,
129 const uint8_t *end = nullptr,
131 const uint8_t *orig_p = p;
161 inline int64_t decodeSLEB128(const uint8_t *p, unsigned *n = nullptr,
162 const uint8_t *end = nullptr,
164 const uint8_t *orig_p = p;
167 uint8_t Byte;
include/llvm/Support/LowLevelTypeImpl.h 235 static uint64_t maskAndShift(uint64_t Val, uint64_t Mask, uint8_t Shift) {
include/llvm/Support/MD5.h 51 uint8_t buffer[64];
56 std::array<uint8_t, 16> Bytes;
58 operator std::array<uint8_t, 16>() const { return Bytes; }
60 const uint8_t &operator[](size_t I) const { return Bytes[I]; }
61 uint8_t &operator[](size_t I) { return Bytes[I]; }
85 void update(ArrayRef<uint8_t> Data);
98 static std::array<uint8_t, 16> hash(ArrayRef<uint8_t> Data);
98 static std::array<uint8_t, 16> hash(ArrayRef<uint8_t> Data);
101 const uint8_t *body(ArrayRef<uint8_t> Data);
101 const uint8_t *body(ArrayRef<uint8_t> Data);
include/llvm/Support/MachineValueType.h 32 enum SimpleValueType : uint8_t {
include/llvm/Support/OnDiskHashTable.h 214 LE.write<uint8_t>(0);
include/llvm/Support/SHA1.h 36 void update(ArrayRef<uint8_t> Data);
57 static std::array<uint8_t, 20> hash(ArrayRef<uint8_t> Data);
57 static std::array<uint8_t, 20> hash(ArrayRef<uint8_t> Data);
68 uint8_t C[BLOCK_LENGTH];
73 uint8_t BufferOffset;
80 void writebyte(uint8_t data);
82 void addUncounted(uint8_t data);
include/llvm/Support/ScopedPrinter.h 174 void printNumber(StringRef Label, uint8_t Value) {
277 void printBinary(StringRef Label, StringRef Str, ArrayRef<uint8_t> Value) {
287 void printBinary(StringRef Label, ArrayRef<uint8_t> Value) {
303 void printBinaryBlock(StringRef Label, ArrayRef<uint8_t> Value,
308 void printBinaryBlock(StringRef Label, ArrayRef<uint8_t> Value) {
345 void printBinaryImpl(StringRef Label, StringRef Str, ArrayRef<uint8_t> Value,
include/llvm/Support/SourceMgr.h 64 using VariableSizeOffsets = PointerUnion4<std::vector<uint8_t> *,
include/llvm/Support/Win64EH.h 61 uint8_t CodeOffset;
62 uint8_t UnwindOpAndOpInfo;
66 uint8_t getUnwindOp() const {
69 uint8_t getOpInfo() const {
95 uint8_t VersionAndFlags;
96 uint8_t PrologSize;
97 uint8_t NumCodes;
98 uint8_t FrameRegisterAndOffset;
101 uint8_t getVersion() const {
104 uint8_t getFlags() const {
107 uint8_t getFrameRegister() const {
110 uint8_t getFrameOffset() const {
include/llvm/Support/X86DisassemblerDecoderCommon.h 449 uint8_t encoding;
450 uint8_t type;
include/llvm/Support/YAMLTraits.h 41 enum class NodeKind : uint8_t {
1178 static void output(const uint8_t &, void *, raw_ostream &);
1179 static StringRef input(StringRef, void *, uint8_t &);
include/llvm/Support/raw_ostream.h 233 using uuid_t = uint8_t[16];
include/llvm/Support/xxhash.h 46 uint64_t xxHash64(llvm::ArrayRef<uint8_t> Data);
include/llvm/TableGen/Record.h 302 enum InitKind : uint8_t {
334 uint8_t Opc; // Used by UnOpInit, BinOpInit, and TernOpInit
343 explicit Init(InitKind K, uint8_t Opc = 0) : Kind(K), Opc(Opc) {}
429 explicit TypedInit(InitKind K, RecTy *T, uint8_t Opc = 0)
729 explicit OpInit(InitKind K, RecTy *Type, uint8_t Opc)
754 enum UnaryOp : uint8_t { CAST, HEAD, TAIL, SIZE, EMPTY };
803 enum BinaryOp : uint8_t { ADD, MUL, AND, OR, SHL, SRA, SRL, LISTCONCAT,
861 enum TernaryOp : uint8_t { SUBST, FOREACH, IF, DAG };
include/llvm/TextAPI/MachO/Architecture.h 24 enum Architecture : uint8_t {
include/llvm/TextAPI/MachO/InterfaceFile.h 240 void setSwiftABIVersion(uint8_t Version) { SwiftABIVersion = Version; }
243 uint8_t getSwiftABIVersion() const { return SwiftABIVersion; }
325 void addUUID(const Target &Target, uint8_t UUID[16]);
401 uint8_t SwiftABIVersion{0};
include/llvm/TextAPI/MachO/Symbol.h 25 enum class SymbolFlags : uint8_t {
49 enum class SymbolKind : uint8_t {
include/llvm/Transforms/IPO/LowerTypeTests.h 176 std::vector<uint8_t> Bytes;
193 uint64_t &AllocByteOffset, uint8_t &AllocMask);
include/llvm/Transforms/IPO/WholeProgramDevirt.h 40 std::vector<uint8_t> Bytes;
43 std::vector<uint8_t> BytesUsed;
45 std::pair<uint8_t *, uint8_t *> getPtrToData(uint64_t Pos, uint8_t Size) {
45 std::pair<uint8_t *, uint8_t *> getPtrToData(uint64_t Pos, uint8_t Size) {
45 std::pair<uint8_t *, uint8_t *> getPtrToData(uint64_t Pos, uint8_t Size) {
55 void setLE(uint64_t Pos, uint64_t Val, uint8_t Size) {
67 void setBE(uint64_t Pos, uint64_t Val, uint8_t Size) {
183 void setBeforeBytes(uint64_t Pos, uint8_t Size) {
192 void setAfterBytes(uint64_t Pos, uint8_t Size) {
include/llvm/Transforms/Utils/ASanStackFrameLayout.h 66 SmallVector<uint8_t, 64>
73 SmallVector<uint8_t, 64> GetShadowBytesAfterScope(
include/llvm/Transforms/Utils/Local.h 328 uint8_t DIExprFlags, int Offset);
337 DIBuilder &Builder, uint8_t DIExprFlags,
lib/Analysis/CFLAndersAliasAnalysis.cpp 100 enum class MatchState : uint8_t {
lib/Analysis/MemoryBuiltins.cpp 52 enum AllocType : uint8_t {
lib/BinaryFormat/Dwarf.cpp 645 Optional<uint8_t> llvm::dwarf::getFixedFormByteSize(dwarf::Form Form,
lib/BinaryFormat/MsgPackReader.cpp 32 uint8_t FB = static_cast<uint8_t>(*Current++);
60 return readUInt<uint8_t>(Obj);
90 return readRaw<uint8_t>(Obj);
99 return readRaw<uint8_t>(Obj);
135 return readExt<uint8_t>(Obj);
161 uint8_t Size = FB & ~FixBitsMask::String;
lib/Bitcode/Reader/BitcodeAnalyzer.cpp 462 ArrayRef<uint8_t> Bytes = Stream.getBitcodeBytes();
lib/Bitcode/Reader/BitcodeReader.cpp 2472 SmallVector<uint8_t, 16> Elts(Record.begin(), Record.end());
lib/CodeGen/AsmPrinter/AddressPool.cpp 27 static const uint8_t AddrSize = Asm.getDataLayout().getPointerSize();
lib/CodeGen/AsmPrinter/AsmPrinter.cpp 3180 SledKind Kind, uint8_t Version) {
lib/CodeGen/AsmPrinter/ByteStreamer.h 32 virtual void EmitInt8(uint8_t Byte, const Twine &Comment = "") = 0;
43 void EmitInt8(uint8_t Byte, const Twine &Comment) override {
62 void EmitInt8(uint8_t Byte, const Twine &Comment) override {
88 void EmitInt8(uint8_t Byte, const Twine &Comment) override {
lib/CodeGen/AsmPrinter/CodeViewDebug.cpp 244 ArrayRef<uint8_t> ChecksumAsBytes;
1779 uint8_t SizeInBytes = Ty->getSizeInBits() / 8;
3113 uint8_t data[10];
lib/CodeGen/AsmPrinter/DIE.cpp 316 DIEUnit::DIEUnit(uint16_t V, uint8_t A, dwarf::Tag UnitTag)
436 if (Optional<uint8_t> FixedSize = dwarf::getFixedFormByteSize(Form, Params))
lib/CodeGen/AsmPrinter/DIEHash.cpp 57 uint8_t Byte = Value & 0x7f;
69 uint8_t Byte = Value & 0x7f;
lib/CodeGen/AsmPrinter/DIEHash.h 57 void update(uint8_t Value) { Hash.update(Value); }
lib/CodeGen/AsmPrinter/DwarfDebug.cpp 172 void DebugLocDwarfExpression::emitOp(uint8_t Op, const char *Comment) {
186 void DebugLocDwarfExpression::emitData1(uint8_t Value) {
lib/CodeGen/AsmPrinter/DwarfExpression.h 164 Optional<uint8_t> TagOffset;
179 virtual void emitOp(uint8_t Op, const char *Comment = nullptr) = 0;
187 virtual void emitData1(uint8_t Value) = 0;
360 void emitOp(uint8_t Op, const char *Comment = nullptr) override;
363 void emitData1(uint8_t Value) override;
389 void emitOp(uint8_t Op, const char *Comment = nullptr) override;
392 void emitData1(uint8_t Value) override;
lib/CodeGen/AsmPrinter/DwarfUnit.cpp 53 void DIEDwarfExpression::emitOp(uint8_t Op, const char* Comment) {
65 void DIEDwarfExpression::emitData1(uint8_t Value) {
582 uint8_t c;
981 uint8_t CC = 0;
lib/CodeGen/MachineFrameInfo.cpp 53 uint8_t StackID) {
lib/CodeGen/MachineOperand.cpp 1008 int64_t Offset, uint8_t ID) {
lib/CodeGen/RegAllocGreedy.cpp 237 uint8_t CutOffInfo;
2780 uint8_t CutOffEncountered = CutOffInfo & (CO_Depth | CO_Interf);
lib/CodeGen/SelectionDAG/LegalizeDAG.cpp 71 uint8_t SignBit;
lib/CodeGen/StackSlotColoring.cpp 272 uint8_t StackID = MFI->getStackID(FI);
lib/CodeGen/TargetLoweringBase.cpp 1135 std::pair<const TargetRegisterClass *, uint8_t>
1369 uint8_t Cost;
1853 uint8_t &Value) {
1888 uint8_t RefSteps;
1915 uint8_t RefSteps;
1948 uint8_t RefSteps;
1969 uint8_t RefSteps;
lib/DebugInfo/CodeView/AppendingTypeTableBuilder.cpp 71 ArrayRef<ArrayRef<uint8_t>> AppendingTypeTableBuilder::records() const {
78 AppendingTypeTableBuilder::insertRecordBytes(ArrayRef<uint8_t> &Record) {
80 uint8_t *Stable = RecordStorage.Allocate<uint8_t>(Record.size());
80 uint8_t *Stable = RecordStorage.Allocate<uint8_t>(Record.size());
lib/DebugInfo/CodeView/CVTypeVisitor.cpp 185 FieldListVisitHelper(TypeVisitorCallbacks &Callbacks, ArrayRef<uint8_t> Data,
262 ArrayRef<uint8_t> Record,
270 Error llvm::codeview::visitMemberRecordStream(ArrayRef<uint8_t> FieldList,
lib/DebugInfo/CodeView/CodeViewRecordIO.cpp 91 uint8_t Leaf = Reader->peek();
100 Error CodeViewRecordIO::mapByteVectorTail(ArrayRef<uint8_t> &Bytes,
116 Error CodeViewRecordIO::mapByteVectorTail(std::vector<uint8_t> &Bytes,
118 ArrayRef<uint8_t> BytesRef(Bytes);
241 ArrayRef<uint8_t> GuidBytes;
258 uint8_t FinalZero = 0;
lib/DebugInfo/CodeView/ContinuationRecordBuilder.cpp 28 uint8_t Pad = static_cast<uint8_t>(LF_PAD0 + PaddingBytes);
65 const uint8_t *FLIB = reinterpret_cast<const uint8_t *>(FLI);
153 MutableArrayRef<uint8_t> Data = Buffer.data();
lib/DebugInfo/CodeView/DebugChecksumsSubsection.cpp 29 uint8_t ChecksumSize; // Number of bytes of checksum.
30 uint8_t ChecksumKind; // FileChecksumKind
69 ArrayRef<uint8_t> Bytes) {
72 uint8_t *Copy = Storage.Allocate<uint8_t>(Bytes.size());
72 uint8_t *Copy = Storage.Allocate<uint8_t>(Bytes.size());
lib/DebugInfo/CodeView/EnumTables.cpp 57 static const EnumEntry<uint8_t> ProcSymFlagNames[] = {
82 static const EnumEntry<uint8_t> FrameCookieKinds[] = {
249 static const EnumEntry<uint8_t> ThunkOrdinalNames[] = {
318 static const EnumEntry<uint8_t> MemberAccessNames[] = {
343 static const EnumEntry<uint8_t> PtrKindNames[] = {
359 static const EnumEntry<uint8_t> PtrModeNames[] = {
387 static const EnumEntry<uint8_t> CallingConventions[] = {
414 static const EnumEntry<uint8_t> FunctionOptionEnum[] = {
447 ArrayRef<EnumEntry<uint8_t>> getProcSymFlagNames() {
455 ArrayRef<EnumEntry<uint8_t>> getFrameCookieKindNames() {
491 ArrayRef<EnumEntry<uint8_t>> getThunkOrdinalNames() {
508 ArrayRef<EnumEntry<uint8_t>> getMemberAccessNames() {
520 ArrayRef<EnumEntry<uint8_t>> getPtrKindNames() {
524 ArrayRef<EnumEntry<uint8_t>> getPtrModeNames() {
536 ArrayRef<EnumEntry<uint8_t>> getCallingConventions() {
540 ArrayRef<EnumEntry<uint8_t>> getFunctionOptionEnum() {
lib/DebugInfo/CodeView/Formatters.cpp 23 GuidAdapter::GuidAdapter(ArrayRef<uint8_t> Guid)
32 uint8_t Byte = Item[i];
33 uint8_t HighNibble = (Byte >> 4) & 0xF;
34 uint8_t LowNibble = Byte & 0xF;
lib/DebugInfo/CodeView/GlobalTypeTableBuilder.cpp 74 ArrayRef<ArrayRef<uint8_t>> GlobalTypeTableBuilder::records() const {
87 TypeIndex GlobalTypeTableBuilder::insertRecordBytes(ArrayRef<uint8_t> Record) {
lib/DebugInfo/CodeView/LazyRandomTypeCollection.cpp 45 LazyRandomTypeCollection::LazyRandomTypeCollection(ArrayRef<uint8_t> Data,
77 void LazyRandomTypeCollection::reset(ArrayRef<uint8_t> Data,
lib/DebugInfo/CodeView/MergingTypeTableBuilder.cpp 74 ArrayRef<ArrayRef<uint8_t>> MergingTypeTableBuilder::records() const {
83 static inline ArrayRef<uint8_t> stabilize(BumpPtrAllocator &Alloc,
84 ArrayRef<uint8_t> Data) {
85 uint8_t *Stable = Alloc.Allocate<uint8_t>(Data.size());
85 uint8_t *Stable = Alloc.Allocate<uint8_t>(Data.size());
91 ArrayRef<uint8_t> &Record) {
99 ArrayRef<uint8_t> RecordData = stabilize(RecordStorage, Record);
111 MergingTypeTableBuilder::insertRecordBytes(ArrayRef<uint8_t> &Record) {
lib/DebugInfo/CodeView/RecordSerialization.cpp 27 StringRef llvm::codeview::getBytesAsCharacters(ArrayRef<uint8_t> LeafData) {
32 StringRef llvm::codeview::getBytesAsCString(ArrayRef<uint8_t> LeafData) {
105 ArrayRef<uint8_t> Bytes(Data.bytes_begin(), Data.bytes_end());
131 ArrayRef<uint8_t> Bytes(Data.bytes_begin(), Data.bytes_end());
lib/DebugInfo/CodeView/SimpleTypeSerializer.cpp 13 uint8_t Pad = static_cast<uint8_t>(LF_PAD0 + PaddingBytes);
24 ArrayRef<uint8_t> SimpleTypeSerializer::serialize(T &Record) {
lib/DebugInfo/CodeView/SymbolRecordMapping.cpp 89 uint8_t Padding = 0;
147 uint8_t Reserved = 0;
lib/DebugInfo/CodeView/SymbolSerializer.cpp 53 uint8_t *StableStorage = Storage.Allocate<uint8_t>(RecordEnd);
53 uint8_t *StableStorage = Storage.Allocate<uint8_t>(RecordEnd);
lib/DebugInfo/CodeView/TypeDumpVisitor.cpp 46 static const EnumEntry<uint8_t> MemberAccessNames[] = {
69 static const EnumEntry<uint8_t> PtrKindNames[] = {
85 static const EnumEntry<uint8_t> PtrModeNames[] = {
110 static const EnumEntry<uint8_t> CallingConventions[] = {
137 static const EnumEntry<uint8_t> FunctionOptionEnum[] = {
lib/DebugInfo/CodeView/TypeHashing.cpp 20 static std::array<uint8_t, 8> EmptyHash = {
22 static std::array<uint8_t, 8> TombstoneHash = {
28 LocallyHashedType LocallyHashedType::hashType(ArrayRef<uint8_t> RecordData) {
33 GloballyHashedType::hashType(ArrayRef<uint8_t> RecordData,
46 ArrayRef<uint8_t> PreData = RecordData.slice(Off, PreLen);
56 ArrayRef<uint8_t> BytesToHash;
58 const uint8_t *IndexBytes = reinterpret_cast<const uint8_t *>(&TI);
lib/DebugInfo/CodeView/TypeIndexDiscovery.cpp 39 static inline uint32_t getEncodedIntegerLength(ArrayRef<uint8_t> Data) {
63 static inline uint32_t getCStringLength(ArrayRef<uint8_t> Data) {
68 static void handleMethodOverloadList(ArrayRef<uint8_t> Content,
94 static uint32_t handleBaseClass(ArrayRef<uint8_t> Data, uint32_t Offset,
104 static uint32_t handleEnumerator(ArrayRef<uint8_t> Data, uint32_t Offset,
114 static uint32_t handleDataMember(ArrayRef<uint8_t> Data, uint32_t Offset,
126 static uint32_t handleOverloadedMethod(ArrayRef<uint8_t> Data, uint32_t Offset,
136 static uint32_t handleOneMethod(ArrayRef<uint8_t> Data, uint32_t Offset,
154 static uint32_t handleNestedType(ArrayRef<uint8_t> Data, uint32_t Offset,
164 static uint32_t handleStaticDataMember(ArrayRef<uint8_t> Data, uint32_t Offset,
174 static uint32_t handleVirtualBaseClass(ArrayRef<uint8_t> Data, uint32_t Offset,
190 static uint32_t handleVFPtr(ArrayRef<uint8_t> Data, uint32_t Offset,
199 static uint32_t handleListContinuation(ArrayRef<uint8_t> Data, uint32_t Offset,
208 static void handleFieldList(ArrayRef<uint8_t> Content,
254 uint8_t Pad = Content.front();
264 static void handlePointer(ArrayRef<uint8_t> Content,
273 static void discoverTypeIndices(ArrayRef<uint8_t> Content, TypeLeafKind Kind,
359 static bool discoverTypeIndices(ArrayRef<uint8_t> Content, SymbolKind Kind,
461 static void resolveTypeIndexReferences(ArrayRef<uint8_t> RecordData,
485 void llvm::codeview::discoverTypeIndices(ArrayRef<uint8_t> RecordData,
492 void llvm::codeview::discoverTypeIndices(ArrayRef<uint8_t> RecordData,
507 ArrayRef<uint8_t> RecordData, SmallVectorImpl<TiReference> &Refs) {
516 ArrayRef<uint8_t> RecordData, SmallVectorImpl<TypeIndex> &Indices) {
lib/DebugInfo/CodeView/TypeRecordMapping.cpp 460 uint8_t Byte = static_cast<uint8_t>(Slots[SlotIndex]) << 4;
469 uint8_t Byte;
lib/DebugInfo/CodeView/TypeStreamMerger.cpp 134 ArrayRef<uint8_t> remapIndices(const CVType &OriginalType,
135 MutableArrayRef<uint8_t> Storage);
196 SmallVector<uint8_t, 256> RemapStorage;
359 ArrayRef<uint8_t> Buffer;
387 ArrayRef<uint8_t> Result = DoSerialize(RemapStorage);
400 ArrayRef<uint8_t>
402 MutableArrayRef<uint8_t> Storage) {
411 uint8_t *DestContent = Storage.data() + sizeof(RecordPrefix);
lib/DebugInfo/CodeView/TypeTableCollection.cpp 18 TypeTableCollection::TypeTableCollection(ArrayRef<ArrayRef<uint8_t>> Records)
lib/DebugInfo/DWARF/DWARFAbbreviationDeclaration.cpp 54 uint8_t ChildrenByte = Data.getU8(OffsetPtr);
72 Optional<uint8_t> ByteSize;
lib/DebugInfo/DWARF/DWARFContext.cpp 245 uint8_t AddrSize) {
515 uint8_t savedAddressByteSize = getCUAddrSize();
1039 if (Optional<ArrayRef<uint8_t>> Location = LocationAttr->getAsBlock())
1365 uint8_t AddressSize;
1487 uint8_t AddrSize, bool IsLittleEndian)
1801 uint8_t getAddressSize() const override { return AddressSize; }
1825 uint8_t AddrSize, bool isLittleEndian) {
1848 uint8_t DWARFContext::getCUAddrSize() {
1854 uint8_t Addr = 0;
lib/DebugInfo/DWARF/DWARFDataExtractor.cpp 35 DWARFDataExtractor::getEncodedPointer(uint64_t *Offset, uint8_t Encoding,
lib/DebugInfo/DWARF/DWARFDebugAddr.cpp 24 uint8_t AddrSize,
lib/DebugInfo/DWARF/DWARFDebugFrame.cpp 34 const uint8_t DWARF_CFI_PRIMARY_OPCODE_MASK = 0xc0;
35 const uint8_t DWARF_CFI_PRIMARY_OPERAND_MASK = 0x3f;
40 uint8_t Opcode = Data.getRelocatedValue(1, Offset);
42 uint8_t Primary = Opcode & DWARF_CFI_PRIMARY_OPCODE_MASK;
221 uint8_t Opcode = Instr.Opcode;
277 uint8_t Opcode = Instr.Opcode;
306 for (uint8_t Byte : AugmentationData)
337 uint8_t c = Data.getU8(&Offset);
388 uint8_t Version = Data.getU8(&Offset);
391 uint8_t AddressSize = Version < 4 ? Data.getAddressSize() :
394 uint8_t SegmentDescriptorSize = Version < 4 ? 0 : Data.getU8(&Offset);
lib/DebugInfo/DWARF/DWARFDebugLine.cpp 371 uint8_t OpLen = DebugLineData.getU8(OffsetPtr);
567 uint8_t Opcode = DebugLineData.getU8(OffsetPtr);
585 uint8_t SubOpcode = DebugLineData.getU8(OffsetPtr);
770 uint8_t AdjustOpcode = 255 - Prologue.OpcodeBase;
825 uint8_t OpcodeLength = Prologue.StandardOpcodeLengths[Opcode - 1];
826 for (uint8_t I = 0; I < OpcodeLength; ++I) {
869 uint8_t AdjustOpcode = Opcode - Prologue.OpcodeBase;
lib/DebugInfo/DWARF/DWARFDebugLoc.cpp 31 static void dumpExpression(raw_ostream &OS, ArrayRef<uint8_t> Data,
lib/DebugInfo/DWARF/DWARFDebugPubTable.cpp 40 uint8_t IndexEntryValue = GnuStyle ? PubNames.getU8(&Offset) : 0;
lib/DebugInfo/DWARF/DWARFDebugRnglists.cpp 27 uint8_t Encoding = Data.getU8(OffsetPtr);
174 raw_ostream &OS, uint8_t AddrSize, uint8_t MaxEncodingStringLength,
174 raw_ostream &OS, uint8_t AddrSize, uint8_t MaxEncodingStringLength,
lib/DebugInfo/DWARF/DWARFDie.cpp 86 ArrayRef<uint8_t> Expr = *FormValue.getAsBlock();
lib/DebugInfo/DWARF/DWARFExpression.cpp 117 static uint8_t getRefAddrSize(uint8_t AddrSize, uint16_t Version) {
117 static uint8_t getRefAddrSize(uint8_t AddrSize, uint16_t Version) {
122 uint8_t AddressSize, uint64_t Offset) {
205 static bool prettyPrintRegisterOp(raw_ostream &OS, uint8_t Opcode,
lib/DebugInfo/DWARF/DWARFFormValue.cpp 93 ArrayRef<uint8_t> D) {
123 uint8_t size = DebugInfoData.getU8(OffsetPtr);
171 if (Optional<uint8_t> FixedSize =
468 const uint8_t *DataPtr = Value.data;
471 const uint8_t *EndDataPtr = DataPtr + UValue;
703 Optional<ArrayRef<uint8_t>> DWARFFormValue::getAsBlock() const {
lib/DebugInfo/DWARF/DWARFListTable.cpp 28 uint8_t OffsetByteSize = 4;
lib/DebugInfo/DWARF/DWARFUnit.cpp 780 uint8_t EntrySize = getDwarfOffsetByteSize();
802 uint8_t Version = DA.getU16(&Offset);
820 uint8_t Version = DA.getU16(&Offset);
lib/DebugInfo/DWARF/DWARFVerifier.cpp 102 uint8_t &UnitType, bool &isUnitDWARF64) {
104 uint8_t AddrSize = 0;
191 uint8_t UnitType = Unit.getUnitType();
279 uint8_t UnitType = 0;
482 if (Optional<ArrayRef<uint8_t>> Expr = AttrValue.Value.getAsBlock()) {
1296 if (Optional<ArrayRef<uint8_t>> Expr = Location->getAsBlock()) {
lib/DebugInfo/GSYM/FileWriter.cpp 21 uint8_t Bytes[32];
28 uint8_t Bytes[32];
34 void FileWriter::writeU8(uint8_t U) {
59 void FileWriter::writeData(llvm::ArrayRef<uint8_t> Data) {
lib/DebugInfo/GSYM/GsymReader.cpp 212 case 1: return addressForIndex<uint8_t>(Index);
234 case 1: return getAddressOffsetIndex<uint8_t>(AddrOffset);
lib/DebugInfo/GSYM/Header.cpp 34 for (uint8_t I = 0; I < H.UUIDSize; ++I)
lib/DebugInfo/GSYM/LineTable.cpp 36 uint8_t &SpecialOp) {
76 uint8_t Op = Data.getU8(&Offset);
107 uint8_t AdjustedOp = Op - FirstSpecial;
223 uint8_t SpecialOp;
lib/DebugInfo/MSF/MSFBuilder.cpp 325 uint8_t ThisByte = 0;
329 uint8_t Mask = uint8_t(IsFree) << I;
lib/DebugInfo/MSF/MappedBlockStream.cpp 89 ArrayRef<uint8_t> &Buffer) {
151 uint8_t *WriteBuffer = static_cast<uint8_t *>(Allocator.Allocate(Size, 8));
167 ArrayRef<uint8_t> &Buffer) {
186 ArrayRef<uint8_t> BlockData;
199 ArrayRef<uint8_t> &Buffer) {
227 ArrayRef<uint8_t> BlockData;
240 MutableArrayRef<uint8_t> Buffer) {
250 uint8_t *WriteBuffer = Buffer.data();
254 ArrayRef<uint8_t> BlockData;
259 const uint8_t *ChunkStart = BlockData.data() + OffsetInBlock;
275 ArrayRef<uint8_t> Data) const {
366 std::vector<uint8_t> InitData(Layout.SB->BlockSize, 0xFF);
374 ArrayRef<uint8_t> &Buffer) {
379 uint32_t Offset, ArrayRef<uint8_t> &Buffer) {
388 ArrayRef<uint8_t> Buffer) {
403 const uint8_t *Chunk = Buffer.data() + BytesWritten;
404 ArrayRef<uint8_t> ChunkData(Chunk, BytesToWriteInChunk);
lib/DebugInfo/PDB/IPDBSourceFile.cpp 29 for (uint8_t c : Checksum)
lib/DebugInfo/PDB/Native/DbiModuleDescriptorBuilder.cpp 72 ArrayRef<uint8_t> BulkSymbols) {
158 for (ArrayRef<uint8_t> Syms : Symbols) {
lib/DebugInfo/PDB/Native/DbiStreamBuilder.cpp 40 void DbiStreamBuilder::setBuildNumber(uint8_t Major, uint8_t Minor) {
40 void DbiStreamBuilder::setBuildNumber(uint8_t Major, uint8_t Minor) {
89 ArrayRef<uint8_t> Data) {
190 auto Data = Allocator.Allocate<uint8_t>(Size);
lib/DebugInfo/PDB/Native/GSIStreamBuilder.cpp 40 DenseMapInfo<ArrayRef<uint8_t>>::getTombstoneKey());
lib/DebugInfo/PDB/Native/GlobalsStream.cpp 147 uint8_t WordIdx = I / 32;
148 uint8_t BitIdx = I % 32;
lib/DebugInfo/PDB/Native/Hash.cpp 30 const uint8_t *Remainder = reinterpret_cast<const uint8_t *>(Longs.end());
70 for (uint8_t Item : Buffer) {
80 uint32_t pdb::hashBufferV8(ArrayRef<uint8_t> Buf) {
lib/DebugInfo/PDB/Native/NativeEnumInjectedSources.cpp 25 ArrayRef<uint8_t> Data;
lib/DebugInfo/PDB/Native/NativeRawSymbol.cpp 97 void NativeRawSymbol::getDataBytes(SmallVector<uint8_t, 32> &bytes) const {
lib/DebugInfo/PDB/Native/PDBFile.cpp 104 Expected<ArrayRef<uint8_t>> PDBFile::getBlockData(uint32_t BlockIndex,
108 ArrayRef<uint8_t> Result;
115 ArrayRef<uint8_t> Data) const {
157 ArrayRef<uint8_t> FpmBytes;
lib/DebugInfo/PDB/Native/TpiHashing.cpp 28 ArrayRef<uint8_t> FullRecord) {
lib/DebugInfo/PDB/Native/TpiStreamBuilder.cpp 44 void TpiStreamBuilder::addTypeRecord(ArrayRef<uint8_t> Record,
134 ArrayRef<uint8_t> Bytes(
lib/DebugInfo/PDB/PDBSymbolCustom.cpp 20 void PDBSymbolCustom::getDataBytes(llvm::SmallVector<uint8_t, 32> &bytes) {
lib/DebugInfo/Symbolize/Symbolize.cpp 280 ArrayRef<uint8_t> dbg_uuid = DbgObj->getUuid();
281 ArrayRef<uint8_t> bin_uuid = Obj->getUuid();
lib/Demangle/MicrosoftDemangle.cpp 1028 static uint8_t rebasedHexDigitToNumber(char C) {
1033 uint8_t Demangler::demangleCharLiteral(StringView &MangledName) {
1050 uint8_t C1 = rebasedHexDigitToNumber(Nibbles[0]);
1051 uint8_t C2 = rebasedHexDigitToNumber(Nibbles[1]);
1089 uint8_t C1, C2;
1105 static void writeHexDigit(char *Buffer, uint8_t Digit) {
1184 static unsigned countTrailingNullBytes(const uint8_t *StringBytes, int Length) {
1185 const uint8_t *End = StringBytes + Length - 1;
1195 static unsigned countEmbeddedNulls(const uint8_t *StringBytes,
1208 static unsigned guessCharByteSize(const uint8_t *StringBytes, unsigned NumChars,
1242 static unsigned decodeMultiByteChar(const uint8_t *StringBytes,
1341 uint8_t StringBytes[MaxStringByteLength];
lib/ExecutionEngine/ExecutionEngineBindings.cpp 328 uint8_t *allocateCodeSection(uintptr_t Size, unsigned Alignment,
332 uint8_t *allocateDataSection(uintptr_t Size, unsigned Alignment,
361 uint8_t *SimpleBindingMemoryManager::allocateCodeSection(
368 uint8_t *SimpleBindingMemoryManager::allocateDataSection(
lib/ExecutionEngine/JITLink/EHFrameSupport.cpp 98 uint8_t NextChar;
99 uint8_t *NextField = &AugInfo.Fields[0];
167 uint8_t Version = 0;
216 uint8_t *NextField = &AugInfo->Fields[0];
217 while (uint8_t Field = *NextField++) {
221 uint8_t LSDAPointerEncoding;
232 uint8_t PersonalityPointerEncoding = 0;
248 uint8_t FDEPointerEncoding;
lib/ExecutionEngine/JITLink/EHFrameSupportImpl.h 52 uint8_t Fields[4] = {0x0, 0x0, 0x0, 0x0};
lib/ExecutionEngine/JITLink/MachOLinkGraphBuilder.cpp 66 Scope MachOLinkGraphBuilder::getScope(StringRef Name, uint8_t Type) {
211 uint8_t Type;
212 uint8_t Sect;
lib/ExecutionEngine/JITLink/MachOLinkGraphBuilder.h 106 NormalizedSymbol(Optional<StringRef> Name, uint64_t Value, uint8_t Type,
107 uint8_t Sect, uint16_t Desc, Linkage L, Scope S)
121 uint8_t Type = 0;
122 uint8_t Sect = 0;
219 static Scope getScope(StringRef Name, uint8_t Type);
lib/ExecutionEngine/JITLink/MachO_arm64.cpp 469 static const uint8_t NullGOTEntryContent[8];
470 static const uint8_t StubContent[8];
475 const uint8_t MachO_arm64_GOTAndStubsBuilder::NullGOTEntryContent[8] = {
477 const uint8_t MachO_arm64_GOTAndStubsBuilder::StubContent[8] = {
lib/ExecutionEngine/JITLink/MachO_x86_64.cpp 432 static const uint8_t NullGOTEntryContent[8];
433 static const uint8_t StubContent[6];
438 const uint8_t MachO_x86_64_GOTAndStubsBuilder::NullGOTEntryContent[8] = {
440 const uint8_t MachO_x86_64_GOTAndStubsBuilder::StubContent[6] = {
lib/ExecutionEngine/Orc/OrcABISupport.cpp 15 void OrcAArch64::writeResolverCode(uint8_t *ResolverMem, JITReentryFn ReentryFn,
103 void OrcAArch64::writeTrampolines(uint8_t *TrampolineMem, void *ResolverAddr,
191 void OrcX86_64_Base::writeTrampolines(uint8_t *TrampolineMem,
272 void OrcX86_64_SysV::writeResolverCode(uint8_t *ResolverMem,
276 const uint8_t ResolverCode[] = {
339 void OrcX86_64_Win32::writeResolverCode(uint8_t *ResolverMem,
345 const uint8_t ResolverCode[] = {
415 void OrcI386::writeResolverCode(uint8_t *ResolverMem, JITReentryFn ReentryFn,
418 const uint8_t ResolverCode[] = {
462 void OrcI386::writeTrampolines(uint8_t *TrampolineMem, void *ResolverAddr,
539 void OrcMips32_Base::writeResolverCode(uint8_t *ResolverMem,
641 void OrcMips32_Base::writeTrampolines(uint8_t *TrampolineMem,
732 void OrcMips64::writeResolverCode(uint8_t *ResolverMem, JITReentryFn ReentryFn,
875 void OrcMips64::writeTrampolines(uint8_t *TrampolineMem, void *ResolverAddr,
lib/ExecutionEngine/Orc/OrcMCJITReplacement.h 67 uint8_t *allocateCodeSection(uintptr_t Size, unsigned Alignment,
70 uint8_t *Addr =
77 uint8_t *allocateDataSection(uintptr_t Size, unsigned Alignment,
80 uint8_t *Addr = ClientMM->allocateDataSection(Size, Alignment, SectionID,
99 void registerEHFrames(uint8_t *Addr, uint64_t LoadAddr,
lib/ExecutionEngine/RuntimeDyld/RTDyldMemoryManager.cpp 120 void RTDyldMemoryManager::registerEHFramesInProcess(uint8_t *Addr,
130 void RTDyldMemoryManager::deregisterEHFramesInProcess(uint8_t *Addr,
137 void RTDyldMemoryManager::registerEHFrames(uint8_t *Addr, uint64_t LoadAddr,
lib/ExecutionEngine/RuntimeDyld/RuntimeDyld.cpp 94 uint8_t *DataAddr = S.getAddress();
682 uint64_t RuntimeDyldImpl::readBytesUnaligned(uint8_t *Src,
696 void RuntimeDyldImpl::writeBytesUnaligned(uint64_t Value, uint8_t *Dst,
726 uint8_t *Addr = MemMgr.allocateDataSection(CommonSize, CommonAlign, SectionID,
807 uint8_t *Addr;
931 uint8_t *RuntimeDyldImpl::createStubFunction(uint8_t *Addr,
931 uint8_t *RuntimeDyldImpl::createStubFunction(uint8_t *Addr,
lib/ExecutionEngine/RuntimeDyld/RuntimeDyldChecker.cpp 667 ArrayRef<uint8_t> SymbolBytes(SymbolMem.bytes_begin(), SymbolMem.size());
769 return support::endian::read<uint8_t>(Ptr, Endianness);
lib/ExecutionEngine/RuntimeDyld/RuntimeDyldELF.cpp 231 uint8_t *EHFrameAddr = Sections[EHFrameSID].getAddress();
714 uint8_t *LocalAddress = Section.getAddressWithOffset(Offset);
734 uint8_t *LocalAddress = Section.getAddressWithOffset(Offset);
774 uint8_t aalk = *(LocalAddress + 3);
828 uint8_t *LocalAddress = Section.getAddressWithOffset(Offset);
1074 uint8_t *StubTargetAddr = createStubFunction(
1241 uint8_t *StubTargetAddr = createStubFunction(
1269 uint8_t *Placeholder = reinterpret_cast<uint8_t *>(
1297 uint8_t *StubTargetAddr = createStubFunction(
1392 uint8_t *StubTargetAddr = createStubFunction(
1454 uint8_t *Target = Section.getAddressWithOffset(Offset);
1468 uint8_t SymOther = Symbol->getOther();
1472 uint8_t *RelocTarget =
1500 uint8_t *StubTargetAddr = createStubFunction(
1862 uint8_t *Addr = MemMgr.allocateDataSection(TotalSize, getGOTEntrySize(),
lib/ExecutionEngine/RuntimeDyld/RuntimeDyldImpl.h 51 uint8_t *Address;
75 SectionEntry(StringRef name, uint8_t *address, size_t size,
87 uint8_t *getAddress() const { return Address; }
90 uint8_t *getAddressWithOffset(unsigned OffsetBytes) const {
321 void writeInt16BE(uint8_t *Addr, uint16_t Value) {
328 void writeInt32BE(uint8_t *Addr, uint32_t Value) {
337 void writeInt64BE(uint8_t *Addr, uint64_t Value) {
357 uint64_t readBytesUnaligned(uint8_t *Src, unsigned Size) const;
361 void writeBytesUnaligned(uint64_t Value, uint8_t *Dst, unsigned Size) const;
408 uint8_t *createStubFunction(uint8_t *Addr, unsigned AbiVariant = 0);
408 uint8_t *createStubFunction(uint8_t *Addr, unsigned AbiVariant = 0);
483 uint8_t *getSectionAddress(unsigned SectionID) const {
492 uint8_t* getSymbolLocalAddress(StringRef Name) const {
lib/ExecutionEngine/RuntimeDyld/RuntimeDyldMachO.cpp 48 uint8_t *Src = Sections[RE.SectionID].getAddress() + RE.Offset;
69 uint8_t *LocalAddress = Section.getAddressWithOffset(Offset);
151 uint8_t *LocalAddress = Section.getAddress() + RE.Offset;
275 unsigned char *RuntimeDyldMachOCRTPBase<Impl>::processFDE(uint8_t *P,
284 uint8_t *Ret = P + Length;
299 uint8_t Augmentationsize = *P;
336 uint8_t *P = EHFrame->getAddress();
337 uint8_t *End = P + EHFrame->getSize();
lib/ExecutionEngine/RuntimeDyld/RuntimeDyldMachO.h 150 unsigned char *processFDE(uint8_t *P, int64_t DeltaForText,
lib/ExecutionEngine/RuntimeDyld/Targets/RuntimeDyldCOFFI386.h 64 uint8_t *Displacement = (uint8_t *)ObjTarget;
133 uint8_t *Target = Section.getAddressWithOffset(RE.Offset);
lib/ExecutionEngine/RuntimeDyld/Targets/RuntimeDyldCOFFThumb.h 86 uint8_t *Displacement = (uint8_t *)ObjTarget;
176 uint8_t *Target = Section.getAddressWithOffset(RE.Offset);
lib/ExecutionEngine/RuntimeDyld/Targets/RuntimeDyldCOFFX86_64.h 50 void write32BitOffset(uint8_t *Target, int64_t Addend, uint64_t Delta) {
88 uint8_t *Target = Section.getAddressWithOffset(RE.Offset);
228 uint8_t *Displacement = (uint8_t *)ObjTarget;
239 uint8_t *Displacement = (uint8_t *)ObjTarget;
273 uint8_t *EHFrameAddr = Sections[EHFrameSID].getAddress();
lib/ExecutionEngine/RuntimeDyld/Targets/RuntimeDyldELFMips.cpp 153 uint8_t *LocalGOTAddr =
213 void RuntimeDyldELFMips::applyMIPSRelocation(uint8_t *TargetPtr, int64_t Value,
307 uint8_t *TargetPtr = Section.getAddressWithOffset(Offset);
lib/ExecutionEngine/RuntimeDyld/Targets/RuntimeDyldELFMips.h 59 void applyMIPSRelocation(uint8_t *TargetPtr, int64_t CalculatedValue,
lib/ExecutionEngine/RuntimeDyld/Targets/RuntimeDyldMachOAArch64.h 36 uint8_t *LocalAddress = Section.getAddressWithOffset(RE.Offset);
155 void encodeAddend(uint8_t *LocalAddress, unsigned NumBytes,
359 uint8_t *LocalAddress = Section.getAddressWithOffset(RE.Offset);
490 uint8_t *LocalAddress = Sections[SectionID].getAddressWithOffset(Offset);
lib/ExecutionEngine/RuntimeDyld/Targets/RuntimeDyldMachOARM.h 65 uint8_t *LocalAddress = Section.getAddressWithOffset(RE.Offset);
206 uint8_t *LocalAddress = Section.getAddressWithOffset(RE.Offset);
312 uint8_t *Addr;
328 uint8_t *StubTargetAddr = Addr + 4;
364 uint8_t *LocalAddress = Section.getAddressWithOffset(Offset);
lib/ExecutionEngine/RuntimeDyld/Targets/RuntimeDyldMachOI386.h 102 uint8_t *LocalAddress = Section.getAddressWithOffset(RE.Offset);
159 uint8_t *LocalAddress = Section.getAddressWithOffset(Offset);
221 uint8_t *JTSectionAddr = getSectionAddress(JTSectionID);
235 uint8_t *JTEntryAddr = JTSectionAddr + JTEntryOffset;
lib/ExecutionEngine/RuntimeDyld/Targets/RuntimeDyldMachOX86_64.h 89 uint8_t *LocalAddress = Section.getAddressWithOffset(RE.Offset);
136 uint8_t *Addr;
141 uint8_t *GOTEntry = Section.getAddressWithOffset(Section.getStubOffset());
168 uint8_t *LocalAddress = Sections[SectionID].getAddressWithOffset(Offset);
lib/ExecutionEngine/SectionMemoryManager.cpp 21 uint8_t *SectionMemoryManager::allocateDataSection(uintptr_t Size,
33 uint8_t *SectionMemoryManager::allocateCodeSection(uintptr_t Size,
41 uint8_t *SectionMemoryManager::allocateSection(
lib/FuzzMutate/FuzzerCLI.cpp 170 const uint8_t *Data, size_t Size, LLVMContext &Context) {
189 size_t llvm::writeModule(const Module &M, uint8_t *Dest, size_t MaxSize) {
201 std::unique_ptr<Module> llvm::parseAndVerify(const uint8_t *Data, size_t Size,
lib/IR/AttributeImpl.h 184 uint8_t AvailableAttrs[12] = {};
250 uint8_t AvailableFunctionAttrs[12] = {};
lib/IR/AutoUpgrade.cpp 2513 uint8_t Imm = cast<ConstantInt>(CI->getArgOperand(2))->getZExtValue();
lib/IR/Constants.cpp 687 ConstantInt *ConstantInt::get(IntegerType* Ty, StringRef Str, uint8_t radix) {
974 return getIntSequenceIfElementsMatch<SequenceTy, uint8_t>(V);
2582 const uint8_t *Data = Str.bytes_begin();
2586 SmallVector<uint8_t, 64> ElementVals;
2595 Constant *ConstantDataVector::get(LLVMContext &Context, ArrayRef<uint8_t> Elts){
2655 SmallVector<uint8_t, 16> Elts(NumElts, CI->getZExtValue());
lib/IR/ConstantsContext.h 463 uint8_t Opcode;
464 uint8_t SubclassOptionalData;
lib/IR/Core.cpp 1313 uint8_t Radix) {
1319 unsigned SLen, uint8_t Radix) {
lib/IR/DebugInfoMetadata.cpp 468 uint8_t CC, Metadata *TypeArray,
1032 DIExpression *DIExpression::prepend(const DIExpression *Expr, uint8_t Flags,
lib/IR/Instructions.cpp 2566 static const uint8_t CastResults[numCastOps][numCastOps] = {
lib/IR/LLVMContextImpl.h 563 uint8_t CC;
566 MDNodeKeyImpl(unsigned Flags, uint8_t CC, Metadata *TypeArray)
lib/IR/User.cpp 92 ArrayRef<const uint8_t> User::getDescriptor() const {
97 MutableArrayRef<uint8_t> User::getDescriptor() {
123 uint8_t *Storage = static_cast<uint8_t *>(
182 uint8_t *Storage = reinterpret_cast<uint8_t *>(DI) - DI->SizeInBytes;
lib/LTO/LTO.cpp 97 uint8_t Data[4];
105 uint8_t Data[8];
lib/MC/ELFObjectWriter.cpp 96 void writeSymbol(uint32_t name, uint8_t info, uint64_t value, uint64_t size,
97 uint8_t other, uint32_t shndx, bool Reserved);
364 void SymbolTableWriter::writeSymbol(uint32_t name, uint8_t info, uint64_t value,
365 uint64_t size, uint8_t other,
480 static uint8_t mergeTypeForSet(uint8_t origType, uint8_t newType) {
480 static uint8_t mergeTypeForSet(uint8_t origType, uint8_t newType) {
480 static uint8_t mergeTypeForSet(uint8_t origType, uint8_t newType) {
481 uint8_t Type = newType;
539 uint8_t Binding = Symbol.getBinding();
540 uint8_t Type = Symbol.getType();
546 uint8_t Info = (Binding << 4) | Type;
550 uint8_t Visibility = Symbol.getVisibility();
551 uint8_t Other = Symbol.getOther() | Visibility;
lib/MC/MCAsmStreamer.cpp 245 ArrayRef<uint8_t> Checksum,
1341 ArrayRef<uint8_t> Checksum,
1579 uint8_t Buffer[16] = { dwarf::DW_CFA_GNU_args_size };
1854 SmallVector<uint8_t, 64> FixupMap;
1878 uint8_t MapEntry = FixupMap[i * 8 + 0];
1910 if (uint8_t MapEntry = FixupMap[FixupBit]) {
lib/MC/MCCodeView.cpp 48 ArrayRef<uint8_t> ChecksumBytes,
49 uint8_t ChecksumKind) {
lib/MC/MCDisassembler/Disassembler.cpp 252 size_t LLVMDisasmInstruction(LLVMDisasmContextRef DCR, uint8_t *Bytes,
257 ArrayRef<uint8_t> Data(Bytes, BytesSize);
lib/MC/MCDisassembler/MCDisassembler.cpp 20 StringRef Name, uint64_t &Size, ArrayRef<uint8_t> Bytes, uint64_t Address,
lib/MC/MCDwarf.cpp 1580 uint8_t CIEVersion = getCIEVersion(IsEH, context.getDwarfVersion());
1917 uint8_t Opcode = dwarf::DW_CFA_advance_loc | AddrDelta;
lib/MC/MCELFObjectTargetWriter.cpp 13 MCELFObjectTargetWriter::MCELFObjectTargetWriter(bool Is64Bit_, uint8_t OSABI_,
16 uint8_t ABIVersion_)
lib/MC/MCInstPrinter.cpp 22 void llvm::dumpBytes(ArrayRef<uint8_t> bytes, raw_ostream &OS) {
lib/MC/MCParser/AsmParser.cpp 3625 ArrayRef<uint8_t> ChecksumAsBytes(reinterpret_cast<const uint8_t *>(CKMem),
lib/MC/MCStreamer.cpp 203 void MCStreamer::emitFill(uint64_t NumBytes, uint8_t FillValue) {
272 ArrayRef<uint8_t> Checksum,
lib/MC/MCWin64EH.cpp 24 static uint8_t CountOfUnwindCodes(std::vector<WinEH::Instruction> &Insns) {
25 uint8_t Count = 0;
63 uint8_t b2;
167 uint8_t flags = 0x01;
183 uint8_t numCodes = CountOfUnwindCodes(info->Instructions);
186 uint8_t frame = 0;
195 uint8_t numInst = info->Instructions.size();
196 for (uint8_t c = 0; c < numInst; ++c) {
334 uint8_t b, reg;
617 uint8_t numInst = info->Instructions.size();
618 for (uint8_t c = 0; c < numInst; ++c) {
lib/MC/MachObjectWriter.cpp 343 uint8_t SectionIndex = MSD.SectionIndex;
344 uint8_t Type = 0;
546 DenseMap<const MCSection*, uint8_t> SectionIndexMap;
lib/MC/StringTableBuilder.cpp 64 void StringTableBuilder::write(uint8_t *Buf) const {
lib/MC/WasmObjectWriter.cpp 189 uint8_t Buffer[5];
199 uint8_t Buffer[5];
207 uint8_t Buffer[4];
600 uint8_t Value = Align->hasEmitNops() ? 0 : Align->getValue();
1542 for (const uint8_t *
lib/MC/XCOFFObjectWriter.cpp 50 uint8_t getEncodedType(const MCSectionXCOFF *);
410 W.write<uint8_t>(SymbolRef.getStorageClass());
412 W.write<uint8_t>(1);
421 W.write<uint8_t>(XCOFF::XTY_LD);
423 W.write<uint8_t>(CSectionRef.MCCsect->getMappingClass());
448 W.write<uint8_t>(StorageClass);
450 W.write<uint8_t>(1);
459 W.write<uint8_t>(getEncodedType(CSectionRef.MCCsect));
461 W.write<uint8_t>(CSectionRef.MCCsect->getMappingClass());
632 uint8_t getEncodedType(const MCSectionXCOFF *Sec) {
639 uint8_t EncodedAlign = Log2Align << 3;
lib/Object/COFFImportFile.cpp 60 template <class T> static void append(std::vector<uint8_t> &B, const T &Data) {
66 static void writeStringTable(std::vector<uint8_t> &B,
157 NewArchiveMember createImportDescriptor(std::vector<uint8_t> &Buffer);
162 NewArchiveMember createNullImportDescriptor(std::vector<uint8_t> &Buffer);
167 NewArchiveMember createNullThunk(std::vector<uint8_t> &Buffer);
180 ObjectFactory::createImportDescriptor(std::vector<uint8_t> &Buffer) {
320 ObjectFactory::createNullImportDescriptor(std::vector<uint8_t> &Buffer) {
380 NewArchiveMember ObjectFactory::createNullThunk(std::vector<uint8_t> &Buffer) {
492 std::vector<uint8_t> Buffer;
578 std::vector<uint8_t> ImportDescriptor;
581 std::vector<uint8_t> NullImportDescriptor;
584 std::vector<uint8_t> NullThunk;
lib/Object/COFFObjectFile.cpp 295 Expected<ArrayRef<uint8_t>>
298 ArrayRef<uint8_t> Res;
346 MemoryBufferRef M, const uint8_t *base) {
363 getFirstReloc(const coff_section *Sec, MemoryBufferRef M, const uint8_t *Base) {
419 const uint8_t *StringTableAddr = base() + StringTableOffset;
473 ArrayRef<uint8_t> &Contents) const {
499 const uint8_t *Ptr = reinterpret_cast<const uint8_t *>(IntPtr);
509 ArrayRef<uint8_t> InfoBytes;
738 const uint8_t *DataDirAddr;
879 uint8_t COFFObjectFile::getBytesInAddress() const {
1021 ArrayRef<uint8_t>
1023 const uint8_t *Aux = nullptr;
1100 ArrayRef<uint8_t> &Res) const {
1653 std::error_code BaseRelocRef::getType(uint8_t &Type) const {
1742 const uint8_t *TablePtr = reinterpret_cast<const uint8_t *>(&Table);
1787 const uint8_t *EntryPtr = reinterpret_cast<const uint8_t *>(&Entry);
1833 ArrayRef<uint8_t> Contents;
lib/Object/ELF.cpp 354 Expected<ArrayRef<uint8_t>> ContentsOrErr = getSectionContents(Sec);
357 const uint8_t *Cur = ContentsOrErr->begin();
358 const uint8_t *End = ContentsOrErr->end();
557 Expected<const uint8_t *> ELFFile<ELFT>::toMappedAddr(uint64_t VAddr) const {
lib/Object/MachOObjectFile.cpp 1683 uint8_t NType = 0;
1684 uint8_t NSect = 0;
1818 uint8_t n_type = Entry.n_type;
1842 uint8_t MachOType = Entry.n_type;
1881 uint8_t index = Entry.n_sect;
1948 ArrayRef<uint8_t> MachOObjectFile::getSectionContents(uint32_t Offset,
1953 Expected<ArrayRef<uint8_t>>
2264 uint8_t MachOObjectFile::getRelocationLength(DataRefImpl Rel) const {
2535 uint8_t MachOObjectFile::getBytesInAddress() const {
2781 ArrayRef<uint8_t> T) : E(E), O(O), Trie(T) {}
2814 uint64_t ExportEntry::readULEB128(const uint8_t *&Ptr, const char **error) {
2850 ExportEntry::NodeState::NodeState(const uint8_t *Ptr)
2855 const uint8_t *Ptr = Trie.begin() + offset;
2867 const uint8_t* Children = State.Current + ExportInfoSize;
2877 const uint8_t *ExportStart = State.Current;
2922 const uint8_t *End = State.Current + 1;
3084 MachOObjectFile::exports(Error &E, ArrayRef<uint8_t> Trie,
3103 ArrayRef<uint8_t> Bytes, bool is64Bit)
3136 const uint8_t *OpcodeStart = Ptr;
3137 uint8_t Byte = *Ptr++;
3138 uint8_t ImmValue = Byte & MachO::REBASE_IMMEDIATE_MASK;
3139 uint8_t Opcode = Byte & MachO::REBASE_OPCODE_MASK;
3434 ArrayRef<uint8_t> Opcodes, bool is64) {
3451 ArrayRef<uint8_t> Bytes, bool is64Bit, Kind BK)
3484 const uint8_t *OpcodeStart = Ptr;
3485 uint8_t Byte = *Ptr++;
3486 uint8_t ImmValue = Byte & MachO::BIND_IMMEDIATE_MASK;
3487 uint8_t Opcode = Byte & MachO::BIND_OPCODE_MASK;
3489 const uint8_t *SymStart;
3498 for (const uint8_t *P = Ptr; P < Opcodes.end(); ++P) {
4033 uint8_t PointerSize,
4104 ArrayRef<uint8_t> Opcodes, bool is64,
4531 ArrayRef<uint8_t> MachOObjectFile::getDyldInfoRebaseOpcodes() const {
4540 const uint8_t *Ptr =
4545 ArrayRef<uint8_t> MachOObjectFile::getDyldInfoBindOpcodes() const {
4554 const uint8_t *Ptr =
4559 ArrayRef<uint8_t> MachOObjectFile::getDyldInfoWeakBindOpcodes() const {
4568 const uint8_t *Ptr =
4573 ArrayRef<uint8_t> MachOObjectFile::getDyldInfoLazyBindOpcodes() const {
4582 const uint8_t *Ptr =
4587 ArrayRef<uint8_t> MachOObjectFile::getDyldInfoExportsTrie() const {
4596 const uint8_t *Ptr =
4601 ArrayRef<uint8_t> MachOObjectFile::getUuid() const {
lib/Object/Minidump.cpp 17 Optional<ArrayRef<uint8_t>>
58 Optional<ArrayRef<uint8_t>> Stream = getRawStream(StreamType::MemoryInfoList);
66 Expected<ArrayRef<uint8_t>> Data =
76 Optional<ArrayRef<uint8_t>> Stream = getRawStream(Type);
101 Expected<ArrayRef<uint8_t>>
102 MinidumpFile::getDataSlice(ArrayRef<uint8_t> Data, size_t Offset, size_t Size) {
112 ArrayRef<uint8_t> Data = arrayRefFromStringRef(Source.getBuffer());
133 Expected<ArrayRef<uint8_t>> Stream =
lib/Object/WasmObjectFile.cpp 71 static uint8_t readUint8(WasmObjectFile::ReadContext &Ctx) {
133 static uint8_t readVaruint1(WasmObjectFile::ReadContext &Ctx) {
158 static uint8_t readOpcode(WasmObjectFile::ReadContext &Ctx) {
187 uint8_t EndOpcode = readOpcode(Ctx);
352 uint8_t Type = readUint8(Ctx);
354 const uint8_t *SubSectionEnd = Ctx.Ptr + Size;
406 const uint8_t *OrigEnd = Ctx.End;
409 uint8_t Type = readUint8(Ctx);
872 uint8_t Form = readUint8(Ctx);
1144 const uint8_t *FunctionStart = Ctx.Ptr;
1146 const uint8_t *FunctionEnd = Ctx.Ptr + Size;
1427 Expected<ArrayRef<uint8_t>>
1525 uint8_t WasmObjectFile::getBytesInAddress() const { return 4; }
lib/Object/WindowsResource.cpp 383 std::vector<std::vector<uint8_t>> &Data,
503 std::vector<std::vector<uint8_t>> &Data, TreeNode *&Result) {
626 const ArrayRef<std::vector<uint8_t>> Data;
lib/Object/XCOFFObjectFile.cpp 57 uint8_t XCOFFRelocation32::getRelocatedLength() const {
252 Expected<ArrayRef<uint8_t>>
361 uint8_t XCOFFObjectFile::getBytesInAddress() const { return is64Bit() ? 8 : 4; }
703 uint8_t XCOFFSymbolRef::getNumberOfAuxEntries() const {
lib/ObjectYAML/COFFEmitter.cpp 194 uint8_t *Buffer = Allocator.Allocate<uint8_t>(Size);
194 uint8_t *Buffer = Allocator.Allocate<uint8_t>(Size);
195 MutableArrayRef<uint8_t> Output(Buffer, Size);
lib/ObjectYAML/COFFYAML.cpp 309 NSectionSelectionType(IO &, uint8_t C)
312 uint8_t denormalize(IO &) { return SelectionType; }
342 NAuxTokenType(IO &, uint8_t C)
352 NStorageClass(IO &, uint8_t S) : StorageClass(COFF::SymbolStorageClass(S)) {}
354 uint8_t denormalize(IO &) { return StorageClass; }
524 MappingNormalization<NSectionSelectionType, uint8_t> NSST(
537 MappingNormalization<NAuxTokenType, uint8_t> NATT(IO, ACT.AuxType);
543 MappingNormalization<NStorageClass, uint8_t> NS(IO, S.Header.StorageClass);
lib/ObjectYAML/CodeViewYAMLDebugSections.cpp 901 llvm::CodeViewYAML::fromDebugS(ArrayRef<uint8_t> Data,
lib/ObjectYAML/CodeViewYAMLSymbols.cpp 248 uint8_t *Buffer = Allocator.Allocate<uint8_t>(TotalLen);
248 uint8_t *Buffer = Allocator.Allocate<uint8_t>(TotalLen);
260 std::vector<uint8_t> Data;
lib/ObjectYAML/CodeViewYAMLTypeHashing.cpp 48 DebugHSection llvm::CodeViewYAML::fromDebugH(ArrayRef<uint8_t> DebugH) {
59 ArrayRef<uint8_t> S;
67 ArrayRef<uint8_t> llvm::CodeViewYAML::toDebugH(const DebugHSection &DebugH,
70 uint8_t *Data = Alloc.Allocate<uint8_t>(Size);
70 uint8_t *Data = Alloc.Allocate<uint8_t>(Size);
71 MutableArrayRef<uint8_t> Buffer(Data, Size);
lib/ObjectYAML/CodeViewYAMLTypes.cpp 157 uint8_t *OutBuffer = S.Guid;
163 uint8_t Value = (llvm::hexDigitValue(*Iter++) << 4);
776 llvm::CodeViewYAML::fromDebugT(ArrayRef<uint8_t> DebugTorP,
796 ArrayRef<uint8_t> llvm::CodeViewYAML::toDebugT(ArrayRef<LeafRecord> Leafs,
806 uint8_t *ResultBuffer = Alloc.Allocate<uint8_t>(Size);
806 uint8_t *ResultBuffer = Alloc.Allocate<uint8_t>(Size);
807 MutableArrayRef<uint8_t> Output(ResultBuffer, Size);
lib/ObjectYAML/DWARFEmitter.cpp 59 std::vector<uint8_t> FillData;
158 void onValue(const uint8_t U) override {
327 virtual void onValue(const uint8_t U) { Length += 1; }
lib/ObjectYAML/DWARFVisitor.h 57 virtual void onValue(const uint8_t U) {}
lib/ObjectYAML/ELFEmitter.cpp 1078 support::endian::write<uint8_t>(OS, arrayRefFromStringRef(NE.Name),
1080 support::endian::write<uint8_t>(OS, 0, ELFT::TargetEndianness);
lib/ObjectYAML/ELFYAML.cpp 870 NormalizedOther(IO &IO, Optional<uint8_t> Original) : YamlIO(IO) {
875 for (std::pair<StringRef, uint8_t> &P :
877 uint8_t FlagValue = P.second;
893 uint8_t toValue(StringRef Name) {
895 MapVector<StringRef, uint8_t> Flags = getFlags(Object->Header.Machine);
901 uint8_t Val;
910 Optional<uint8_t> denormalize(IO &) {
913 uint8_t Ret = 0;
922 MapVector<StringRef, uint8_t> getFlags(unsigned EMachine) {
923 MapVector<StringRef, uint8_t> Map;
974 MappingNormalization<NormalizedOther, Optional<uint8_t>> Keys(IO,
lib/ObjectYAML/MachOEmitter.cpp 191 std::vector<uint8_t> FillData;
328 uint8_t OpByte = Opcode.Opcode | Opcode.Imm;
433 uint8_t OpByte = Opcode.Opcode | Opcode.Imm;
lib/ObjectYAML/MinidumpEmitter.cpp 41 size_t allocateBytes(ArrayRef<uint8_t> Data) {
lib/ObjectYAML/MinidumpYAML.cpp 171 FixedSizeHex(uint8_t (&Storage)[N]) : Storage(Storage) {}
173 uint8_t (&Storage)[N];
470 Expected<ArrayRef<uint8_t>> ExpectedThreadContext =
lib/ObjectYAML/WasmEmitter.cpp 104 static int writeUint8(raw_ostream &OS, uint8_t Value) {
lib/ObjectYAML/YAML.cpp 46 uint8_t Byte = llvm::hexDigitValue(Data[I]);
60 for (uint8_t Byte : Data)
lib/ProfileData/Coverage/CoverageMappingReader.cpp 591 StringRef Coverage, InstrProfSymtab &&ProfileNames, uint8_t BytesInAddress,
624 uint8_t BytesInAddress = 8;
700 uint8_t BytesInAddress = OF->getBytesInAddress();
lib/ProfileData/GCOV.cpp 583 uint8_t Res = (Numerator * 100 + Divisor / 2) / Divisor;
lib/ProfileData/InstrProf.cpp 382 uint8_t Header[16], *P = Header;
437 const uint8_t *P = NameStrings.bytes_begin();
438 const uint8_t *EndP = NameStrings.bytes_end();
794 uint8_t ValueDataCount = this->SiteCountArray[VSite];
lib/ProfileData/SampleProf.cpp 201 std::error_code ProfileSymbolList::read(const uint8_t *Data,
lib/ProfileData/SampleProfReader.cpp 443 SampleProfileReaderBinary::readFuncProfile(const uint8_t *Start) {
474 SampleProfileReaderExtBinary::readOneSection(const uint8_t *Start,
533 const uint8_t *Start = Data;
554 const uint8_t *FuncProfileAddr = Start + NameOffset.second;
576 const uint8_t *SecStart, const uint64_t SecSize,
577 const uint8_t *&DecompressBuf, uint64_t &DecompressBufSize) {
605 const uint8_t *BufStart =
613 const uint8_t *SecStart = BufStart + Entry.Offset;
622 const uint8_t *DecompressBuf;
664 const uint8_t *SavedData = Data;
761 const uint8_t *BufStart =
858 const uint8_t *SavedData = Data;
859 const uint8_t *TableStart =
949 const uint8_t *Data =
956 const uint8_t *Data =
963 const uint8_t *Data =
lib/Remarks/BitstreamRemarkParser.cpp 375 if (Optional<uint8_t> Type = MetaHelper.ContainerType) {
lib/Support/APFloat.cpp 3082 uint8_t myintegerbit = mysignificand >> 63;
lib/Support/APInt.cpp 50 inline static unsigned getDigit(char cdigit, uint8_t radix) {
118 APInt::APInt(unsigned numbits, StringRef Str, uint8_t radix)
493 unsigned APInt::getBitsNeeded(StringRef str, uint8_t radix) {
707 return APInt(BitWidth, llvm::reverseBits<uint8_t>(U.VAL));
1082 static const uint8_t results[32] = {
2092 void APInt::fromString(unsigned numbits, StringRef str, uint8_t radix) {
3040 void llvm::StoreIntToMemory(const APInt &IntVal, uint8_t *Dst,
3043 const uint8_t *Src = (const uint8_t *)IntVal.getRawData();
3066 void llvm::LoadIntFromMemory(APInt &IntVal, uint8_t *Src, unsigned LoadBytes) {
3068 uint8_t *Dst = reinterpret_cast<uint8_t *>(
lib/Support/ARMAttributeParser.cpp 74 uint64_t ARMAttributeParser::ParseInteger(const uint8_t *Data,
82 StringRef ARMAttributeParser::ParseString(const uint8_t *Data,
90 void ARMAttributeParser::IntegerAttribute(AttrType Tag, const uint8_t *Data,
100 void ARMAttributeParser::StringAttribute(AttrType Tag, const uint8_t *Data,
131 void ARMAttributeParser::CPU_arch(AttrType Tag, const uint8_t *Data,
147 void ARMAttributeParser::CPU_arch_profile(AttrType Tag, const uint8_t *Data,
164 void ARMAttributeParser::ARM_ISA_use(AttrType Tag, const uint8_t *Data,
174 void ARMAttributeParser::THUMB_ISA_use(AttrType Tag, const uint8_t *Data,
184 void ARMAttributeParser::FP_arch(AttrType Tag, const uint8_t *Data,
197 void ARMAttributeParser::WMMX_arch(AttrType Tag, const uint8_t *Data,
207 void ARMAttributeParser::Advanced_SIMD_arch(AttrType Tag, const uint8_t *Data,
219 void ARMAttributeParser::MVE_arch(AttrType Tag, const uint8_t *Data,
231 void ARMAttributeParser::PCS_config(AttrType Tag, const uint8_t *Data,
244 void ARMAttributeParser::ABI_PCS_R9_use(AttrType Tag, const uint8_t *Data,
254 void ARMAttributeParser::ABI_PCS_RW_data(AttrType Tag, const uint8_t *Data,
266 void ARMAttributeParser::ABI_PCS_RO_data(AttrType Tag, const uint8_t *Data,
278 void ARMAttributeParser::ABI_PCS_GOT_use(AttrType Tag, const uint8_t *Data,
290 void ARMAttributeParser::ABI_PCS_wchar_t(AttrType Tag, const uint8_t *Data,
302 void ARMAttributeParser::ABI_FP_rounding(AttrType Tag, const uint8_t *Data,
312 void ARMAttributeParser::ABI_FP_denormal(AttrType Tag, const uint8_t *Data,
324 void ARMAttributeParser::ABI_FP_exceptions(AttrType Tag, const uint8_t *Data,
335 const uint8_t *Data,
345 void ARMAttributeParser::ABI_FP_number_model(AttrType Tag, const uint8_t *Data,
357 void ARMAttributeParser::ABI_align_needed(AttrType Tag, const uint8_t *Data,
377 void ARMAttributeParser::ABI_align_preserved(AttrType Tag, const uint8_t *Data,
398 void ARMAttributeParser::ABI_enum_size(AttrType Tag, const uint8_t *Data,
410 void ARMAttributeParser::ABI_HardFP_use(AttrType Tag, const uint8_t *Data,
422 void ARMAttributeParser::ABI_VFP_args(AttrType Tag, const uint8_t *Data,
434 void ARMAttributeParser::ABI_WMMX_args(AttrType Tag, const uint8_t *Data,
445 const uint8_t *Data,
459 const uint8_t *Data,
472 void ARMAttributeParser::compatibility(AttrType Tag, const uint8_t *Data,
496 void ARMAttributeParser::CPU_unaligned_access(AttrType Tag, const uint8_t *Data,
506 void ARMAttributeParser::FP_HP_extension(AttrType Tag, const uint8_t *Data,
516 void ARMAttributeParser::ABI_FP_16bit_format(AttrType Tag, const uint8_t *Data,
526 void ARMAttributeParser::MPextension_use(AttrType Tag, const uint8_t *Data,
536 void ARMAttributeParser::DIV_use(AttrType Tag, const uint8_t *Data,
548 void ARMAttributeParser::DSP_extension(AttrType Tag, const uint8_t *Data,
558 void ARMAttributeParser::T2EE_use(AttrType Tag, const uint8_t *Data,
568 void ARMAttributeParser::Virtualization_use(AttrType Tag, const uint8_t *Data,
581 void ARMAttributeParser::nodefaults(AttrType Tag, const uint8_t *Data,
587 void ARMAttributeParser::ParseIndexList(const uint8_t *Data, uint32_t &Offset,
588 SmallVectorImpl<uint8_t> &IndexList) {
599 void ARMAttributeParser::ParseAttributeList(const uint8_t *Data,
631 void ARMAttributeParser::ParseSubsection(const uint8_t *Data, uint32_t Length) {
649 uint8_t Tag = Data[Offset];
667 SmallVector<uint8_t, 8> Indicies;
698 void ARMAttributeParser::Parse(ArrayRef<uint8_t> Section, bool isLittle) {
lib/Support/ARMWinEH.cpp 16 uint8_t NumRegisters = RF.Reg();
17 uint8_t RegistersVFP = RF.R();
18 uint8_t LinkRegister = RF.L();
19 uint8_t ChainedFrame = RF.C();
lib/Support/BinaryStreamReader.cpp 22 BinaryStreamReader::BinaryStreamReader(ArrayRef<uint8_t> Data,
30 ArrayRef<uint8_t> &Buffer) {
37 Error BinaryStreamReader::readBytes(ArrayRef<uint8_t> &Buffer, uint32_t Size) {
45 SmallVector<uint8_t, 10> EncodedBytes;
46 ArrayRef<uint8_t> NextByte;
60 SmallVector<uint8_t, 10> EncodedBytes;
61 ArrayRef<uint8_t> NextByte;
79 ArrayRef<uint8_t> Buffer;
123 ArrayRef<uint8_t> Bytes;
160 uint8_t BinaryStreamReader::peek() const {
161 ArrayRef<uint8_t> Buffer;
lib/Support/BinaryStreamRef.cpp 19 ArrayRefImpl(ArrayRef<uint8_t> Data, endianness Endian) : BBS(Data, Endian) {}
25 ArrayRef<uint8_t> &Buffer) override {
29 ArrayRef<uint8_t> &Buffer) override {
40 MutableArrayRefImpl(MutableArrayRef<uint8_t> Data, endianness Endian)
48 ArrayRef<uint8_t> &Buffer) override {
52 ArrayRef<uint8_t> &Buffer) override {
57 Error writeBytes(uint32_t Offset, ArrayRef<uint8_t> Data) override {
72 BinaryStreamRef::BinaryStreamRef(ArrayRef<uint8_t> Data, endianness Endian)
80 ArrayRef<uint8_t> &Buffer) const {
87 uint32_t Offset, ArrayRef<uint8_t> &Buffer) const {
111 WritableBinaryStreamRef::WritableBinaryStreamRef(MutableArrayRef<uint8_t> Data,
118 ArrayRef<uint8_t> Data) const {
lib/Support/BinaryStreamWriter.cpp 24 BinaryStreamWriter::BinaryStreamWriter(MutableArrayRef<uint8_t> Data,
28 Error BinaryStreamWriter::writeBytes(ArrayRef<uint8_t> Buffer) {
36 uint8_t EncodedBytes[10] = {0};
42 uint8_t EncodedBytes[10] = {0};
73 ArrayRef<uint8_t> Chunk;
lib/Support/CRC.cpp 75 uint32_t llvm::crc32(uint32_t CRC, ArrayRef<uint8_t> Data) {
77 for (uint8_t Byte : Data) {
93 uint32_t llvm::crc32(ArrayRef<uint8_t> Data) { return crc32(0, Data); }
95 void JamCRC::update(ArrayRef<uint8_t> Data) {
lib/Support/DataExtractor.cpp 72 uint8_t DataExtractor::getU8(uint64_t *offset_ptr, llvm::Error *Err) const {
73 return getU<uint8_t>(offset_ptr, this, IsLittleEndian, Data.data(), Err);
76 uint8_t *
77 DataExtractor::getU8(uint64_t *offset_ptr, uint8_t *dst, uint32_t count) const {
78 return getUs<uint8_t>(offset_ptr, dst, count, this, IsLittleEndian,
82 uint8_t *DataExtractor::getU8(Cursor &C, uint8_t *Dst, uint32_t Count) const {
82 uint8_t *DataExtractor::getU8(Cursor &C, uint8_t *Dst, uint32_t Count) const {
83 return getUs<uint8_t>(&C.Offset, Dst, Count, this, IsLittleEndian,
lib/Support/FileOutputBuffer.cpp 40 uint8_t *getBufferStart() const override { return (uint8_t *)Buffer->data(); }
42 uint8_t *getBufferEnd() const override {
83 uint8_t *getBufferStart() const override { return (uint8_t *)Buffer.base(); }
85 uint8_t *getBufferEnd() const override {
lib/Support/GlobPattern.cpp 35 uint8_t Start = S[0];
36 uint8_t End = S[2];
lib/Support/Host.cpp 341 uint8_t v3_insns[40] __attribute__ ((aligned (8))) =
353 uint8_t v2_insns[40] __attribute__ ((aligned (8))) =
lib/Support/JSON.cpp 411 uint8_t FirstByte = 0xC0 | ((Rune & 0x7C0) >> 6);
412 uint8_t SecondByte = 0x80 | (Rune & 0x3F);
416 uint8_t FirstByte = 0xE0 | ((Rune & 0xF000) >> 12);
417 uint8_t SecondByte = 0x80 | ((Rune & 0xFC0) >> 6);
418 uint8_t ThirdByte = 0x80 | (Rune & 0x3F);
423 uint8_t FirstByte = 0xF0 | ((Rune & 0x1F0000) >> 18);
424 uint8_t SecondByte = 0x80 | ((Rune & 0x3F000) >> 12);
425 uint8_t ThirdByte = 0x80 | ((Rune & 0xFC0) >> 6);
426 uint8_t FourthByte = 0x80 | (Rune & 0x3F);
lib/Support/MD5.cpp 79 const uint8_t *MD5::body(ArrayRef<uint8_t> Data) {
79 const uint8_t *MD5::body(ArrayRef<uint8_t> Data) {
80 const uint8_t *ptr;
189 void MD5::update(ArrayRef<uint8_t> Data) {
192 const uint8_t *Ptr = Data.data();
228 ArrayRef<uint8_t> SVal((const uint8_t *)Str.data(), Str.size());
276 std::array<uint8_t, 16> MD5::hash(ArrayRef<uint8_t> Data) {
276 std::array<uint8_t, 16> MD5::hash(ArrayRef<uint8_t> Data) {
lib/Support/Path.cpp 999 std::vector<uint8_t> Buf(BufSize);
lib/Support/SHA1.cpp 193 void SHA1::addUncounted(uint8_t Data) {
207 void SHA1::writebyte(uint8_t Data) {
212 void SHA1::update(ArrayRef<uint8_t> Data) {
272 std::array<uint8_t, 20> SHA1::hash(ArrayRef<uint8_t> Data) {
272 std::array<uint8_t, 20> SHA1::hash(ArrayRef<uint8_t> Data) {
277 std::array<uint8_t, 20> Arr;
lib/Support/ScopedPrinter.cpp 23 ArrayRef<uint8_t> Data, bool Block,
lib/Support/SourceMgr.cpp 112 if (OffsetCache.is<std::vector<uint8_t>*>())
113 delete OffsetCache.get<std::vector<uint8_t>*>();
135 if (Sz <= std::numeric_limits<uint8_t>::max())
136 LineNo = SB.getLineNumber<uint8_t>(Ptr);
lib/Support/StringRef.cpp 163 uint8_t BadCharSkip[256];
169 uint8_t Last = Start[N - 1];
lib/Support/YAMLParser.cpp 570 uint8_t FirstByte = 0xC0 | ((UnicodeScalarValue & 0x7C0) >> 6);
571 uint8_t SecondByte = 0x80 | (UnicodeScalarValue & 0x3F);
575 uint8_t FirstByte = 0xE0 | ((UnicodeScalarValue & 0xF000) >> 12);
576 uint8_t SecondByte = 0x80 | ((UnicodeScalarValue & 0xFC0) >> 6);
577 uint8_t ThirdByte = 0x80 | (UnicodeScalarValue & 0x3F);
582 uint8_t FirstByte = 0xF0 | ((UnicodeScalarValue & 0x1F0000) >> 18);
583 uint8_t SecondByte = 0x80 | ((UnicodeScalarValue & 0x3F000) >> 12);
584 uint8_t ThirdByte = 0x80 | ((UnicodeScalarValue & 0xFC0) >> 6);
585 uint8_t FourthByte = 0x80 | (UnicodeScalarValue & 0x3F);
lib/Support/YAMLTraits.cpp 890 void ScalarTraits<uint8_t>::output(const uint8_t &Val, void *,
897 StringRef ScalarTraits<uint8_t>::input(StringRef Scalar, void *, uint8_t &Val) {
1033 uint8_t Num = Val;
lib/Support/raw_ostream.cpp 457 for (uint8_t Byte : Line) {
lib/Support/xxhash.cpp 136 uint64_t llvm::xxHash64(ArrayRef<uint8_t> Data) {
lib/Target/AArch64/AArch64Subtarget.h 39 enum ARMProcFamilyEnum : uint8_t {
196 uint8_t MaxInterleaveFactor = 2;
197 uint8_t VectorInsertExtractBaseCost = 3;
lib/Target/AArch64/Disassembler/AArch64Disassembler.cpp 252 ArrayRef<uint8_t> Bytes,
lib/Target/AArch64/Disassembler/AArch64Disassembler.h 27 getInstruction(MCInst &Instr, uint64_t &Size, ArrayRef<uint8_t> Bytes,
lib/Target/AArch64/MCTargetDesc/AArch64AddressingModes.h 346 uint8_t Sign = (Imm >> 7) & 0x1;
347 uint8_t Exp = (Imm >> 4) & 0x7;
348 uint8_t Mantissa = Imm & 0xf;
456 static inline uint8_t encodeAdvSIMDModImmType1(uint64_t Imm) {
460 static inline uint64_t decodeAdvSIMDModImmType1(uint8_t Imm) {
471 static inline uint8_t encodeAdvSIMDModImmType2(uint64_t Imm) {
475 static inline uint64_t decodeAdvSIMDModImmType2(uint8_t Imm) {
486 static inline uint8_t encodeAdvSIMDModImmType3(uint64_t Imm) {
490 static inline uint64_t decodeAdvSIMDModImmType3(uint8_t Imm) {
501 static inline uint8_t encodeAdvSIMDModImmType4(uint64_t Imm) {
505 static inline uint64_t decodeAdvSIMDModImmType4(uint8_t Imm) {
517 static inline uint8_t encodeAdvSIMDModImmType5(uint64_t Imm) {
521 static inline uint64_t decodeAdvSIMDModImmType5(uint8_t Imm) {
533 static inline uint8_t encodeAdvSIMDModImmType6(uint64_t Imm) {
537 static inline uint64_t decodeAdvSIMDModImmType6(uint8_t Imm) {
548 static inline uint8_t encodeAdvSIMDModImmType7(uint64_t Imm) {
552 static inline uint64_t decodeAdvSIMDModImmType7(uint8_t Imm) {
563 static inline uint64_t decodeAdvSIMDModImmType8(uint8_t Imm) {
568 static inline uint8_t encodeAdvSIMDModImmType8(uint64_t Imm) {
579 static inline uint8_t encodeAdvSIMDModImmType9(uint64_t Imm) {
583 static inline uint64_t decodeAdvSIMDModImmType9(uint8_t Imm) {
613 static inline uint8_t encodeAdvSIMDModImmType10(uint64_t Imm) {
614 uint8_t BitA = (Imm & 0xff00000000000000ULL) != 0;
615 uint8_t BitB = (Imm & 0x00ff000000000000ULL) != 0;
616 uint8_t BitC = (Imm & 0x0000ff0000000000ULL) != 0;
617 uint8_t BitD = (Imm & 0x000000ff00000000ULL) != 0;
618 uint8_t BitE = (Imm & 0x00000000ff000000ULL) != 0;
619 uint8_t BitF = (Imm & 0x0000000000ff0000ULL) != 0;
620 uint8_t BitG = (Imm & 0x000000000000ff00ULL) != 0;
621 uint8_t BitH = (Imm & 0x00000000000000ffULL) != 0;
623 uint8_t EncVal = BitA;
641 static inline uint64_t decodeAdvSIMDModImmType10(uint8_t Imm) {
662 static inline uint8_t encodeAdvSIMDModImmType11(uint64_t Imm) {
663 uint8_t BitA = (Imm & 0x80000000ULL) != 0;
664 uint8_t BitB = (Imm & 0x20000000ULL) != 0;
665 uint8_t BitC = (Imm & 0x01000000ULL) != 0;
666 uint8_t BitD = (Imm & 0x00800000ULL) != 0;
667 uint8_t BitE = (Imm & 0x00400000ULL) != 0;
668 uint8_t BitF = (Imm & 0x00200000ULL) != 0;
669 uint8_t BitG = (Imm & 0x00100000ULL) != 0;
670 uint8_t BitH = (Imm & 0x00080000ULL) != 0;
672 uint8_t EncVal = BitA;
690 static inline uint64_t decodeAdvSIMDModImmType11(uint8_t Imm) {
711 static inline uint8_t encodeAdvSIMDModImmType12(uint64_t Imm) {
712 uint8_t BitA = (Imm & 0x8000000000000000ULL) != 0;
713 uint8_t BitB = (Imm & 0x0040000000000000ULL) != 0;
714 uint8_t BitC = (Imm & 0x0020000000000000ULL) != 0;
715 uint8_t BitD = (Imm & 0x0010000000000000ULL) != 0;
716 uint8_t BitE = (Imm & 0x0008000000000000ULL) != 0;
717 uint8_t BitF = (Imm & 0x0004000000000000ULL) != 0;
718 uint8_t BitG = (Imm & 0x0002000000000000ULL) != 0;
719 uint8_t BitH = (Imm & 0x0001000000000000ULL) != 0;
721 uint8_t EncVal = BitA;
739 static inline uint64_t decodeAdvSIMDModImmType12(uint8_t Imm) {
lib/Target/AArch64/MCTargetDesc/AArch64AsmBackend.cpp 701 uint8_t OSABI;
704 ELFAArch64AsmBackend(const Target &T, const Triple &TT, uint8_t OSABI,
745 uint8_t OSABI = MCELFObjectTargetWriter::getOSABI(TheTriple.getOS());
758 uint8_t OSABI = MCELFObjectTargetWriter::getOSABI(TheTriple.getOS());
lib/Target/AArch64/MCTargetDesc/AArch64ELFObjectWriter.cpp 33 AArch64ELFObjectWriter(uint8_t OSABI, bool IsILP32);
45 AArch64ELFObjectWriter::AArch64ELFObjectWriter(uint8_t OSABI, bool IsILP32)
450 llvm::createAArch64ELFObjectWriter(uint8_t OSABI, bool IsILP32) {
lib/Target/AArch64/MCTargetDesc/AArch64MCTargetDesc.cpp 329 findPltEntries(uint64_t PltSectionVA, ArrayRef<uint8_t> PltContents,
lib/Target/AArch64/MCTargetDesc/AArch64MCTargetDesc.h 52 createAArch64ELFObjectWriter(uint8_t OSABI, bool IsILP32);
lib/Target/AMDGPU/AMDGPUInstrInfo.h 40 uint8_t RsrcArg;
lib/Target/AMDGPU/AMDGPUMachineModuleInfo.h 55 Optional<uint8_t> getSyncScopeInclusionOrdering(SyncScope::ID SSID) const {
lib/Target/AMDGPU/AMDKernelCodeT.h 24 typedef uint8_t hsa_powertwo8_t;
26 typedef uint8_t hsa_ext_brig_profile8_t;
27 typedef uint8_t hsa_ext_brig_machine_model8_t;
314 uint8_t required_dim;
317 uint8_t reserved[75];
638 uint8_t kernarg_segment_alignment;
639 uint8_t group_segment_alignment;
640 uint8_t private_segment_alignment;
647 uint8_t wavefront_size;
650 uint8_t reserved3[12];
lib/Target/AMDGPU/AsmParser/AMDGPUAsmParser.cpp 1312 OperandMatchResultTy parseExpTgtImpl(StringRef Str, uint8_t &Val);
1468 static const fltSemantics *getOpFltSemantics(uint8_t OperandType) {
1712 uint8_t OpTy = InstDesc.OpInfo[OpNum].OperandType;
5175 uint8_t Attr;
5204 uint8_t &Val) {
5268 uint8_t Val;
lib/Target/AMDGPU/Disassembler/AMDGPUDisassembler.cpp 234 template <typename T> static inline T eatBytes(ArrayRef<uint8_t>& Bytes) {
241 DecodeStatus AMDGPUDisassembler::tryDecodeInst(const uint8_t* Table,
269 ArrayRef<uint8_t> Bytes_,
1215 using SymbolInfoTy = std::tuple<uint64_t, StringRef, uint8_t>;
lib/Target/AMDGPU/Disassembler/AMDGPUDisassembler.h 45 mutable ArrayRef<uint8_t> Bytes;
55 ArrayRef<uint8_t> Bytes, uint64_t Address,
66 DecodeStatus tryDecodeInst(const uint8_t* Table, MCInst &MI, uint64_t Inst,
lib/Target/AMDGPU/MCTargetDesc/AMDGPUAsmBackend.cpp 202 uint8_t OSABI = ELF::ELFOSABI_NONE;
203 uint8_t ABIVersion = 0;
206 ELFAMDGPUAsmBackend(const Target &T, const Triple &TT, uint8_t ABIVersion) :
lib/Target/AMDGPU/MCTargetDesc/AMDGPUELFObjectWriter.cpp 25 AMDGPUELFObjectWriter(bool Is64Bit, uint8_t OSABI, bool HasRelocationAddend,
26 uint8_t ABIVersion);
37 uint8_t OSABI,
39 uint8_t ABIVersion)
87 llvm::createAMDGPUELFObjectWriter(bool Is64Bit, uint8_t OSABI,
89 uint8_t ABIVersion) {
lib/Target/AMDGPU/MCTargetDesc/AMDGPUMCTargetDesc.h 51 createAMDGPUELFObjectWriter(bool Is64Bit, uint8_t OSABI,
52 bool HasRelocationAddend, uint8_t ABIVersion);
lib/Target/AMDGPU/SIFoldOperands.cpp 450 Register UseReg, uint8_t OpTy,
491 uint8_t OpTy = OpInfo[UseOpIdx].OperandType;
lib/Target/AMDGPU/SIInstrInfo.cpp 290 uint8_t Offset0 = Offset0Imm->getImm();
291 uint8_t Offset1 = Offset1Imm->getImm();
2831 uint8_t OperandType) const {
lib/Target/AMDGPU/SIInstrInfo.h 695 bool isInlineConstant(const MachineOperand &MO, uint8_t OperandType) const;
732 uint8_t OpType = (Size == 8) ?
lib/Target/AMDGPU/SIShrinkInstructions.cpp 613 uint8_t Nop0 = MI.getOperand(0).getImm() + 1;
614 uint8_t Nop1 = NextMI.getOperand(0).getImm() + 1;
lib/Target/AMDGPU/Utils/AMDGPUBaseInfo.cpp 134 uint8_t elements;
143 uint8_t elements;
lib/Target/AMDGPU/Utils/AMDGPUBaseInfo.h 204 uint8_t NumExtraArgs;
216 uint8_t NumCoords;
217 uint8_t NumGradients;
219 uint8_t Encoding;
227 const MIMGDimInfo *getMIMGDimInfoByEncoding(uint8_t DimEnc);
258 uint8_t MIMGEncoding;
259 uint8_t VDataDwords;
260 uint8_t VAddrDwords;
lib/Target/ARC/Disassembler/ARCDisassembler.cpp 44 ArrayRef<uint8_t> Bytes, uint64_t Address,
51 static bool readInstruction32(ArrayRef<uint8_t> Bytes, uint64_t Address,
60 static bool readInstruction64(ArrayRef<uint8_t> Bytes, uint64_t Address,
70 static bool readInstruction48(ArrayRef<uint8_t> Bytes, uint64_t Address,
79 static bool readInstruction16(ArrayRef<uint8_t> Bytes, uint64_t Address,
298 ArrayRef<uint8_t> Bytes,
307 uint8_t DecodeByte = (Bytes[1] & 0xF7) >> 3;
lib/Target/ARM/ARMBasicBlockInfo.h 62 uint8_t KnownBits = 0;
67 uint8_t Unalign = 0;
lib/Target/ARM/ARMExpandPseudoInsts.cpp 128 uint8_t RegSpacing; // One of type NEONRegSpacing
129 uint8_t NumRegs; // D registers loaded or stored
130 uint8_t RegElts; // elements per D register; used for lane ops
lib/Target/ARM/ARMFastISel.cpp 2608 static const uint8_t isSingleInstrTbl[3][2][2][2] = {
2894 uint8_t ExpectedImm;
2895 uint8_t isZExt : 1;
2896 uint8_t ExpectedVT : 7;
lib/Target/ARM/ARMISelLowering.cpp 1472 std::pair<const TargetRegisterClass *, uint8_t>
1476 uint8_t Cost = 1;
3395 SmallVector<uint8_t,16> V(S.size());
lib/Target/ARM/ARMISelLowering.h 632 std::pair<const TargetRegisterClass *, uint8_t>
lib/Target/ARM/AsmParser/ARMAsmParser.cpp 6146 uint8_t SupportedFormats;
6164 uint8_t CurrentFormat;
11341 SmallVector<uint8_t, 16> Opcodes;
lib/Target/ARM/Disassembler/ARMDisassembler.cpp 73 unsigned NumTZ = countTrailingZeros<uint8_t>(Mask);
112 unsigned NumTZ = countTrailingZeros<uint8_t>(Mask);
139 ArrayRef<uint8_t> Bytes, uint64_t Address,
145 ArrayRef<uint8_t> Bytes, uint64_t Address,
150 ArrayRef<uint8_t> Bytes, uint64_t Address,
611 ArrayRef<uint8_t> Bytes,
620 ArrayRef<uint8_t> Bytes,
649 const uint8_t *P;
907 ArrayRef<uint8_t> Bytes,
lib/Target/ARM/MCTargetDesc/ARMAddressingModes.h 633 uint8_t Sign = (Imm >> 7) & 0x1;
634 uint8_t Exp = (Imm >> 4) & 0x7;
635 uint8_t Mantissa = Imm & 0xf;
lib/Target/ARM/MCTargetDesc/ARMAsmBackend.cpp 44 ARMELFObjectWriter(uint8_t OSABI)
1327 uint8_t OSABI = MCELFObjectTargetWriter::getOSABI(TheTriple.getOS());
lib/Target/ARM/MCTargetDesc/ARMAsmBackendELF.h 21 uint8_t OSABI;
22 ARMAsmBackendELF(const Target &T, const MCSubtargetInfo &STI, uint8_t OSABI,
lib/Target/ARM/MCTargetDesc/ARMELFObjectWriter.cpp 34 ARMELFObjectWriter(uint8_t OSABI);
49 ARMELFObjectWriter::ARMELFObjectWriter(uint8_t OSABI)
265 llvm::createARMELFObjectWriter(uint8_t OSABI) {
lib/Target/ARM/MCTargetDesc/ARMELFStreamer.cpp 88 const SmallVectorImpl<uint8_t> &Opcodes) override;
262 const SmallVectorImpl<uint8_t> &Opcodes) {
264 for (SmallVectorImpl<uint8_t>::const_iterator OCI = Opcodes.begin(),
400 const SmallVectorImpl<uint8_t> &Opcodes) override;
466 void emitUnwindRaw(int64_t Offset, const SmallVectorImpl<uint8_t> &Opcodes);
708 SmallVector<uint8_t, 64> Opcodes;
753 const SmallVectorImpl<uint8_t> &Opcodes) {
1476 const SmallVectorImpl<uint8_t> &Opcodes) {
lib/Target/ARM/MCTargetDesc/ARMMCTargetDesc.h 85 std::unique_ptr<MCObjectTargetWriter> createARMELFObjectWriter(uint8_t OSABI);
107 inline bool isVpred(uint8_t op) {
lib/Target/ARM/MCTargetDesc/ARMTargetStreamer.cpp 101 const SmallVectorImpl<uint8_t> &Opcodes) {
lib/Target/ARM/MCTargetDesc/ARMUnwindOpAsm.cpp 30 SmallVectorImpl<uint8_t> &Vec;
34 UnwindOpcodeStreamer(SmallVectorImpl<uint8_t> &V) : Vec(V) {}
37 void EmitByte(uint8_t elem) {
134 uint8_t Buff[16];
156 SmallVectorImpl<uint8_t> &Result) {
lib/Target/ARM/MCTargetDesc/ARMUnwindOpAsm.h 27 SmallVector<uint8_t, 32> Ops;
62 void EmitRaw(const SmallVectorImpl<uint8_t> &Opcodes) {
69 SmallVectorImpl<uint8_t> &Result);
83 void EmitBytes(const uint8_t *Opcode, size_t Size) {
lib/Target/ARM/Thumb2SizeReduction.cpp 68 uint8_t Imm1Limit; // Limit of immediate field (bits)
69 uint8_t Imm2Limit; // Limit of immediate field when it's two-address
416 uint8_t ImmLimit = Entry.Imm1Limit;
lib/Target/AVR/Disassembler/AVRDisassembler.cpp 42 ArrayRef<uint8_t> Bytes, uint64_t Address,
78 static DecodeStatus readInstruction16(ArrayRef<uint8_t> Bytes, uint64_t Address,
91 static DecodeStatus readInstruction32(ArrayRef<uint8_t> Bytes, uint64_t Address,
105 static const uint8_t *getDecoderTable(uint64_t Size) {
115 ArrayRef<uint8_t> Bytes,
lib/Target/AVR/MCTargetDesc/AVRAsmBackend.cpp 383 uint8_t mask = (((Value >> (i * 8)) & 0xff));
lib/Target/AVR/MCTargetDesc/AVRELFObjectWriter.cpp 25 AVRELFObjectWriter(uint8_t OSABI);
35 AVRELFObjectWriter::AVRELFObjectWriter(uint8_t OSABI)
154 std::unique_ptr<MCObjectTargetWriter> createAVRELFObjectWriter(uint8_t OSABI) {
lib/Target/AVR/MCTargetDesc/AVRMCCodeEmitter.cpp 141 uint8_t RegBit = 0;
lib/Target/AVR/MCTargetDesc/AVRMCTargetDesc.h 48 std::unique_ptr<MCObjectTargetWriter> createAVRELFObjectWriter(uint8_t OSABI);
lib/Target/BPF/BPFISelDAGToDAG.cpp 246 uint8_t c[8];
374 uint8_t c[2];
lib/Target/BPF/BTF.h 77 uint8_t Version; ///< Version number
78 uint8_t Flags; ///< Extra flags
92 enum TypeKinds : uint8_t {
134 enum : uint8_t {
180 enum : uint8_t {
199 uint8_t Version;
200 uint8_t Flags;
lib/Target/BPF/BTFDebug.cpp 117 uint8_t BTFEncoding;
241 uint8_t BitFieldSize = DDTy->isBitField() ? DDTy->getSizeInBits() : 0;
lib/Target/BPF/BTFDebug.h 34 uint8_t Kind;
lib/Target/BPF/Disassembler/BPFDisassembler.cpp 69 ArrayRef<uint8_t> Bytes, uint64_t Address,
73 uint8_t getInstClass(uint64_t Inst) const { return (Inst >> 56) & 0x7; };
74 uint8_t getInstSize(uint64_t Inst) const { return (Inst >> 59) & 0x3; };
75 uint8_t getInstMode(uint64_t Inst) const { return (Inst >> 61) & 0x7; };
138 static DecodeStatus readInstruction64(ArrayRef<uint8_t> Bytes, uint64_t Address,
163 ArrayRef<uint8_t> Bytes,
174 uint8_t InstClass = getInstClass(Insn);
175 uint8_t InstMode = getInstMode(Insn);
lib/Target/BPF/MCTargetDesc/BPFELFObjectWriter.cpp 24 BPFELFObjectWriter(uint8_t OSABI);
34 BPFELFObjectWriter::BPFELFObjectWriter(uint8_t OSABI)
87 llvm::createBPFELFObjectWriter(uint8_t OSABI) {
lib/Target/BPF/MCTargetDesc/BPFMCCodeEmitter.cpp 113 static uint8_t SwapBits(uint8_t Val)
113 static uint8_t SwapBits(uint8_t Val)
140 OSE.write<uint8_t>(0);
141 OSE.write<uint8_t>(0);
lib/Target/BPF/MCTargetDesc/BPFMCTargetDesc.h 50 std::unique_ptr<MCObjectTargetWriter> createBPFELFObjectWriter(uint8_t OSABI);
lib/Target/Hexagon/Disassembler/HexagonDisassembler.cpp 55 ArrayRef<uint8_t> Bytes, uint64_t Address,
59 ArrayRef<uint8_t> Bytes, uint64_t Address,
167 ArrayRef<uint8_t> Bytes,
294 MCInst &MI, MCInst &MCB, ArrayRef<uint8_t> Bytes, uint64_t Address,
318 uint8_t const *DecodeLow, *DecodeHigh;
lib/Target/Hexagon/HexagonConstExtenders.cpp 42 static int32_t adjustUp(int32_t V, uint8_t A, uint8_t O) {
42 static int32_t adjustUp(int32_t V, uint8_t A, uint8_t O) {
48 static int32_t adjustDown(int32_t V, uint8_t A, uint8_t O) {
48 static int32_t adjustDown(int32_t V, uint8_t A, uint8_t O) {
60 uint8_t Align = 1;
61 uint8_t Offset = 0;
64 OffsetRange(int32_t L, int32_t H, uint8_t A, uint8_t O = 0)
64 OffsetRange(int32_t L, int32_t H, uint8_t A, uint8_t O = 0)
1077 uint8_t A = HexagonII::getMemAccessSizeInBytes(HexagonII::MemAccessSize(F));
1117 uint8_t A = HexagonII::getMemAccessSizeInBytes(HexagonII::MemAccessSize(F));
lib/Target/Hexagon/HexagonISelDAGToDAGHVX.cpp 318 using Controls = std::vector<uint8_t>;
322 enum : uint8_t {
327 enum : uint8_t {
345 void getControls(Controls &V, unsigned StartAt, uint8_t Dir) const {
362 uint8_t ctl(ElemType Pos, unsigned Step) const {
375 using RowType = std::vector<uint8_t>;
439 uint8_t S;
502 uint8_t S;
832 SDValue getVectorConstant(ArrayRef<uint8_t> Data, const SDLoc &dl);
843 OpRef vmuxs(ArrayRef<uint8_t> Bytes, OpRef Va, OpRef Vb,
845 OpRef vmuxp(ArrayRef<uint8_t> Bytes, OpRef Va, OpRef Vb,
1125 SmallVector<uint8_t,128> MuxBytes(HwLen);
1172 uint8_t HalfIdx[4] = { 0xFF, 0xFF, 0xFF, 0xFF };
1187 uint8_t Idx = HalfIdx[M >> LogHw];
1197 OpRef HvxSelector::vmuxs(ArrayRef<uint8_t> Bytes, OpRef Va, OpRef Vb,
1210 OpRef HvxSelector::vmuxp(ArrayRef<uint8_t> Bytes, OpRef Va, OpRef Vb,
1261 SmallVector<uint8_t,128> Bytes(VecLen);
1326 SmallVector<uint8_t,256> Bytes(VecLen);
1989 SDValue HvxSelector::getVectorConstant(ArrayRef<uint8_t> Data,
1992 for (uint8_t C : Data)
lib/Target/Hexagon/HexagonISelLowering.cpp 905 uint8_t x = 0;
907 uint8_t y = CV->getOperand(i * 8 + j)->getUniqueInteger().getZExtValue();
3202 std::pair<const TargetRegisterClass*, uint8_t>
lib/Target/Hexagon/HexagonISelLowering.h 460 std::pair<const TargetRegisterClass*, uint8_t>
lib/Target/Hexagon/MCTargetDesc/HexagonAsmBackend.cpp 40 uint8_t OSABI;
61 HexagonAsmBackend(const Target &T, const Triple &TT, uint8_t OSABI,
770 uint8_t OSABI = MCELFObjectTargetWriter::getOSABI(TT.getOS());
lib/Target/Hexagon/MCTargetDesc/HexagonELFObjectWriter.cpp 30 HexagonELFObjectWriter(uint8_t OSABI, StringRef C);
37 HexagonELFObjectWriter::HexagonELFObjectWriter(uint8_t OSABI, StringRef C)
301 llvm::createHexagonELFObjectWriter(uint8_t OSABI, StringRef CPU) {
lib/Target/Hexagon/MCTargetDesc/HexagonMCTargetDesc.h 94 createHexagonELFObjectWriter(uint8_t OSABI, StringRef CPU);
lib/Target/Lanai/Disassembler/LanaiDisassembler.cpp 75 static DecodeStatus readInstruction32(ArrayRef<uint8_t> Bytes, uint64_t &Size,
132 MCInst &Instr, uint64_t &Size, ArrayRef<uint8_t> Bytes, uint64_t Address,
lib/Target/Lanai/Disassembler/LanaiDisassembler.h 30 getInstruction(MCInst &Instr, uint64_t &Size, ArrayRef<uint8_t> Bytes,
lib/Target/Lanai/LanaiISelLowering.cpp 723 uint8_t OpFlag = LanaiII::MO_NO_FLAG;
1144 uint8_t OpFlagHi = LanaiII::MO_ABS_HI;
1145 uint8_t OpFlagLo = LanaiII::MO_ABS_LO;
1178 uint8_t OpFlagHi = LanaiII::MO_ABS_HI;
1179 uint8_t OpFlagLo = LanaiII::MO_ABS_LO;
1197 uint8_t OpFlagHi = LanaiII::MO_ABS_HI;
1198 uint8_t OpFlagLo = LanaiII::MO_ABS_LO;
1221 uint8_t OpFlagHi = LanaiII::MO_ABS_HI;
1222 uint8_t OpFlagLo = LanaiII::MO_ABS_LO;
lib/Target/Lanai/MCTargetDesc/LanaiELFObjectWriter.cpp 22 explicit LanaiELFObjectWriter(uint8_t OSABI);
35 LanaiELFObjectWriter::LanaiELFObjectWriter(uint8_t OSABI)
90 llvm::createLanaiELFObjectWriter(uint8_t OSABI) {
lib/Target/Lanai/MCTargetDesc/LanaiMCTargetDesc.h 42 std::unique_ptr<MCObjectTargetWriter> createLanaiELFObjectWriter(uint8_t OSABI);
lib/Target/MSP430/Disassembler/MSP430Disassembler.cpp 34 ArrayRef<uint8_t> Bytes, uint64_t Address,
39 ArrayRef<uint8_t> Bytes, uint64_t Address,
44 ArrayRef<uint8_t> Bytes, uint64_t Address,
53 ArrayRef<uint8_t> Bytes, uint64_t Address,
209 static const uint8_t *getDecoderTable(AddrMode SrcAM, unsigned Words) {
234 ArrayRef<uint8_t> Bytes,
290 ArrayRef<uint8_t> Bytes,
318 const uint8_t *DecoderTable = Words == 2 ? DecoderTable32 : DecoderTable16;
346 ArrayRef<uint8_t> Bytes,
368 ArrayRef<uint8_t> Bytes,
lib/Target/MSP430/MCTargetDesc/MSP430AsmBackend.cpp 30 uint8_t OSABI;
36 MSP430AsmBackend(const MCSubtargetInfo &STI, uint8_t OSABI)
lib/Target/MSP430/MCTargetDesc/MSP430ELFObjectWriter.cpp 24 MSP430ELFObjectWriter(uint8_t OSABI)
56 llvm::createMSP430ELFObjectWriter(uint8_t OSABI) {
lib/Target/MSP430/MCTargetDesc/MSP430MCTargetDesc.h 46 createMSP430ELFObjectWriter(uint8_t OSABI);
lib/Target/Mips/Disassembler/MipsDisassembler.cpp 72 ArrayRef<uint8_t> Bytes, uint64_t Address,
1160 static DecodeStatus readInstruction16(ArrayRef<uint8_t> Bytes, uint64_t Address,
1180 static DecodeStatus readInstruction32(ArrayRef<uint8_t> Bytes, uint64_t Address,
1215 ArrayRef<uint8_t> Bytes,
lib/Target/Mips/MCTargetDesc/MipsABIFlagsSection.cpp 17 uint8_t MipsABIFlagsSection::getFpABIValue() {
50 uint8_t MipsABIFlagsSection::getCPR1SizeValue() {
lib/Target/Mips/MCTargetDesc/MipsABIFlagsSection.h 28 uint8_t ISALevel = 0;
30 uint8_t ISARevision = 0;
54 uint8_t getISALevelValue() { return (uint8_t)ISALevel; }
55 uint8_t getISARevisionValue() { return (uint8_t)ISARevision; }
56 uint8_t getGPRSizeValue() { return (uint8_t)GPRSize; }
57 uint8_t getCPR1SizeValue();
58 uint8_t getCPR2SizeValue() { return (uint8_t)CPR2Size; }
59 uint8_t getFpABIValue();
lib/Target/Mips/MCTargetDesc/MipsELFObjectWriter.cpp 59 MipsELFObjectWriter(uint8_t OSABI, bool HasRelocationAddend, bool Is64);
213 MipsELFObjectWriter::MipsELFObjectWriter(uint8_t OSABI,
690 uint8_t OSABI = MCELFObjectTargetWriter::getOSABI(TT.getOS());
lib/Target/Mips/MCTargetDesc/MipsTargetStreamer.cpp 884 uint8_t Type = Symbol->getType();
lib/Target/Mips/MicroMipsSizeReduction.cpp 53 ImmField(uint8_t Shift, int16_t LBound, int16_t HBound,
58 uint8_t Shift; // Shift value
105 uint8_t Shift() const { return Imm.Shift; }
386 for (uint8_t i = 0; i < Registers.size() - 1; i++) {
lib/Target/Mips/MipsAsmPrinter.cpp 1136 const uint8_t NoopsInSledCount = Subtarget->isGP64bit() ? 15 : 11;
lib/Target/NVPTX/NVPTXAsmPrinter.cpp 1923 uint8_t Byte = Val.getLoBits(8).getZExtValue();
lib/Target/PowerPC/Disassembler/PPCDisassembler.cpp 36 ArrayRef<uint8_t> Bytes, uint64_t Address,
325 ArrayRef<uint8_t> Bytes,
lib/Target/PowerPC/MCTargetDesc/PPCAsmBackend.cpp 224 uint8_t OSABI = MCELFObjectTargetWriter::getOSABI(TT.getOS());
lib/Target/PowerPC/MCTargetDesc/PPCELFObjectWriter.cpp 25 PPCELFObjectWriter(bool Is64Bit, uint8_t OSABI);
36 PPCELFObjectWriter::PPCELFObjectWriter(bool Is64Bit, uint8_t OSABI)
445 llvm::createPPCELFObjectWriter(bool Is64Bit, uint8_t OSABI) {
lib/Target/PowerPC/MCTargetDesc/PPCMCTargetDesc.h 49 uint8_t OSABI);
lib/Target/RISCV/Disassembler/RISCVDisassembler.cpp 40 ArrayRef<uint8_t> Bytes, uint64_t Address,
316 ArrayRef<uint8_t> Bytes,
lib/Target/RISCV/MCTargetDesc/RISCVAsmBackend.cpp 374 uint8_t OSABI = MCELFObjectTargetWriter::getOSABI(TT.getOS());
lib/Target/RISCV/MCTargetDesc/RISCVAsmBackend.h 26 uint8_t OSABI;
33 RISCVAsmBackend(const MCSubtargetInfo &STI, uint8_t OSABI, bool Is64Bit,
lib/Target/RISCV/MCTargetDesc/RISCVELFObjectWriter.cpp 22 RISCVELFObjectWriter(uint8_t OSABI, bool Is64Bit);
41 RISCVELFObjectWriter::RISCVELFObjectWriter(uint8_t OSABI, bool Is64Bit)
140 llvm::createRISCVELFObjectWriter(uint8_t OSABI, bool Is64Bit) {
lib/Target/RISCV/MCTargetDesc/RISCVMCTargetDesc.h 43 std::unique_ptr<MCObjectTargetWriter> createRISCVELFObjectWriter(uint8_t OSABI,
lib/Target/Sparc/Disassembler/SparcDisassembler.cpp 38 ArrayRef<uint8_t> Bytes, uint64_t Address,
314 static DecodeStatus readInstruction32(ArrayRef<uint8_t> Bytes, uint64_t Address,
333 ArrayRef<uint8_t> Bytes,
lib/Target/Sparc/MCTargetDesc/SparcAsmBackend.cpp 319 uint8_t OSABI = MCELFObjectTargetWriter::getOSABI(OSType);
lib/Target/Sparc/MCTargetDesc/SparcELFObjectWriter.cpp 24 SparcELFObjectWriter(bool Is64Bit, uint8_t OSABI)
137 llvm::createSparcELFObjectWriter(bool Is64Bit, uint8_t OSABI) {
lib/Target/Sparc/MCTargetDesc/SparcMCTargetDesc.h 42 uint8_t OSABI);
lib/Target/SystemZ/Disassembler/SystemZDisassembler.cpp 36 ArrayRef<uint8_t> Bytes, uint64_t Address,
450 ArrayRef<uint8_t> Bytes,
460 const uint8_t *Table;
lib/Target/SystemZ/MCTargetDesc/SystemZMCAsmBackend.cpp 43 uint8_t OSABI;
45 SystemZMCAsmBackend(uint8_t osABI)
130 uint8_t OSABI =
lib/Target/SystemZ/MCTargetDesc/SystemZMCObjectWriter.cpp 27 SystemZObjectWriter(uint8_t OSABI);
38 SystemZObjectWriter::SystemZObjectWriter(uint8_t OSABI)
164 llvm::createSystemZObjectWriter(uint8_t OSABI) {
lib/Target/SystemZ/MCTargetDesc/SystemZMCTargetDesc.h 93 std::unique_ptr<MCObjectTargetWriter> createSystemZObjectWriter(uint8_t OSABI);
lib/Target/WebAssembly/Disassembler/WebAssemblyDisassembler.cpp 47 ArrayRef<uint8_t> Bytes, uint64_t Address,
51 ArrayRef<uint8_t> Bytes, uint64_t Address,
77 static int nextByte(ArrayRef<uint8_t> Bytes, uint64_t &Size) {
85 static bool nextLEB(int64_t &Val, ArrayRef<uint8_t> Bytes, uint64_t &Size,
101 ArrayRef<uint8_t> Bytes, bool Signed) {
110 bool parseImmediate(MCInst &MI, uint64_t &Size, ArrayRef<uint8_t> Bytes) {
125 StringRef Name, uint64_t &Size, ArrayRef<uint8_t> Bytes, uint64_t Address,
160 MCInst &MI, uint64_t &Size, ArrayRef<uint8_t> Bytes, uint64_t /*Address*/,
193 for (uint8_t OPI = 0; OPI < WasmInst->NumOperands; OPI++) {
255 if (!parseImmediate<uint8_t>(MI, Size, Bytes))
lib/Target/WebAssembly/MCTargetDesc/WebAssemblyMCCodeEmitter.cpp 108 support::endian::write<uint8_t>(OS, MO.getImm(), support::little);
lib/Target/WebAssembly/WebAssemblyAsmPrinter.cpp 222 uint8_t Prefix;
lib/Target/X86/Disassembler/X86Disassembler.cpp 142 ArrayRef<uint8_t> Bytes, uint64_t Address,
174 ArrayRef<uint8_t> Bytes;
176 Region(ArrayRef<uint8_t> Bytes, uint64_t Base) : Bytes(Bytes), Base(Base) {}
186 static int regionReader(const void *Arg, uint8_t *Byte, uint64_t Address) {
188 ArrayRef<uint8_t> Bytes = R->Bytes;
215 MCInst &Instr, uint64_t &Size, ArrayRef<uint8_t> Bytes, uint64_t Address,
317 static const uint8_t segmentRegnums[SEG_OVERRIDE_max] = {
717 uint8_t stackPos) {
728 uint8_t maskRegNum) {
lib/Target/X86/Disassembler/X86DisassemblerDecoder.cpp 29 uint8_t modrm_type;
127 uint8_t opcode,
128 uint8_t modRM) {
203 static int consumeByte(struct InternalInstruction* insn, uint8_t* byte) {
219 static int lookAtByte(struct InternalInstruction* insn, uint8_t* byte) {
286 static bool isREX(struct InternalInstruction *insn, uint8_t prefix) {
298 static void setPrefixPresent(struct InternalInstruction *insn, uint8_t prefix) {
299 uint8_t nextByte;
340 uint8_t byte = 0;
341 uint8_t nextByte;
383 uint8_t nnextByte;
451 uint8_t byte1, byte2;
497 uint8_t byte1;
528 uint8_t byte1;
561 uint8_t byte1;
646 uint8_t current;
1162 uint8_t index, base;
1282 uint8_t mod, rm, reg, evexrm;
1526 uint8_t valid;
1576 static int readOpcodeRegister(struct InternalInstruction* insn, uint8_t size) {
1623 static int readImmediate(struct InternalInstruction* insn, uint8_t size) {
1624 uint8_t imm8;
lib/Target/X86/Disassembler/X86DisassemblerDecoder.h 514 typedef int (*byteReader_t)(const void *arg, uint8_t *byte, uint64_t address);
556 uint8_t mandatoryPrefix;
558 uint8_t vectorExtensionPrefix[4];
562 uint8_t rexPrefix;
575 uint8_t repeatPrefix;
578 uint8_t registerSize;
579 uint8_t addressSize;
580 uint8_t displacementSize;
581 uint8_t immediateSize;
585 uint8_t displacementOffset;
586 uint8_t immediateOffset;
591 uint8_t opcode;
616 uint8_t modRM;
620 uint8_t sib;
627 uint8_t numImmediatesConsumed;
628 uint8_t numImmediatesTranslated;
651 uint8_t sibScale;
655 uint8_t RC;
lib/Target/X86/MCTargetDesc/X86AsmBackend.cpp 67 X86ELFObjectWriter(bool is64Bit, uint8_t OSABI, uint16_t EMachine,
362 const uint8_t ThisNopLength = (uint8_t) std::min(Count, MaxNopLength);
363 const uint8_t Prefixes = ThisNopLength <= 10 ? 0 : ThisNopLength - 10;
364 for (uint8_t i = 0; i < Prefixes; i++)
366 const uint8_t Rest = ThisNopLength - Prefixes;
381 uint8_t OSABI;
382 ELFX86AsmBackend(const Target &T, uint8_t OSABI, const MCSubtargetInfo &STI)
388 ELFX86_32AsmBackend(const Target &T, uint8_t OSABI,
400 ELFX86_X32AsmBackend(const Target &T, uint8_t OSABI,
413 ELFX86_IAMCUAsmBackend(const Target &T, uint8_t OSABI,
426 ELFX86_64AsmBackend(const Target &T, uint8_t OSABI,
850 uint8_t OSABI = MCELFObjectTargetWriter::getOSABI(TheTriple.getOS());
874 uint8_t OSABI = MCELFObjectTargetWriter::getOSABI(TheTriple.getOS());
lib/Target/X86/MCTargetDesc/X86BaseInfo.h 651 inline uint8_t getBaseOpcodeFor(uint64_t TSFlags) {
lib/Target/X86/MCTargetDesc/X86ELFObjectWriter.cpp 29 X86ELFObjectWriter(bool IsELF64, uint8_t OSABI, uint16_t EMachine);
39 X86ELFObjectWriter::X86ELFObjectWriter(bool IsELF64, uint8_t OSABI,
332 llvm::createX86ELFObjectWriter(bool IsELF64, uint8_t OSABI, uint16_t EMachine) {
lib/Target/X86/MCTargetDesc/X86MCCodeEmitter.cpp 96 void EmitByte(uint8_t C, unsigned &CurByte, raw_ostream &OS) const {
116 static uint8_t ModRMByte(unsigned Mod, unsigned RegOpcode, unsigned RM) {
152 uint8_t DetermineREXPrefix(const MCInst &MI, uint64_t TSFlags,
660 uint8_t VEX_R = 0x1;
661 uint8_t EVEX_R2 = 0x1;
668 uint8_t VEX_X = 0x1;
675 uint8_t VEX_B = 0x1;
679 uint8_t VEX_W = (TSFlags & X86II::VEX_W) ? 1 : 0;
691 uint8_t VEX_5M;
704 uint8_t VEX_4V = 0xf;
705 uint8_t EVEX_V2 = 0x1;
714 uint8_t VEX_L = (TSFlags & X86II::VEX_L) ? 1 : 0;
715 uint8_t EVEX_L2 = (TSFlags & X86II::EVEX_L2) ? 1 : 0;
725 uint8_t VEX_PP = 0;
733 uint8_t EVEX_U = 1; // Always '1' so far
736 uint8_t EVEX_z = (HasEVEX_K && (TSFlags & X86II::EVEX_Z)) ? 1 : 0;
739 uint8_t EVEX_b = (TSFlags & X86II::EVEX_B) ? 1 : 0;
742 uint8_t EVEX_rc = 0;
745 uint8_t EVEX_aaa = 0;
996 uint8_t LastByte = VEX_PP | (VEX_L << 2) | (VEX_4V << 3);
1049 uint8_t X86MCCodeEmitter::DetermineREXPrefix(const MCInst &MI, uint64_t TSFlags,
1052 uint8_t REX = 0;
1182 if (uint8_t REX = DetermineREXPrefix(MI, TSFlags, MemOperand, Desc)) {
1289 uint8_t BaseOpcode = X86II::getBaseOpcodeFor(TSFlags);
lib/Target/X86/MCTargetDesc/X86MCTargetDesc.cpp 404 findPltEntries(uint64_t PltSectionVA, ArrayRef<uint8_t> PltContents,
468 findX86PltEntries(uint64_t PltSectionVA, ArrayRef<uint8_t> PltContents,
494 findX86_64PltEntries(uint64_t PltSectionVA, ArrayRef<uint8_t> PltContents) {
513 uint64_t PltSectionVA, ArrayRef<uint8_t> PltContents,
lib/Target/X86/MCTargetDesc/X86MCTargetDesc.h 111 createX86ELFObjectWriter(bool IsELF64, uint8_t OSABI, uint16_t EMachine);
lib/Target/X86/X86ISelLowering.cpp 2253 std::pair<const TargetRegisterClass *, uint8_t>
2257 uint8_t Cost = 1;
22351 uint8_t ArgMode;
lib/Target/X86/X86ISelLowering.h 1254 std::pair<const TargetRegisterClass *, uint8_t>
lib/Target/X86/X86InsertPrefetch.cpp 139 uint8_t index = 0;
lib/Target/X86/X86InstrFMA3Info.cpp 135 uint8_t BaseOpcode = X86II::getBaseOpcodeFor(TSFlags);
lib/Target/X86/X86InstrInfo.cpp 1423 static const uint8_t SwapMasks[3][4] = {
1429 uint8_t Imm = MI.getOperand(MI.getNumOperands()-1).getImm();
1431 uint8_t NewImm = Imm & ~(SwapMasks[Case][0] | SwapMasks[Case][1] |
lib/Target/XCore/Disassembler/XCoreDisassembler.cpp 39 ArrayRef<uint8_t> Bytes, uint64_t Address,
45 static bool readInstruction16(ArrayRef<uint8_t> Bytes, uint64_t Address,
57 static bool readInstruction32(ArrayRef<uint8_t> Bytes, uint64_t Address,
739 MCInst &instr, uint64_t &Size, ArrayRef<uint8_t> Bytes, uint64_t Address,
lib/TextAPI/MachO/InterfaceFile.cpp 88 void InterfaceFile::addUUID(const Target &Target, uint8_t UUID[16]) {
lib/Transforms/IPO/LowerTypeTests.cpp 212 uint8_t &AllocMask) {
250 uint8_t *MaskPtr = nullptr;
443 uint8_t *exportTypeId(StringRef TypeId, const TypeIdLowering &TIL);
620 uint8_t Mask;
901 uint8_t *LowerTypeTestsModule::exportTypeId(StringRef TypeId,
1153 uint8_t *MaskPtr = exportTypeId(cast<MDString>(TypeId)->getString(), TIL);
lib/Transforms/IPO/WholeProgramDevirt.cpp 170 std::vector<ArrayRef<uint8_t>> Used;
172 ArrayRef<uint8_t> VTUsed = IsAfter ? Target.TM->Bits->After.BytesUsed
186 uint8_t BitsUsed = 0;
lib/Transforms/InstCombine/InstCombineCalls.cpp 681 uint8_t Imm = CInt->getZExtValue();
682 uint8_t ZMask = Imm & 0xf;
683 uint8_t DestLane = (Imm >> 4) & 0x3;
684 uint8_t SourceLane = (Imm >> 6) & 0x3;
lib/Transforms/Instrumentation/AddressSanitizer.cpp 1094 void copyToShadow(ArrayRef<uint8_t> ShadowMask, ArrayRef<uint8_t> ShadowBytes,
1094 void copyToShadow(ArrayRef<uint8_t> ShadowMask, ArrayRef<uint8_t> ShadowBytes,
1096 void copyToShadow(ArrayRef<uint8_t> ShadowMask, ArrayRef<uint8_t> ShadowBytes,
1096 void copyToShadow(ArrayRef<uint8_t> ShadowMask, ArrayRef<uint8_t> ShadowBytes,
1099 void copyToShadowInline(ArrayRef<uint8_t> ShadowMask,
1100 ArrayRef<uint8_t> ShadowBytes, size_t Begin,
2790 void FunctionStackPoisoner::copyToShadowInline(ArrayRef<uint8_t> ShadowMask,
2791 ArrayRef<uint8_t> ShadowBytes,
2842 void FunctionStackPoisoner::copyToShadow(ArrayRef<uint8_t> ShadowMask,
2843 ArrayRef<uint8_t> ShadowBytes,
2848 void FunctionStackPoisoner::copyToShadow(ArrayRef<uint8_t> ShadowMask,
2849 ArrayRef<uint8_t> ShadowBytes,
2859 uint8_t Val = ShadowBytes[i];
3074 uint8_t DIExprFlags = DIExpression::ApplyOffset;
3183 SmallVector<uint8_t, 64> ShadowClean(ShadowAfterScope.size(), 0);
3184 SmallVector<uint8_t, 64> ShadowAfterReturn;
lib/Transforms/Instrumentation/HWAddressSanitizer.cpp 237 void instrumentGlobal(GlobalVariable *GV, uint8_t Tag);
1247 void HWAddressSanitizer::instrumentGlobal(GlobalVariable *GV, uint8_t Tag) {
1255 std::vector<uint8_t> Init(NewSize - SizeInBytes, 0);
1425 uint8_t Tag = Hash[0];
lib/Transforms/Instrumentation/PGOInstrumentation.cpp 612 std::vector<uint8_t> Indexes;
lib/Transforms/Utils/ASanStackFrameLayout.cpp 115 SmallVector<uint8_t, 64>
119 SmallVector<uint8_t, 64> SB;
134 SmallVector<uint8_t, 64> GetShadowBytesAfterScope(
137 SmallVector<uint8_t, 64> SB = GetShadowBytes(Vars, Layout);
lib/Transforms/Utils/Local.cpp 1541 uint8_t DIExprFlags, int Offset) {
1560 DIBuilder &Builder, uint8_t DIExprFlags,
lib/XRay/FDRRecordProducer.cpp 20 enum MetadataRecordKinds : uint8_t {
36 metadataRecordType(const XRayFileHeader &Header, uint8_t T) {
75 constexpr bool isMetadataIntroducer(uint8_t FirstByte) {
88 uint8_t FirstByte = E.getU8(&OffsetPtr);
150 uint8_t FirstByte = E.getU8(&OffsetPtr);
lib/XRay/FDRTraceWriter.cpp 47 uint8_t FirstByte = (static_cast<uint8_t>(Kind) << 1) | uint8_t{0x01u};
lib/XRay/RecordInitializer.cpp 154 std::vector<uint8_t> Buffer;
218 std::vector<uint8_t> Buffer;
290 std::vector<uint8_t> Buffer;
projects/compiler-rt/include/xray/xray_records.h 79 uint8_t CPU = 0;
86 uint8_t Type = 0;
112 uint8_t Padding[2] = {};
127 uint8_t TailPadding[8] = {};
projects/compiler-rt/lib/builtins/gcc_personality_v0.c 46 static uintptr_t readULEB128(const uint8_t **data) {
50 const uint8_t *p = *data;
61 static uintptr_t readEncodedPointer(const uint8_t **data, uint8_t encoding) {
61 static uintptr_t readEncodedPointer(const uint8_t **data, uint8_t encoding) {
62 const uint8_t *p = *data;
189 const uint8_t *lsda = (uint8_t *)_Unwind_GetLanguageSpecificData(context);
198 uint8_t lpStartEncoding = *lsda++;
202 uint8_t ttypeEncoding = *lsda++;
207 uint8_t callSiteEncoding = *lsda++;
209 const uint8_t *callSiteTableStart = lsda;
210 const uint8_t *callSiteTableEnd = callSiteTableStart + callSiteTableLength;
211 const uint8_t *p = callSiteTableStart;
projects/compiler-rt/lib/fuzzer/FuzzerBuiltins.h 23 inline uint8_t Bswap(uint8_t x) { return x; }
23 inline uint8_t Bswap(uint8_t x) { return x; }
projects/compiler-rt/lib/fuzzer/FuzzerCorpus.h 29 uint8_t Sha1[kSHA1NumBytes]; // Checksum.
projects/compiler-rt/lib/fuzzer/FuzzerDictionary.h 26 FixedWord(const uint8_t *B, uint8_t S) { Set(B, S); }
26 FixedWord(const uint8_t *B, uint8_t S) { Set(B, S); }
28 void Set(const uint8_t *B, uint8_t S) {
28 void Set(const uint8_t *B, uint8_t S) {
39 const uint8_t *data() const { return Data; }
40 uint8_t size() const { return Size; }
43 uint8_t Size = 0;
44 uint8_t Data[kMaxSize];
projects/compiler-rt/lib/fuzzer/FuzzerDriver.cpp 347 uint8_t OriginalByte = U[Idx];
projects/compiler-rt/lib/fuzzer/FuzzerIO.cpp 72 void WriteToFile(const uint8_t *Data, size_t Size, const std::string &Path) {
projects/compiler-rt/lib/fuzzer/FuzzerIO.h 27 void WriteToFile(const uint8_t *Data, size_t Size, const std::string &Path);
projects/compiler-rt/lib/fuzzer/FuzzerInterface.h 41 LLVMFuzzerTestOneInput(const uint8_t *Data, size_t Size);
54 LLVMFuzzerCustomMutator(uint8_t *Data, size_t Size, size_t MaxSize,
62 LLVMFuzzerCustomCrossOver(const uint8_t *Data1, size_t Size1,
63 const uint8_t *Data2, size_t Size2, uint8_t *Out,
63 const uint8_t *Data2, size_t Size2, uint8_t *Out,
71 LLVMFuzzerMutate(uint8_t *Data, size_t Size, size_t MaxSize);
projects/compiler-rt/lib/fuzzer/FuzzerInternal.h 68 void ExecuteCallback(const uint8_t *Data, size_t Size);
69 bool RunOne(const uint8_t *Data, size_t Size, bool MayDeleteFile = false,
82 size_t GetCurrentUnitInFuzzingThead(const uint8_t **Data) const;
83 void TryDetectingAMemoryLeak(const uint8_t *Data, size_t Size,
99 void PrintPulseAndReportSlowInput(const uint8_t *Data, size_t Size);
111 uint8_t *CurrentUnitData = nullptr;
113 uint8_t BaseSha1[kSHA1NumBytes]; // Checksum of the base unit.
projects/compiler-rt/lib/fuzzer/FuzzerLoop.cpp 167 CurrentUnitData = new uint8_t[MaxInputLen];
434 void Fuzzer::PrintPulseAndReportSlowInput(const uint8_t *Data, size_t Size) {
465 bool Fuzzer::RunOne(const uint8_t *Data, size_t Size, bool MayDeleteFile,
509 size_t Fuzzer::GetCurrentUnitInFuzzingThead(const uint8_t **Data) const {
526 static bool LooseMemeq(const uint8_t *A, const uint8_t *B, size_t Size) {
526 static bool LooseMemeq(const uint8_t *A, const uint8_t *B, size_t Size) {
535 void Fuzzer::ExecuteCallback(const uint8_t *Data, size_t Size) {
541 uint8_t *DataCopy = new uint8_t[Size];
541 uint8_t *DataCopy = new uint8_t[Size];
617 void Fuzzer::TryDetectingAMemoryLeak(const uint8_t *Data, size_t Size,
861 LLVMFuzzerMutate(uint8_t *Data, size_t Size, size_t MaxSize) {
projects/compiler-rt/lib/fuzzer/FuzzerMutate.cpp 68 size_t MutationDispatcher::Mutate_Custom(uint8_t *Data, size_t Size,
73 size_t MutationDispatcher::Mutate_CustomCrossOver(uint8_t *Data, size_t Size,
92 size_t MutationDispatcher::Mutate_ShuffleBytes(uint8_t *Data, size_t Size,
103 size_t MutationDispatcher::Mutate_EraseBytes(uint8_t *Data, size_t Size,
115 size_t MutationDispatcher::Mutate_InsertByte(uint8_t *Data, size_t Size,
125 size_t MutationDispatcher::Mutate_InsertRepeatedBytes(uint8_t *Data,
137 uint8_t Byte = Rand.RandBool() ? Rand(256) : (Rand.RandBool() ? 0 : 255);
143 size_t MutationDispatcher::Mutate_ChangeByte(uint8_t *Data, size_t Size,
151 size_t MutationDispatcher::Mutate_ChangeBit(uint8_t *Data, size_t Size,
159 size_t MutationDispatcher::Mutate_AddWordFromManualDictionary(uint8_t *Data,
165 size_t MutationDispatcher::ApplyDictionaryEntry(uint8_t *Data, size_t Size,
195 size_t ArgSize, const uint8_t *Data,
200 const uint8_t *End = Data + Size;
209 for (const uint8_t *Cur = Data;
226 T Arg1, T Arg2, const uint8_t *Data, size_t Size) {
236 const Word &Arg1, const Word &Arg2, const uint8_t *Data, size_t Size) {
242 uint8_t *Data, size_t Size, size_t MaxSize) {
280 uint8_t *Data, size_t Size, size_t MaxSize) {
284 size_t MutationDispatcher::AddWordFromDictionary(Dictionary &D, uint8_t *Data,
298 size_t MutationDispatcher::CopyPartOf(const uint8_t *From, size_t FromSize,
299 uint8_t *To, size_t ToSize) {
313 size_t MutationDispatcher::InsertPartOf(const uint8_t *From, size_t FromSize,
314 uint8_t *To, size_t ToSize,
337 size_t MutationDispatcher::Mutate_CopyPart(uint8_t *Data, size_t Size,
348 size_t MutationDispatcher::Mutate_ChangeASCIIInteger(uint8_t *Data, size_t Size,
383 size_t ChangeBinaryInteger(uint8_t *Data, size_t Size, Random &Rand) {
407 size_t MutationDispatcher::Mutate_ChangeBinaryInteger(uint8_t *Data,
421 size_t MutationDispatcher::Mutate_CrossOver(uint8_t *Data, size_t Size,
497 size_t MutationDispatcher::Mutate(uint8_t *Data, size_t Size, size_t MaxSize) {
501 size_t MutationDispatcher::DefaultMutate(uint8_t *Data, size_t Size,
507 size_t MutationDispatcher::MutateImpl(uint8_t *Data, size_t Size,
529 size_t MutationDispatcher::MutateWithMask(uint8_t *Data, size_t Size,
projects/compiler-rt/lib/fuzzer/FuzzerMutate.h 32 size_t Mutate_Custom(uint8_t *Data, size_t Size, size_t MaxSize);
34 size_t Mutate_CustomCrossOver(uint8_t *Data, size_t Size, size_t MaxSize);
36 size_t Mutate_ShuffleBytes(uint8_t *Data, size_t Size, size_t MaxSize);
38 size_t Mutate_EraseBytes(uint8_t *Data, size_t Size, size_t MaxSize);
40 size_t Mutate_InsertByte(uint8_t *Data, size_t Size, size_t MaxSize);
42 size_t Mutate_InsertRepeatedBytes(uint8_t *Data, size_t Size, size_t MaxSize);
44 size_t Mutate_ChangeByte(uint8_t *Data, size_t Size, size_t MaxSize);
46 size_t Mutate_ChangeBit(uint8_t *Data, size_t Size, size_t MaxSize);
48 size_t Mutate_CopyPart(uint8_t *Data, size_t Size, size_t MaxSize);
51 size_t Mutate_AddWordFromManualDictionary(uint8_t *Data, size_t Size,
55 size_t Mutate_AddWordFromTORC(uint8_t *Data, size_t Size, size_t MaxSize);
58 size_t Mutate_AddWordFromPersistentAutoDictionary(uint8_t *Data, size_t Size,
62 size_t Mutate_ChangeASCIIInteger(uint8_t *Data, size_t Size, size_t MaxSize);
64 size_t Mutate_ChangeBinaryInteger(uint8_t *Data, size_t Size, size_t MaxSize);
67 size_t Mutate_CrossOver(uint8_t *Data, size_t Size, size_t MaxSize);
71 size_t Mutate(uint8_t *Data, size_t Size, size_t MaxSize);
76 size_t MutateWithMask(uint8_t *Data, size_t Size, size_t MaxSize,
81 size_t DefaultMutate(uint8_t *Data, size_t Size, size_t MaxSize);
84 size_t CrossOver(const uint8_t *Data1, size_t Size1, const uint8_t *Data2,
84 size_t CrossOver(const uint8_t *Data1, size_t Size1, const uint8_t *Data2,
85 size_t Size2, uint8_t *Out, size_t MaxOutSize);
101 size_t AddWordFromDictionary(Dictionary &D, uint8_t *Data, size_t Size,
103 size_t MutateImpl(uint8_t *Data, size_t Size, size_t MaxSize,
106 size_t InsertPartOf(const uint8_t *From, size_t FromSize, uint8_t *To,
106 size_t InsertPartOf(const uint8_t *From, size_t FromSize, uint8_t *To,
108 size_t CopyPartOf(const uint8_t *From, size_t FromSize, uint8_t *To,
108 size_t CopyPartOf(const uint8_t *From, size_t FromSize, uint8_t *To,
110 size_t ApplyDictionaryEntry(uint8_t *Data, size_t Size, size_t MaxSize,
115 const uint8_t *Data, size_t Size);
117 const uint8_t *Data, size_t Size);
122 const uint8_t *Data, size_t Size);
projects/compiler-rt/lib/fuzzer/FuzzerSHA1.cpp 58 uint8_t bufferOffset;
59 uint8_t keyBuffer[BLOCK_LENGTH];
60 uint8_t innerHash[HASH_LENGTH];
70 void sha1_writebyte(sha1nfo *s, uint8_t data);
76 uint8_t* sha1_result(sha1nfo *s);
95 uint32_t sha1_rol32(uint32_t number, uint8_t bits) {
100 uint8_t i;
136 void sha1_addUncounted(sha1nfo *s, uint8_t data) {
137 uint8_t * const b = (uint8_t*) s->buffer;
150 void sha1_writebyte(sha1nfo *s, uint8_t data) {
177 uint8_t* sha1_result(sha1nfo *s) {
202 void ComputeSHA1(const uint8_t *Data, size_t Len, uint8_t *Out) {
202 void ComputeSHA1(const uint8_t *Data, size_t Len, uint8_t *Out) {
217 uint8_t Hash[kSHA1NumBytes];
projects/compiler-rt/lib/fuzzer/FuzzerSHA1.h 24 void ComputeSHA1(const uint8_t *Data, size_t Len, uint8_t *Out);
24 void ComputeSHA1(const uint8_t *Data, size_t Len, uint8_t *Out);
projects/compiler-rt/lib/fuzzer/FuzzerTracePC.cpp 38 void TracePC::HandleInline8bitCountersInit(uint8_t *Start, uint8_t *Stop) {
38 void TracePC::HandleInline8bitCountersInit(uint8_t *Start, uint8_t *Stop) {
46 uint8_t *AlignedStart = RoundUpByPage(Start);
47 uint8_t *AlignedStop = RoundDownByPage(Stop);
319 const uint8_t *A1 = reinterpret_cast<const uint8_t *>(s1);
320 const uint8_t *A2 = reinterpret_cast<const uint8_t *>(s2);
333 uint8_t HammingDistance = 0;
429 void __sanitizer_cov_8bit_counters_init(uint8_t *Start, uint8_t *Stop) {
429 void __sanitizer_cov_8bit_counters_init(uint8_t *Start, uint8_t *Stop) {
500 void __sanitizer_cov_trace_cmp1(uint8_t Arg1, uint8_t Arg2) {
500 void __sanitizer_cov_trace_cmp1(uint8_t Arg1, uint8_t Arg2) {
508 void __sanitizer_cov_trace_const_cmp1(uint8_t Arg1, uint8_t Arg2) {
508 void __sanitizer_cov_trace_const_cmp1(uint8_t Arg1, uint8_t Arg2) {
projects/compiler-rt/lib/fuzzer/FuzzerTracePC.h 54 void Add(const uint8_t *Data, size_t Size) {
72 void HandleInline8bitCountersInit(uint8_t *Start, uint8_t *Stop);
72 void HandleInline8bitCountersInit(uint8_t *Start, uint8_t *Stop);
142 uint8_t *Start, *Stop;
148 uint8_t *Start() { return Regions[0].Start; }
149 uint8_t *Stop() { return Regions[NumRegions - 1].Stop; }
151 size_t Idx(uint8_t *P) {
175 uint8_t *FocusFunctionCounterPtr = nullptr;
184 size_t ForEachNonZeroByte(const uint8_t *Begin, const uint8_t *End,
184 size_t ForEachNonZeroByte(const uint8_t *Begin, const uint8_t *End,
187 const size_t Step = sizeof(LargeType) / sizeof(uint8_t);
192 if (uint8_t V = *P)
199 if (uint8_t V = Bundle & 0xff)
204 if (uint8_t V = *P)
projects/compiler-rt/lib/fuzzer/FuzzerUtil.cpp 27 void PrintHexArray(const uint8_t *Data, size_t Size,
38 void PrintASCIIByte(uint8_t Byte) {
49 void PrintASCII(const uint8_t *Data, size_t Size, const char *PrintAfter) {
59 bool ToASCII(uint8_t *Data, size_t Size) {
62 uint8_t &X = Data[i];
75 bool IsASCII(const uint8_t *Data, size_t Size) {
99 uint8_t V = (uint8_t)Str[Pos];
224 size_t SimpleFastHash(const uint8_t *Data, size_t Size) {
projects/compiler-rt/lib/fuzzer/FuzzerUtil.h 23 void PrintHexArray(const uint8_t *Data, size_t Size,
26 void PrintASCII(const uint8_t *Data, size_t Size, const char *PrintAfter = "");
32 bool ToASCII(uint8_t *Data, size_t Size);
36 bool IsASCII(const uint8_t *Data, size_t Size);
86 size_t SimpleFastHash(const uint8_t *Data, size_t Size);
91 inline uint8_t *RoundUpByPage(uint8_t *P) {
91 inline uint8_t *RoundUpByPage(uint8_t *P) {
97 inline uint8_t *RoundDownByPage(uint8_t *P) {
97 inline uint8_t *RoundDownByPage(uint8_t *P) {
projects/compiler-rt/lib/gwp_asan/guarded_pool_allocator.h 62 uint8_t CompressedTrace[kStackFrameStorageBytes];
projects/compiler-rt/lib/gwp_asan/stack_trace_compressor.cpp 17 size_t varIntEncode(uintptr_t Value, uint8_t *Out, size_t OutLen) {
35 size_t varIntDecode(const uint8_t *In, size_t InLen, uintptr_t *Out) {
37 uint8_t Shift = 0;
69 size_t pack(const uintptr_t *Unpacked, size_t UnpackedSize, uint8_t *Packed,
87 size_t unpack(const uint8_t *Packed, size_t PackedSize, uintptr_t *Unpacked,
projects/compiler-rt/lib/gwp_asan/stack_trace_compressor.h 26 size_t pack(const uintptr_t *Unpacked, size_t UnpackedSize, uint8_t *Packed,
32 size_t unpack(const uint8_t *Packed, size_t PackedSize, uintptr_t *Unpacked,
projects/compiler-rt/lib/profile/GCDAProfiling.c 433 uint32_t func_checksum, uint8_t use_extra_checksum,
projects/compiler-rt/lib/profile/InstrProfData.inc 298 uint8_t SiteCountArray[1];
469 sizeof(uint8_t) * NumValueSites;
projects/compiler-rt/lib/profile/InstrProfiling.c 45 COMPILER_RT_VISIBILITY uint8_t
projects/compiler-rt/lib/profile/InstrProfiling.h 45 uint8_t __llvm_profile_get_num_padding_bytes(uint64_t SizeInBytes);
projects/compiler-rt/lib/profile/InstrProfilingBuffer.c 40 const uint8_t Padding = __llvm_profile_get_num_padding_bytes(NamesSize);
projects/compiler-rt/lib/profile/InstrProfilingInternal.h 67 uint8_t *BufferStart;
92 int lprofBufferIOWrite(ProfBufferIO *BufferIO, const uint8_t *Data,
118 uint8_t *SiteCountArray[]);
181 COMPILER_RT_VISIBILITY extern uint8_t *DynamicBufferIOBuffer;
projects/compiler-rt/lib/profile/InstrProfilingMergeFile.c 33 uint8_t NV = VR->SiteCountArray[S];
projects/compiler-rt/lib/profile/InstrProfilingValue.c 152 uint8_t VDataCount = 0;
276 uint8_t **SiteCountArray;
312 uint8_t *SiteCountArray[]) {
projects/compiler-rt/lib/profile/InstrProfilingWriter.c 24 static uint8_t BufferIOBuffer[VP_BUFFER_SIZE];
28 COMPILER_RT_VISIBILITY uint8_t *DynamicBufferIOBuffer = 0;
49 uint8_t *Buffer, uint32_t BufferSz) {
59 uint8_t *Buffer = DynamicBufferIOBuffer;
80 lprofBufferIOWrite(ProfBufferIO *BufferIO, const uint8_t *Data, uint32_t Size) {
87 ProfDataIOVec IO[] = {{Data, sizeof(uint8_t), Size}};
93 uint8_t *Buffer = BufferIO->BufferStart + BufferIO->CurOffset;
106 {BufferIO->BufferStart, sizeof(uint8_t), BufferIO->CurOffset}};
124 uint8_t *SiteCountArray[IPVK_Last + 1];
280 {SkipNameDataWrite ? NULL : NamesBegin, sizeof(uint8_t), NamesSize},
281 {Zeroes, sizeof(uint8_t), Padding}};
projects/compiler-rt/lib/xray/xray_basic_logging.cpp 50 uint8_t CPU;
51 uint8_t Padding;
172 uint8_t CPU = 0;
375 uint8_t Expected = 0;
443 uint8_t Expected = 0;
projects/compiler-rt/lib/xray/xray_fdr_log_records.h 18 enum class RecordType : uint8_t { Function, Metadata };
24 /* RecordType */ uint8_t Type : 1;
28 enum class RecordKinds : uint8_t {
42 /* RecordKinds */ uint8_t RecordKind : 7;
50 /* RecordType */ uint8_t Type : 1;
56 /* RecordKinds */ uint8_t RecordKind : 3;
projects/compiler-rt/lib/xray/xray_fdr_log_writer.h 122 enum class FunctionRecordKind : uint8_t {
projects/compiler-rt/lib/xray/xray_fdr_logging.cpp 224 static uint8_t *CurrentBuffer{nullptr};
projects/compiler-rt/lib/xray/xray_interface.cpp 184 uint8_t NotPatching = false;
235 uint8_t NotPatching = false;
240 uint8_t PatchingSuccess = false;
projects/compiler-rt/lib/xray/xray_x86_64.cpp 118 static constexpr uint8_t CallOpCode = 0xe8;
123 static constexpr uint8_t JmpOpCode = 0xe9;
124 static constexpr uint8_t RetOpCode = 0xc3;
projects/compiler-rt/lib/xray/xray_x86_64.inc 21 ALWAYS_INLINE uint64_t readTSC(uint8_t &CPU) XRAY_NEVER_INSTRUMENT {
tools/clang/include/clang/AST/DeclObjC.h 533 enum class ObjCTypeParamVariance : uint8_t {
716 enum class ObjCPropertyQueryKind : uint8_t {
tools/clang/include/clang/Analysis/Analyses/ThreadSafetyTIL.h 217 inline ValueType ValueType::getValueType<uint8_t>() {
593 return Vs.reduceLiteralT(as<uint8_t>());
tools/clang/include/clang/Analysis/Analyses/ThreadSafetyTraverse.h 546 void printLiteralT(const LiteralT<uint8_t> *E, StreamType &SS) {
573 printLiteralT(&E->as<uint8_t>(), SS);
tools/clang/include/clang/Basic/CodeGenOptions.h 293 std::vector<uint8_t> CmdArgs;
tools/clang/include/clang/Basic/LangStandard.h 19 enum class Language : uint8_t {
tools/clang/include/clang/Basic/Specifiers.h 315 enum class NullabilityKind : uint8_t {
tools/clang/include/clang/Basic/Visibility.h 53 uint8_t linkage_ : 3;
54 uint8_t visibility_ : 2;
55 uint8_t explicit_ : 1;
tools/clang/include/clang/CodeGen/CGFunctionInfo.h 35 enum Kind : uint8_t {
tools/clang/include/clang/Index/IndexSymbol.h 23 enum class SymbolKind : uint8_t {
59 enum class SymbolLanguage : uint8_t {
67 enum class SymbolSubKind : uint8_t {
tools/clang/include/clang/Lex/LiteralSupport.h 69 uint8_t MicrosoftInteger; // Microsoft suffix extension i8, i16, i32, or i64.
tools/clang/include/clang/Sema/Sema.h 244 uint8_t PointerKind;
tools/clang/include/clang/Tooling/Syntax/Nodes.h 35 enum class NodeRole : uint8_t {
tools/clang/include/clang/Tooling/Syntax/Tree.h 69 enum class NodeRole : uint8_t;
tools/clang/lib/AST/ExprConstant.cpp 6356 SmallVector<uint8_t, 8> Bytes;
tools/clang/lib/AST/Interp/Integral.h 42 template <> struct Repr<8, false> { using Type = uint8_t; };
tools/clang/lib/Basic/DiagnosticIDs.cpp 201 uint8_t NameLen;
tools/clang/lib/CodeGen/BackendUtil.cpp 1615 ArrayRef<uint8_t> ModuleData;
1655 ArrayRef<uint8_t> CmdData(const_cast<uint8_t *>(CGOpts.CmdArgs.data()),
tools/clang/lib/CodeGen/CGBuiltin.cpp 621 enum ActionKind : uint8_t { TestOnly, Complement, Reset, Set };
622 enum InterlockingKind : uint8_t {
tools/clang/lib/CodeGen/TargetInfo.cpp 8502 ABIArgInfo classifyArgumentType(QualType Ty, uint8_t FreeRegs) const;
8534 uint8_t FreeRegs) const {
tools/clang/lib/Frontend/InterfaceStubFunctionsConsumer.cpp 28 uint8_t Type;
29 uint8_t Binding;
33 MangledSymbol(const std::string &ParentName, uint8_t Type, uint8_t Binding,
33 MangledSymbol(const std::string &ParentName, uint8_t Type, uint8_t Binding,
tools/clang/lib/Lex/LiteralSupport.cpp 435 typedef uint8_t UTF8;
tools/clang/lib/Sema/SemaChecking.cpp 2813 uint8_t OpNum;
2815 uint8_t BitWidth;
2816 uint8_t Align;
tools/clang/lib/Sema/SemaExprObjC.cpp 1424 static const uint8_t None = 0;
1425 static const uint8_t NonNull = 1;
1426 static const uint8_t Nullable = 2;
1427 static const uint8_t Unspecified = 3;
1428 static const uint8_t nullabilityMap[4][4] = {
tools/clang/lib/Serialization/ASTReader.cpp 3806 endian::readNext<uint8_t, little, unaligned>(Data));
tools/clang/lib/Serialization/ASTWriter.cpp 2027 LE.write<uint8_t>(DataLen);
2053 LE.write<uint8_t>(Flags);
3959 LE.write<uint8_t>(Name.getKind());
3974 LE.write<uint8_t>(Name.getOperatorKind());
5039 LE.write<uint8_t>(static_cast<uint8_t>(M.Kind));
tools/clang/lib/StaticAnalyzer/Checkers/LocalizationChecker.cpp 67 llvm::DenseMap<Selector, uint8_t>> UIMethods;
tools/clang/tools/clang-fuzzer/ClangFuzzer.cpp 21 extern "C" int LLVMFuzzerTestOneInput(uint8_t *data, size_t size) {
tools/clang/tools/clang-fuzzer/ClangObjectiveCFuzzer.cpp 19 extern "C" int LLVMFuzzerTestOneInput(uint8_t *data, size_t size) {
tools/clang/tools/clang-fuzzer/DummyClangFuzzer.cpp 14 extern "C" int LLVMFuzzerTestOneInput(const uint8_t *Data, size_t Size);
tools/clang/tools/diagtool/DiagnosticNames.h 21 uint8_t NameLen;
tools/clang/tools/extra/clang-doc/Representation.h 30 using SymbolID = std::array<uint8_t, 20>;
tools/clang/tools/extra/clang-tidy/abseil/DurationRewriter.h 21 enum class DurationScale : std::uint8_t {
tools/clang/tools/extra/clang-tidy/cppcoreguidelines/SpecialMemberFunctionsCheck.h 33 enum class SpecialMemberFunctionKind : uint8_t {
tools/clang/tools/extra/clangd/FuzzyMatch.cpp 114 constexpr static uint8_t CharTypes[] = {
141 constexpr static uint8_t CharRoles[] = {
151 template <typename T> static T packedLookup(const uint8_t *Data, int I) {
tools/clang/tools/extra/clangd/Headers.h 65 enum class SourceFlag : uint8_t {
tools/clang/tools/extra/clangd/SourceCode.h 38 using FileDigest = std::array<uint8_t, 8>;
tools/clang/tools/extra/clangd/fuzzer/DummyClangdMain.cpp 15 extern "C" int LLVMFuzzerTestOneInput(const uint8_t *Data, size_t Size);
tools/clang/tools/extra/clangd/fuzzer/clangd-fuzzer.cpp 24 extern "C" int LLVMFuzzerTestOneInput(uint8_t *data, size_t size) {
tools/clang/tools/extra/clangd/index/MemIndex.h 73 static_assert(sizeof(RelationKind) == sizeof(uint8_t),
75 llvm::DenseMap<std::pair<SymbolID, uint8_t>, std::vector<SymbolID>> Relations;
tools/clang/tools/extra/clangd/index/Ref.h 28 enum class RefKind : uint8_t {
tools/clang/tools/extra/clangd/index/Relation.h 22 enum class RelationKind : uint8_t {
tools/clang/tools/extra/clangd/index/Serialization.cpp 57 uint8_t consume8() {
86 constexpr static uint8_t More = 1 << 7;
87 uint8_t B = consume8();
120 constexpr static uint8_t More = 1 << 7;
tools/clang/tools/extra/clangd/index/Symbol.h 113 enum SymbolFlag : uint8_t {
tools/clang/tools/extra/clangd/index/SymbolID.h 54 std::array<uint8_t, RawSize> HashValue;
tools/clang/tools/extra/clangd/index/SymbolOrigin.h 21 enum class SymbolOrigin : uint8_t {
tools/clang/tools/extra/clangd/index/YAMLSerialization.cpp 99 uint8_t Flag = 0;
110 uint8_t Origin = 0;
272 uint8_t Kind = 0;
291 uint8_t Kind = 0;
tools/clang/tools/extra/clangd/index/dex/Dex.h 111 static_assert(sizeof(RelationKind) == sizeof(uint8_t),
113 llvm::DenseMap<std::pair<SymbolID, uint8_t>, std::vector<SymbolID>> Relations;
tools/clang/tools/extra/clangd/index/dex/PostingList.cpp 132 bool encodeVByte(DocID Delta, llvm::MutableArrayRef<uint8_t> &Payload) {
141 uint8_t Encoding = Delta & 0x7f;
173 llvm::MutableArrayRef<uint8_t> RemainingPayload = Result.back().Payload;
187 llvm::Optional<DocID> readVByte(llvm::ArrayRef<uint8_t> &Bytes) {
207 llvm::ArrayRef<uint8_t> Bytes(Payload);
tools/clang/tools/extra/clangd/index/dex/PostingList.h 51 std::array<uint8_t, PayloadSize> Payload;
tools/dsymutil/DebugMap.h 77 std::vector<uint8_t> BinaryUUID;
92 ArrayRef<uint8_t> BinaryUUID = ArrayRef<uint8_t>())
117 const ArrayRef<uint8_t> getUUID() const {
178 uint8_t getType() const { return Type; }
205 uint8_t Type;
tools/dsymutil/DwarfLinker.cpp 1107 CompileUnit &Unit, SmallVectorImpl<uint8_t> &OutputBuffer) {
1146 uint8_t ULEB[16];
1154 ArrayRef<uint8_t> ULEBbytes(ULEB, ULEBsize);
1192 SmallVector<uint8_t, 32> Buffer;
1193 ArrayRef<uint8_t> Bytes = *Val.getAsBlock();
tools/dsymutil/DwarfLinker.h 365 SmallVectorImpl<uint8_t> &OutputBuffer);
tools/dsymutil/DwarfStreamer.cpp 393 std::function<void(StringRef, SmallVectorImpl<uint8_t> &)> ProcessExpr) {
413 SmallVector<uint8_t, 32> Buffer;
tools/dsymutil/DwarfStreamer.h 100 std::function<void(StringRef, SmallVectorImpl<uint8_t> &)> ProcessExpr);
tools/dsymutil/MachODebugMapParser.cpp 78 void handleStabSymbolTableEntry(uint32_t StringIndex, uint8_t Type,
79 uint8_t SectionIndex, uint16_t Flags,
94 uint8_t Type, uint8_t SectionIndex, uint16_t Flags,
94 uint8_t Type, uint8_t SectionIndex, uint16_t Flags,
191 ArrayRef<uint8_t> UUID = MainBinary.getUuid();
211 uint8_t NType;
233 static const char *getDarwinStabString(uint8_t NType) {
252 uint32_t StringIndex, uint8_t Type,
253 uint8_t SectionIndex, uint16_t Flags,
398 uint8_t Type,
399 uint8_t SectionIndex,
552 uint8_t SymType =
tools/lld/COFF/Chunks.cpp 60 static void add16(uint8_t *p, int16_t v) { write16le(p, read16le(p) + v); }
61 static void add32(uint8_t *p, int32_t v) { write32le(p, read32le(p) + v); }
62 static void add64(uint8_t *p, int64_t v) { write64le(p, read64le(p) + v); }
63 static void or16(uint8_t *p, uint16_t v) { write16le(p, read16le(p) | v); }
64 static void or32(uint8_t *p, uint32_t v) { write32le(p, read32le(p) | v); }
78 static void applySecRel(const SectionChunk *sec, uint8_t *off,
90 static void applySecIdx(uint8_t *off, OutputSection *os) {
100 void SectionChunk::applyRelX64(uint8_t *off, uint16_t type, OutputSection *os,
120 void SectionChunk::applyRelX86(uint8_t *off, uint16_t type, OutputSection *os,
135 static void applyMOV(uint8_t *off, uint16_t v) {
140 static uint16_t readMOV(uint8_t *off, bool movt) {
153 void applyMOV32T(uint8_t *off, uint32_t v) {
162 static void applyBranch20T(uint8_t *off, int32_t v) {
172 void applyBranch24T(uint8_t *off, int32_t v) {
183 void SectionChunk::applyRelARM(uint8_t *off, uint16_t type, OutputSection *os,
208 void applyArm64Addr(uint8_t *off, uint64_t s, uint64_t p, int shift) {
222 void applyArm64Imm(uint8_t *off, uint64_t imm, uint32_t rangeLimit) {
237 static void applyArm64Ldr(uint8_t *off, uint64_t imm) {
249 static void applySecRelLow12A(const SectionChunk *sec, uint8_t *off,
255 static void applySecRelHigh12A(const SectionChunk *sec, uint8_t *off,
268 static void applySecRelLdr(const SectionChunk *sec, uint8_t *off,
274 void applyArm64Branch26(uint8_t *off, int64_t v) {
280 static void applyArm64Branch19(uint8_t *off, int64_t v) {
286 static void applyArm64Branch14(uint8_t *off, int64_t v) {
292 void SectionChunk::applyRelARM64(uint8_t *off, uint16_t type, OutputSection *os,
350 void SectionChunk::writeTo(uint8_t *buf) const {
354 ArrayRef<uint8_t> a = getContents();
372 uint8_t *off = buf + rel.VirtualAddress;
424 static uint8_t getBaserelType(const coff_relocation &rel) {
456 uint8_t ty = getBaserelType(rel);
588 ArrayRef<uint8_t> SectionChunk::getContents() const {
589 ArrayRef<uint8_t> a;
594 ArrayRef<uint8_t> SectionChunk::consumeDebugMagic() {
599 ArrayRef<uint8_t> SectionChunk::consumeDebugMagic(ArrayRef<uint8_t> data,
599 ArrayRef<uint8_t> SectionChunk::consumeDebugMagic(ArrayRef<uint8_t> data,
657 void StringChunk::writeTo(uint8_t *buf) const {
668 void ImportThunkChunkX64::writeTo(uint8_t *buf) const {
678 void ImportThunkChunkX86::writeTo(uint8_t *buf) const {
689 void ImportThunkChunkARM::writeTo(uint8_t *buf) const {
695 void ImportThunkChunkARM64::writeTo(uint8_t *buf) const {
703 const uint8_t armThunk[] = {
714 void RangeExtensionThunkARM::writeTo(uint8_t *buf) const {
723 const uint8_t arm64Thunk[] = {
734 void RangeExtensionThunkARM64::writeTo(uint8_t *buf) const {
747 void LocalImportChunk::writeTo(uint8_t *buf) const {
755 void RVATableChunk::writeTo(uint8_t *buf) const {
773 void PseudoRelocTableChunk::writeTo(uint8_t *buf) const {
836 uint8_t *p = data.data();
846 void BaserelChunk::writeTo(uint8_t *buf) const {
850 uint8_t Baserel::getDefaultType() {
872 uint8_t p2Align = llvm::Log2_32(c->getAlignment());
906 void MergeChunk::writeTo(uint8_t *buf) const {
913 void AbsolutePointerChunk::writeTo(uint8_t *buf) const {
tools/lld/COFF/Chunks.h 57 enum Kind : uint8_t { SectionKind, OtherKind, ImportThunkKind };
82 void writeTo(uint8_t *buf) const;
129 uint8_t hasData : 1;
134 uint8_t p2Align : 7;
157 virtual void writeTo(uint8_t *buf) const {}
204 ArrayRef<uint8_t> getContents() const;
205 void writeTo(uint8_t *buf) const;
215 void applyRelX64(uint8_t *off, uint16_t type, OutputSection *os, uint64_t s,
217 void applyRelX86(uint8_t *off, uint16_t type, OutputSection *os, uint64_t s,
219 void applyRelARM(uint8_t *off, uint16_t type, OutputSection *os, uint64_t s,
221 void applyRelARM64(uint8_t *off, uint16_t type, OutputSection *os, uint64_t s,
296 ArrayRef<uint8_t> consumeDebugMagic();
298 static ArrayRef<uint8_t> consumeDebugMagic(ArrayRef<uint8_t> data,
298 static ArrayRef<uint8_t> consumeDebugMagic(ArrayRef<uint8_t> data,
367 inline void Chunk::writeTo(uint8_t *buf) const {
414 void writeTo(uint8_t *buf) const override;
441 void writeTo(uint8_t *buf) const override;
447 static const uint8_t importThunkX86[] = {
451 static const uint8_t importThunkARM[] = {
457 static const uint8_t importThunkARM64[] = {
480 void writeTo(uint8_t *buf) const override;
488 void writeTo(uint8_t *buf) const override;
496 void writeTo(uint8_t *buf) const override;
503 void writeTo(uint8_t *buf) const override;
510 void writeTo(uint8_t *buf) const override;
519 void writeTo(uint8_t *buf) const override;
533 void writeTo(uint8_t *buf) const override;
570 void writeTo(uint8_t *buf) const override;
583 void writeTo(uint8_t *buf) const override;
586 std::vector<uint8_t> data;
591 Baserel(uint32_t v, uint8_t ty) : rva(v), type(ty) {}
593 uint8_t getDefaultType();
596 uint8_t type;
607 void writeTo(uint8_t *buf) const override {}
623 void writeTo(uint8_t *buf) const override;
653 void writeTo(uint8_t *buf) const override;
670 void applyMOV32T(uint8_t *off, uint32_t v);
671 void applyBranch24T(uint8_t *off, int32_t v);
673 void applyArm64Addr(uint8_t *off, uint64_t s, uint64_t p, int shift);
674 void applyArm64Imm(uint8_t *off, uint64_t imm, uint32_t rangeLimit);
675 void applyArm64Branch26(uint8_t *off, int64_t v);
tools/lld/COFF/DLL.cpp 48 void writeTo(uint8_t *buf) const override {
67 void writeTo(uint8_t *buf) const override {
87 void writeTo(uint8_t *buf) const override {
106 void writeTo(uint8_t *buf) const override {
127 void writeTo(uint8_t *buf) const override {
172 void writeTo(uint8_t *buf) const override {
193 static const uint8_t thunkX64[] = {
198 static const uint8_t tailMergeX64[] = {
223 static const uint8_t thunkX86[] = {
228 static const uint8_t tailMergeX86[] = {
239 static const uint8_t thunkARM[] = {
245 static const uint8_t tailMergeARM[] = {
259 static const uint8_t thunkARM64[] = {
265 static const uint8_t tailMergeARM64[] = {
300 void writeTo(uint8_t *buf) const override {
316 void writeTo(uint8_t *buf) const override {
332 void writeTo(uint8_t *buf) const override {
352 void writeTo(uint8_t *buf) const override {
372 void writeTo(uint8_t *buf) const override {
392 void writeTo(uint8_t *buf) const override {
412 void writeTo(uint8_t *buf) const override {
429 void writeTo(uint8_t *buf) const override {
448 void writeTo(uint8_t *buf) const override {
481 void writeTo(uint8_t *buf) const override {
507 void writeTo(uint8_t *buf) const override {
511 uint8_t *p = buf + e.ordinal * 4;
533 void writeTo(uint8_t *buf) const override {
549 void writeTo(uint8_t *buf) const override {
tools/lld/COFF/Driver.cpp 925 ArrayRef<uint8_t> contents;
928 const uint8_t *cur = contents.begin();
tools/lld/COFF/InputFiles.cpp 243 ArrayRef<uint8_t> data;
685 ArrayRef<uint8_t> ObjFile::getDebugSection(StringRef secName) {
697 ArrayRef<uint8_t> data = getDebugSection(".debug$S");
751 ArrayRef<uint8_t> data = getDebugSection(".debug$P");
tools/lld/COFF/InputFiles.h 146 ArrayRef<uint8_t> getDebugSection(StringRef secName);
tools/lld/COFF/PDB.cpp 156 ArrayRef<uint8_t> sectionTable);
290 static bool canUseDebugH(ArrayRef<uint8_t> debugH) {
302 static Optional<ArrayRef<uint8_t>> getDebugH(ObjFile *file) {
307 ArrayRef<uint8_t> contents = sec->getContents();
314 getHashesFromDebugH(ArrayRef<uint8_t> debugH) {
397 if (Optional<ArrayRef<uint8_t>> debugH = getDebugH(file))
584 MutableArrayRef<uint8_t> recordBytes,
587 MutableArrayRef<uint8_t> contents =
615 recordStringTableReferenceAtOffset(MutableArrayRef<uint8_t> contents,
625 recordStringTableReferences(SymbolKind kind, MutableArrayRef<uint8_t> contents,
646 static SymbolKind symbolKind(ArrayRef<uint8_t> recordData) {
653 static void translateIdSymbols(MutableArrayRef<uint8_t> &recordData,
699 static MutableArrayRef<uint8_t>
700 copyAndAlignSymbol(const CVSymbol &sym, MutableArrayRef<uint8_t> &alignedMem) {
707 MutableArrayRef<uint8_t> newData = alignedMem.take_front(size);
827 ArrayRef<uint8_t> symsBuffer;
855 MutableArrayRef<uint8_t> alignedSymbolMem;
865 ArrayRef<uint8_t> bulkSymbols;
869 MutableArrayRef<uint8_t> recordBytes;
940 static ArrayRef<uint8_t> relocateDebugChunk(BumpPtrAllocator &alloc,
942 uint8_t *buffer = alloc.Allocate<uint8_t>(debugChunk.getSize());
942 uint8_t *buffer = alloc.Allocate<uint8_t>(debugChunk.getSize());
959 ArrayRef<uint8_t> contents = secChunk->getContents();
989 ArrayRef<uint8_t> relocatedDebugContents = SectionChunk::consumeDebugMagic(
1200 ArrayRef<uint8_t> relocatedDebugContents =
1595 ArrayRef<uint8_t> sectionTable,
1647 ArrayRef<uint8_t> sectionTable) {
1736 ArrayRef<uint8_t> contents =
1756 ArrayRef<uint8_t> bytes;
tools/lld/COFF/PDB.h 30 llvm::ArrayRef<uint8_t> sectionTable,
tools/lld/COFF/Writer.cpp 101 void writeTo(uint8_t *b) const override {
153 void writeTo(uint8_t *b) const override {
255 ArrayRef<uint8_t> sectionTable;
316 void OutputSection::writeHeaderTo(uint8_t *buf) {
1270 uint8_t *buf = buffer->getBufferStart();
1423 ArrayRef<uint8_t> secContents = sc->getContents();
1635 ArrayRef<uint8_t> data = c->getContents();
1746 uint8_t *buf = buffer->getBufferStart();
1748 uint8_t *secBuf = buf + sec->getFileOff();
1804 uint8_t *buf = buffer->getBufferStart();
1821 uint8_t *begin = bufAddr(firstPdata);
1822 uint8_t *end = bufAddr(lastPdata) + lastPdata->getSize();
tools/lld/COFF/Writer.h 50 void writeHeaderTo(uint8_t *buf);
tools/lld/Common/Strings.cpp 52 std::vector<uint8_t> lld::parseHex(StringRef s) {
53 std::vector<uint8_t> hex;
57 uint8_t h;
tools/lld/ELF/AArch64ErrataFix.cpp 355 const uint8_t *buf = isec->data().begin();
378 void writeTo(uint8_t *buf) override;
407 void Patch843419Section::writeTo(uint8_t *buf) {
tools/lld/ELF/ARMErrataFix.cpp 78 void writeTo(uint8_t *buf) override;
154 uint8_t buf[4];
167 void Patch657417Section::writeTo(uint8_t *buf) {
257 const uint8_t *buf = isec->data().begin();
tools/lld/ELF/Arch/AArch64.cpp 36 const uint8_t *loc) const override;
38 void writeGotPlt(uint8_t *buf, const Symbol &s) const override;
39 void writePltHeader(uint8_t *buf) const override;
40 void writePlt(uint8_t *buf, uint64_t gotPltEntryAddr, uint64_t pltEntryAddr,
47 void relocateOne(uint8_t *loc, RelType type, uint64_t val) const override;
48 RelExpr adjustRelaxExpr(RelType type, const uint8_t *data,
50 void relaxTlsGdToLe(uint8_t *loc, RelType type, uint64_t val) const override;
51 void relaxTlsGdToIe(uint8_t *loc, RelType type, uint64_t val) const override;
52 void relaxTlsIeToLe(uint8_t *loc, RelType type, uint64_t val) const override;
78 const uint8_t *loc) const {
156 RelExpr AArch64::adjustRelaxExpr(RelType type, const uint8_t *data,
190 void AArch64::writeGotPlt(uint8_t *buf, const Symbol &) const {
194 void AArch64::writePltHeader(uint8_t *buf) const {
195 const uint8_t pltData[] = {
215 void AArch64::writePlt(uint8_t *buf, uint64_t gotPltEntryAddr,
218 const uint8_t inst[] = {
264 static void write32AArch64Addr(uint8_t *l, uint64_t imm) {
278 static void or32le(uint8_t *p, int32_t v) { write32le(p, read32le(p) | v); }
281 static void or32AArch64Imm(uint8_t *l, uint64_t imm) {
288 static void writeSMovWImm(uint8_t *loc, uint32_t imm) {
305 void AArch64::relocateOne(uint8_t *loc, RelType type, uint64_t val) const {
451 void AArch64::relaxTlsGdToLe(uint8_t *loc, RelType type, uint64_t val) const {
481 void AArch64::relaxTlsGdToIe(uint8_t *loc, RelType type, uint64_t val) const {
512 void AArch64::relaxTlsIeToLe(uint8_t *loc, RelType type, uint64_t val) const {
569 void writePltHeader(uint8_t *buf) const override;
570 void writePlt(uint8_t *buf, uint64_t gotPltEntryAddr, uint64_t pltEntryAddr,
596 void AArch64BtiPac::writePltHeader(uint8_t *buf) const {
597 const uint8_t btiData[] = { 0x5f, 0x24, 0x03, 0xd5 }; // bti c
598 const uint8_t pltData[] = {
607 const uint8_t nopData[] = { 0x1f, 0x20, 0x03, 0xd5 }; // nop
630 void AArch64BtiPac::writePlt(uint8_t *buf, uint64_t gotPltEntryAddr,
635 const uint8_t btiData[] = { 0x5f, 0x24, 0x03, 0xd5 }; // bti c
636 const uint8_t addrInst[] = {
641 const uint8_t pacBr[] = {
645 const uint8_t stdBr[] = {
649 const uint8_t nopData[] = { 0x1f, 0x20, 0x03, 0xd5 }; // nop
tools/lld/ELF/Arch/AMDGPU.cpp 29 void relocateOne(uint8_t *loc, RelType type, uint64_t val) const override;
31 const uint8_t *loc) const override;
61 void AMDGPU::relocateOne(uint8_t *loc, RelType type, uint64_t val) const {
84 const uint8_t *loc) const {
tools/lld/ELF/Arch/ARM.cpp 31 const uint8_t *loc) const override;
33 int64_t getImplicitAddend(const uint8_t *buf, RelType type) const override;
34 void writeGotPlt(uint8_t *buf, const Symbol &s) const override;
35 void writeIgotPlt(uint8_t *buf, const Symbol &s) const override;
36 void writePltHeader(uint8_t *buf) const override;
37 void writePlt(uint8_t *buf, uint64_t gotPltEntryAddr, uint64_t pltEntryAddr,
45 void relocateOne(uint8_t *loc, RelType type, uint64_t val) const override;
84 const uint8_t *loc) const {
153 void ARM::writeGotPlt(uint8_t *buf, const Symbol &) const {
157 void ARM::writeIgotPlt(uint8_t *buf, const Symbol &s) const {
164 static void writePltHeaderLong(uint8_t *buf) {
165 const uint8_t pltData[] = {
182 void ARM::writePltHeader(uint8_t *buf) const {
217 static void writePltLong(uint8_t *buf, uint64_t gotPltEntryAddr,
220 const uint8_t pltData[] = {
233 void ARM::writePlt(uint8_t *buf, uint64_t gotPltEntryAddr,
378 void ARM::relocateOne(uint8_t *loc, RelType type, uint64_t val) const {
521 int64_t ARM::getImplicitAddend(const uint8_t *buf, RelType type) const {
tools/lld/ELF/Arch/AVR.cpp 48 const uint8_t *loc) const override;
49 void relocateOne(uint8_t *loc, RelType type, uint64_t val) const override;
56 const uint8_t *loc) const {
60 void AVR::relocateOne(uint8_t *loc, RelType type, uint64_t val) const {
tools/lld/ELF/Arch/Hexagon.cpp 32 const uint8_t *loc) const override;
34 void relocateOne(uint8_t *loc, RelType type, uint64_t val) const override;
35 void writePltHeader(uint8_t *buf) const override;
36 void writePlt(uint8_t *buf, uint64_t gotPltEntryAddr, uint64_t pltEntryAddr,
89 const uint8_t *loc) const {
203 static void or32le(uint8_t *p, int32_t v) { write32le(p, read32le(p) | v); }
205 void Hexagon::relocateOne(uint8_t *loc, RelType type, uint64_t val) const {
286 void Hexagon::writePltHeader(uint8_t *buf) const {
287 const uint8_t pltData[] = {
305 void Hexagon::writePlt(uint8_t *buf, uint64_t gotPltEntryAddr,
308 const uint8_t inst[] = {
tools/lld/ELF/Arch/MSP430.cpp 38 const uint8_t *loc) const override;
39 void relocateOne(uint8_t *loc, RelType type, uint64_t val) const override;
49 const uint8_t *loc) const {
63 void MSP430::relocateOne(uint8_t *loc, RelType type, uint64_t val) const {
tools/lld/ELF/Arch/Mips.cpp 30 const uint8_t *loc) const override;
31 int64_t getImplicitAddend(const uint8_t *buf, RelType type) const override;
33 void writeGotPlt(uint8_t *buf, const Symbol &s) const override;
34 void writePltHeader(uint8_t *buf) const override;
35 void writePlt(uint8_t *buf, uint64_t gotPltEntryAddr, uint64_t pltEntryAddr,
39 void relocateOne(uint8_t *loc, RelType type, uint64_t val) const override;
79 const uint8_t *loc) const {
196 void MIPS<ELFT>::writeGotPlt(uint8_t *buf, const Symbol &) const {
203 template <endianness E> static uint32_t readShuffle(const uint8_t *loc) {
216 static void writeValue(uint8_t *loc, uint64_t v, uint8_t bitsSize,
216 static void writeValue(uint8_t *loc, uint64_t v, uint8_t bitsSize,
217 uint8_t shift) {
225 static void writeShuffleValue(uint8_t *loc, uint64_t v, uint8_t bitsSize,
225 static void writeShuffleValue(uint8_t *loc, uint64_t v, uint8_t bitsSize,
226 uint8_t shift) {
239 static void writeMicroRelocation16(uint8_t *loc, uint64_t v, uint8_t bitsSize,
239 static void writeMicroRelocation16(uint8_t *loc, uint64_t v, uint8_t bitsSize,
240 uint8_t shift) {
247 template <class ELFT> void MIPS<ELFT>::writePltHeader(uint8_t *buf) const {
309 void MIPS<ELFT>::writePlt(uint8_t *buf, uint64_t gotPltEntryAddr,
370 int64_t MIPS<ELFT>::getImplicitAddend(const uint8_t *buf, RelType type) const {
441 calculateMipsRelChain(uint8_t *loc, RelType type, uint64_t val) {
478 static uint64_t fixupCrossModeJump(uint8_t *loc, RelType type, uint64_t val) {
527 void MIPS<ELFT>::relocateOne(uint8_t *loc, RelType type, uint64_t val) const {
tools/lld/ELF/Arch/MipsArchTree.cpp 313 static int compareMipsFpAbi(uint8_t fpA, uint8_t fpB) {
313 static int compareMipsFpAbi(uint8_t fpA, uint8_t fpB) {
330 static StringRef getMipsFpAbiName(uint8_t fpAbi) {
353 uint8_t getMipsFpAbiFlag(uint8_t oldFlag, uint8_t newFlag, StringRef fileName) {
353 uint8_t getMipsFpAbiFlag(uint8_t oldFlag, uint8_t newFlag, StringRef fileName) {
353 uint8_t getMipsFpAbiFlag(uint8_t oldFlag, uint8_t newFlag, StringRef fileName) {
tools/lld/ELF/Arch/PPC.cpp 28 const uint8_t *loc) const override;
30 void writeGotHeader(uint8_t *buf) const override;
31 void writePltHeader(uint8_t *buf) const override {
34 void writePlt(uint8_t *buf, uint64_t gotPltEntryAddr, uint64_t pltEntryAddr,
38 void writeGotPlt(uint8_t *buf, const Symbol &s) const override;
43 void relocateOne(uint8_t *loc, RelType type, uint64_t val) const override;
44 RelExpr adjustRelaxExpr(RelType type, const uint8_t *data,
47 void relaxTlsGdToIe(uint8_t *loc, RelType type, uint64_t val) const override;
48 void relaxTlsGdToLe(uint8_t *loc, RelType type, uint64_t val) const override;
49 void relaxTlsLdToLe(uint8_t *loc, RelType type, uint64_t val) const override;
50 void relaxTlsIeToLe(uint8_t *loc, RelType type, uint64_t val) const override;
57 static uint32_t readFromHalf16(const uint8_t *loc) {
61 static void writeFromHalf16(uint8_t *loc, uint32_t insn) {
65 void writePPC32GlinkSection(uint8_t *buf, size_t numEntries) {
85 const uint8_t *end = buf + 64;
159 void PPC::writeGotHeader(uint8_t *buf) const {
166 void PPC::writeGotPlt(uint8_t *buf, const Symbol &s) const {
192 const uint8_t *loc) const {
268 void PPC::relocateOne(uint8_t *loc, RelType type, uint64_t val) const {
336 RelExpr PPC::adjustRelaxExpr(RelType type, const uint8_t *data,
359 void PPC::relaxTlsGdToIe(uint8_t *loc, RelType type, uint64_t val) const {
377 void PPC::relaxTlsGdToLe(uint8_t *loc, RelType type, uint64_t val) const {
392 void PPC::relaxTlsLdToLe(uint8_t *loc, RelType type, uint64_t val) const {
415 void PPC::relaxTlsIeToLe(uint8_t *loc, RelType type, uint64_t val) const {
tools/lld/ELF/Arch/PPC64.cpp 77 unsigned getPPC64GlobalEntryToLocalEntryOffset(uint8_t stOther) {
89 uint8_t gepToLep = (stOther >> 5) & 7;
158 uint8_t *bufLoc) {
200 const uint8_t *loc) const override;
202 void writePltHeader(uint8_t *buf) const override;
203 void writePlt(uint8_t *buf, uint64_t gotPltEntryAddr, uint64_t pltEntryAddr,
205 void relocateOne(uint8_t *loc, RelType type, uint64_t val) const override;
206 void writeGotHeader(uint8_t *buf) const override;
211 RelExpr adjustRelaxExpr(RelType type, const uint8_t *data,
213 void relaxGot(uint8_t *loc, RelType type, uint64_t val) const override;
214 void relaxTlsGdToIe(uint8_t *loc, RelType type, uint64_t val) const override;
215 void relaxTlsGdToLe(uint8_t *loc, RelType type, uint64_t val) const override;
216 void relaxTlsLdToLe(uint8_t *loc, RelType type, uint64_t val) const override;
217 void relaxTlsIeToLe(uint8_t *loc, RelType type, uint64_t val) const override;
219 bool adjustPrologueForCrossSplitStack(uint8_t *loc, uint8_t *end,
219 bool adjustPrologueForCrossSplitStack(uint8_t *loc, uint8_t *end,
220 uint8_t stOther) const override;
237 static uint8_t getPrimaryOpCode(uint32_t encoding) { return (encoding >> 26); }
283 static void writeFromHalf16(uint8_t *loc, uint32_t insn) {
287 static uint32_t readFromHalf16(const uint8_t *loc) {
362 void PPC64::relaxGot(uint8_t *loc, RelType type, uint64_t val) const {
383 void PPC64::relaxTlsGdToLe(uint8_t *loc, RelType type, uint64_t val) const {
422 void PPC64::relaxTlsLdToLe(uint8_t *loc, RelType type, uint64_t val) const {
487 void PPC64::relaxTlsIeToLe(uint8_t *loc, RelType type, uint64_t val) const {
538 const uint8_t *loc) const {
643 void PPC64::writeGotHeader(uint8_t *buf) const {
647 void PPC64::writePltHeader(uint8_t *buf) const {
670 void PPC64::writePlt(uint8_t *buf, uint64_t gotPltEntryAddr,
763 void PPC64::relocateOne(uint8_t *loc, RelType type, uint64_t val) const {
777 uint8_t aalk = loc[3];
939 RelExpr PPC64::adjustRelaxExpr(RelType type, const uint8_t *data,
965 void PPC64::relaxTlsGdToIe(uint8_t *loc, RelType type, uint64_t val) const {
1018 bool PPC64::adjustPrologueForCrossSplitStack(uint8_t *loc, uint8_t *end,
1018 bool PPC64::adjustPrologueForCrossSplitStack(uint8_t *loc, uint8_t *end,
1019 uint8_t stOther) const {
tools/lld/ELF/Arch/RISCV.cpp 27 void writeGotHeader(uint8_t *buf) const override;
28 void writeGotPlt(uint8_t *buf, const Symbol &s) const override;
29 void writePltHeader(uint8_t *buf) const override;
30 void writePlt(uint8_t *buf, uint64_t gotPltEntryAddr, uint64_t pltEntryAddr,
34 const uint8_t *loc) const override;
35 void relocateOne(uint8_t *loc, RelType type, uint64_t val) const override;
130 void RISCV::writeGotHeader(uint8_t *buf) const {
137 void RISCV::writeGotPlt(uint8_t *buf, const Symbol &s) const {
144 void RISCV::writePltHeader(uint8_t *buf) const {
165 void RISCV::writePlt(uint8_t *buf, uint64_t gotPltEntryAddr,
185 const uint8_t *loc) const {
239 void RISCV::relocateOne(uint8_t *loc, const RelType type,
tools/lld/ELF/Arch/SPARCV9.cpp 28 const uint8_t *loc) const override;
29 void writePlt(uint8_t *buf, uint64_t gotEntryAddr, uint64_t pltEntryAddr,
31 void relocateOne(uint8_t *loc, RelType type, uint64_t val) const override;
51 const uint8_t *loc) const {
78 void SPARCV9::relocateOne(uint8_t *loc, RelType type, uint64_t val) const {
127 void SPARCV9::writePlt(uint8_t *buf, uint64_t gotEntryAddr,
130 const uint8_t pltData[] = {
tools/lld/ELF/Arch/X86.cpp 29 const uint8_t *loc) const override;
30 int64_t getImplicitAddend(const uint8_t *buf, RelType type) const override;
31 void writeGotPltHeader(uint8_t *buf) const override;
33 void writeGotPlt(uint8_t *buf, const Symbol &s) const override;
34 void writeIgotPlt(uint8_t *buf, const Symbol &s) const override;
35 void writePltHeader(uint8_t *buf) const override;
36 void writePlt(uint8_t *buf, uint64_t gotPltEntryAddr, uint64_t pltEntryAddr,
38 void relocateOne(uint8_t *loc, RelType type, uint64_t val) const override;
40 RelExpr adjustRelaxExpr(RelType type, const uint8_t *data,
42 void relaxTlsGdToIe(uint8_t *loc, RelType type, uint64_t val) const override;
43 void relaxTlsGdToLe(uint8_t *loc, RelType type, uint64_t val) const override;
44 void relaxTlsIeToLe(uint8_t *loc, RelType type, uint64_t val) const override;
45 void relaxTlsLdToLe(uint8_t *loc, RelType type, uint64_t val) const override;
74 const uint8_t *loc) const {
159 RelExpr X86::adjustRelaxExpr(RelType type, const uint8_t *data,
171 void X86::writeGotPltHeader(uint8_t *buf) const {
175 void X86::writeGotPlt(uint8_t *buf, const Symbol &s) const {
181 void X86::writeIgotPlt(uint8_t *buf, const Symbol &s) const {
194 void X86::writePltHeader(uint8_t *buf) const {
196 const uint8_t v[] = {
205 const uint8_t pltData[] = {
216 void X86::writePlt(uint8_t *buf, uint64_t gotPltEntryAddr,
220 const uint8_t inst[] = {
228 const uint8_t inst[] = {
241 int64_t X86::getImplicitAddend(const uint8_t *buf, RelType type) const {
264 void X86::relocateOne(uint8_t *loc, RelType type, uint64_t val) const {
322 void X86::relaxTlsGdToLe(uint8_t *loc, RelType type, uint64_t val) const {
329 const uint8_t inst[] = {
337 void X86::relaxTlsGdToIe(uint8_t *loc, RelType type, uint64_t val) const {
344 const uint8_t inst[] = {
354 void X86::relaxTlsIeToLe(uint8_t *loc, RelType type, uint64_t val) const {
359 uint8_t reg = (loc[-1] >> 3) & 7;
391 void X86::relaxTlsLdToLe(uint8_t *loc, RelType type, uint64_t val) const {
404 const uint8_t inst[] = {
416 void writeGotPlt(uint8_t *buf, const Symbol &s) const override;
417 void writePltHeader(uint8_t *buf) const override;
418 void writePlt(uint8_t *buf, uint64_t gotPltEntryAddr, uint64_t pltEntryAddr,
425 void writeGotPlt(uint8_t *buf, const Symbol &s) const override;
426 void writePltHeader(uint8_t *buf) const override;
427 void writePlt(uint8_t *buf, uint64_t gotPltEntryAddr, uint64_t pltEntryAddr,
437 void RetpolinePic::writeGotPlt(uint8_t *buf, const Symbol &s) const {
441 void RetpolinePic::writePltHeader(uint8_t *buf) const {
442 const uint8_t insn[] = {
462 void RetpolinePic::writePlt(uint8_t *buf, uint64_t gotPltEntryAddr,
465 const uint8_t insn[] = {
490 void RetpolineNoPic::writeGotPlt(uint8_t *buf, const Symbol &s) const {
494 void RetpolineNoPic::writePltHeader(uint8_t *buf) const {
495 const uint8_t insn[] = {
520 void RetpolineNoPic::writePlt(uint8_t *buf, uint64_t gotPltEntryAddr,
523 const uint8_t insn[] = {
tools/lld/ELF/Arch/X86_64.cpp 31 const uint8_t *loc) const override;
33 void writeGotPltHeader(uint8_t *buf) const override;
34 void writeGotPlt(uint8_t *buf, const Symbol &s) const override;
35 void writePltHeader(uint8_t *buf) const override;
36 void writePlt(uint8_t *buf, uint64_t gotPltEntryAddr, uint64_t pltEntryAddr,
38 void relocateOne(uint8_t *loc, RelType type, uint64_t val) const override;
40 RelExpr adjustRelaxExpr(RelType type, const uint8_t *data,
42 void relaxGot(uint8_t *loc, RelType type, uint64_t val) const override;
43 void relaxTlsGdToIe(uint8_t *loc, RelType type, uint64_t val) const override;
44 void relaxTlsGdToLe(uint8_t *loc, RelType type, uint64_t val) const override;
45 void relaxTlsIeToLe(uint8_t *loc, RelType type, uint64_t val) const override;
46 void relaxTlsLdToLe(uint8_t *loc, RelType type, uint64_t val) const override;
47 bool adjustPrologueForCrossSplitStack(uint8_t *loc, uint8_t *end,
47 bool adjustPrologueForCrossSplitStack(uint8_t *loc, uint8_t *end,
48 uint8_t stOther) const override;
76 const uint8_t *loc) const {
132 void X86_64::writeGotPltHeader(uint8_t *buf) const {
140 void X86_64::writeGotPlt(uint8_t *buf, const Symbol &s) const {
145 void X86_64::writePltHeader(uint8_t *buf) const {
146 const uint8_t pltData[] = {
158 void X86_64::writePlt(uint8_t *buf, uint64_t gotPltEntryAddr,
161 const uint8_t inst[] = {
180 void X86_64::relaxTlsGdToLe(uint8_t *loc, RelType type, uint64_t val) const {
189 const uint8_t inst[] = {
220 void X86_64::relaxTlsGdToIe(uint8_t *loc, RelType type, uint64_t val) const {
229 const uint8_t inst[] = {
261 void X86_64::relaxTlsIeToLe(uint8_t *loc, RelType type, uint64_t val) const {
262 uint8_t *inst = loc - 3;
263 uint8_t reg = loc[-1] >> 3;
264 uint8_t *regSlot = loc - 1;
302 void X86_64::relaxTlsLdToLe(uint8_t *loc, RelType type, uint64_t val) const {
312 const uint8_t inst[] = {
350 void X86_64::relocateOne(uint8_t *loc, RelType type, uint64_t val) const {
404 RelExpr X86_64::adjustRelaxExpr(RelType type, const uint8_t *data,
408 const uint8_t op = data[-2];
409 const uint8_t modRm = data[-1];
435 static void relaxGotNoPic(uint8_t *loc, uint64_t val, uint8_t op,
435 static void relaxGotNoPic(uint8_t *loc, uint64_t val, uint8_t op,
436 uint8_t modRm) {
437 const uint8_t rex = loc[-3];
498 void X86_64::relaxGot(uint8_t *loc, RelType type, uint64_t val) const {
499 const uint8_t op = loc[-2];
500 const uint8_t modRm = loc[-1];
540 bool X86_64::adjustPrologueForCrossSplitStack(uint8_t *loc, uint8_t *end,
540 bool X86_64::adjustPrologueForCrossSplitStack(uint8_t *loc, uint8_t *end,
541 uint8_t stOther) const {
584 void writeGotPlt(uint8_t *buf, const Symbol &s) const override;
585 void writePltHeader(uint8_t *buf) const override;
586 void writePlt(uint8_t *buf, uint64_t gotPltEntryAddr, uint64_t pltEntryAddr,
593 void writeGotPlt(uint8_t *buf, const Symbol &s) const override {}
594 void writePltHeader(uint8_t *buf) const override;
595 void writePlt(uint8_t *buf, uint64_t gotPltEntryAddr, uint64_t pltEntryAddr,
605 void Retpoline::writeGotPlt(uint8_t *buf, const Symbol &s) const {
609 void Retpoline::writePltHeader(uint8_t *buf) const {
610 const uint8_t insn[] = {
631 void Retpoline::writePlt(uint8_t *buf, uint64_t gotPltEntryAddr,
634 const uint8_t insn[] = {
658 void RetpolineZNow::writePltHeader(uint8_t *buf) const {
659 const uint8_t insn[] = {
674 void RetpolineZNow::writePlt(uint8_t *buf, uint64_t gotPltEntryAddr,
677 const uint8_t insn[] = {
tools/lld/ELF/Config.h 86 uint8_t osabi = 0;
123 std::vector<uint8_t> buildIdVector;
tools/lld/ELF/Driver.cpp 121 static std::tuple<ELFKind, uint16_t, uint8_t> parseEmulation(StringRef emul) {
122 uint8_t osabi = 0;
669 static std::pair<BuildIdKind, std::vector<uint8_t>>
1490 ArrayRef<uint8_t> contents =
1492 const uint8_t *cur = contents.begin();
tools/lld/ELF/EhFrame.cpp 38 EhReader(InputSectionBase *s, ArrayRef<uint8_t> d) : isec(s), d(d) {}
40 uint8_t getFdeEncoding();
48 uint8_t readByte();
55 ArrayRef<uint8_t> d;
82 uint8_t EhReader::readByte() {
85 uint8_t b = d.front();
98 const uint8_t *end = llvm::find(d, '\0');
111 const uint8_t *errPos = d.data();
113 uint8_t val = d.front();
140 uint8_t enc = readByte();
151 uint8_t getFdeEncoding(EhSectionPiece *p) {
155 uint8_t EhReader::getFdeEncoding() {
tools/lld/ELF/EhFrame.h 20 uint8_t getFdeEncoding(EhSectionPiece *p);
tools/lld/ELF/InputFiles.cpp 709 static uint32_t readAndFeatures(ObjFile<ELFT> *obj, ArrayRef<uint8_t> data) {
734 ArrayRef<uint8_t> desc = note.getDesc();
798 ArrayRef<uint8_t> contents = check(this->getObj().getSectionContents(&sec));
921 ArrayRef<uint8_t> contents = check(this->getObj().getSectionContents(&sec));
1003 uint8_t binding = eSym.getBinding();
1004 uint8_t stOther = eSym.st_other;
1005 uint8_t type = eSym.getType();
1111 static std::vector<const void *> parseVerdefs(const uint8_t *base,
1125 const uint8_t *verdef = base + sec->sh_offset;
1321 static uint8_t getBitcodeMachineKind(StringRef path, const Triple &t) {
1387 static uint8_t mapVisibility(GlobalValue::VisibilityTypes gvVisibility) {
1404 uint8_t binding = objSym.isWeak() ? STB_WEAK : STB_GLOBAL;
1405 uint8_t type = objSym.isTLS() ? STT_TLS : STT_NOTYPE;
1406 uint8_t visibility = mapVisibility(objSym.getVisibility());
1444 ArrayRef<uint8_t> data = arrayRefFromStringRef(mb.getBuffer());
tools/lld/ELF/InputFiles.h 105 uint8_t osabi = 0;
106 uint8_t abiVersion = 0;
tools/lld/ELF/InputSection.cpp 50 static ArrayRef<uint8_t> getSectionContents(ObjFile<ELFT> &file,
53 return makeArrayRef<uint8_t>(nullptr, hdr.sh_size);
60 uint32_t alignment, ArrayRef<uint8_t> data,
161 const uint8_t *fileStart = (const uint8_t *)file->mb.getBufferStart();
162 const uint8_t *secStart = data().begin();
361 uint32_t alignment, ArrayRef<uint8_t> data,
382 template <class ELFT> void InputSection::copyShtGroup(uint8_t *buf) {
409 void InputSection::copyRelocations(uint8_t *buf, ArrayRef<RelTy> rels) {
464 const uint8_t *bufLoc = sec->data().begin() + rel.r_offset;
832 void InputSection::relocateNonAlloc(uint8_t *buf, ArrayRef<RelTy> rels) {
846 uint8_t *bufLoc = buf + offset;
890 static void relocateNonAllocForRelocatable(InputSection *sec, uint8_t *buf) {
896 uint8_t *bufLoc = buf + rel.offset + sec->outSecOff;
903 void InputSectionBase::relocate(uint8_t *buf, uint8_t *bufEnd) {
903 void InputSectionBase::relocate(uint8_t *buf, uint8_t *bufEnd) {
921 void InputSectionBase::relocateAlloc(uint8_t *buf, uint8_t *bufEnd) {
921 void InputSectionBase::relocateAlloc(uint8_t *buf, uint8_t *bufEnd) {
929 uint8_t *bufLoc = buf + offset;
1039 void InputSectionBase::adjustSplitStackFunctionPrologues(uint8_t *buf,
1040 uint8_t *end) {
1094 template <class ELFT> void InputSection::writeTo(uint8_t *buf) {
1128 uint8_t *bufEnd = buf + outSecOff + size;
1136 uint8_t *bufEnd = buf + outSecOff + data().size();
1227 void MergeInputSection::splitStrings(ArrayRef<uint8_t> data, size_t entSize) {
1246 void MergeInputSection::splitNonStrings(ArrayRef<uint8_t> data,
1263 uint64_t entsize, ArrayRef<uint8_t> data,
tools/lld/ELF/InputSection.h 68 uint8_t partition;
112 uint32_t alignment, ArrayRef<uint8_t> data, StringRef name,
131 ArrayRef<uint8_t> data() const {
180 template <class ELFT> void relocate(uint8_t *buf, uint8_t *bufEnd);
180 template <class ELFT> void relocate(uint8_t *buf, uint8_t *bufEnd);
181 void relocateAlloc(uint8_t *buf, uint8_t *bufEnd);
181 void relocateAlloc(uint8_t *buf, uint8_t *bufEnd);
194 void adjustSplitStackFunctionPrologues(uint8_t *buf, uint8_t *end);
194 void adjustSplitStackFunctionPrologues(uint8_t *buf, uint8_t *end);
207 mutable ArrayRef<uint8_t> rawData;
239 ArrayRef<uint8_t> data, StringRef name);
271 void splitStrings(ArrayRef<uint8_t> a, size_t size);
272 void splitNonStrings(ArrayRef<uint8_t> a, size_t size);
280 ArrayRef<uint8_t> data() {
315 ArrayRef<uint8_t> data, StringRef name, Kind k = Regular);
322 template <class ELFT> void writeTo(uint8_t *buf);
339 void relocateNonAlloc(uint8_t *buf, llvm::ArrayRef<RelTy> rels);
351 void copyRelocations(uint8_t *buf, llvm::ArrayRef<RelTy> rels);
353 template <class ELFT> void copyShtGroup(uint8_t *buf);
tools/lld/ELF/LinkerScript.cpp 167 uint8_t visibility = cmd->hidden ? STV_HIDDEN : STV_DEFAULT;
197 uint8_t visibility = cmd->hidden ? STV_HIDDEN : STV_DEFAULT;
tools/lld/ELF/OutputSections.cpp 33 uint8_t *Out::bufferStart;
34 uint8_t Out::first;
248 static void fill(uint8_t *buf, size_t size,
249 const std::array<uint8_t, 4> &filler) {
273 std::vector<uint8_t> buf(size);
283 static void writeInt(uint8_t *buf, uint64_t data, uint64_t size) {
296 template <class ELFT> void OutputSection::writeTo(uint8_t *buf) {
312 std::array<uint8_t, 4> filler = getFiller();
323 uint8_t *start = buf + isec->outSecOff + isec->getSize();
324 uint8_t *end;
483 std::array<uint8_t, 4> OutputSection::getFiller() {
tools/lld/ELF/OutputSections.h 87 llvm::Optional<std::array<uint8_t, 4>> filler;
104 template <class ELFT> void writeTo(uint8_t *buf);
113 std::vector<uint8_t> zDebugHeader;
116 std::array<uint8_t, 4> getFiller();
127 static uint8_t *bufferStart;
128 static uint8_t first;
tools/lld/ELF/Relocations.cpp 610 const uint8_t *buf = sec.data().data();
638 const uint8_t *buf = sec.data().data();
1190 const uint8_t *relocatedAddr = sec.data().begin() + rel.r_offset;
tools/lld/ELF/ScriptParser.cpp 87 std::array<uint8_t, 4> readFill();
885 std::array<uint8_t, 4> ScriptParser::readFill() {
891 std::array<uint8_t, 4> buf;
tools/lld/ELF/Symbols.cpp 273 uint8_t Symbol::computeBinding() const {
345 static uint8_t getMinVisibility(uint8_t va, uint8_t vb) {
345 static uint8_t getMinVisibility(uint8_t va, uint8_t vb) {
345 static uint8_t getMinVisibility(uint8_t va, uint8_t vb) {
636 uint8_t ty = type;
650 uint8_t bind = binding;
tools/lld/ELF/Symbols.h 98 uint8_t binding;
101 uint8_t type; // symbol type
102 uint8_t stOther; // st_other field value
104 uint8_t symbolKind;
147 uint8_t computeBinding() const;
220 static bool isExportDynamic(Kind k, uint8_t visibility) {
237 Symbol(Kind k, InputFile *file, StringRefZ name, uint8_t binding,
238 uint8_t stOther, uint8_t type)
238 uint8_t stOther, uint8_t type)
275 uint8_t partition = 1;
288 Defined(InputFile *file, StringRefZ name, uint8_t binding, uint8_t stOther,
288 Defined(InputFile *file, StringRefZ name, uint8_t binding, uint8_t stOther,
289 uint8_t type, uint64_t value, uint64_t size, SectionBase *section)
323 CommonSymbol(InputFile *file, StringRefZ name, uint8_t binding,
324 uint8_t stOther, uint8_t type, uint64_t alignment, uint64_t size)
324 uint8_t stOther, uint8_t type, uint64_t alignment, uint64_t size)
336 Undefined(InputFile *file, StringRefZ name, uint8_t binding, uint8_t stOther,
336 Undefined(InputFile *file, StringRefZ name, uint8_t binding, uint8_t stOther,
337 uint8_t type, uint32_t discardedSecIdx = 0)
351 SharedSymbol(InputFile &file, StringRef name, uint8_t binding,
352 uint8_t stOther, uint8_t type, uint64_t value, uint64_t size,
352 uint8_t stOther, uint8_t type, uint64_t value, uint64_t size,
tools/lld/ELF/SyntheticSections.cpp 56 static uint64_t readUint(uint8_t *buf) {
60 static void writeUint(uint8_t *buf, uint64_t val) {
68 static ArrayRef<uint8_t> getVersion() {
97 template <class ELFT> void MipsAbiFlagsSection<ELFT>::writeTo(uint8_t *buf) {
156 template <class ELFT> void MipsOptionsSection<ELFT>::writeTo(uint8_t *buf) {
185 ArrayRef<uint8_t> d = sec->data();
217 template <class ELFT> void MipsReginfoSection<ELFT>::writeTo(uint8_t *buf) {
257 ArrayRef<uint8_t> contents = {(const uint8_t *)s.data(), s.size() + 1};
263 Defined *addSyntheticLocal(StringRef name, uint8_t type, uint64_t value,
304 void GnuPropertySection::writeTo(uint8_t *buf) {
326 void BuildIdSection::writeTo(uint8_t *buf) {
334 void BuildIdSection::writeBuildId(ArrayRef<uint8_t> buf) {
448 static void writeCieFde(uint8_t *buf, ArrayRef<uint8_t> d) {
448 static void writeCieFde(uint8_t *buf, ArrayRef<uint8_t> d) {
508 uint8_t *buf = Out::bufferStart + getParent()->offset + outSecOff;
513 uint8_t enc = getFdeEncoding(rec->cie);
539 static uint64_t readFdeAddr(uint8_t *buf, int size) {
560 uint64_t EhFrameSection::getFdePc(uint8_t *buf, size_t fdeOff,
561 uint8_t enc) const {
573 void EhFrameSection::writeTo(uint8_t *buf) {
651 void GotSection::writeTo(uint8_t *buf) {
1017 void MipsGotSection::writeTo(uint8_t *buf) {
1103 void GotPltSection::writeTo(uint8_t *buf) {
1147 void IgotPltSection::writeTo(uint8_t *buf) {
1177 void StringTableSection::writeTo(uint8_t *buf) {
1499 template <class ELFT> void DynamicSection<ELFT>::writeTo(uint8_t *buf) {
1598 template <class ELFT> void RelocationSection<ELFT>::writeTo(uint8_t *buf) {
2111 template <class ELFT> void SymbolTableSection<ELFT>::writeTo(uint8_t *buf) {
2205 void SymtabShndxSection::writeTo(uint8_t *buf) {
2292 void GnuHashTableSection::writeTo(uint8_t *buf) {
2318 void GnuHashTableSection::writeBloomFilter(uint8_t *buf) {
2331 void GnuHashTableSection::writeHashTable(uint8_t *buf) {
2356 for (uint8_t c : name)
2421 void HashTableSection::writeTo(uint8_t *buf) {
2462 void PltSection::writeTo(uint8_t *buf) {
2515 for (uint8_t c : s)
2736 void GdbIndexSection::writeTo(uint8_t *buf) {
2739 uint8_t *start = buf;
2809 void EhFrameHeader::writeTo(uint8_t *buf) {
2822 uint8_t *buf = Out::bufferStart + getParent()->offset + outSecOff;
2878 void VersionDefinitionSection::writeOne(uint8_t *buf, uint32_t index,
2896 void VersionDefinitionSection::writeTo(uint8_t *buf) {
2930 void VersionTableSection::writeTo(uint8_t *buf) {
2991 template <class ELFT> void VersionNeedSection<ELFT>::writeTo(uint8_t *buf) {
3044 void MergeTailSection::writeTo(uint8_t *buf) { builder.write(buf); }
3066 void MergeNoTailSection::writeTo(uint8_t *buf) {
3314 void ARMExidxSyntheticSection::writeTo(uint8_t *buf) {
3316 const uint8_t cantUnwindData[8] = {0, 0, 0, 0, // PREL31 to target
3365 void ThunkSection::writeTo(uint8_t *buf) {
3441 void PPC64LongBranchTargetSection::writeTo(uint8_t *buf) {
3468 static uint8_t getAbiVersion() {
3478 uint8_t ver = objectFiles[0]->abiVersion;
3488 template <typename ELFT> void writeEhdr(uint8_t *buf, Partition &part) {
3514 template <typename ELFT> void writePhdrs(uint8_t *buf, Partition &part) {
3540 void PartitionElfHeaderSection<ELFT>::writeTo(uint8_t *buf) {
3558 void PartitionProgramHeadersSection<ELFT>::writeTo(uint8_t *buf) {
3574 void PartitionIndexSection::writeTo(uint8_t *buf) {
tools/lld/ELF/SyntheticSections.h 48 virtual void writeTo(uint8_t *buf) = 0;
70 void writeTo(uint8_t *buf) override;
110 uint64_t getFdePc(uint8_t *buf, size_t off, uint8_t enc) const;
110 uint64_t getFdePc(uint8_t *buf, size_t off, uint8_t enc) const;
115 llvm::DenseMap<std::pair<ArrayRef<uint8_t>, Symbol *>, CieRecord *> cieMap;
124 void writeTo(uint8_t *buf) override;
150 void writeTo(uint8_t *buf) override {}
157 void writeTo(uint8_t *buf) override;
169 void writeTo(uint8_t *buf) override;
171 void writeBuildId(llvm::ArrayRef<uint8_t> buf);
174 uint8_t *hashBuf;
184 void writeTo(uint8_t *) override {
197 void writeTo(uint8_t *buf) override;
376 void writeTo(uint8_t *buf) override;
396 void writeTo(uint8_t *buf) override;
407 void writeTo(uint8_t *buf) override;
471 void writeTo(uint8_t *buf) override;
516 void writeTo(uint8_t *buf) override;
532 void writeTo(uint8_t *buf) override {
566 void writeTo(uint8_t *buf) override {
608 void writeTo(uint8_t *buf) override;
615 void writeTo(uint8_t *buf) override;
627 void writeTo(uint8_t *buf) override;
638 void writeBloomFilter(uint8_t *buf);
639 void writeHashTable(uint8_t *buf);
658 void writeTo(uint8_t *buf) override;
672 void writeTo(uint8_t *buf) override;
719 void writeTo(uint8_t *buf) override;
759 void writeTo(uint8_t *buf) override;
777 void writeTo(uint8_t *buf) override;
781 void writeOne(uint8_t *buf, uint32_t index, StringRef name, size_t nameOff);
799 void writeTo(uint8_t *buf) override;
829 void writeTo(uint8_t *buf) override;
855 void writeTo(uint8_t *buf) override;
869 void writeTo(uint8_t *buf) override;
902 void writeTo(uint8_t *buf) override;
917 void writeTo(uint8_t *buf) override;
936 void writeTo(uint8_t *buf) override;
950 void writeTo(uint8_t *buf) override {}
996 void writeTo(uint8_t *buf) override;
1037 void writeTo(uint8_t *buf) override;
1054 void writeTo(uint8_t *buf) override {}
1067 void writeTo(uint8_t *buf) override;
1081 void writeTo(uint8_t *buf) override;
1089 void writeTo(uint8_t *buf) override;
1097 void writeTo(uint8_t *buf) override;
1106 template <typename ELFT> void writeEhdr(uint8_t *buf, Partition &part);
1107 template <typename ELFT> void writePhdrs(uint8_t *buf, Partition &part);
1109 Defined *addSyntheticLocal(StringRef name, uint8_t type, uint64_t value,
tools/lld/ELF/Target.cpp 93 template <class ELFT> static ErrorPlace getErrPlace(const uint8_t *loc) {
102 uint8_t *isecLoc = Out::bufferStart + isec->getParent()->offset + isec->outSecOff;
109 ErrorPlace getErrorPlace(const uint8_t *loc) {
126 int64_t TargetInfo::getImplicitAddend(const uint8_t *buf, RelType type) const {
137 bool TargetInfo::adjustPrologueForCrossSplitStack(uint8_t *loc, uint8_t *end,
137 bool TargetInfo::adjustPrologueForCrossSplitStack(uint8_t *loc, uint8_t *end,
138 uint8_t stOther) const {
146 void TargetInfo::writeIgotPlt(uint8_t *buf, const Symbol &s) const {
150 RelExpr TargetInfo::adjustRelaxExpr(RelType type, const uint8_t *data,
155 void TargetInfo::relaxGot(uint8_t *loc, RelType type, uint64_t val) const {
159 void TargetInfo::relaxTlsGdToLe(uint8_t *loc, RelType type,
164 void TargetInfo::relaxTlsGdToIe(uint8_t *loc, RelType type,
169 void TargetInfo::relaxTlsIeToLe(uint8_t *loc, RelType type,
174 void TargetInfo::relaxTlsLdToLe(uint8_t *loc, RelType type,
tools/lld/ELF/Target.h 30 const uint8_t *loc) const = 0;
32 virtual void writeGotPltHeader(uint8_t *buf) const {}
33 virtual void writeGotHeader(uint8_t *buf) const {}
34 virtual void writeGotPlt(uint8_t *buf, const Symbol &s) const {};
35 virtual void writeIgotPlt(uint8_t *buf, const Symbol &s) const;
36 virtual int64_t getImplicitAddend(const uint8_t *buf, RelType type) const;
42 virtual void writePltHeader(uint8_t *buf) const {}
44 virtual void writePlt(uint8_t *buf, uint64_t gotEntryAddr,
73 virtual bool adjustPrologueForCrossSplitStack(uint8_t *loc, uint8_t *end,
73 virtual bool adjustPrologueForCrossSplitStack(uint8_t *loc, uint8_t *end,
74 uint8_t stOther) const;
80 virtual void relocateOne(uint8_t *loc, RelType type, uint64_t val) const = 0;
117 std::array<uint8_t, 4> trapInstr;
124 virtual RelExpr adjustRelaxExpr(RelType type, const uint8_t *data,
126 virtual void relaxGot(uint8_t *loc, RelType type, uint64_t val) const;
127 virtual void relaxTlsGdToIe(uint8_t *loc, RelType type, uint64_t val) const;
128 virtual void relaxTlsGdToLe(uint8_t *loc, RelType type, uint64_t val) const;
129 virtual void relaxTlsIeToLe(uint8_t *loc, RelType type, uint64_t val) const;
130 virtual void relaxTlsLdToLe(uint8_t *loc, RelType type, uint64_t val) const;
160 ErrorPlace getErrorPlace(const uint8_t *loc);
162 static inline std::string getErrorLocation(const uint8_t *loc) {
166 void writePPC32GlinkSection(uint8_t *buf, size_t numEntries);
169 uint8_t *bufLoc);
179 unsigned getPPC64GlobalEntryToLocalEntryOffset(uint8_t stOther);
193 static inline void reportRangeError(uint8_t *loc, RelType type, const Twine &v,
207 inline void checkInt(uint8_t *loc, int64_t v, int n, RelType type) {
213 inline void checkUInt(uint8_t *loc, uint64_t v, int n, RelType type) {
219 inline void checkIntUInt(uint8_t *loc, uint64_t v, int n, RelType type) {
227 inline void checkAlignment(uint8_t *loc, uint64_t v, int n, RelType type) {
tools/lld/ELF/Thunks.cpp 54 void writeTo(uint8_t *buf) override;
62 void writeTo(uint8_t *buf) override;
80 void writeTo(uint8_t *buf) override;
88 virtual void writeLong(uint8_t *buf) = 0;
110 void writeTo(uint8_t *buf) override;
118 virtual void writeLong(uint8_t *buf) = 0;
132 void writeLong(uint8_t *buf) override;
141 void writeLong(uint8_t *buf) override;
150 void writeLong(uint8_t *buf) override;
159 void writeLong(uint8_t *buf) override;
173 void writeLong(uint8_t *buf) override;
184 void writeLong(uint8_t *buf) override;
196 void writeLong(uint8_t *buf) override;
205 void writeLong(uint8_t *buf) override;
215 void writeTo(uint8_t *buf) override;
226 void writeTo(uint8_t *buf) override;
237 void writeTo(uint8_t *buf) override;
248 void writeTo(uint8_t *buf) override;
273 void writeTo(uint8_t *buf) override;
288 void writeTo(uint8_t *buf) override;
320 Defined *Thunk::addSymbol(StringRef name, uint8_t type, uint64_t value,
340 void AArch64ABSLongThunk::writeTo(uint8_t *buf) {
341 const uint8_t data[] = {
364 void AArch64ADRPThunk::writeTo(uint8_t *buf) {
365 const uint8_t data[] = {
406 void ARMThunk::writeTo(uint8_t *buf) {
415 const uint8_t data[] = {
444 void ThumbThunk::writeTo(uint8_t *buf) {
453 const uint8_t data[] = {
466 void ARMV7ABSLongThunk::writeLong(uint8_t *buf) {
467 const uint8_t data[] = {
484 void ThumbV7ABSLongThunk::writeLong(uint8_t *buf) {
485 const uint8_t data[] = {
502 void ARMV7PILongThunk::writeLong(uint8_t *buf) {
503 const uint8_t data[] = {
523 void ThumbV7PILongThunk::writeLong(uint8_t *buf) {
524 const uint8_t data[] = {
544 void ARMV5ABSLongThunk::writeLong(uint8_t *buf) {
545 const uint8_t data[] = {
566 void ARMV5PILongThunk::writeLong(uint8_t *buf) {
567 const uint8_t data[] = {
592 void ThumbV6MABSLongThunk::writeLong(uint8_t *buf) {
597 const uint8_t data[] = {
616 void ThumbV6MPILongThunk::writeLong(uint8_t *buf) {
620 const uint8_t data[] = {
643 void MipsThunk::writeTo(uint8_t *buf) {
665 void MicroMipsThunk::writeTo(uint8_t *buf) {
689 void MicroMipsR6Thunk::writeTo(uint8_t *buf) {
711 void PPC32PltCallStub::writeTo(uint8_t *buf) {
765 static void writePPCLoadAndBranch(uint8_t *buf, int64_t offset) {
775 void PPC64PltCallStub::writeTo(uint8_t *buf) {
788 void PPC64LongBranchThunk::writeTo(uint8_t *buf) {
tools/lld/ELF/Thunks.h 34 virtual void writeTo(uint8_t *buf) = 0;
42 Defined *addSymbol(StringRef name, uint8_t type, uint64_t value,
tools/lld/ELF/Writer.cpp 199 uint64_t val, uint8_t stOther = STV_HIDDEN,
200 uint8_t binding = STB_GLOBAL) {
2615 static void fillTrap(uint8_t *i, uint8_t *end) {
2615 static void fillTrap(uint8_t *i, uint8_t *end) {
2665 static std::vector<ArrayRef<uint8_t>> split(ArrayRef<uint8_t> arr,
2665 static std::vector<ArrayRef<uint8_t>> split(ArrayRef<uint8_t> arr,
2667 std::vector<ArrayRef<uint8_t>> ret;
2682 computeHash(llvm::MutableArrayRef<uint8_t> hashBuf,
2683 llvm::ArrayRef<uint8_t> data,
2684 std::function<void(uint8_t *dest, ArrayRef<uint8_t> arr)> hashFn) {
2684 std::function<void(uint8_t *dest, ArrayRef<uint8_t> arr)> hashFn) {
2685 std::vector<ArrayRef<uint8_t>> chunks = split(data, 1024 * 1024);
2686 std::vector<uint8_t> hashes(chunks.size() * hashBuf.size());
2709 std::vector<uint8_t> buildId(hashSize);
2710 llvm::ArrayRef<uint8_t> buf{Out::bufferStart, size_t(fileSize)};
tools/lld/ELF/Writer.h 58 uint8_t getMipsFpAbiFlag(uint8_t oldFlag, uint8_t newFlag,
58 uint8_t getMipsFpAbiFlag(uint8_t oldFlag, uint8_t newFlag,
58 uint8_t getMipsFpAbiFlag(uint8_t oldFlag, uint8_t newFlag,
tools/lld/include/lld/Common/Strings.h 24 std::vector<uint8_t> parseHex(llvm::StringRef s);
tools/lld/include/lld/Core/DefinedAtom.h 284 virtual ArrayRef<uint8_t> rawContent() const = 0;
tools/lld/include/lld/Core/Reference.h 112 uint8_t _kindNamespace;
113 uint8_t _kindArch;
tools/lld/lib/Core/SymbolTable.cpp 239 ArrayRef<uint8_t> lc = l->rawContent();
240 ArrayRef<uint8_t> rc = r->rawContent();
tools/lld/lib/ReaderWriter/MachO/ArchHandler.cpp 126 int16_t ArchHandler::readS16(const uint8_t *addr, bool isBig) {
130 int32_t ArchHandler::readS32(const uint8_t *addr, bool isBig) {
134 uint32_t ArchHandler::readU32(const uint8_t *addr, bool isBig) {
138 int64_t ArchHandler::readS64(const uint8_t *addr, bool isBig) {
tools/lld/lib/ReaderWriter/MachO/ArchHandler.h 185 llvm::MutableArrayRef<uint8_t> atomContentBuffer) = 0;
255 uint8_t codeAlignment;
258 uint8_t stubBytes[16];
263 uint8_t stubHelperBytes[16];
270 uint8_t stubHelperCommonAlignment;
271 uint8_t stubHelperCommonBytes[36];
313 static int16_t readS16(const uint8_t *addr, bool isBig);
314 static int32_t readS32(const uint8_t *addr, bool isBig);
315 static uint32_t readU32(const uint8_t *addr, bool isBig);
316 static int64_t readS64(const uint8_t *addr, bool isBig);
tools/lld/lib/ReaderWriter/MachO/ArchHandler_arm.cpp 107 llvm::MutableArrayRef<uint8_t> atomContentBuffer) override;
200 void applyFixupFinal(const Reference &ref, uint8_t *location,
205 void applyFixupRelocatable(const Reference &ref, uint8_t *location,
530 const uint8_t *fixupContent = &inAtom->rawContent()[offsetInAtom];
790 const uint8_t *fixupContent = &inAtom->rawContent()[offsetInAtom];
904 void ArchHandler_arm::applyFixupFinal(const Reference &ref, uint8_t *loc,
1017 llvm::MutableArrayRef<uint8_t> atomContentBuffer) {
1066 void ArchHandler_arm::applyFixupRelocatable(const Reference &ref, uint8_t *loc,
1448 ArrayRef<uint8_t> rawContent() const override {
1449 static const uint8_t bytes[] =
1493 ArrayRef<uint8_t> rawContent() const override {
1494 static const uint8_t bytes[] =
tools/lld/lib/ReaderWriter/MachO/ArchHandler_arm64.cpp 166 llvm::MutableArrayRef<uint8_t> atomContentBuffer) override;
219 void applyFixupFinal(const Reference &ref, uint8_t *location,
224 void applyFixupRelocatable(const Reference &ref, uint8_t *location,
383 const uint8_t *fixupContent = &inAtom->rawContent()[offsetInAtom];
478 const uint8_t *fixupContent = &inAtom->rawContent()[offsetInAtom];
541 llvm::MutableArrayRef<uint8_t> atomContentBuffer) {
583 void ArchHandler_arm64::applyFixupFinal(const Reference &ref, uint8_t *loc,
690 uint8_t *loc,
tools/lld/lib/ReaderWriter/MachO/ArchHandler_x86.cpp 113 llvm::MutableArrayRef<uint8_t> atomContentBuffer) override;
163 void applyFixupFinal(const Reference &ref, uint8_t *location,
167 void applyFixupRelocatable(const Reference &ref, uint8_t *location,
261 const uint8_t *fixupContent = &inAtom->rawContent()[offsetInAtom];
359 const uint8_t *fixupContent = &inAtom->rawContent()[offsetInAtom];
414 llvm::MutableArrayRef<uint8_t> atomContentBuffer) {
439 void ArchHandler_x86::applyFixupFinal(const Reference &ref, uint8_t *loc,
482 uint8_t *loc,
tools/lld/lib/ReaderWriter/MachO/ArchHandler_x86_64.cpp 174 llvm::MutableArrayRef<uint8_t> atomContentBuffer) override;
250 void applyFixupFinal(const Reference &ref, uint8_t *location,
255 void applyFixupRelocatable(const Reference &ref, uint8_t *location,
408 const uint8_t *fixupContent = &inAtom->rawContent()[offsetInAtom];
484 const uint8_t *fixupContent = &inAtom->rawContent()[offsetInAtom];
548 llvm::MutableArrayRef<uint8_t> atomContentBuffer) {
574 const Reference &ref, uint8_t *loc, uint64_t fixupAddress,
657 uint8_t *loc,
tools/lld/lib/ReaderWriter/MachO/Atoms.h 31 const ArrayRef<uint8_t> content, Alignment align)
69 ArrayRef<uint8_t> rawContent() const override {
78 const ArrayRef<uint8_t> _content;
92 const ArrayRef<uint8_t> content,
132 ArrayRef<uint8_t> rawContent() const override { return ArrayRef<uint8_t>(); }
tools/lld/lib/ReaderWriter/MachO/CompactUnwindPass.cpp 104 ArrayRef<uint8_t> rawContent() const override { return _contents; }
113 uint8_t *headerEntries = _contents.data();
138 uint8_t *commonEncodingsArea =
166 uint8_t *indexData = &_contents[_topLevelIndexOffset];
262 std::vector<uint8_t> _contents;
tools/lld/lib/ReaderWriter/MachO/DebugInfo.h 65 Stab(const Atom* atom, uint8_t type, uint8_t other, uint16_t desc,
65 Stab(const Atom* atom, uint8_t type, uint8_t other, uint16_t desc,
71 uint8_t type;
72 uint8_t other;
tools/lld/lib/ReaderWriter/MachO/File.h 45 ArrayRef<uint8_t> content = inSection->content.slice(sectionOffset,
67 ArrayRef<uint8_t> content = inSection->content.slice(sectionOffset,
tools/lld/lib/ReaderWriter/MachO/GOTPass.cpp 74 ArrayRef<uint8_t> rawContent() const override {
75 static const uint8_t zeros[] =
tools/lld/lib/ReaderWriter/MachO/MachONormalizedFile.h 89 uint8_t length;
123 ArrayRef<uint8_t> content;
144 uint8_t sect;
185 uint8_t segIndex;
192 uint8_t segIndex;
261 std::vector<uint8_t> functionStarts;
tools/lld/lib/ReaderWriter/MachO/MachONormalizedFileBinaryReader.cpp 104 const uint8_t *indirectSymbolArray = (const uint8_t *)buffer.data();
304 const uint8_t *content =
348 const uint8_t *content =
510 const uint8_t *trieStart = reinterpret_cast<const uint8_t *>(
512 ArrayRef<uint8_t> trie(trieStart, read32(&dyldInfo->export_size, isBig));
tools/lld/lib/ReaderWriter/MachO/MachONormalizedFileBinaryUtils.h 32 void append_byte(uint8_t b) {
58 const uint8_t *bytes() {
89 inline void write16(uint8_t *loc, uint16_t value, bool isBig) {
96 inline void write32(uint8_t *loc, uint32_t value, bool isBig) {
103 inline void write64(uint8_t *loc, uint64_t value, bool isBig) {
111 bitFieldExtract(uint32_t value, bool isBigEndianBigField, uint8_t firstBit,
112 uint8_t bitCount) {
114 const uint8_t shift = isBigEndianBigField ? (32-firstBit-bitCount) : firstBit;
120 uint8_t firstBit, uint8_t bitCount) {
120 uint8_t firstBit, uint8_t bitCount) {
123 const uint8_t shift = isBigEndianBigField ? (32-firstBit-bitCount) : firstBit;
tools/lld/lib/ReaderWriter/MachO/MachONormalizedFileBinaryWriter.cpp 169 llvm::Error writeSingleSegmentLoadCommand(uint8_t *&lc);
170 template <typename T> llvm::Error writeSegmentLoadCommands(uint8_t *&lc);
188 uint8_t *_buffer;
622 llvm::Error MachOFileLayout::writeSingleSegmentLoadCommand(uint8_t *&lc) {
627 uint8_t *next = lc + seg->cmdsize;
670 llvm::Error MachOFileLayout::writeSegmentLoadCommands(uint8_t *&lc) {
681 uint8_t *next = lc + cmd->cmdsize;
701 uint8_t *next = lc + cmd->cmdsize;
741 uint8_t *&lc) {
772 uint8_t *lc = &_buffer[_startOfLoadCommands];
1029 uint8_t *p = &_buffer[offset];
1190 uint8_t lastSegIndex = (uint8_t)~0U;
tools/lld/lib/ReaderWriter/MachO/MachONormalizedFileFromAtoms.cpp 166 uint8_t &segmentIndex, uint64_t &segmentStartAddr);
674 const uint8_t *empty = nullptr;
679 llvm::MutableArrayRef<uint8_t> sectionContent;
681 uint8_t *sectContent = file.ownedAllocations.Allocate<uint8_t>(si->size);
681 uint8_t *sectContent = file.ownedAllocations.Allocate<uint8_t>(si->size);
1130 uint8_t ordinal = 0;
1269 void Util::segIndexForSection(const SectionInfo *sect, uint8_t &segmentIndex,
1426 uint8_t segmentIndex;
1515 uint8_t *rawb =
1516 file.ownedAllocations.Allocate<uint8_t>(sectionContent.size());
1517 llvm::MutableArrayRef<uint8_t> newContent{rawb,
tools/lld/lib/ReaderWriter/MachO/MachONormalizedFileToAtoms.cpp 213 Atom::Scope atomScope(uint8_t scope) {
896 uint8_t addrSize = infoData.getU8(&offset);
990 static int64_t readSPtr(bool is64, bool isBig, const uint8_t *addr) {
1011 static llvm::Error processAugmentationString(const uint8_t *augStr,
1078 const uint8_t *frameData = atom->rawContent().data();
1087 uint64_t augmentationStringField = versionField + sizeof(uint8_t);
1250 const uint8_t *startFrameData = atom->rawContent().data();
1251 const uint8_t *frameData = startFrameData;
1367 ArrayRef<uint8_t> content = sect.content;
tools/lld/lib/ReaderWriter/MachO/MachONormalizedFileYAML.cpp 308 uint8_t *bytes = nullptr;
312 MappingNormalization<NormalizedContent, ArrayRef<uint8_t>> content(
322 NormalizedContent(IO &io, ArrayRef<uint8_t> content) : _io(io) {
328 ArrayRef<uint8_t> denormalize(IO &io) {
338 uint8_t *bytes = file->ownedAllocations.Allocate<uint8_t>(size);
338 uint8_t *bytes = file->ownedAllocations.Allocate<uint8_t>(size);
tools/lld/lib/ReaderWriter/MachO/ObjCPass.cpp 79 ArrayRef<uint8_t> rawContent() const override {
92 uint8_t bytes[8];
tools/lld/lib/ReaderWriter/MachO/SectCreateFile.h 47 ArrayRef<uint8_t> rawContent() const override {
48 const uint8_t *data =
tools/lld/lib/ReaderWriter/MachO/StubsPass.cpp 57 ArrayRef<uint8_t> rawContent() const override {
58 static const uint8_t zeros[] =
93 ArrayRef<uint8_t> rawContent() const override {
94 static const uint8_t zeros[] =
130 ArrayRef<uint8_t> rawContent() const override {
164 ArrayRef<uint8_t> rawContent() const override {
199 ArrayRef<uint8_t> rawContent() const override {
tools/lld/lib/ReaderWriter/MachO/TLVPass.cpp 50 ArrayRef<uint8_t> rawContent() const override {
51 static const uint8_t zeros[] =
tools/lld/lib/ReaderWriter/YAML/ReaderWriterYAML.cpp 540 uint8_t num = val;
829 ArrayRef<uint8_t> cont = atom->rawContent();
831 for (uint8_t x : cont)
880 ArrayRef<uint8_t> rawContent() const override {
tools/lld/unittests/MachOTests/MachONormalizedFileBinaryReaderTests.cpp 30 fromBinary(const uint8_t bytes[], unsigned length, StringRef archStr) {
tools/lld/unittests/MachOTests/MachONormalizedFileBinaryWriterTests.cpp 127 const uint8_t textBytes[] = {
245 const uint8_t textBytes[] = {
356 const uint8_t textBytes[] = {
486 const uint8_t textBytes[] = {
tools/lld/unittests/MachOTests/MachONormalizedFileToAtomsTests.cpp 39 static const uint8_t contentBytes[] = { 0x90, 0xC3, 0xC3, 0xC4 };
tools/lld/wasm/InputChunks.cpp 24 StringRef relocTypeToString(uint8_t relocType) {
52 const uint8_t *loc = data().data() + offset;
91 void InputChunk::writeTo(uint8_t *buf) const {
108 uint8_t *loc = buf + rel.Offset + off;
180 static unsigned writeCompressedReloc(uint8_t *buf, const WasmRelocation &rel,
213 uint8_t buf[5];
233 const uint8_t *secStart = file->codeSection->Content.data();
234 const uint8_t *funcStart = secStart + getInputSectionOffset();
253 uint8_t buf[5];
262 void InputFunction::writeTo(uint8_t *buf) const {
267 uint8_t *orig = buf;
270 const uint8_t *secStart = file->codeSection->Content.data();
271 const uint8_t *funcStart = secStart + getInputSectionOffset();
272 const uint8_t *end = funcStart + function->Size;
279 const uint8_t *lastRelocEnd = funcStart;
tools/lld/wasm/InputChunks.h 45 virtual void writeTo(uint8_t *sectionStart) const;
74 virtual ArrayRef<uint8_t> data() const = 0;
113 ArrayRef<uint8_t> data() const override { return segment.Data.Content; }
130 void writeTo(uint8_t *sectionStart) const override;
163 ArrayRef<uint8_t> data() const override {
192 void setBody(ArrayRef<uint8_t> body_) { body = body_; }
195 ArrayRef<uint8_t> data() const override { return body; }
199 ArrayRef<uint8_t> body;
217 ArrayRef<uint8_t> data() const override { return section.Content; }
229 StringRef relocTypeToString(uint8_t relocType);
tools/lld/wasm/InputFiles.cpp 505 static uint8_t mapVisibility(GlobalValue::VisibilityTypes gvVisibility) {
tools/lld/wasm/OutputSections.cpp 98 void CodeSection::writeTo(uint8_t *buf) {
176 void DataSection::writeTo(uint8_t *buf) {
192 uint8_t *segStart = buf + segment->sectionOffset;
237 void CustomSection::writeTo(uint8_t *buf) {
tools/lld/wasm/OutputSections.h 43 virtual void writeTo(uint8_t *buf) = 0;
64 void writeTo(uint8_t *buf) override;
82 void writeTo(uint8_t *buf) override;
109 void writeTo(uint8_t *buf) override;
tools/lld/wasm/SymbolTable.cpp 615 static const uint8_t unreachableFn[] = {
tools/lld/wasm/Symbols.h 44 enum Kind : uint8_t {
tools/lld/wasm/SyntheticSections.h 44 void writeTo(uint8_t *buf) override {
tools/lld/wasm/Writer.cpp 183 uint8_t *buf = buffer->getBufferStart();
711 ArrayRef<uint8_t> body = arrayRefFromStringRef(saver.save(functionBody));
tools/lld/wasm/WriterUtils.cpp 93 void writeU8(raw_ostream &os, uint8_t byte, const Twine &msg) {
tools/lld/wasm/WriterUtils.h 30 void writeU8(raw_ostream &os, uint8_t byte, const Twine &msg);
tools/lldb/include/lldb/API/SBData.h 26 uint8_t GetAddressByteSize();
28 void SetAddressByteSize(uint8_t addr_byte_size);
50 uint8_t GetUnsignedInt8(lldb::SBError &error, lldb::offset_t offset);
80 lldb::ByteOrder endian, uint8_t addr_size);
tools/lldb/include/lldb/API/SBFile.h 30 SBError Read(uint8_t *buf, size_t num_bytes, size_t *bytes_read);
31 SBError Write(const uint8_t *buf, size_t num_bytes, size_t *bytes_written);
tools/lldb/include/lldb/API/SBModule.h 103 const uint8_t *GetUUIDBytes() const;
tools/lldb/include/lldb/API/SBModuleSpec.h 74 const uint8_t *GetUUIDBytes();
78 bool SetUUIDBytes(const uint8_t *uuid, size_t uuid_len);
tools/lldb/include/lldb/Breakpoint/BreakpointSite.h 53 uint8_t *GetTrapOpcodeBytes();
56 const uint8_t *GetTrapOpcodeBytes() const;
62 bool SetTrapOpcode(const uint8_t *trap_opcode, uint32_t trap_opcode_size);
65 uint8_t *GetSavedOpcodeBytes();
69 const uint8_t *GetSavedOpcodeBytes() const;
210 uint8_t m_saved_opcode[8]; ///< The saved opcode bytes if this breakpoint site
212 uint8_t m_trap_opcode[8]; ///< The opcode that was used to create the
tools/lldb/include/lldb/Core/Communication.h 340 virtual void AppendBytesToCache(const uint8_t *src, size_t src_len,
tools/lldb/include/lldb/Core/Opcode.h 43 Opcode(uint8_t inst, lldb::ByteOrder order)
63 Opcode(uint8_t *bytes, size_t length)
75 uint8_t GetOpcode8(uint8_t invalid_opcode = UINT8_MAX) const {
75 uint8_t GetOpcode8(uint8_t invalid_opcode = UINT8_MAX) const {
153 void SetOpcode8(uint8_t inst, lldb::ByteOrder order) {
259 uint8_t inst8;
264 uint8_t bytes[16]; // This must be big enough to handle any opcode for any
266 uint8_t length;
tools/lldb/include/lldb/Core/Value.h 70 uint8_t bytes[kMaxByteSize];
181 bool SetVectorBytes(uint8_t *bytes, size_t length,
tools/lldb/include/lldb/Core/ValueObject.h 895 llvm::SmallVector<uint8_t, 16> m_value_checksum;
tools/lldb/include/lldb/Core/ValueObjectChild.h 68 uint8_t m_bitfield_bit_size;
69 uint8_t m_bitfield_bit_offset;
tools/lldb/include/lldb/DataFormatters/FormattersHelpers.h 152 uint8_t *CopyToBuffer(uint8_t *buffer) const {
152 uint8_t *CopyToBuffer(uint8_t *buffer) const {
tools/lldb/include/lldb/DataFormatters/StringPrinter.h 205 uint8_t, char, size_t>(uint8_t *, uint8_t *, uint8_t *&)>
205 uint8_t, char, size_t>(uint8_t *, uint8_t *, uint8_t *&)>
205 uint8_t, char, size_t>(uint8_t *, uint8_t *, uint8_t *&)>
205 uint8_t, char, size_t>(uint8_t *, uint8_t *, uint8_t *&)>
tools/lldb/include/lldb/Expression/DWARFExpression.h 37 enum LocationListFormat : uint8_t {
128 uint8_t addr_byte_size);
tools/lldb/include/lldb/Expression/ExpressionVariable.h 41 uint8_t *GetValueBytes();
tools/lldb/include/lldb/Expression/IRExecutionUnit.h 85 lldb::addr_t WriteNow(const uint8_t *bytes, size_t size, Status &error);
260 uint8_t *allocateCodeSection(uintptr_t Size, unsigned Alignment,
280 uint8_t *allocateDataSection(uintptr_t Size, unsigned Alignment,
301 void registerEHFrames(uint8_t *Addr, uint64_t LoadAddr,
tools/lldb/include/lldb/Expression/IRMemoryMap.h 39 enum AllocationPolicy : uint8_t {
53 lldb::addr_t Malloc(size_t size, uint8_t alignment, uint32_t permissions,
58 void WriteMemory(lldb::addr_t process_address, const uint8_t *bytes,
64 void ReadMemory(uint8_t *bytes, lldb::addr_t process_address, size_t size,
100 uint8_t m_permissions; ///< The access permissions on the memory in the
103 uint8_t m_alignment; ///< The alignment of the requested allocation.
107 size_t size, uint32_t permissions, uint8_t alignment,
tools/lldb/include/lldb/Host/Host.h 35 enum Type : uint8_t {
45 uint8_t status;
47 WaitStatus(Type type, uint8_t status) : type(type), status(status) {}
tools/lldb/include/lldb/Host/LZMA.h 25 getUncompressedSize(llvm::ArrayRef<uint8_t> InputBuffer);
27 llvm::Error uncompress(llvm::ArrayRef<uint8_t> InputBuffer,
28 llvm::SmallVectorImpl<uint8_t> &Uncompressed);
tools/lldb/include/lldb/Host/common/NativeProcessProtocol.h 364 llvm::MutableArrayRef<uint8_t> &buffer,
372 llvm::MutableArrayRef<uint8_t> &buffer,
399 llvm::SmallVector<uint8_t, 4> saved_opcodes;
400 llvm::ArrayRef<uint8_t> breakpoint_opcodes;
449 virtual llvm::Expected<llvm::ArrayRef<uint8_t>>
tools/lldb/include/lldb/Symbol/ArmUnwindInfo.h 51 const uint8_t *GetExceptionHandlingTableEntry(const Address &addr);
53 uint8_t GetByteAtOffset(const uint32_t *data, uint16_t offset) const;
tools/lldb/include/lldb/Symbol/DWARFCallFrameInfo.h 88 uint8_t version;
91 uint8_t address_size = sizeof(uint32_t); // The size of a target address.
92 uint8_t segment_size = 0; // The size of a segment selector.
99 uint8_t ptr_encoding;
100 uint8_t lsda_addr_encoding; // The encoding of the LSDA address in the FDE
141 bool HandleCommonDwarfOpcode(uint8_t primary_opcode, uint8_t extended_opcode,
141 bool HandleCommonDwarfOpcode(uint8_t primary_opcode, uint8_t extended_opcode,
tools/lldb/include/lldb/Symbol/ObjectFile.h 96 llvm::ArrayRef<uint8_t> Contents;
tools/lldb/include/lldb/Symbol/UnwindPlan.h 154 void GetDWARFExpr(const uint8_t **opcodes, uint16_t &len) const {
164 void SetAtDWARFExpression(const uint8_t *opcodes, uint32_t len);
166 void SetIsDWARFExpression(const uint8_t *opcodes, uint32_t len);
168 const uint8_t *GetDWARFExpressionBytes() {
192 const uint8_t *opcodes;
244 void SetIsDWARFExpression(const uint8_t *opcodes, uint32_t len) {
279 void GetDWARFExpr(const uint8_t **opcodes, uint16_t &len) const {
289 const uint8_t *GetDWARFExpressionBytes() {
315 const uint8_t *opcodes;
tools/lldb/include/lldb/Target/ABI.h 37 std::unique_ptr<uint8_t[]> data_up; /* host data pointer */
tools/lldb/include/lldb/Target/Process.h 2448 llvm::MutableArrayRef<uint8_t> &buffer,
2455 llvm::MutableArrayRef<uint8_t> &buffer,
2758 uint8_t *buf) const;
tools/lldb/include/lldb/Utility/DataBuffer.h 58 virtual uint8_t *GetBytes() = 0;
65 virtual const uint8_t *GetBytes() const = 0;
73 llvm::ArrayRef<uint8_t> GetData() const {
77 llvm::MutableArrayRef<uint8_t> GetData() {
tools/lldb/include/lldb/Utility/DataBufferHeap.h 46 DataBufferHeap(lldb::offset_t n, uint8_t ch);
64 uint8_t *GetBytes() override;
67 const uint8_t *GetBytes() const override;
106 typedef std::vector<uint8_t> buffer_t; ///< Buffer type
tools/lldb/include/lldb/Utility/DataBufferLLVM.h 30 uint8_t *GetBytes() override;
31 const uint8_t *GetBytes() const override;
tools/lldb/include/lldb/Utility/DataEncoder.h 56 uint8_t addr_size);
74 uint8_t addr_size);
95 uint8_t GetAddressByteSize() const { return m_addr_size; }
108 uint8_t *GetDataEnd() { return m_end; }
110 const uint8_t *GetDataEnd() const { return m_end; }
133 uint8_t *GetDataStart() { return m_start; }
135 const uint8_t *GetDataStart() const { return m_start; }
149 uint32_t PutU8(uint32_t offset, uint8_t value);
244 void SetAddressByteSize(uint8_t addr_size) { m_addr_size = addr_size; }
325 uint8_t *m_start; ///< A pointer to the first byte of data.
326 uint8_t *m_end; ///< A pointer to the byte that is past the end of the data.
329 uint8_t m_addr_size; ///< The address size to use when extracting pointers or
tools/lldb/include/lldb/Utility/DataExtractor.h 330 const uint8_t *ptr = PeekData(*offset_ptr, length);
398 const uint8_t *GetDataEnd() const { return m_end; }
414 const uint8_t *GetDataStart() const { return m_start; }
620 uint8_t GetU8(lldb::offset_t *offset_ptr) const;
622 uint8_t GetU8_unchecked(lldb::offset_t *offset_ptr) const {
623 uint8_t val = m_start[*offset_ptr];
842 const uint8_t *PeekData(lldb::offset_t offset, lldb::offset_t length) const {
993 void Checksum(llvm::SmallVectorImpl<uint8_t> &dest, uint64_t max_data = 0);
995 llvm::ArrayRef<uint8_t> GetData() const {
1006 const uint8_t *m_start; ///< A pointer to the first byte of data.
1007 const uint8_t
tools/lldb/include/lldb/Utility/Endian.h 22 uint8_t bytes[sizeof(uint32_t)];
tools/lldb/include/lldb/Utility/RegisterValue.h 47 explicit RegisterValue(uint8_t inst) : m_type(eTypeUInt8) { m_scalar = inst; }
75 explicit RegisterValue(uint8_t *bytes, size_t length,
107 uint8_t GetAsUInt8(uint8_t fail_value = UINT8_MAX,
107 uint8_t GetAsUInt8(uint8_t fail_value = UINT8_MAX,
149 void operator=(uint8_t uint) {
189 void SetUInt8(uint8_t uint) {
262 uint8_t bytes[kMaxRegisterByteSize]; // This must be big enough to hold any
264 uint8_t length;
tools/lldb/include/lldb/Utility/Stream.h 144 size_t PutHex8(uint8_t uvalue);
146 size_t PutNHex8(size_t n, uint8_t uvalue);
224 Stream &operator<<(uint8_t uval);
483 void _PutHex8(uint8_t uvalue, bool add_prefix);
tools/lldb/include/lldb/Utility/StringExtractor.h 69 uint8_t GetHexU8(uint8_t fail_value = 0, bool set_eof_on_fail = true);
69 uint8_t GetHexU8(uint8_t fail_value = 0, bool set_eof_on_fail = true);
71 bool GetHexU8Ex(uint8_t &ch, bool set_eof_on_fail = true);
87 size_t GetHexBytes(llvm::MutableArrayRef<uint8_t> dest,
88 uint8_t fail_fill_value);
90 size_t GetHexBytesAvail(llvm::MutableArrayRef<uint8_t> dest);
tools/lldb/include/lldb/Utility/StringExtractorGDBRemote.h 192 uint8_t GetError();
tools/lldb/include/lldb/Utility/UUID.h 36 static UUID fromData(llvm::ArrayRef<uint8_t> bytes) { return UUID(bytes); }
49 static UUID fromOptionalData(llvm::ArrayRef<uint8_t> bytes) {
59 llvm::ArrayRef<uint8_t> GetBytes() const { return m_bytes; }
91 llvm::SmallVectorImpl<uint8_t> &uuid_bytes,
95 UUID(llvm::ArrayRef<uint8_t> bytes) : m_bytes(bytes.begin(), bytes.end()) {}
99 llvm::SmallVector<uint8_t, 20> m_bytes;
tools/lldb/include/lldb/lldb-private-types.h 57 const uint8_t *dynamic_size_dwarf_expr_bytes; // A DWARF expression that when
64 llvm::ArrayRef<uint8_t> data(const uint8_t *context_base) const {
64 llvm::ArrayRef<uint8_t> data(const uint8_t *context_base) const {
68 llvm::MutableArrayRef<uint8_t> mutable_data(uint8_t *context_base) const {
68 llvm::MutableArrayRef<uint8_t> mutable_data(uint8_t *context_base) const {
tools/lldb/source/API/SBData.cpp 70 uint8_t SBData::GetAddressByteSize() {
73 uint8_t value = 0;
79 void SBData::SetAddressByteSize(uint8_t addr_byte_size) {
183 uint8_t SBData::GetUnsignedInt8(lldb::SBError &error, lldb::offset_t offset) {
187 uint8_t value = 0;
362 lldb::ByteOrder endian, uint8_t addr_size) {
tools/lldb/source/API/SBFile.cpp 42 SBError SBFile::Read(uint8_t *buf, size_t num_bytes, size_t *bytes_read) {
57 SBError SBFile::Write(const uint8_t *buf, size_t num_bytes,
tools/lldb/source/API/SBModule.cpp 158 const uint8_t *SBModule::GetUUIDBytes() const {
161 const uint8_t *uuid_bytes = nullptr;
tools/lldb/source/API/SBModuleSpec.cpp 129 const uint8_t *SBModuleSpec::GetUUIDBytes() {
139 bool SBModuleSpec::SetUUIDBytes(const uint8_t *uuid, size_t uuid_len) {
tools/lldb/source/API/SBTrace.cpp 34 llvm::MutableArrayRef<uint8_t> buffer(static_cast<uint8_t *>(buf), size);
53 llvm::MutableArrayRef<uint8_t> buffer(static_cast<uint8_t *>(buf), size);
tools/lldb/source/Breakpoint/BreakpointSite.cpp 94 uint8_t *BreakpointSite::GetTrapOpcodeBytes() { return &m_trap_opcode[0]; }
96 const uint8_t *BreakpointSite::GetTrapOpcodeBytes() const {
104 bool BreakpointSite::SetTrapOpcode(const uint8_t *trap_opcode,
115 uint8_t *BreakpointSite::GetSavedOpcodeBytes() { return &m_saved_opcode[0]; }
117 const uint8_t *BreakpointSite::GetSavedOpcodeBytes() const {
tools/lldb/source/Commands/CommandObjectMemory.cpp 718 uint8_t *data_ptr = data_sp->GetBytes();
1007 uint8_t operator[](lldb::addr_t offset) {
1011 uint8_t retval = 0;
1079 uint8_t byte = (uint8_t)value;
1156 lldb::addr_t FastSearch(lldb::addr_t low, lldb::addr_t high, uint8_t *buffer,
tools/lldb/source/Core/Address.cpp 165 std::vector<uint8_t> buf(byte_size, 0);
tools/lldb/source/Core/Communication.cpp 269 void Communication::AppendBytesToCache(const uint8_t *bytes, size_t len,
313 uint8_t buf[1024];
tools/lldb/source/Core/Disassembler.cpp 1317 uint8_t value8 = *((uint8_t *)opcode_data);
tools/lldb/source/Core/DumpDataExtractor.cpp 377 uint8_t ch = (uint8_t)(uval64 >> ((item_byte_size - i - 1) * 8));
534 const uint8_t *bytes =
tools/lldb/source/Core/EmulateInstruction.cpp 173 uint8_t buf[sizeof(uint64_t)];
tools/lldb/source/Core/Opcode.cpp 83 uint8_t swap_buf[8];
tools/lldb/source/Core/SourceManager.cpp 569 const uint8_t *cstr = m_data_sp->GetBytes() + start_line_offset;
tools/lldb/source/Core/Value.cpp 176 const uint8_t *src = rhs.GetBuffer().GetBytes();
528 uint8_t *dst = const_cast<uint8_t *>(data.PeekData(0, byte_size));
tools/lldb/source/Core/ValueObject.cpp 236 llvm::SmallVector<uint8_t, 16> old_checksum;
tools/lldb/source/Core/ValueObjectChild.cpp 59 uint8_t bitfield_bit_size) {
tools/lldb/source/DataFormatters/StringPrinter.cpp 33 GetPrintableImpl(uint8_t *buffer, uint8_t *buffer_end, uint8_t *&next);
33 GetPrintableImpl(uint8_t *buffer, uint8_t *buffer_end, uint8_t *&next);
33 GetPrintableImpl(uint8_t *buffer, uint8_t *buffer_end, uint8_t *&next);
65 GetPrintableImpl<StringPrinter::StringElementType::ASCII>(uint8_t *buffer,
66 uint8_t *buffer_end,
67 uint8_t *&next) {
105 uint8_t *data = new uint8_t[5];
105 uint8_t *data = new uint8_t[5];
130 GetPrintableImpl<StringPrinter::StringElementType::UTF8>(uint8_t *buffer,
131 uint8_t *buffer_end,
132 uint8_t *&next) {
208 uint8_t *data = new uint8_t[11];
208 uint8_t *data = new uint8_t[11];
229 GetPrintable(StringPrinter::StringElementType type, uint8_t *buffer,
230 uint8_t *buffer_end, uint8_t *&next) {
230 uint8_t *buffer_end, uint8_t *&next) {
353 uint8_t *next_data = nullptr;
457 uint8_t *data_end = buffer_sp->GetBytes() + buffer_sp->GetByteSize();
476 for (uint8_t *data = buffer_sp->GetBytes(); *data && (data < data_end);) {
478 uint8_t *next_data = nullptr;
tools/lldb/source/Expression/DWARFExpression.cpp 77 uint8_t addr_byte_size) {
211 const uint8_t op) {
425 const uint8_t op = m_data.GetU8(&offset);
461 const uint8_t op = m_data.GetU8(&offset);
505 const uint8_t op = m_data.GetU8(&offset);
547 const uint8_t op = m_data.GetU8(&offset);
1053 const uint8_t op = opcodes.GetU8(&offset);
1225 uint8_t size = opcodes.GetU8(&offset);
1273 uint8_t addr_bytes[sizeof(lldb::addr_t)];
1444 uint8_t pick_idx = opcodes.GetU8(&offset);
2717 uint8_t opcode = data.GetU8(offset_ptr);
2992 uint8_t opcode = opcodes.GetU8(&op_offset);
tools/lldb/source/Expression/ExpressionVariable.cpp 18 uint8_t *ExpressionVariable::GetValueBytes() {
tools/lldb/source/Expression/IRExecutionUnit.cpp 52 lldb::addr_t IRExecutionUnit::WriteNow(const uint8_t *bytes, size_t size,
587 uint8_t *IRExecutionUnit::MemoryManager::allocateCodeSection(
592 uint8_t *return_value = m_default_mm_up->allocateCodeSection(
617 uint8_t *IRExecutionUnit::MemoryManager::allocateDataSection(
622 uint8_t *return_value = m_default_mm_up->allocateDataSection(
tools/lldb/source/Expression/IRInterpreter.cpp 365 lldb::addr_t Malloc(size_t size, uint8_t byte_alignment) {
1561 rawArgs[i].data_up.reset(new uint8_t[dataSize + 1]);
tools/lldb/source/Expression/IRMemoryMap.cpp 271 uint32_t permissions, uint8_t alignment,
288 lldb::addr_t IRMemoryMap::Malloc(size_t size, uint8_t alignment,
398 std::vector<uint8_t> zero_buf(size, 0);
514 const uint8_t *bytes, size_t size,
598 uint8_t buf[32];
624 void IRMemoryMap::ReadMemory(uint8_t *bytes, lldb::addr_t process_address,
tools/lldb/source/Expression/Materializer.cpp 920 uint8_t *pvar_data = ret->GetValueBytes();
tools/lldb/source/Host/common/LZMA.cpp 24 getUncompressedSize(llvm::ArrayRef<uint8_t> InputBuffer) {
28 llvm::Error uncompress(llvm::ArrayRef<uint8_t> InputBuffer,
29 llvm::SmallVectorImpl<uint8_t> &Uncompressed) {
tools/lldb/source/Host/common/NativeProcessProtocol.cpp 391 llvm::SmallVector<uint8_t, 4> curr_break_op(
423 llvm::SmallVector<uint8_t, 4> verify_opcode(saved.size(), 0);
450 llvm::SmallVector<uint8_t, 4> saved_opcode_bytes(expected_trap->size(), 0);
487 llvm::SmallVector<uint8_t, 4> verify_bp_opcode_bytes(expected_trap->size(),
519 llvm::Expected<llvm::ArrayRef<uint8_t>>
521 static const uint8_t g_aarch64_opcode[] = {0x00, 0x00, 0x20, 0xd4};
522 static const uint8_t g_i386_opcode[] = {0xCC};
523 static const uint8_t g_mips64_opcode[] = {0x00, 0x00, 0x00, 0x0d};
524 static const uint8_t g_mips64el_opcode[] = {0x0d, 0x00, 0x00, 0x00};
525 static const uint8_t g_s390x_opcode[] = {0x00, 0x01};
526 static const uint8_t g_ppc64le_opcode[] = {0x08, 0x00, 0xe0, 0x7f}; // trap
tools/lldb/source/Host/common/NativeRegisterContext.cpp 342 uint8_t src[RegisterValue::kMaxRegisterByteSize];
374 uint8_t dst[RegisterValue::kMaxRegisterByteSize];
tools/lldb/source/Host/linux/Host.cpp 131 uint8_t exe_class =
tools/lldb/source/Interpreter/OptionValueUUID.cpp 72 llvm::SmallVector<uint8_t, 20> uuid_bytes;
tools/lldb/source/Plugins/ABI/MacOSX-arm64/ABIMacOSX_arm64.cpp 2350 case sizeof(uint8_t):
tools/lldb/source/Plugins/ABI/SysV-arc/ABISysV_arc.cpp 251 uint8_t reg_value[reg_size];
382 bool SetSizedInteger(Scalar &scalar, uint64_t raw_value, uint8_t size_in_bytes,
400 case sizeof(uint8_t):
401 SetInteger<uint8_t>(scalar, raw_value, is_signed);
408 bool SetSizedFloat(Scalar &scalar, uint64_t raw_value, uint8_t size_in_bytes) {
425 uint64_t ReadRawValue(const RegisterContextSP ®_ctx, uint8_t size_in_bytes) {
tools/lldb/source/Plugins/ABI/SysV-arm/ABISysV_arm.cpp 1354 const uint8_t reg_names[] = {
1573 uint8_t vfp_count = 0;
1574 uint8_t vfp_byte_size = 0;
tools/lldb/source/Plugins/ABI/SysV-arm64/ABISysV_arm64.cpp 2322 case sizeof(uint8_t):
tools/lldb/source/Plugins/ABI/SysV-mips64/ABISysV_mips64.cpp 803 case sizeof(uint8_t):
tools/lldb/source/Plugins/ABI/SysV-ppc/ABISysV_ppc.cpp 562 case sizeof(uint8_t):
tools/lldb/source/Plugins/ABI/SysV-ppc64/ABISysV_ppc64.cpp 617 case sizeof(uint8_t):
tools/lldb/source/Plugins/ABI/SysV-s390x/ABISysV_s390x.cpp 543 case sizeof(uint8_t):
tools/lldb/source/Plugins/ABI/SysV-x86_64/ABISysV_x86_64.cpp 595 case sizeof(uint8_t):
tools/lldb/source/Plugins/ABI/Windows-x86_64/ABIWindows_x86_64.cpp 1429 case sizeof(uint8_t):
tools/lldb/source/Plugins/Disassembler/llvm/DisassemblerLLVMC.cpp 54 uint64_t GetMCInst(const uint8_t *opcode_data, size_t opcode_data_len,
106 const uint8_t *opcode_data = data.GetDataStart();
139 const uint8_t *opcode_data = data.GetDataStart();
238 uint8_t *opcode_data =
309 const uint8_t *opcode_data = data.GetDataStart();
332 const uint8_t uval8 = data.GetU8(&offset);
359 const uint8_t *bytes = data.PeekData(offset, inst_size);
879 const uint8_t *opcode_data = data.GetDataStart();
1016 const uint8_t *opcode_data, size_t opcode_data_len, lldb::addr_t pc,
1018 llvm::ArrayRef<uint8_t> data(opcode_data, opcode_data_len);
tools/lldb/source/Plugins/DynamicLoader/Darwin-Kernel/DynamicLoaderDarwinKernel.cpp 254 uint8_t uval[8];
1089 uint8_t buf[24];
tools/lldb/source/Plugins/DynamicLoader/MacOSX-DYLD/DynamicLoaderDarwin.cpp 1046 uint8_t buf[sizeof(lldb::addr_t) * 3];
tools/lldb/source/Plugins/DynamicLoader/MacOSX-DYLD/DynamicLoaderMacOSXDYLD.cpp 191 uint8_t buf[4];
418 uint8_t buf[256];
tools/lldb/source/Plugins/Instruction/ARM/EmulateInstructionARM.cpp14172 EmulateInstructionARM::AddWithCarry(uint32_t x, uint32_t y, uint8_t carry_in) {
14174 uint8_t carry_out;
14175 uint8_t overflow;
tools/lldb/source/Plugins/Instruction/ARM/EmulateInstructionARM.h 186 uint8_t carry_out;
187 uint8_t overflow;
190 AddWithCarryResult AddWithCarry(uint32_t x, uint32_t y, uint8_t carry_in);
tools/lldb/source/Plugins/Instruction/ARM64/EmulateInstructionARM64.cpp 824 uint8_t buffer[RegisterValue::kMaxRegisterByteSize];
974 uint8_t buffer[RegisterValue::kMaxRegisterByteSize];
tools/lldb/source/Plugins/Instruction/MIPS/EmulateInstructionMIPS.cpp 981 llvm::ArrayRef<uint8_t> raw_insn(data.GetDataStart(), data.GetByteSize());
1015 uint8_t buf[sizeof(uint32_t)];
1071 llvm::ArrayRef<uint8_t> raw_insn(data.GetDataStart(), data.GetByteSize());
1187 uint8_t dst, src;
1280 uint8_t buffer[RegisterValue::kMaxRegisterByteSize];
1353 uint8_t src, dst, rt;
1430 uint8_t rt;
1540 uint8_t buffer[RegisterValue::kMaxRegisterByteSize];
1623 uint8_t buffer[RegisterValue::kMaxRegisterByteSize];
2882 const uint8_t *ptr = nullptr;
tools/lldb/source/Plugins/Instruction/MIPS64/EmulateInstructionMIPS64.cpp 967 llvm::ArrayRef<uint8_t> raw_insn(data.GetDataStart(), data.GetByteSize());
1079 uint8_t dst, src;
1174 uint8_t buffer[RegisterValue::kMaxRegisterByteSize];
1248 uint8_t rt;
1266 uint8_t src, dst, rt;
2193 const uint8_t *ptr = nullptr;
tools/lldb/source/Plugins/JITLoader/GDB/JITLoaderGDB.cpp 121 uint8_t uint64_align_bytes = i386_target ? 4 : 8;
tools/lldb/source/Plugins/Language/CPlusPlus/LibCxx.h 106 uint8_t m_ptr_size;
tools/lldb/source/Plugins/Language/CPlusPlus/LibCxxBitset.cpp 44 uint8_t m_byte_size = 0;
106 uint8_t value = !!(chunk->GetValueAsUnsigned(0) & (uint64_t(1) << chunk_idx));
tools/lldb/source/Plugins/Language/CPlusPlus/LibCxxVector.cpp 207 uint8_t byte = 0;
208 uint8_t mask = 0;
tools/lldb/source/Plugins/Language/ObjC/CF.cpp 167 uint8_t *bytes = buffer_sp->GetBytes();
169 uint8_t byte = bytes[byte_idx];
185 uint8_t byte = bytes[num_bytes - 1];
tools/lldb/source/Plugins/Language/ObjC/Cocoa.cpp 510 uint8_t data_type =
628 uint8_t length_and_negative = process_sp->ReadUnsignedIntegerFromMemory(
637 uint8_t length = length_and_negative & 0xf;
1009 uint8_t value = (real_guy_sp->GetValueAsUnsigned(0) & 0xFF);
tools/lldb/source/Plugins/Language/ObjC/NSArray.cpp 72 uint8_t m_ptr_size;
249 uint8_t m_ptr_size;
tools/lldb/source/Plugins/Language/ObjC/NSDictionary.cpp 133 uint8_t m_ptr_size;
187 uint8_t m_ptr_size;
238 uint8_t m_ptr_size;
tools/lldb/source/Plugins/Language/ObjC/NSSet.cpp 75 uint8_t m_ptr_size;
107 uint8_t m_ptr_size;
tools/lldb/source/Plugins/Language/ObjC/NSString.cpp 105 uint8_t info_bits = process_sp->ReadUnsignedIntegerFromMemory(
374 uint8_t bitmask = 0;
375 uint8_t shift_offset = 0;
385 std::vector<uint8_t> bytes;
388 uint8_t packed = data_bits & bitmask;
tools/lldb/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/AppleObjCClassDescriptorV2.h 79 uint8_t m_flags;
322 uint8_t m_pointer_size;
tools/lldb/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/AppleObjCRuntimeV2.cpp 377 bool read_value = true, uint8_t byte_size = 0,
tools/lldb/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/AppleObjCRuntimeV2.h 205 typedef std::map<uint8_t, ObjCLanguageRuntime::ClassDescriptorSP> Cache;
243 typedef std::map<uint8_t, ObjCLanguageRuntime::ClassDescriptorSP> Cache;
tools/lldb/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/AppleObjCTrampolineHandler.cpp 348 uint8_t *dst = (uint8_t *)data_sp->GetBytes();
tools/lldb/source/Plugins/LanguageRuntime/RenderScript/RenderScriptRuntime/RenderScriptRuntime.cpp 620 uint8_t ident[4]; // ASCII 'RSAD' identifying the file
754 {eFormatDecimal, eFormatVectorOfUInt8, sizeof(uint8_t)},
2352 std::shared_ptr<uint8_t>
2374 std::shared_ptr<uint8_t> buffer(new uint8_t[size]);
2374 std::shared_ptr<uint8_t> buffer(new uint8_t[size]);
2562 const std::shared_ptr<uint8_t> header_buffer, size_t offset,
2666 const std::shared_ptr<uint8_t> buffer = GetAllocationData(alloc, frame_ptr);
2700 std::shared_ptr<uint8_t> element_header_buffer(
2701 new uint8_t[element_header_size]);
3218 std::shared_ptr<uint8_t> buffer = GetAllocationData(alloc, frame_ptr);
tools/lldb/source/Plugins/LanguageRuntime/RenderScript/RenderScriptRuntime/RenderScriptRuntime.h 524 std::shared_ptr<uint8_t> GetAllocationData(AllocationDetails *alloc,
534 size_t PopulateElementHeaders(const std::shared_ptr<uint8_t> header_buffer,
tools/lldb/source/Plugins/ObjectFile/Breakpad/BreakpadRecords.cpp 94 using uuid_t = uint8_t[16];
419 uint8_t Type;
456 uint8_t HasProgramString;
tools/lldb/source/Plugins/ObjectFile/Breakpad/BreakpadRecords.h 171 enum class FrameType : uint8_t { FPO = 0, FrameData = 4 };
tools/lldb/source/Plugins/ObjectFile/ELF/ELFHeader.cpp 157 bool ELFHeader::MagicBytesMatch(const uint8_t *magic) {
161 unsigned ELFHeader::AddressSizeInBytes(const uint8_t *magic) {
tools/lldb/source/Plugins/ObjectFile/ELF/ELFHeader.h 135 static bool MagicBytesMatch(const uint8_t *magic);
145 static unsigned AddressSizeInBytes(const uint8_t *magic);
tools/lldb/source/Plugins/ObjectFile/ELF/ObjectFileELF.cpp 345 const uint8_t *magic = data_sp->GetBytes() + data_offset;
374 const uint8_t *magic = data_sp->GetBytes();
394 const uint8_t *magic = data_sp->GetBytes() + data_offset;
1112 if (const uint8_t *buf = data.PeekData(offset, note.n_descsz)) {
1237 uint8_t FormatVersion = data.GetU8(&Offset);
1252 uint8_t Tag = data.GetU8(&Offset);
1883 llvm::SmallVector<uint8_t, 0> uncompressedData;
tools/lldb/source/Plugins/ObjectFile/JIT/ObjectFileJIT.cpp 236 const uint8_t *src =
tools/lldb/source/Plugins/ObjectFile/Mach-O/ObjectFileMachO.cpp 85 uint8_t uuid[16]; // v1 and above, also recorded in dyld_all_image_infos v13
494 uint8_t *fpu_reg_buf = (uint8_t *)&fpu.floats.s[0];
627 uint8_t *fpu_reg_buf = (uint8_t *)&fpu.v[0];
1853 SectionSP GetSection(uint8_t n_sect, addr_t file_addr) {
1981 const uint8_t childrenCount = data.GetU8(&children_offset);
1982 for (uint8_t i = 0; i < childrenCount; ++i) {
4069 uint8_t n_type = N_TYPE & nlist.n_type;
4490 const uint8_t dylib_ordinal =
4754 const uint8_t *uuid_bytes = data.PeekData(offset, 16);
4760 const uint8_t opencl_uuid[] = {0x8c, 0x8e, 0xb3, 0x9b, 0x3b, 0xa8,
6250 uint8_t bytes[0x1000];
tools/lldb/source/Plugins/ObjectFile/PECOFF/ObjectFilePECOFF.cpp 50 uint8_t Data4[8];
69 const uint8_t *sig = pdb_info->PDB70.Signature;
tools/lldb/source/Plugins/ObjectFile/PECOFF/ObjectFilePECOFF.h 189 uint8_t major_linker_version = 0;
190 uint8_t minor_linker_version = 0;
247 uint8_t storage;
248 uint8_t naux;
tools/lldb/source/Plugins/ObjectFile/PECOFF/PECallFrameInfo.cpp 27 uint8_t offset;
134 static uint32_t ConvertMachineToLLDBRegister(uint8_t machine_reg);
135 static uint32_t ConvertXMMToLLDBRegister(uint8_t xmm_reg);
165 uint32_t EHProgramBuilder::ConvertMachineToLLDBRegister(uint8_t machine_reg) {
178 uint32_t EHProgramBuilder::ConvertXMMToLLDBRegister(uint8_t xmm_reg) {
194 uint8_t o = m_iterator.IsChained() ? 0 : code.u.CodeOffset;
195 uint8_t unwind_operation = code.getUnwindOp();
196 uint8_t operation_info = code.getOpInfo();
tools/lldb/source/Plugins/Platform/FreeBSD/PlatformFreeBSD.cpp 235 static const uint8_t g_arm_breakpoint_opcode[] = {0xFE, 0xDE, 0xFF, 0xE7};
tools/lldb/source/Plugins/Platform/MacOSX/PlatformDarwin.cpp 415 const uint8_t *trap_opcode = nullptr;
424 static const uint8_t g_arm64_breakpoint_opcode[] = {0x00, 0x00, 0x20, 0xD4};
433 static const uint8_t g_arm_breakpoint_opcode[] = {0xFE, 0xDE, 0xFF, 0xE7};
434 static const uint8_t g_thumb_breakpooint_opcode[] = {0xFE, 0xDE};
454 static const uint8_t g_ppc_breakpoint_opcode[] = {0x7F, 0xC0, 0x00, 0x08};
tools/lldb/source/Plugins/Process/Linux/NativeProcessLinux.cpp 130 uint8_t *ptr = (uint8_t *)bytes;
1411 llvm::Expected<llvm::ArrayRef<uint8_t>>
1415 static const uint8_t g_arm_opcode[] = {0xf0, 0x01, 0xf0, 0xe7};
1416 static const uint8_t g_thumb_opcode[] = {0x01, 0xde};
1844 llvm::MutableArrayRef<uint8_t> &buffer,
1863 llvm::MutableArrayRef<uint8_t> &buffer,
tools/lldb/source/Plugins/Process/Linux/NativeProcessLinux.h 110 llvm::MutableArrayRef<uint8_t> &buffer,
114 llvm::MutableArrayRef<uint8_t> &buffer,
127 llvm::Expected<llvm::ArrayRef<uint8_t>>
tools/lldb/source/Plugins/Process/Linux/NativeRegisterContextLinux.cpp 63 uint8_t dst[RegisterValue::kMaxRegisterByteSize];
69 uint8_t src[RegisterValue::kMaxRegisterByteSize];
tools/lldb/source/Plugins/Process/Linux/NativeRegisterContextLinux_x86_64.cpp 528 uint8_t *src = (uint8_t *)m_xstate.get() + reg_info->byte_offset -
637 uint8_t *dst = (uint8_t *)m_xstate.get() + reg_info->byte_offset -
691 uint8_t *dst = data_sp->GetBytes();
770 uint8_t *src = data_sp->GetBytes();
tools/lldb/source/Plugins/Process/Linux/ProcessorTrace.cpp 150 llvm::MutableArrayRef<uint8_t> ProcessorTraceMonitor::GetDataBuffer() {
161 llvm::MutableArrayRef<uint8_t> ProcessorTraceMonitor::GetAuxBuffer() {
271 ProcessorTraceMonitor::ReadPerfTraceAux(llvm::MutableArrayRef<uint8_t> &buffer,
301 ProcessorTraceMonitor::ReadPerfTraceData(llvm::MutableArrayRef<uint8_t> &buffer,
349 llvm::MutableArrayRef<uint8_t> &dst, llvm::MutableArrayRef<uint8_t> src,
349 llvm::MutableArrayRef<uint8_t> &dst, llvm::MutableArrayRef<uint8_t> src,
375 llvm::SmallVector<MutableArrayRef<uint8_t>, 2> parts = {
tools/lldb/source/Plugins/Process/Linux/ProcessorTrace.h 70 std::unique_ptr<uint8_t, munmap_delete> m_mmap_aux;
85 llvm::MutableArrayRef<uint8_t> GetAuxBuffer();
86 llvm::MutableArrayRef<uint8_t> GetDataBuffer();
102 Status ReadPerfTraceAux(llvm::MutableArrayRef<uint8_t> &buffer,
105 Status ReadPerfTraceData(llvm::MutableArrayRef<uint8_t> &buffer,
130 static void ReadCyclicBuffer(llvm::MutableArrayRef<uint8_t> &dst,
131 llvm::MutableArrayRef<uint8_t> src,
tools/lldb/source/Plugins/Process/Utility/DynamicRegisterInfo.cpp 280 std::vector<uint8_t> dwarf_opcode_bytes(reg_info.dynamic_size_dwarf_len);
tools/lldb/source/Plugins/Process/Utility/DynamicRegisterInfo.h 74 typedef std::vector<uint8_t> dwarf_opcode;
tools/lldb/source/Plugins/Process/Utility/RegisterContextDarwin_arm.cpp 1301 uint8_t *dst = data_sp->GetBytes();
1317 const uint8_t *src = data_sp->GetBytes();
tools/lldb/source/Plugins/Process/Utility/RegisterContextDarwin_arm.h 95 uint8_t bytes[16];
tools/lldb/source/Plugins/Process/Utility/RegisterContextDarwin_arm64.cpp 657 uint8_t *dst = data_sp->GetBytes();
673 const uint8_t *src = data_sp->GetBytes();
tools/lldb/source/Plugins/Process/Utility/RegisterContextDarwin_i386.cpp 834 uint8_t *dst = data_sp->GetBytes();
850 const uint8_t *src = data_sp->GetBytes();
tools/lldb/source/Plugins/Process/Utility/RegisterContextDarwin_i386.h 67 uint8_t bytes[10];
68 uint8_t pad[6];
72 uint8_t bytes[16];
79 uint8_t ftw;
80 uint8_t pad1;
92 uint8_t pad4[14 * 16];
tools/lldb/source/Plugins/Process/Utility/RegisterContextDarwin_x86_64.cpp 898 uint8_t *dst = data_sp->GetBytes();
914 const uint8_t *src = data_sp->GetBytes();
tools/lldb/source/Plugins/Process/Utility/RegisterContextDarwin_x86_64.h 72 uint8_t bytes[10];
73 uint8_t pad[6];
77 uint8_t bytes[16];
84 uint8_t ftw; // "ftag"
85 uint8_t pad1;
97 uint8_t pad4[6 * 16];
tools/lldb/source/Plugins/Process/Utility/RegisterContextPOSIX_arm.h 67 uint8_t bytes[16];
tools/lldb/source/Plugins/Process/Utility/RegisterContextPOSIX_arm64.h 68 uint8_t bytes[16];
tools/lldb/source/Plugins/Process/Utility/RegisterContextPOSIX_mips64.h 62 uint8_t m_registers_count[register_set_count];
tools/lldb/source/Plugins/Process/Utility/RegisterContext_mips.h 325 uint8_t byte[16];
tools/lldb/source/Plugins/Process/Utility/RegisterContext_x86.h 243 uint8_t bytes[10];
244 uint8_t pad[6];
248 uint8_t bytes[16]; // 128-bits for each XMM register
274 uint8_t padding1[48];
276 uint8_t padding2[40];
282 uint8_t bytes[16]; // 16 * 8 bits for the high bytes of each YMM register
286 uint8_t bytes[32]; // 16 * 16 bits for each YMM register
294 uint8_t bytes[16]; // MPX 128 bit bound registers
298 uint8_t bytes[8]; // MPX 64 bit bndcfgu and bndstatus registers (collectively
tools/lldb/source/Plugins/Process/Utility/RegisterInfoPOSIX_arm.h 24 uint8_t bytes[16];
tools/lldb/source/Plugins/Process/Utility/RegisterInfoPOSIX_arm64.h 30 uint8_t bytes[16];
tools/lldb/source/Plugins/Process/Utility/RegisterInfos_mips.h 42 const uint8_t dwarf_opcode_mips[] = {
tools/lldb/source/Plugins/Process/Utility/RegisterInfos_mips64.h 68 const uint8_t dwarf_opcode_mips64[] = {
tools/lldb/source/Plugins/Process/elf-core/ProcessElfCore.cpp 903 const uint8_t *start = m_auxv.GetDataStart();
tools/lldb/source/Plugins/Process/elf-core/RegisterContextPOSIXCore_ppc64le.cpp 98 uint8_t *dst = (uint8_t *)&v + sizeof(uint64_t);
tools/lldb/source/Plugins/Process/elf-core/RegisterContextPOSIXCore_x86_64.cpp 23 m_gpregset.reset(new uint8_t[size]);
32 m_fpregset.reset(new uint8_t[size]);
59 const uint8_t *src;
tools/lldb/source/Plugins/Process/elf-core/RegisterContextPOSIXCore_x86_64.h 45 std::unique_ptr<uint8_t[]> m_gpregset;
46 std::unique_ptr<uint8_t[]> m_fpregset;
tools/lldb/source/Plugins/Process/elf-core/ThreadElfCore.cpp 330 uint8_t address_byte_size = arch.GetAddressByteSize();
tools/lldb/source/Plugins/Process/gdb-remote/GDBRemoteClientBase.cpp 267 const uint8_t signo = response.GetHexU8(UINT8_MAX);
tools/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunication.cpp 165 const uint8_t *p;
268 uint8_t buffer[8192];
514 std::vector<uint8_t> unescaped_content;
527 uint8_t *decompressed_buffer = nullptr;
623 uint8_t decompressed_checksum = CalculcateChecksum(
641 GDBRemoteCommunication::CheckForPacket(const uint8_t *src, size_t src_len,
1307 void GDBRemoteCommunication::AppendBytesToCache(const uint8_t *bytes,
tools/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunication.h 107 PacketType CheckForPacket(const uint8_t *src, size_t src_len,
205 void AppendBytesToCache(const uint8_t *bytes, size_t len, bool broadcast,
tools/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationClient.cpp 809 uint8_t error = response.GetError();
859 uint8_t error = response.GetError();
873 uint8_t error = response.GetError();
893 uint8_t error = response.GetError();
918 uint8_t error = response.GetError();
1762 uint8_t error = response.GetError();
1782 uint8_t error = response.GetError();
1802 uint8_t error = response.GetError();
1838 uint8_t error = response.GetError();
1857 uint8_t error = response.GetError();
1875 uint8_t error = response.GetError();
2680 uint8_t GDBRemoteCommunicationClient::SendGDBStoppointTypePacket(
3236 llvm::ArrayRef<uint8_t> data) {
3250 lldb::tid_t tid, llvm::ArrayRef<uint8_t> data) {
3405 llvm::MutableArrayRef<uint8_t> &buffer, size_t offset) {
3414 llvm::MutableArrayRef<uint8_t> &buffer, size_t offset) {
3494 llvm::MutableArrayRef<uint8_t> &buffer, size_t offset) {
tools/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationClient.h 300 uint8_t SendGDBStoppointTypePacket(
404 llvm::ArrayRef<uint8_t> data);
406 bool WriteAllRegisters(lldb::tid_t tid, llvm::ArrayRef<uint8_t> data);
488 llvm::MutableArrayRef<uint8_t> &buffer,
492 llvm::MutableArrayRef<uint8_t> &buffer,
591 llvm::MutableArrayRef<uint8_t> &buffer,
tools/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServer.cpp 96 GDBRemoteCommunicationServer::SendErrorResponse(uint8_t err) {
tools/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServer.h 69 PacketResult SendErrorResponse(uint8_t error);
tools/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServerLLGS.cpp 368 static void AppendHexValue(StreamString &response, const uint8_t *buf,
399 std::basic_string<uint8_t> zeros(reg_info.byte_size, '\0');
1231 std::unique_ptr<uint8_t[]> buffer (new (std::nothrow) uint8_t[byte_count]);
1231 std::unique_ptr<uint8_t[]> buffer (new (std::nothrow) uint8_t[byte_count]);
1237 llvm::MutableArrayRef<uint8_t> buf(buffer.get(), byte_count);
1918 std::vector<uint8_t> regs_buffer;
2015 const uint8_t *const data =
2058 uint8_t reg_bytes[32]; // big enough to support up to 256 bit ymmN register
2210 uint8_t tmp[4096];
2381 std::vector<uint8_t> buf(byte_count, 0);
tools/lldb/source/Plugins/Process/gdb-remote/GDBRemoteRegisterContext.cpp 72 uint8_t reg_size = UpdateDynamicRegisterSize(arch, reg_info);
99 uint32_t reg, llvm::ArrayRef<uint8_t> data) {
148 uint8_t *dst = const_cast<uint8_t *>(
322 uint8_t *dst = const_cast<uint8_t *>(
619 const uint8_t *restore_src =
tools/lldb/source/Plugins/Process/gdb-remote/GDBRemoteRegisterContext.h 84 bool PrivateSetRegisterValue(uint32_t reg, llvm::ArrayRef<uint8_t> data);
tools/lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp 508 std::vector<uint8_t> dwarf_opcode_bytes;
1251 llvm::MutableArrayRef<uint8_t> &buffer,
1257 llvm::MutableArrayRef<uint8_t> &buffer,
1757 uint8_t signo, const std::string &thread_name, const std::string &reason,
2027 uint8_t signo = 0;
2183 const uint8_t signo = stop_packet.GetHexU8();
3134 uint8_t error_no = m_gdb_comm.SendGDBStoppointTypePacket(
3174 uint8_t error_no = m_gdb_comm.SendGDBStoppointTypePacket(
4325 std::vector<uint8_t> dwarf_opcode_bytes;
tools/lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.h 171 llvm::MutableArrayRef<uint8_t> &buffer,
175 llvm::MutableArrayRef<uint8_t> &buffer,
363 ExpeditedRegisterMap &expedited_register_map, uint8_t signo,
tools/lldb/source/Plugins/Process/gdb-remote/ThreadGDBRemote.cpp 321 llvm::ArrayRef<uint8_t> data) {
tools/lldb/source/Plugins/Process/gdb-remote/ThreadGDBRemote.h 104 bool PrivateSetRegisterValue(uint32_t reg, llvm::ArrayRef<uint8_t> data);
tools/lldb/source/Plugins/Process/minidump/MinidumpParser.cpp 41 llvm::ArrayRef<uint8_t> MinidumpParser::GetData() {
46 llvm::ArrayRef<uint8_t> MinidumpParser::GetStream(StreamType stream_type) {
103 llvm::ArrayRef<uint8_t>
110 llvm::ArrayRef<uint8_t>
115 llvm::ArrayRef<uint8_t>
227 llvm::ArrayRef<uint8_t> data = GetStream(StreamType::MiscInfo);
236 llvm::ArrayRef<uint8_t> data = GetStream(StreamType::LinuxProcStatus);
330 llvm::ArrayRef<uint8_t> data64 = GetStream(StreamType::Memory64List);
390 llvm::ArrayRef<uint8_t> MinidumpParser::GetMemory(lldb::addr_t addr,
494 llvm::ArrayRef<uint8_t> data =
tools/lldb/source/Plugins/Process/minidump/MinidumpParser.h 40 llvm::ArrayRef<uint8_t> range_ref;
42 Range(lldb::addr_t start, llvm::ArrayRef<uint8_t> range_ref)
55 llvm::ArrayRef<uint8_t> GetData();
57 llvm::ArrayRef<uint8_t> GetStream(StreamType stream_type);
63 llvm::ArrayRef<uint8_t> GetThreadContext(const LocationDescriptor &location);
65 llvm::ArrayRef<uint8_t> GetThreadContext(const minidump::Thread &td);
67 llvm::ArrayRef<uint8_t> GetThreadContextWow64(const minidump::Thread &td);
89 llvm::ArrayRef<uint8_t> GetMemory(lldb::addr_t addr, size_t size);
tools/lldb/source/Plugins/Process/minidump/MinidumpTypes.cpp 18 const MinidumpMiscInfo *MinidumpMiscInfo::Parse(llvm::ArrayRef<uint8_t> &data) {
38 LinuxProcStatus::Parse(llvm::ArrayRef<uint8_t> &data) {
61 MinidumpMemoryDescriptor64::ParseMemory64List(llvm::ArrayRef<uint8_t> &data) {
tools/lldb/source/Plugins/Process/minidump/MinidumpTypes.h 51 uint8_t Data4[8];
66 Status consumeObject(llvm::ArrayRef<uint8_t> &Buffer, const T *&Object) {
83 ParseMemory64List(llvm::ArrayRef<uint8_t> &data);
100 static const MinidumpMiscInfo *Parse(llvm::ArrayRef<uint8_t> &data);
113 static llvm::Optional<LinuxProcStatus> Parse(llvm::ArrayRef<uint8_t> &data);
tools/lldb/source/Plugins/Process/minidump/NtStructures.h 25 uint8_t reserved3[1952];
27 uint8_t reserved4[8];
tools/lldb/source/Plugins/Process/minidump/ProcessMinidump.cpp 315 llvm::ArrayRef<uint8_t> mem = m_minidump_parser->GetMemory(addr, size);
393 llvm::ArrayRef<uint8_t> context;
tools/lldb/source/Plugins/Process/minidump/RegisterContextMinidump_ARM64.h 67 uint8_t v[32 * 16]; // 32 128-bit floating point registers
tools/lldb/source/Plugins/Process/minidump/RegisterContextMinidump_x86_32.cpp 20 llvm::MutableArrayRef<uint8_t> reg_dest) {
25 llvm::ArrayRef<uint8_t> source_data,
32 uint8_t *result_base = result_context_buf->GetBytes();
tools/lldb/source/Plugins/Process/minidump/RegisterContextMinidump_x86_32.h 35 ConvertMinidumpContext_x86_32(llvm::ArrayRef<uint8_t> source_data,
53 uint8_t register_area[RegisterAreaSize];
109 uint8_t extended_registers[ExtendedRegistersSize];
tools/lldb/source/Plugins/Process/minidump/RegisterContextMinidump_x86_64.cpp 19 static llvm::MutableArrayRef<uint8_t> getDestRegister(uint8_t *context,
19 static llvm::MutableArrayRef<uint8_t> getDestRegister(uint8_t *context,
41 static void writeRegister(const void *reg_src, uint8_t *context,
43 llvm::MutableArrayRef<uint8_t> reg_dest = getDestRegister(context, reg);
48 llvm::ArrayRef<uint8_t> source_data,
55 uint8_t *result_base = result_context_buf->GetBytes();
tools/lldb/source/Plugins/Process/minidump/RegisterContextMinidump_x86_64.h 35 ConvertMinidumpContext_x86_64(llvm::ArrayRef<uint8_t> source_data,
47 uint8_t tag_word;
48 uint8_t reserved1;
60 uint8_t reserved4[96];
tools/lldb/source/Plugins/Process/minidump/ThreadMinidump.cpp 37 llvm::ArrayRef<uint8_t> gpregset_data)
tools/lldb/source/Plugins/Process/minidump/ThreadMinidump.h 24 llvm::ArrayRef<uint8_t> gpregset_data);
37 llvm::ArrayRef<uint8_t> m_gpregset_data;
tools/lldb/source/Plugins/ScriptInterpreter/Python/PythonDataObjects.cpp 233 PythonBytes::PythonBytes(llvm::ArrayRef<uint8_t> bytes) { SetBytes(bytes); }
235 PythonBytes::PythonBytes(const uint8_t *bytes, size_t length) {
245 llvm::ArrayRef<uint8_t> PythonBytes::GetBytes() const {
262 void PythonBytes::SetBytes(llvm::ArrayRef<uint8_t> bytes) {
276 PythonByteArray::PythonByteArray(llvm::ArrayRef<uint8_t> bytes)
279 PythonByteArray::PythonByteArray(const uint8_t *bytes, size_t length) {
290 llvm::ArrayRef<uint8_t> PythonByteArray::GetBytes() const {
308 llvm::ArrayRef<uint8_t> bytes = GetBytes();
tools/lldb/source/Plugins/ScriptInterpreter/Python/PythonDataObjects.h 428 explicit PythonBytes(llvm::ArrayRef<uint8_t> bytes);
429 PythonBytes(const uint8_t *bytes, size_t length);
433 llvm::ArrayRef<uint8_t> GetBytes() const;
437 void SetBytes(llvm::ArrayRef<uint8_t> stringbytes);
445 explicit PythonByteArray(llvm::ArrayRef<uint8_t> bytes);
446 PythonByteArray(const uint8_t *bytes, size_t length);
451 llvm::ArrayRef<uint8_t> GetBytes() const;
455 void SetBytes(llvm::ArrayRef<uint8_t> stringbytes);
tools/lldb/source/Plugins/SymbolFile/Breakpad/SymbolFileBreakpad.cpp 422 llvm::ArrayRef<uint8_t> SymbolFileBreakpad::SaveAsDWARF(postfix::Node &node) {
427 uint8_t *saved = m_allocator.Allocate<uint8_t>(dwarf.GetSize());
427 uint8_t *saved = m_allocator.Allocate<uint8_t>(dwarf.GetSize());
465 llvm::ArrayRef<uint8_t> saved = SaveAsDWARF(*rhs);
597 llvm::ArrayRef<uint8_t> saved = SaveAsDWARF(*it->second);
620 llvm::ArrayRef<uint8_t> saved = SaveAsDWARF(*it->second);
tools/lldb/source/Plugins/SymbolFile/Breakpad/SymbolFileBreakpad.h 204 llvm::ArrayRef<uint8_t> SaveAsDWARF(postfix::Node &node);
tools/lldb/source/Plugins/SymbolFile/DWARF/DIERef.h 28 enum Section : uint8_t { DebugInfo, DebugTypes };
tools/lldb/source/Plugins/SymbolFile/DWARF/DWARFAbbreviationDeclaration.cpp 25 uint8_t has_children)
tools/lldb/source/Plugins/SymbolFile/DWARF/DWARFAbbreviationDeclaration.h 23 DWARFAbbreviationDeclaration(dw_tag_t tag, uint8_t has_children);
61 uint8_t m_has_children;
tools/lldb/source/Plugins/SymbolFile/DWARF/DWARFContext.cpp 107 uint8_t addr_size = 0;
tools/lldb/source/Plugins/SymbolFile/DWARF/DWARFDebugArangeSet.h 25 uint8_t addr_size; // The size in bytes of an address on the target
28 uint8_t seg_size; // The size in bytes of a segment descriptor on the target
tools/lldb/source/Plugins/SymbolFile/DWARF/DWARFDebugInfoEntry.cpp 72 llvm::Optional<uint8_t> fixed_skip_size =
499 const uint8_t *blockData = form_value.BlockData();
582 llvm::Optional<uint8_t> fixed_skip_size = DWARFFormValue::GetFixedSize(form, cu);
tools/lldb/source/Plugins/SymbolFile/DWARF/DWARFDebugMacro.cpp 26 uint8_t flags = debug_macro_data.GetU8(offset);
45 uint8_t entry_count = debug_macro_data.GetU8(offset);
46 for (uint8_t i = 0; i < entry_count; i++) {
tools/lldb/source/Plugins/SymbolFile/DWARF/DWARFDebugRanges.cpp 127 const DWARFDataExtractor &data, uint8_t addrSize,
263 uint8_t addrSize = data.GetU8(&offset);
tools/lldb/source/Plugins/SymbolFile/DWARF/DWARFDebugRanges.h 54 uint8_t encoding;
67 uint8_t addrSize, lldb::offset_t *offset_ptr,
tools/lldb/source/Plugins/SymbolFile/DWARF/DWARFFormValue.cpp 38 uint8_t ref_addr_size;
149 uint8_t valid:1, size:7;
188 llvm::Optional<uint8_t>
197 llvm::Optional<uint8_t> DWARFFormValue::GetFixedSize() const {
210 uint8_t ref_addr_size;
380 const uint8_t *data_ptr = m_value.data;
382 const uint8_t *end_data_ptr =
575 const uint8_t *DWARFFormValue::BlockData() const { return m_value.data; }
tools/lldb/source/Plugins/SymbolFile/DWARF/DWARFFormValue.h 30 const uint8_t *data;
56 const uint8_t *BlockData() const;
57 static llvm::Optional<uint8_t> GetFixedSize(dw_form_t form,
59 llvm::Optional<uint8_t> GetFixedSize() const;
tools/lldb/source/Plugins/SymbolFile/DWARF/DWARFUnit.cpp 487 uint8_t DWARFUnit::GetAddressByteSize(const DWARFUnit *cu) {
493 uint8_t DWARFUnit::GetDefaultAddressSize() { return 4; }
tools/lldb/source/Plugins/SymbolFile/DWARF/DWARFUnit.h 42 uint8_t m_unit_type = 0;
43 uint8_t m_addr_size = 0;
58 uint8_t GetUnitType() const { return m_unit_type; }
143 uint8_t GetAddressByteSize() const { return m_header.GetAddressByteSize(); }
170 static uint8_t GetAddressByteSize(const DWARFUnit *cu);
172 static uint8_t GetDefaultAddressSize();
214 uint8_t GetUnitType() const { return m_header.GetUnitType(); }
tools/lldb/source/Plugins/SymbolFile/DWARF/SymbolFileDWARF.cpp 3225 const uint8_t *data_pointer = form_value.BlockData();
tools/lldb/source/Plugins/SymbolFile/NativePDB/DWARFLocationExpression.cpp 239 llvm::ArrayRef<uint8_t> bytes;
tools/lldb/source/Plugins/SymbolFile/NativePDB/PdbSymUid.h 30 enum class PdbSymUidKind : uint8_t {
tools/lldb/source/Plugins/SystemRuntime/MacOSX/SystemRuntimeMacOSX.cpp 301 uint8_t memory_buffer[sizeof(struct LibdispatchOffsets)];
349 uint8_t memory_buffer[sizeof(struct LibpthreadOffsets)];
tools/lldb/source/Plugins/UnwindAssembly/InstEmulation/UnwindAssemblyInstEmulation.cpp 35 std::vector<uint8_t> function_text(range.GetByteSize());
51 AddressRange &range, uint8_t *opcode_data, size_t opcode_size,
tools/lldb/source/Plugins/UnwindAssembly/InstEmulation/UnwindAssemblyInstEmulation.h 28 uint8_t *opcode_data, size_t opcode_size,
tools/lldb/source/Plugins/UnwindAssembly/x86/UnwindAssembly-x86.cpp 53 std::vector<uint8_t> function_text(func.GetByteSize());
155 std::vector<uint8_t> function_text(func.GetByteSize());
181 llvm::SmallVector<uint8_t, 4> opcode_data;
190 uint8_t i386_push_mov[] = {0x55, 0x89, 0xe5};
191 uint8_t x86_64_push_mov[] = {0x55, 0x48, 0x89, 0xe5};
222 std::vector<uint8_t> function_text(func.GetByteSize());
tools/lldb/source/Plugins/UnwindAssembly/x86/x86AssemblyInspectionEngine.cpp 307 uint8_t *p = m_cur_insn;
313 uint8_t *p = m_cur_insn;
320 uint8_t *p = m_cur_insn;
338 uint8_t opcode = (*(m_cur_insn + 1) >> 3) & 7;
355 uint8_t p = *m_cur_insn;
366 uint8_t *p = m_cur_insn;
383 uint8_t *p = m_cur_insn;
396 uint8_t *p = m_cur_insn;
409 uint8_t *p = m_cur_insn;
422 uint8_t *p = m_cur_insn;
434 uint8_t *p = m_cur_insn;
452 uint8_t *p = m_cur_insn;
471 uint8_t *p = m_cur_insn;
497 uint8_t *p = m_cur_insn;
524 uint8_t *p = m_cur_insn;
551 uint8_t *p = m_cur_insn;
564 uint8_t *p = m_cur_insn;
581 uint8_t *p = m_cur_insn;
590 uint8_t p = *m_cur_insn;
600 uint8_t *p = m_cur_insn;
606 uint8_t *p = m_cur_insn;
624 uint8_t *p = m_cur_insn;
682 uint8_t second_byte_sans_reg = *(m_cur_insn + 1) & ~7;
738 uint8_t b1 = m_cur_insn[0];
766 uint8_t b2 = m_cur_insn[1];
855 uint8_t *p = m_cur_insn;
859 uint16_t x86AssemblyInspectionEngine::extract_2(uint8_t *b) {
866 int16_t x86AssemblyInspectionEngine::extract_2_signed(uint8_t *b) {
873 uint32_t x86AssemblyInspectionEngine::extract_4(uint8_t *b) {
880 int32_t x86AssemblyInspectionEngine::extract_4_signed(uint8_t *b) {
888 bool x86AssemblyInspectionEngine::instruction_length(uint8_t *insn_p,
893 llvm::SmallVector<uint8_t, 32> opcode_data;
916 uint8_t *data, size_t size, AddressRange &func_range,
1337 uint8_t *data, size_t size, AddressRange &func_range,
1581 uint8_t *data, size_t size, size_t &offset) {
tools/lldb/source/Plugins/UnwindAssembly/x86/x86AssemblyInspectionEngine.h 67 GetNonCallSiteUnwindPlanFromAssembly(uint8_t *data, size_t size,
84 bool AugmentUnwindPlanFromCallSite(uint8_t *data, size_t size,
89 bool FindFirstNonPrologueInstruction(uint8_t *data, size_t size,
126 uint16_t extract_2(uint8_t *b);
127 int16_t extract_2_signed(uint8_t *b);
128 uint32_t extract_4(uint8_t *b);
129 int32_t extract_4_signed(uint8_t *b);
131 bool instruction_length(uint8_t *insn, int &length, uint32_t buffer_remaining_bytes);
171 uint8_t *m_cur_insn;
tools/lldb/source/Symbol/ArmUnwindInfo.cpp 77 uint8_t ArmUnwindInfo::GetByteAtOffset(const uint32_t *data,
88 uint8_t shift = 0;
90 uint8_t byte = GetByteAtOffset(data, offset++);
130 uint8_t vsp_reg = dwarf_sp;
136 uint8_t byte1 = GetByteAtOffset(data, byte_offset++);
149 uint8_t byte2 = GetByteAtOffset(data, byte_offset++);
159 for (uint8_t i = 0; i < 12; ++i) {
181 uint8_t n = byte1 & 0x7;
182 for (uint8_t i = 0; i <= n; ++i) {
189 uint8_t n = byte1 & 0x7;
190 for (uint8_t i = 0; i <= n; ++i) {
205 uint8_t byte2 = GetByteAtOffset(data, byte_offset++);
213 for (uint8_t i = 0; i < 4; ++i) {
236 uint8_t byte2 = GetByteAtOffset(data, byte_offset++);
237 uint8_t s = (byte2 & 0xf0) >> 4;
238 uint8_t c = (byte2 & 0x0f) >> 0;
239 for (uint8_t i = 0; i <= c; ++i) {
252 uint8_t n = byte1 & 0x07;
253 for (uint8_t i = 0; i <= n; ++i) {
282 uint8_t byte2 = GetByteAtOffset(data, byte_offset++);
283 uint8_t s = (byte2 & 0xf0) >> 4;
284 uint8_t c = (byte2 & 0x0f) >> 0;
285 for (uint8_t i = 0; i <= c; ++i) {
296 uint8_t byte2 = GetByteAtOffset(data, byte_offset++);
297 uint8_t s = (byte2 & 0xf0) >> 4;
298 uint8_t c = (byte2 & 0x0f) >> 0;
299 for (uint8_t i = 0; i <= c; ++i) {
311 uint8_t n = byte1 & 0x07;
312 for (uint8_t i = 0; i <= n; ++i) {
353 const uint8_t *
tools/lldb/source/Symbol/ClangASTContext.cpp 9598 std::vector<uint8_t> buf;
tools/lldb/source/Symbol/CompilerType.cpp 985 uint8_t *dst = const_cast<uint8_t *>(data.PeekData(0, *byte_size));
tools/lldb/source/Symbol/DWARFCallFrameInfo.cpp 350 uint8_t arg_ptr_encoding = m_cfi_data.GetU8(&offset);
383 uint8_t inst = m_cfi_data.GetU8(&offset);
384 uint8_t primary_opcode = inst & 0xC0;
385 uint8_t extended_opcode = inst & 0x3F;
639 uint8_t inst = m_cfi_data.GetU8(&offset);
640 uint8_t primary_opcode = inst & 0xC0;
641 uint8_t extended_opcode = inst & 0x3F;
816 bool DWARFCallFrameInfo::HandleCommonDwarfOpcode(uint8_t primary_opcode,
817 uint8_t extended_opcode,
832 uint8_t reg_num = extended_opcode;
930 const uint8_t *block_data =
947 const uint8_t *block_data =
1003 const uint8_t *block_data =
tools/lldb/source/Symbol/Type.cpp 434 uint8_t *dst = const_cast<uint8_t *>(data.PeekData(0, byte_size));
tools/lldb/source/Symbol/UnwindPlan.cpp 54 const uint8_t *opcodes, uint32_t len) {
63 const uint8_t *opcodes, uint32_t len) {
80 static void DumpDWARFExpr(Stream &s, llvm::ArrayRef<uint8_t> expr, Thread *thread) {
tools/lldb/source/Target/Memory.cpp 170 uint8_t *dst_buf = (uint8_t *)dst;
tools/lldb/source/Target/Platform.cpp 1815 const uint8_t *trap_opcode = nullptr;
1821 static const uint8_t g_aarch64_opcode[] = {0x00, 0x00, 0x20, 0xd4};
1827 static const uint8_t g_hex_opcode[] = { 0xff, 0x7f };
1836 static const uint8_t g_arm_breakpoint_opcode[] = {0xf0, 0x01, 0xf0, 0xe7};
1837 static const uint8_t g_thumb_breakpoint_opcode[] = {0x01, 0xde};
1860 static const uint8_t g_hex_opcode[] = {0x00, 0x00, 0x00, 0x0d};
1867 static const uint8_t g_hex_opcode[] = {0x0d, 0x00, 0x00, 0x00};
1873 static const uint8_t g_hex_opcode[] = {0x00, 0x01};
1879 static const uint8_t g_hex_opcode[] = {0x0c, 0xdb, 0x00, 0x54};
1886 static const uint8_t g_ppc_opcode[] = {0x7f, 0xe0, 0x00, 0x08};
1892 static const uint8_t g_ppc64le_opcode[] = {0x08, 0x00, 0xe0, 0x7f}; // trap
1899 static const uint8_t g_i386_opcode[] = {0xCC};
tools/lldb/source/Target/Process.cpp 1718 uint8_t *buf) const {
1785 const uint8_t *const bp_opcode_bytes = bp_site->GetTrapOpcodeBytes();
1799 uint8_t verify_bp_opcode_bytes[64];
1845 const uint8_t *const break_op = bp_site->GetTrapOpcodeBytes();
1848 uint8_t curr_break_op[8];
1876 uint8_t verify_opcode[8];
2090 uint8_t *bytes = (uint8_t *)buf;
2153 const uint8_t *bytes = (const uint8_t *)buf;
2189 const uint8_t *ubuf = (const uint8_t *)buf;
2247 uint8_t buf[32];
tools/lldb/source/Target/RegisterContext.cpp 79 const uint8_t *dwarf_opcode_ptr = reg_info->dynamic_size_dwarf_expr_bytes;
333 uint8_t src[RegisterValue::kMaxRegisterByteSize];
365 uint8_t dst[RegisterValue::kMaxRegisterByteSize];
tools/lldb/source/Target/ThreadPlanTracer.cpp 138 uint8_t buffer[16] = {0}; // Must be big enough for any single instruction
tools/lldb/source/Utility/ConstString.cpp 55 const uint8_t h = hash(llvm::StringRef(ccstr));
76 const uint8_t h = hash(string_ref);
101 const uint8_t h = hash(demangled);
117 const uint8_t h = hash(llvm::StringRef(mangled_ccstr));
148 uint8_t hash(const llvm::StringRef &s) const {
tools/lldb/source/Utility/DataBufferHeap.cpp 18 DataBufferHeap::DataBufferHeap(lldb::offset_t n, uint8_t ch) : m_data() {
34 uint8_t *DataBufferHeap::GetBytes() {
40 const uint8_t *DataBufferHeap::GetBytes() const {
55 const uint8_t *src_u8 = static_cast<const uint8_t *>(src);
tools/lldb/source/Utility/DataBufferLLVM.cpp 29 uint8_t *DataBufferLLVM::GetBytes() {
33 const uint8_t *DataBufferLLVM::GetBytes() const {
tools/lldb/source/Utility/DataEncoder.cpp 36 uint8_t addr_size)
46 uint8_t addr_size)
70 const uint8_t *data_bytes = data->GetBytes();
146 uint32_t DataEncoder::PutU8(uint32_t offset, uint8_t value) {
tools/lldb/source/Utility/DataExtractor.cpp 108 static inline uint64_t ReadMaxInt64(const uint8_t *data, size_t byte_size,
210 const uint8_t *data_bytes = data->GetBytes();
320 uint8_t DataExtractor::GetU8(offset_t *offset_ptr) const {
321 const uint8_t *data = static_cast<const uint8_t *>(GetData(offset_ptr, 1));
335 const uint8_t *data =
353 const uint8_t *data =
431 const uint8_t *data =
480 const uint8_t *data =
542 const uint8_t *data =
623 const uint8_t *src_data = reinterpret_cast<const uint8_t *>(src);
624 uint8_t *dst_data = reinterpret_cast<uint8_t *>(&val);
642 const uint8_t *src_data = reinterpret_cast<const uint8_t *>(src);
643 uint8_t *dst_data = reinterpret_cast<uint8_t *>(&val);
695 const uint8_t *src = PeekData(offset, length);
714 const uint8_t *src = PeekData(offset, length);
749 uint8_t *dst = static_cast<uint8_t *>(dst_void_ptr);
750 const uint8_t *src = PeekData(src_offset, src_len);
877 const uint8_t *src = PeekData(*offset_ptr, 1);
881 const uint8_t *end = m_end;
889 uint8_t byte = *src++;
910 const uint8_t *src = PeekData(*offset_ptr, 1);
914 const uint8_t *end = m_end;
921 uint8_t byte = 0;
951 const uint8_t *src = PeekData(*offset_ptr, 1);
955 const uint8_t *end = m_end;
958 const uint8_t *src_pos = src;
1041 const uint8_t *base_ptr = m_start;
1066 uint8_t *bytes_ptr = buffer_heap_ptr->GetBytes();
1091 uint8_t *bytes_ptr = buffer_heap_ptr->GetBytes();
1103 void DataExtractor::Checksum(llvm::SmallVectorImpl<uint8_t> &dest,
1112 const llvm::ArrayRef<uint8_t> data(GetDataStart(), max_data);
tools/lldb/source/Utility/GDBRemote.cpp 30 const uint8_t *src = static_cast<const uint8_t *>(s);
34 uint8_t byte = *src;
tools/lldb/source/Utility/RegisterValue.cpp 314 std::vector<uint8_t> bytes;
785 uint8_t length = buffer.length;
tools/lldb/source/Utility/Scalar.cpp 77 const uint8_t *bytes = reinterpret_cast<const uint8_t *>(GetBytes());
102 const uint8_t *bytes;
tools/lldb/source/Utility/Stream.cpp 164 Stream &Stream::operator<<(uint8_t uval) {
260 size_t Stream::PutNHex8(size_t n, uint8_t uvalue) {
267 void Stream::_PutHex8(uint8_t uvalue, bool add_prefix) {
284 size_t Stream::PutHex8(uint8_t uvalue) {
389 const uint8_t *src = static_cast<const uint8_t *>(s);
416 const uint8_t *src = static_cast<const uint8_t *>(s);
tools/lldb/source/Utility/StringExtractor.cpp 75 uint8_t StringExtractor::GetHexU8(uint8_t fail_value, bool set_eof_on_fail) {
75 uint8_t StringExtractor::GetHexU8(uint8_t fail_value, bool set_eof_on_fail) {
82 bool StringExtractor::GetHexU8Ex(uint8_t &ch, bool set_eof_on_fail) {
169 uint8_t nibble_lo;
170 uint8_t nibble_hi = xdigit_to_sint(m_packet[m_index]);
193 uint8_t nibble = xdigit_to_sint(m_packet[m_index]);
220 uint8_t nibble_lo;
221 uint8_t nibble_hi = xdigit_to_sint(m_packet[m_index]);
244 uint8_t nibble = xdigit_to_sint(m_packet[m_index]);
265 size_t StringExtractor::GetHexBytes(llvm::MutableArrayRef<uint8_t> dest,
266 uint8_t fail_fill_value) {
286 size_t StringExtractor::GetHexBytesAvail(llvm::MutableArrayRef<uint8_t> dest) {
tools/lldb/source/Utility/StringExtractorGDBRemote.cpp 455 uint8_t StringExtractorGDBRemote::GetError() {
467 uint8_t errc = GetHexU8(255);
tools/lldb/source/Utility/UUID.cpp 64 llvm::SmallVectorImpl<uint8_t> &uuid_bytes,
98 llvm::SmallVector<uint8_t, 20> bytes;
tools/lldb/tools/intel-features/intel-mpx/cli-wrapper-mpxtable.cpp 116 std::vector<uint8_t> bd_entry_v(size);
166 std::vector<uint8_t> bt_entry_v(size * 4);
205 static std::vector<uint8_t> uIntToU8(uint64_t input, size_t size) {
206 std::vector<uint8_t> output;
229 std::vector<uint8_t> bt_entry_v(size * 2);
231 std::vector<uint8_t> lbound_v = uIntToU8(lbound, size);
233 std::vector<uint8_t> ubound_v = uIntToU8(~ubound, size);
tools/lldb/tools/lldb-test/FormatUtil.cpp 40 void LinePrinter::formatBinary(StringRef Label, ArrayRef<uint8_t> Data,
53 void LinePrinter::formatBinary(StringRef Label, ArrayRef<uint8_t> Data,
tools/lldb/tools/lldb-test/FormatUtil.h 52 void formatBinary(llvm::StringRef Label, llvm::ArrayRef<uint8_t> Data,
54 void formatBinary(llvm::StringRef Label, llvm::ArrayRef<uint8_t> Data,
tools/lldb/tools/lldb-test/lldb-test.cpp 848 ArrayRef<uint8_t> Bytes = {Data.GetDataStart(), Data.GetDataEnd()};
924 uint8_t Alignment;
tools/lldb/unittests/Disassembler/TestArm64Disassembly.cpp 51 uint8_t data[] = {
tools/lldb/unittests/Disassembler/TestArmv7Disassembly.cpp 51 uint8_t data[] = {
tools/lldb/unittests/Expression/DWARFExpressionTest.cpp 25 static llvm::Expected<Scalar> Evaluate(llvm::ArrayRef<uint8_t> expr,
160 llvm::Expected<Scalar> Eval(llvm::ArrayRef<uint8_t> expr) {
269 uint8_t offs_uint32_t = 0x0000000e;
270 uint8_t offs_uint64_t = 0x00000011;
271 uint8_t offs_sint64_t = 0x00000014;
272 uint8_t offs_uchar = 0x00000017;
273 uint8_t offs_schar = 0x0000001a;
tools/lldb/unittests/Process/Linux/ProcessorTraceTest.cpp 21 llvm::MutableArrayRef<uint8_t> dst(reinterpret_cast<uint8_t *>(buf),
23 llvm::MutableArrayRef<uint8_t> src(reinterpret_cast<uint8_t *>(cyc_buf),
31 uint8_t cyclic_buffer[6] = {'l', 'i', 'c', 'c', 'y', 'c'};
68 uint8_t cyclic_buffer[6] = {'l', 'i', 'c', 'c', 'y', 'c'};
85 uint8_t cyclic_buffer[6] = {'l', 'i', 'c', 'c', 'y', 'c'};
134 uint8_t cyclic_buffer[6] = {'l', 'i', 'c', 'c', 'y', 'c'};
tools/lldb/unittests/Process/gdb-remote/GDBRemoteCommunicationClientTest.cpp 54 uint8_t all_registers[] = {'@', 'A', 'B', 'C', 'D', 'E', 'F', 'G',
57 uint8_t one_register[] = {'A', 'B', 'C', 'D'};
428 uint8_t buf[32] = {};
429 llvm::MutableArrayRef<uint8_t> buffer(buf, 32);
446 llvm::MutableArrayRef<uint8_t> buffer2(buf, 32);
460 uint8_t buf[32] = {};
461 llvm::MutableArrayRef<uint8_t> buffer(buf, 32);
478 llvm::MutableArrayRef<uint8_t> buffer2(buf, 32);
tools/lldb/unittests/Process/minidump/MinidumpParserTest.cpp 118 llvm::ArrayRef<uint8_t> context = parser->GetThreadContext(thread);
562 llvm::ArrayRef<uint8_t> registers(parser->GetThreadContext(thread));
605 llvm::ArrayRef<uint8_t> registers(parser->GetThreadContext(thread));
640 llvm::ArrayRef<uint8_t> registers(parser->GetThreadContextWow64(thread));
tools/lldb/unittests/Process/minidump/RegisterContextMinidumpTest.cpp 52 llvm::ArrayRef<uint8_t> ContextRef(reinterpret_cast<uint8_t *>(&Context),
113 llvm::ArrayRef<uint8_t> ContextRef(reinterpret_cast<uint8_t *>(&Context),
tools/lldb/unittests/ScriptInterpreter/Python/PythonDataObjectsTests.cpp 237 llvm::ArrayRef<uint8_t> bytes = python_bytes.GetBytes();
251 llvm::ArrayRef<uint8_t> after_bytes = python_bytes.GetBytes();
tools/lldb/unittests/SymbolFile/DWARF/SymbolFileDWARFTests.cpp 90 const uint8_t addr_size = 4;
135 const uint8_t addr_size = 4;
180 const uint8_t addr_size = 4;
225 const uint8_t addr_size = 4;
252 const uint8_t addr_size = 4;
281 const uint8_t addr_size = 4;
310 const uint8_t addr_size = 4;
tools/lldb/unittests/TestingSupport/Host/NativeProcessTestUtils.h 99 llvm::Expected<std::vector<uint8_t>> ReadMemoryWithoutTrap(addr_t Addr,
101 std::vector<uint8_t> Data(Size, 0);
117 FakeMemory(llvm::ArrayRef<uint8_t> Data, addr_t start_addr = 0)
124 llvm::Expected<std::vector<uint8_t>> Read(addr_t Addr, size_t Size) {
134 llvm::Expected<size_t> Write(addr_t Addr, llvm::ArrayRef<uint8_t> Chunk) {
145 std::vector<uint8_t> Data;
tools/lldb/unittests/UnwindAssembly/ARM64/TestArm64InstEmulation.cpp 69 uint8_t data[] = {
166 uint8_t data[] = {
328 uint8_t data[] = {
422 uint8_t data[] = {
545 uint8_t data[] = {
tools/lldb/unittests/UnwindAssembly/PPC64/TestPPC64InstEmulation.cpp 73 uint8_t data[] = {
189 uint8_t data[] = {
tools/lldb/unittests/UnwindAssembly/x86/Testx86AssemblyInspectionEngine.cpp 147 uint8_t data[] = {
223 uint8_t data[] = {
328 uint8_t data[] = {
534 uint8_t data[] = {
769 uint8_t data[] = {
866 uint8_t data[] = {
969 uint8_t data[] = {
1012 uint8_t data[] = {
1061 uint8_t data[] = {
1092 uint8_t data[] = {
1140 uint8_t data[] = {
1168 uint8_t data[] = {
1196 uint8_t data[] = {
1224 uint8_t data[] = {
1252 uint8_t data[] = {
1286 uint8_t data[] = {
1315 uint8_t data[] = {
1344 uint8_t data[] = {
1370 uint8_t data[] = {
1398 uint8_t data[] = {
1423 uint8_t data[] = {
1454 uint8_t data[] = {
1482 uint8_t data[] = {
1507 uint8_t data64_1[] = {
1526 uint8_t data64_2[] = {
1542 uint8_t data32_1[] = {
1558 uint8_t data32_2[] = {
1582 uint8_t data1[] = {
1598 uint8_t data2[] = {
1622 uint8_t data1[] = {
1638 uint8_t data2[] = {
1662 uint8_t data1[] = {
1678 uint8_t data2[] = {
1702 uint8_t data1[] = {
1718 uint8_t data2[] = {
1744 uint8_t data[] = {
1770 uint8_t data[] = {
1796 uint8_t data[] = {
1822 uint8_t data[] = {
1848 uint8_t data[] = {
1874 uint8_t data[] = {
1900 uint8_t data[] = {
1926 uint8_t data[] = {
1952 uint8_t data[] = {
1978 uint8_t data[] = {
2004 uint8_t data[] = {
2032 uint8_t data[] = {
2071 uint8_t data[] = {
2111 uint8_t data[] = {
2136 uint8_t data[] = {
2175 uint8_t data[] = {
2209 uint8_t data[] = {
2300 uint8_t data[] = {
2378 uint8_t data[] = {
2461 uint8_t data[] = {
2499 uint8_t data[] = {
2533 uint8_t data[] = {
2567 uint8_t data[] = {
2631 uint8_t data[] = {
2652 uint8_t data[] = {
2828 uint8_t data[] = {
tools/lldb/unittests/Utility/DataExtractorTest.cpp 16 uint8_t buffer[] = {0x01, 0x23, 0x45, 0x67};
37 uint8_t buffer[] = {0x01, 0x02, 0x03, 0x04};
53 uint8_t buffer[] = {'X', 'f', 'o', 'o', '\0'};
62 uint8_t buffer[] = {'X', '\0'};
71 uint8_t buffer[] = {'X', 'f', 'o', 'o'};
80 uint8_t buffer[] = {'X'};
89 uint8_t buffer[] = {'f', 'o', 'o', '\0'};
98 uint8_t buffer[] = {0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07, 0x08};
139 uint8_t buffer[] = {0x01, 0x02, 0x83, 0x04, 0x05, 0x06, 0x07, 0x08};
174 uint8_t buffer[] = {0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07, 0x08};
tools/lldb/unittests/Utility/StreamTest.cpp 143 s.PutHex8(std::numeric_limits<uint8_t>::max());
308 s << std::numeric_limits<uint8_t>::max() << " ";
tools/lldb/unittests/Utility/StringExtractorTest.cpp 223 uint8_t dst[kValidHexPairs];
246 uint8_t dst[kValidHexPairs];
263 uint8_t dst[8];
282 uint8_t dst[8];
300 uint8_t dst[12];
328 uint8_t dst[12];
359 uint8_t dst[kValidHexPairs];
382 uint8_t dst[kValidHexPairs];
399 uint8_t dst[8];
415 uint8_t dst[8];
431 uint8_t dst[12];
460 uint8_t dst[12];
tools/lldb/unittests/Utility/UUIDTest.cpp 39 std::vector<uint8_t> zeroes(20, 0);
tools/lldb/unittests/tools/lldb-server/tests/MessageObjects.cpp 214 SmallVector<uint8_t, 64> Bytes(HexValue.size() / 2);
329 uint8_t Status;
369 ArrayRef<uint8_t> Bytes(static_cast<const uint8_t *>(RegVal.GetBytes()),
tools/lldb/unittests/tools/lldb-server/tests/MessageObjects.h 109 StopReplyStop(uint8_t Signal, lldb::tid_t ThreadId, llvm::StringRef Name,
137 uint8_t Signal;
147 explicit StopReplyExit(uint8_t Status) : Status(Status) {}
161 uint8_t Status;
tools/lli/RemoteJITUtils.h 90 uint8_t *allocateCodeSection(uintptr_t Size, unsigned Alignment,
96 uint8_t *allocateDataSection(uintptr_t Size, unsigned Alignment,
115 void registerEHFrames(uint8_t *Addr, uint64_t LoadAddr,
tools/llvm-cfi-verify/lib/FileAnalysis.cpp 463 ArrayRef<uint8_t> SectionBytes = arrayRefFromStringRef(*Contents);
471 void FileAnalysis::parseSectionContents(ArrayRef<uint8_t> SectionBytes,
tools/llvm-cfi-verify/lib/FileAnalysis.h 181 void parseSectionContents(ArrayRef<uint8_t> SectionBytes,
tools/llvm-cxxdump/llvm-cxxdump.cpp 186 uint8_t BytesInAddress = Obj->getBytesInAddress();
tools/llvm-dwp/llvm-dwp.cpp 151 uint8_t AddrSize = InfoData.getU8(&Offset);
tools/llvm-elfabi/ELFObjHandler.cpp 188 Expected<const uint8_t *> TablePtr = ElfFile.toMappedAddr(*Dyn.GnuHash);
197 Expected<const uint8_t *> TablePtr = ElfFile.toMappedAddr(*Dyn.ElfHash);
212 static ELFSymbolType convertInfoToType(uint8_t Info) {
237 uint8_t Binding = RawSym.getBinding();
267 uint8_t Binding = RawSym.getBinding();
271 uint8_t Visibility = RawSym.getVisibility();
315 Expected<const uint8_t *> DynStrPtr =
353 Expected<const uint8_t *> DynSymPtr =
tools/llvm-exegesis/lib/Analysis.cpp 102 void Analysis::writeSnippet(raw_ostream &OS, ArrayRef<uint8_t> Bytes,
tools/llvm-exegesis/lib/Analysis.h 110 void writeSnippet(raw_ostream &OS, ArrayRef<uint8_t> Bytes,
tools/llvm-exegesis/lib/Assembler.cpp 274 uint8_t *allocateCodeSection(uintptr_t Size, unsigned Alignment,
tools/llvm-exegesis/lib/BenchmarkResult.cpp 299 NormalizedBinary(IO &, std::vector<uint8_t> &Data) : Binary(Data) {}
300 std::vector<uint8_t> denormalize(IO &) {
301 std::vector<uint8_t> Data;
324 MappingNormalization<NormalizedBinary, std::vector<uint8_t>> BinaryString(
tools/llvm-exegesis/lib/BenchmarkResult.h 75 std::vector<uint8_t> AssembledSnippet;
tools/llvm-exegesis/lib/CodeTemplate.h 49 enum class ExecutionMode : uint8_t {
tools/llvm-isel-fuzzer/DummyISelFuzzer.cpp 15 extern "C" int LLVMFuzzerTestOneInput(const uint8_t *Data, size_t Size);
tools/llvm-isel-fuzzer/llvm-isel-fuzzer.cpp 66 uint8_t *Data, size_t Size, size_t MaxSize, unsigned int Seed) {
80 extern "C" int LLVMFuzzerTestOneInput(const uint8_t *Data, size_t Size) {
tools/llvm-itanium-demangle-fuzzer/DummyDemanglerFuzzer.cpp 15 extern "C" int LLVMFuzzerTestOneInput(const uint8_t *Data, size_t Size);
tools/llvm-itanium-demangle-fuzzer/llvm-itanium-demangle-fuzzer.cpp 15 extern "C" int LLVMFuzzerTestOneInput(const uint8_t *Data, size_t Size) {
tools/llvm-jitlink/llvm-jitlink.cpp 203 const uint8_t *SymData =
tools/llvm-mc/Disassembler.cpp 39 ArrayRef<uint8_t> Data(Bytes.first.data(), Bytes.first.size());
tools/llvm-microsoft-demangle-fuzzer/DummyDemanglerFuzzer.cpp 15 extern "C" int LLVMFuzzerTestOneInput(const uint8_t *Data, size_t Size);
tools/llvm-microsoft-demangle-fuzzer/llvm-microsoft-demangle-fuzzer.cpp 15 extern "C" int LLVMFuzzerTestOneInput(const uint8_t *Data, size_t Size) {
tools/llvm-nm/llvm-nm.cpp 300 uint8_t NType;
301 uint8_t NSect;
362 uint8_t NType = 0;
363 uint8_t NSect = 0;
616 uint8_t NType;
653 static const char *getDarwinStabString(uint8_t NType) {
665 uint8_t NType;
666 uint8_t NSect;
901 uint8_t Binding = SymI->getBinding();
1003 uint8_t NType = Obj.is64Bit() ? Obj.getSymbol64TableEntry(Symb).n_type
tools/llvm-objcopy/Buffer.cpp 59 uint8_t *FileBuffer::getBufferStart() {
70 uint8_t *MemBuffer::getBufferStart() {
tools/llvm-objcopy/Buffer.h 31 virtual uint8_t *getBufferStart() = 0;
46 uint8_t *getBufferStart() override;
57 uint8_t *getBufferStart() override;
tools/llvm-objcopy/COFF/COFFObjcopy.cpp 43 static std::vector<uint8_t> createGnuDebugLinkSectionContents(StringRef File) {
53 std::vector<uint8_t> Data(CRCPos + 4);
60 static void addSection(Object &Obj, StringRef Name, ArrayRef<uint8_t> Contents,
85 std::vector<uint8_t> Contents =
tools/llvm-objcopy/COFF/Object.h 43 ArrayRef<uint8_t> getContents() const {
49 void setContentsRef(ArrayRef<uint8_t> Data) {
54 void setOwnedContents(std::vector<uint8_t> &&Data) {
65 ArrayRef<uint8_t> ContentsRef;
66 std::vector<uint8_t> OwnedContents;
70 AuxSymbol(ArrayRef<uint8_t> In) {
75 ArrayRef<uint8_t> getRef() const {
79 uint8_t Opaque[sizeof(object::coff_symbol16)];
99 ArrayRef<uint8_t> DosStub;
tools/llvm-objcopy/COFF/Reader.cpp 66 ArrayRef<uint8_t> Contents;
107 ArrayRef<uint8_t> AuxData = COFFObj.getSymbolAuxData(SymRef);
tools/llvm-objcopy/COFF/Writer.cpp 236 uint8_t *Ptr = Buf.getBufferStart();
298 uint8_t *Ptr = Buf.getBufferStart() + S.Header.PointerToRawData;
299 ArrayRef<uint8_t> Contents = S.getContents();
318 uint8_t *Ptr = Buf.getBufferStart() + Obj.CoffFileHeader.PointerToSymbolTable;
336 ArrayRef<uint8_t> Ref = AuxSym.getRef();
389 uint8_t *Ptr = Buf.getBufferStart() + S.Header.PointerToRawData + Offset;
390 uint8_t *End = Ptr + Dir->Size;
tools/llvm-objcopy/CopyConfig.h 42 MachineInfo(uint16_t EM, uint8_t ABI, bool Is64, bool IsLittle)
50 uint8_t OSABI;
tools/llvm-objcopy/ELF/ELFConfig.cpp 20 uint8_t DefaultVisibility) {
104 const uint8_t Invalid = 0xff;
tools/llvm-objcopy/ELF/ELFConfig.h 28 uint8_t Type = ELF::STT_NOTYPE;
29 uint8_t Bind = ELF::STB_GLOBAL;
30 uint8_t Visibility = ELF::STV_DEFAULT;
34 Optional<uint8_t> NewSymbolVisibility;
tools/llvm-objcopy/ELF/ELFObjcopy.cpp 168 static Expected<ArrayRef<uint8_t>>
191 static Expected<ArrayRef<uint8_t>>
217 ArrayRef<uint8_t> BuildIdBytes) {
700 ArrayRef<uint8_t> Data(
756 uint8_t NewSymbolVisibility =
778 ArrayRef<uint8_t> BuildIdBytes;
tools/llvm-objcopy/ELF/Object.cpp 40 uint8_t *B = Buf.getBufferStart() + Obj.ProgramHdrSegment.Offset +
70 uint8_t *B = Buf.getBufferStart() + Sec.HeaderOffset;
179 uint8_t IHexRecord::getChecksum(StringRef S) {
181 uint8_t Checksum = 0;
183 Checksum += checkedGetHex<uint8_t>(S.take_front(2));
198 for (uint8_t X : Data)
283 size_t DataLen = checkedGetHex<uint8_t>(Line.substr(1, 2));
290 Rec.Type = checkedGetHex<uint8_t>(Line.substr(7, 2));
309 ArrayRef<uint8_t> Data) {
338 uint8_t Data[] = {static_cast<uint8_t>((Addr & 0xF0000U) >> 12), 0};
346 uint8_t Data[] = {static_cast<uint8_t>(Base >> 24),
352 void IHexSectionWriterBase::writeData(uint8_t Type, uint16_t Addr,
353 ArrayRef<uint8_t> Data) {
378 void IHexSectionWriter::writeData(uint8_t Type, uint16_t Addr,
379 ArrayRef<uint8_t> Data) {
387 std::vector<uint8_t> Data(Sec.Size);
400 static constexpr std::array<uint8_t, 4> ZlibGnuMagic = {{'Z', 'L', 'I', 'B'}};
402 static bool isDataGnuCompressed(ArrayRef<uint8_t> Data) {
409 getDecompressedSizeAndAlignment(ArrayRef<uint8_t> Data) {
438 uint8_t *Buf = Out.getBufferStart() + Sec.Offset;
465 Data.push_back(checkedGetHex<uint8_t>(HexData.take_front(2)));
477 uint8_t *Buf = Out.getBufferStart() + Sec.Offset;
529 CompressedSection::CompressedSection(ArrayRef<uint8_t> CompressedData,
570 uint8_t *Buf = Out.getBufferStart() + Sec.Offset;
647 void SymbolTableSection::addSymbol(Twine Name, uint8_t Bind, uint8_t Type,
647 void SymbolTableSection::addSymbol(Twine Name, uint8_t Bind, uint8_t Type,
649 uint8_t Visibility, uint16_t Shndx,
878 uint8_t *Buf = Out.getBufferStart() + Sec.Offset;
1276 ArrayRef<uint8_t> Data{HeadersFile.base() + Phdr.p_offset,
1442 ArrayRef<uint8_t> Data;
1525 ArrayRef<uint8_t>(ElfFile.base() + Shdr.sh_offset,
1788 uint8_t *B = Buf.getBufferStart() + Seg.Offset;
2204 uint64_t IHexWriter::writeEntryPointRecord(uint8_t *Buf) {
2206 uint8_t Data[4] = {};
2225 uint64_t IHexWriter::writeEndOfFileRecord(uint8_t *Buf) {
tools/llvm-objcopy/ELF/Object.h 216 static IHexLineData getLine(uint8_t Type, uint16_t Addr,
217 ArrayRef<uint8_t> Data);
226 static uint8_t getChecksum(StringRef S);
281 void writeSection(const SectionBase *Sec, ArrayRef<uint8_t> Data);
282 virtual void writeData(uint8_t Type, uint16_t Addr, ArrayRef<uint8_t> Data);
282 virtual void writeData(uint8_t Type, uint16_t Addr, ArrayRef<uint8_t> Data);
300 void writeData(uint8_t Type, uint16_t Addr, ArrayRef<uint8_t> Data) override;
300 void writeData(uint8_t Type, uint16_t Addr, ArrayRef<uint8_t> Data) override;
372 uint64_t writeEntryPointRecord(uint8_t *Buf);
373 uint64_t writeEndOfFileRecord(uint8_t *Buf);
401 ArrayRef<uint8_t> OriginalData;
450 ArrayRef<uint8_t> Contents;
452 explicit Segment(ArrayRef<uint8_t> Data) : Contents(Data) {}
464 ArrayRef<uint8_t> getContents() const { return Contents; }
470 ArrayRef<uint8_t> Contents;
474 explicit Section(ArrayRef<uint8_t> Data) : Contents(Data) {}
487 std::vector<uint8_t> Data;
490 OwnedDataSection(StringRef SecName, ArrayRef<uint8_t> Data)
523 CompressedSection(ArrayRef<uint8_t> CompressedData, uint64_t DecompressedSize,
607 uint8_t Binding;
614 uint8_t Type;
616 uint8_t Visibility;
671 void addSymbol(Twine Name, uint8_t Bind, uint8_t Type, SectionBase *DefinedIn,
671 void addSymbol(Twine Name, uint8_t Bind, uint8_t Type, SectionBase *DefinedIn,
672 uint64_t Value, uint8_t Visibility, uint16_t Shndx,
784 ArrayRef<uint8_t> Contents;
786 explicit GroupSection(ArrayRef<uint8_t> Data) : Contents(Data) {}
808 explicit DynamicSymbolTableSection(ArrayRef<uint8_t> Data) : Section(Data) {}
817 explicit DynamicSection(ArrayRef<uint8_t> Data) : Section(Data) {}
829 ArrayRef<uint8_t> Contents;
832 explicit DynamicRelocationSection(ArrayRef<uint8_t> Data) : Contents(Data) {}
890 uint8_t NewSymbolVisibility;
894 BinaryELFBuilder(MemoryBuffer *MB, uint8_t NewSymbolVisibility)
944 uint8_t NewSymbolVisibility;
947 BinaryReader(MemoryBuffer *MB, const uint8_t NewSymbolVisibility)
1015 uint8_t OSABI;
1016 uint8_t ABIVersion;
1063 Segment &addSegment(ArrayRef<uint8_t> Data) {
tools/llvm-objcopy/MachO/MachOReader.cpp 91 if (Expected<ArrayRef<uint8_t>> E =
tools/llvm-objcopy/MachO/MachOWriter.cpp 149 uint8_t *Begin = B.getBufferStart() + headerSize();
205 void MachOWriter::writeSectionInLoadCommand(const Section &Sec, uint8_t *&Out) {
280 uint8_t *StrTable = (uint8_t *)B.getBufferStart() + SymTabCommand.stroff;
tools/llvm-objcopy/MachO/MachOWriter.h 38 void writeSectionInLoadCommand(const Section &Sec, uint8_t *&Out);
tools/llvm-objcopy/MachO/Object.h 77 ArrayRef<uint8_t> Payload;
91 uint8_t n_type;
92 uint8_t n_sect;
145 ArrayRef<uint8_t> Opcodes;
161 ArrayRef<uint8_t> Opcodes;
179 ArrayRef<uint8_t> Opcodes;
192 ArrayRef<uint8_t> Opcodes;
222 ArrayRef<uint8_t> Trie;
226 ArrayRef<uint8_t> Data;
tools/llvm-objdump/COFFDump.cpp 32 static StringRef getUnwindCodeTypeName(uint8_t Code) {
48 static StringRef getUnwindRegisterName(uint8_t Reg) {
194 ArrayRef<uint8_t> &Contents, uint64_t &Addr) {
462 ArrayRef<uint8_t> Contents;
579 ArrayRef<uint8_t> XContents;
tools/llvm-objdump/ELFDump.cpp 252 void printSymbolVersionDependency(ArrayRef<uint8_t> Contents,
256 const uint8_t *Buf = Contents.data();
262 const uint8_t *BufAux = Buf + Verneed->vn_aux;
278 ArrayRef<uint8_t> Contents,
282 const uint8_t *Buf = Contents.data();
294 const uint8_t *BufAux = Buf + Verdef->vd_aux;
317 ArrayRef<uint8_t> Contents =
tools/llvm-objdump/MachODump.cpp 301 static uint64_t DumpDataInCode(const uint8_t *bytes, uint64_t Length,
405 static bool DumpAndSkipDataInCode(uint64_t PC, const uint8_t *bytes,
1688 uint8_t byte_word = *(sect + i + j);
1710 uint8_t byte_word = *(sect + i + j + k);
7446 ArrayRef<uint8_t> Bytes = arrayRefFromStringRef(BytesStr);
tools/llvm-objdump/llvm-objdump.cpp 344 typedef std::vector<std::tuple<uint64_t, StringRef, uint8_t>> SectionSymbolsTy;
688 ArrayRef<uint8_t> Bytes,
720 void printLead(ArrayRef<uint8_t> Bytes, uint64_t Address,
732 void printInst(MCInstPrinter &IP, const MCInst *MI, ArrayRef<uint8_t> Bytes,
802 void printInst(MCInstPrinter &IP, const MCInst *MI, ArrayRef<uint8_t> Bytes,
854 void printInst(MCInstPrinter &IP, const MCInst *MI, ArrayRef<uint8_t> Bytes,
890 static uint8_t getElfSymbolType(const ObjectFile *Obj, const SymbolRef &Sym) {
907 uint8_t SymbolType = Symbol.getELFType();
964 uint8_t SymbolType = getElfSymbolType(Obj, Symbol);
977 static size_t countSkippableZeroBytes(ArrayRef<uint8_t> Buf) {
1048 const ObjectFile *Obj, ArrayRef<uint8_t> Bytes,
1080 ArrayRef<uint8_t> Bytes) {
1082 uint8_t AsciiData[9] = {'\0'};
1083 uint8_t Byte;
1093 uint8_t IndentOffset = 0;
1144 uint8_t SymbolType = ELF::STT_NOTYPE;
1264 ArrayRef<uint8_t> Bytes = arrayRefFromStringRef(
1363 uint8_t SymTy = std::get<2>(Symbols[SI]);
1886 uint8_t Other = ELFSymbolRef(Symbol).getOther();
tools/llvm-opt-fuzzer/DummyOptFuzzer.cpp 15 extern "C" int LLVMFuzzerTestOneInput(const uint8_t *Data, size_t Size);
tools/llvm-opt-fuzzer/llvm-opt-fuzzer.cpp 53 uint8_t *Data, size_t Size, size_t MaxSize, unsigned int Seed) {
104 extern "C" int LLVMFuzzerTestOneInput(const uint8_t *Data, size_t Size) {
tools/llvm-pdbutil/BytesOutputStyle.cpp 436 ArrayRef<uint8_t> Data;
tools/llvm-pdbutil/DumpOutputStyle.cpp 1222 ArrayRef<uint8_t> Contents;
tools/llvm-pdbutil/ExplainOutputStyle.cpp 187 static std::string toBinaryString(uint8_t Byte) {
218 ArrayRef<uint8_t> Bytes;
tools/llvm-pdbutil/LinePrinter.cpp 102 void LinePrinter::formatBinary(StringRef Label, ArrayRef<uint8_t> Data,
115 void LinePrinter::formatBinary(StringRef Label, ArrayRef<uint8_t> Data,
231 ArrayRef<uint8_t> Data;
256 ArrayRef<uint8_t> BlockData =
tools/llvm-pdbutil/LinePrinter.h 51 void formatBinary(StringRef Label, ArrayRef<uint8_t> Data,
53 void formatBinary(StringRef Label, ArrayRef<uint8_t> Data, uint64_t BaseAddr,
tools/llvm-pdbutil/TypeReferenceTracker.cpp 108 void TypeReferenceTracker::addReferencedTypes(ArrayRef<uint8_t> RecData,
112 ArrayRef<uint8_t> ByteSlice =
tools/llvm-pdbutil/TypeReferenceTracker.h 46 void addReferencedTypes(ArrayRef<uint8_t> RecData,
tools/llvm-rc/ResourceFileWriter.cpp 362 uint64_t ResourceFileWriter::writeObject(const ArrayRef<uint8_t> Data) {
419 writeInt<uint8_t>(0);
674 uint8_t EventCh = Str[0];
729 uint8_t Width;
730 uint8_t Height;
731 uint8_t ColorCount;
732 uint8_t Reserved;
793 ArrayRef<uint8_t> Image;
797 ArrayRef<uint8_t> ImageData, uint16_t Flags)
923 ArrayRef<uint8_t> Image;
1147 writeInt<uint8_t>(Font->IsItalic);
1148 writeInt<uint8_t>(Font->Charset);
1325 writeInt<uint8_t>(Ch);
tools/llvm-rc/ResourceFileWriter.h 177 uint64_t writeObject(const ArrayRef<uint8_t> Data);
tools/llvm-readobj/ARMEHABIPrinter.h 33 uint8_t Mask;
34 uint8_t Value;
39 void Decode_00xxxxxx(const uint8_t *Opcodes, unsigned &OI);
40 void Decode_01xxxxxx(const uint8_t *Opcodes, unsigned &OI);
41 void Decode_1000iiii_iiiiiiii(const uint8_t *Opcodes, unsigned &OI);
42 void Decode_10011101(const uint8_t *Opcodes, unsigned &OI);
43 void Decode_10011111(const uint8_t *Opcodes, unsigned &OI);
44 void Decode_1001nnnn(const uint8_t *Opcodes, unsigned &OI);
45 void Decode_10100nnn(const uint8_t *Opcodes, unsigned &OI);
46 void Decode_10101nnn(const uint8_t *Opcodes, unsigned &OI);
47 void Decode_10110000(const uint8_t *Opcodes, unsigned &OI);
48 void Decode_10110001_0000iiii(const uint8_t *Opcodes, unsigned &OI);
49 void Decode_10110010_uleb128(const uint8_t *Opcodes, unsigned &OI);
50 void Decode_10110011_sssscccc(const uint8_t *Opcodes, unsigned &OI);
51 void Decode_101101nn(const uint8_t *Opcodes, unsigned &OI);
52 void Decode_10111nnn(const uint8_t *Opcodes, unsigned &OI);
53 void Decode_11000110_sssscccc(const uint8_t *Opcodes, unsigned &OI);
54 void Decode_11000111_0000iiii(const uint8_t *Opcodes, unsigned &OI);
55 void Decode_11001000_sssscccc(const uint8_t *Opcodes, unsigned &OI);
56 void Decode_11001001_sssscccc(const uint8_t *Opcodes, unsigned &OI);
57 void Decode_11001yyy(const uint8_t *Opcodes, unsigned &OI);
58 void Decode_11000nnn(const uint8_t *Opcodes, unsigned &OI);
59 void Decode_11010nnn(const uint8_t *Opcodes, unsigned &OI);
60 void Decode_11xxxyyy(const uint8_t *Opcodes, unsigned &OI);
67 void Decode(const uint8_t *Opcodes, off_t Offset, size_t Length);
98 inline void OpcodeDecoder::Decode_00xxxxxx(const uint8_t *Opcodes,
100 uint8_t Opcode = Opcodes[OI++ ^ 3];
104 inline void OpcodeDecoder::Decode_01xxxxxx(const uint8_t *Opcodes,
106 uint8_t Opcode = Opcodes[OI++ ^ 3];
110 inline void OpcodeDecoder::Decode_1000iiii_iiiiiiii(const uint8_t *Opcodes,
112 uint8_t Opcode0 = Opcodes[OI++ ^ 3];
113 uint8_t Opcode1 = Opcodes[OI++ ^ 3];
123 inline void OpcodeDecoder::Decode_10011101(const uint8_t *Opcodes,
125 uint8_t Opcode = Opcodes[OI++ ^ 3];
128 inline void OpcodeDecoder::Decode_10011111(const uint8_t *Opcodes,
130 uint8_t Opcode = Opcodes[OI++ ^ 3];
133 inline void OpcodeDecoder::Decode_1001nnnn(const uint8_t *Opcodes,
135 uint8_t Opcode = Opcodes[OI++ ^ 3];
138 inline void OpcodeDecoder::Decode_10100nnn(const uint8_t *Opcodes,
140 uint8_t Opcode = Opcodes[OI++ ^ 3];
145 inline void OpcodeDecoder::Decode_10101nnn(const uint8_t *Opcodes,
147 uint8_t Opcode = Opcodes[OI++ ^ 3];
152 inline void OpcodeDecoder::Decode_10110000(const uint8_t *Opcodes,
154 uint8_t Opcode = Opcodes[OI++ ^ 3];
157 inline void OpcodeDecoder::Decode_10110001_0000iiii(const uint8_t *Opcodes,
159 uint8_t Opcode0 = Opcodes[OI++ ^ 3];
160 uint8_t Opcode1 = Opcodes[OI++ ^ 3];
169 inline void OpcodeDecoder::Decode_10110010_uleb128(const uint8_t *Opcodes,
171 uint8_t Opcode = Opcodes[OI++ ^ 3];
174 SmallVector<uint8_t, 4> ULEB;
186 inline void OpcodeDecoder::Decode_10110011_sssscccc(const uint8_t *Opcodes,
188 uint8_t Opcode0 = Opcodes[OI++ ^ 3];
189 uint8_t Opcode1 = Opcodes[OI++ ^ 3];
191 uint8_t Start = ((Opcode1 & 0xf0) >> 4);
192 uint8_t Count = ((Opcode1 & 0x0f) >> 0);
196 inline void OpcodeDecoder::Decode_101101nn(const uint8_t *Opcodes,
198 uint8_t Opcode = Opcodes[OI++ ^ 3];
201 inline void OpcodeDecoder::Decode_10111nnn(const uint8_t *Opcodes,
203 uint8_t Opcode = Opcodes[OI++ ^ 3];
208 inline void OpcodeDecoder::Decode_11000110_sssscccc(const uint8_t *Opcodes,
210 uint8_t Opcode0 = Opcodes[OI++ ^ 3];
211 uint8_t Opcode1 = Opcodes[OI++ ^ 3];
213 uint8_t Start = ((Opcode1 & 0xf0) >> 4);
214 uint8_t Count = ((Opcode1 & 0x0f) >> 0);
218 inline void OpcodeDecoder::Decode_11000111_0000iiii(const uint8_t *Opcodes,
220 uint8_t Opcode0 = Opcodes[OI++ ^ 3];
221 uint8_t Opcode1 = Opcodes[OI++ ^ 3];
229 inline void OpcodeDecoder::Decode_11001000_sssscccc(const uint8_t *Opcodes,
231 uint8_t Opcode0 = Opcodes[OI++ ^ 3];
232 uint8_t Opcode1 = Opcodes[OI++ ^ 3];
234 uint8_t Start = 16 + ((Opcode1 & 0xf0) >> 4);
235 uint8_t Count = ((Opcode1 & 0x0f) >> 0);
239 inline void OpcodeDecoder::Decode_11001001_sssscccc(const uint8_t *Opcodes,
241 uint8_t Opcode0 = Opcodes[OI++ ^ 3];
242 uint8_t Opcode1 = Opcodes[OI++ ^ 3];
244 uint8_t Start = ((Opcode1 & 0xf0) >> 4);
245 uint8_t Count = ((Opcode1 & 0x0f) >> 0);
249 inline void OpcodeDecoder::Decode_11001yyy(const uint8_t *Opcodes,
251 uint8_t Opcode = Opcodes[OI++ ^ 3];
254 inline void OpcodeDecoder::Decode_11000nnn(const uint8_t *Opcodes,
256 uint8_t Opcode = Opcodes[OI++ ^ 3];
261 inline void OpcodeDecoder::Decode_11010nnn(const uint8_t *Opcodes,
263 uint8_t Opcode = Opcodes[OI++ ^ 3];
268 inline void OpcodeDecoder::Decode_11xxxyyy(const uint8_t *Opcodes,
270 uint8_t Opcode = Opcodes[OI++ ^ 3];
307 inline void OpcodeDecoder::Decode(const uint8_t *Opcodes, off_t Offset,
352 void PrintOpcodes(const uint8_t *Entry, size_t Length, off_t Offset) const;
436 Expected<ArrayRef<uint8_t>> Contents = ELF->getSectionContents(EHT);
494 void PrinterContext<ET>::PrintOpcodes(const uint8_t *Entry,
503 Expected<ArrayRef<uint8_t>> Contents = ELF->getSectionContents(IT);
tools/llvm-readobj/ARMWinEHPrinter.cpp 252 bool Decoder::opcode_0xxxxxxx(const uint8_t *OC, unsigned &Offset,
254 uint8_t Imm = OC[Offset] & 0x7f;
263 bool Decoder::opcode_10Lxxxxx(const uint8_t *OC, unsigned &Offset,
282 bool Decoder::opcode_1100xxxx(const uint8_t *OC, unsigned &Offset,
294 bool Decoder::opcode_11010Lxx(const uint8_t *OC, unsigned &Offset,
311 bool Decoder::opcode_11011Lxx(const uint8_t *OC, unsigned &Offset,
328 bool Decoder::opcode_11100xxx(const uint8_t *OC, unsigned &Offset,
342 bool Decoder::opcode_111010xx(const uint8_t *OC, unsigned &Offset,
355 bool Decoder::opcode_1110110L(const uint8_t *OC, unsigned &Offset,
357 uint8_t GPRMask = ((OC[Offset + 0] & 0x01) << (Prologue ? 14 : 15))
369 bool Decoder::opcode_11101110(const uint8_t *OC, unsigned &Offset,
385 bool Decoder::opcode_11101111(const uint8_t *OC, unsigned &Offset,
401 bool Decoder::opcode_11110101(const uint8_t *OC, unsigned &Offset,
416 bool Decoder::opcode_11110110(const uint8_t *OC, unsigned &Offset,
431 bool Decoder::opcode_11110111(const uint8_t *OC, unsigned &Offset,
444 bool Decoder::opcode_11111000(const uint8_t *OC, unsigned &Offset,
459 bool Decoder::opcode_11111001(const uint8_t *OC, unsigned &Offset,
472 bool Decoder::opcode_11111010(const uint8_t *OC, unsigned &Offset,
487 bool Decoder::opcode_11111011(const uint8_t *OC, unsigned &Offset,
494 bool Decoder::opcode_11111100(const uint8_t *OC, unsigned &Offset,
501 bool Decoder::opcode_11111101(const uint8_t *OC, unsigned &Offset,
508 bool Decoder::opcode_11111110(const uint8_t *OC, unsigned &Offset,
515 bool Decoder::opcode_11111111(const uint8_t *OC, unsigned &Offset,
522 bool Decoder::opcode_alloc_s(const uint8_t *OC, unsigned &Offset,
532 bool Decoder::opcode_save_r19r20_x(const uint8_t *OC, unsigned &Offset,
545 bool Decoder::opcode_save_fplr(const uint8_t *OC, unsigned &Offset,
555 bool Decoder::opcode_save_fplr_x(const uint8_t *OC, unsigned &Offset,
568 bool Decoder::opcode_alloc_m(const uint8_t *OC, unsigned &Offset,
581 bool Decoder::opcode_save_regp(const uint8_t *OC, unsigned &Offset,
596 bool Decoder::opcode_save_regp_x(const uint8_t *OC, unsigned &Offset,
617 bool Decoder::opcode_save_reg(const uint8_t *OC, unsigned &Offset,
632 bool Decoder::opcode_save_reg_x(const uint8_t *OC, unsigned &Offset,
649 bool Decoder::opcode_save_lrpair(const uint8_t *OC, unsigned &Offset,
665 bool Decoder::opcode_save_fregp(const uint8_t *OC, unsigned &Offset,
680 bool Decoder::opcode_save_fregp_x(const uint8_t *OC, unsigned &Offset,
699 bool Decoder::opcode_save_freg(const uint8_t *OC, unsigned &Offset,
714 bool Decoder::opcode_save_freg_x(const uint8_t *OC, unsigned &Offset,
730 bool Decoder::opcode_alloc_l(const uint8_t *OC, unsigned &Offset,
743 bool Decoder::opcode_setfp(const uint8_t *OC, unsigned &Offset, unsigned Length,
750 bool Decoder::opcode_addfp(const uint8_t *OC, unsigned &Offset, unsigned Length,
759 bool Decoder::opcode_nop(const uint8_t *OC, unsigned &Offset, unsigned Length,
766 bool Decoder::opcode_end(const uint8_t *OC, unsigned &Offset, unsigned Length,
773 bool Decoder::opcode_end_c(const uint8_t *OC, unsigned &Offset, unsigned Length,
780 void Decoder::decodeOpcodes(ArrayRef<uint8_t> Opcodes, unsigned Offset,
813 ArrayRef<uint8_t> Contents;
851 ArrayRef<uint8_t> UC = XData.UnwindByteCode();
1064 ArrayRef<uint8_t> Contents) {
1082 ArrayRef<uint8_t> Contents;
tools/llvm-readobj/ARMWinEHPrinter.h 29 uint8_t Mask;
30 uint8_t Value;
31 uint8_t Length;
37 bool opcode_0xxxxxxx(const uint8_t *Opcodes, unsigned &Offset,
39 bool opcode_10Lxxxxx(const uint8_t *Opcodes, unsigned &Offset,
41 bool opcode_1100xxxx(const uint8_t *Opcodes, unsigned &Offset,
43 bool opcode_11010Lxx(const uint8_t *Opcodes, unsigned &Offset,
45 bool opcode_11011Lxx(const uint8_t *Opcodes, unsigned &Offset,
47 bool opcode_11100xxx(const uint8_t *Opcodes, unsigned &Offset,
49 bool opcode_111010xx(const uint8_t *Opcodes, unsigned &Offset,
51 bool opcode_1110110L(const uint8_t *Opcodes, unsigned &Offset,
53 bool opcode_11101110(const uint8_t *Opcodes, unsigned &Offset,
55 bool opcode_11101111(const uint8_t *Opcodes, unsigned &Offset,
57 bool opcode_11110101(const uint8_t *Opcodes, unsigned &Offset,
59 bool opcode_11110110(const uint8_t *Opcodes, unsigned &Offset,
61 bool opcode_11110111(const uint8_t *Opcodes, unsigned &Offset,
63 bool opcode_11111000(const uint8_t *Opcodes, unsigned &Offset,
65 bool opcode_11111001(const uint8_t *Opcodes, unsigned &Offset,
67 bool opcode_11111010(const uint8_t *Opcodes, unsigned &Offset,
69 bool opcode_11111011(const uint8_t *Opcodes, unsigned &Offset,
71 bool opcode_11111100(const uint8_t *Opcodes, unsigned &Offset,
73 bool opcode_11111101(const uint8_t *Opcodes, unsigned &Offset,
75 bool opcode_11111110(const uint8_t *Opcodes, unsigned &Offset,
77 bool opcode_11111111(const uint8_t *Opcodes, unsigned &Offset,
81 bool opcode_alloc_s(const uint8_t *Opcodes, unsigned &Offset, unsigned Length,
83 bool opcode_save_r19r20_x(const uint8_t *Opcodes, unsigned &Offset,
85 bool opcode_save_fplr(const uint8_t *Opcodes, unsigned &Offset,
87 bool opcode_save_fplr_x(const uint8_t *Opcodes, unsigned &Offset,
89 bool opcode_alloc_m(const uint8_t *Opcodes, unsigned &Offset, unsigned Length,
91 bool opcode_save_regp(const uint8_t *Opcodes, unsigned &Offset,
93 bool opcode_save_regp_x(const uint8_t *Opcodes, unsigned &Offset,
95 bool opcode_save_reg(const uint8_t *Opcodes, unsigned &Offset,
97 bool opcode_save_reg_x(const uint8_t *Opcodes, unsigned &Offset,
99 bool opcode_save_lrpair(const uint8_t *Opcodes, unsigned &Offset,
101 bool opcode_save_fregp(const uint8_t *Opcodes, unsigned &Offset,
103 bool opcode_save_fregp_x(const uint8_t *Opcodes, unsigned &Offset,
105 bool opcode_save_freg(const uint8_t *Opcodes, unsigned &Offset,
107 bool opcode_save_freg_x(const uint8_t *Opcodes, unsigned &Offset,
109 bool opcode_alloc_l(const uint8_t *Opcodes, unsigned &Offset, unsigned Length,
111 bool opcode_setfp(const uint8_t *Opcodes, unsigned &Offset, unsigned Length,
113 bool opcode_addfp(const uint8_t *Opcodes, unsigned &Offset, unsigned Length,
115 bool opcode_nop(const uint8_t *Opcodes, unsigned &Offset, unsigned Length,
117 bool opcode_end(const uint8_t *Opcodes, unsigned &Offset, unsigned Length,
119 bool opcode_end_c(const uint8_t *Opcodes, unsigned &Offset, unsigned Length,
121 bool opcode_save_next(const uint8_t *Opcodes, unsigned &Offset,
124 void decodeOpcodes(ArrayRef<uint8_t> Opcodes, unsigned Offset,
151 ArrayRef<uint8_t> Contents);
tools/llvm-readobj/COFFDumper.cpp 121 typedef void (*PrintExtraCB)(raw_ostream &, const uint8_t *);
203 ArrayRef<uint8_t> Data;
217 ArrayRef<uint8_t> Block) override {
567 static const EnumEntry<uint8_t> FileChecksumKindNames[] = {
577 uint8_t AuxSymbolIdx, const T *&Aux) {
578 ArrayRef<uint8_t> AuxData = Obj->getSymbolAuxData(Symbol);
741 ArrayRef<uint8_t> RawData;
785 uint8_t Flags = *reinterpret_cast<const uint8_t *>(Entry + 4);
1163 ArrayRef<uint8_t> BinaryData(Subsection.bytes_begin(),
1478 for (uint8_t I = 0; I < Symbol.getNumberOfAuxSymbols(); ++I) {
1731 static std::string getBaseRelocTypeName(uint8_t Type) {
1747 uint8_t Type;
1904 ArrayRef<uint8_t> StackMapContentsArray =
1935 ArrayRef<uint8_t> AddrsigContentsArray(AddrsigContents.bytes_begin(),
1939 const uint8_t *Cur = AddrsigContents.bytes_begin();
1940 const uint8_t *End = AddrsigContents.bytes_end();
1962 ArrayRef<ArrayRef<uint8_t>> IpiRecords,
1963 ArrayRef<ArrayRef<uint8_t>> TpiRecords) {
tools/llvm-readobj/ELFDumper.cpp 649 const uint8_t *VerneedStart = reinterpret_cast<const uint8_t *>(
651 const uint8_t *VerneedEnd = VerneedStart + VerneedSize;
653 const uint8_t *VerneedBuf = VerneedStart;
664 const uint8_t *VernauxBuf = VerneedBuf + Verneed->vn_aux;
688 const uint8_t *VerdefStart = reinterpret_cast<const uint8_t *>(
690 const uint8_t *VerdefEnd = VerdefStart + VerdefSize;
692 const uint8_t *VerdefBuf = VerdefStart;
1735 if (const uint8_t *VA = toMappedAddr(Dyn.getTag(), Dyn.getPtr())) {
2264 ArrayRef<uint8_t> Contents =
2352 ArrayRef<uint8_t> Content =
2410 ArrayRef<uint8_t> Content =
2434 ArrayRef<uint8_t> PltContent =
2610 static int getMipsRegisterSize(uint8_t Flag) {
2643 ArrayRef<uint8_t> Sec =
2666 ArrayRef<uint8_t> Sec =
2702 ArrayRef<uint8_t> StackMapContentsArray = unwrapOrError(
3792 const uint8_t *VersymBuf =
3871 const uint8_t *VerdefBuf =
3873 const uint8_t *Begin = VerdefBuf;
3882 const uint8_t *VerdauxBuf = VerdefBuf + Verdef->vd_aux;
3910 ArrayRef<uint8_t> SecData =
3919 const uint8_t *VerneedBuf = SecData.data();
3930 const uint8_t *VernauxBuf = VerneedBuf + Verneed->vn_aux;
4250 ArrayRef<uint8_t> Data) {
4410 template <typename ELFT> static GNUAbiTag getGNUAbiTag(ArrayRef<uint8_t> Desc) {
4432 static std::string getGNUBuildId(ArrayRef<uint8_t> Desc) {
4440 static StringRef getGNUGoldVersion(ArrayRef<uint8_t> Desc) {
4446 ArrayRef<uint8_t> Desc) {
4480 static AMDNote getAMDNote(uint32_t NoteType, ArrayRef<uint8_t> Desc) {
4501 static AMDGPUNote getAMDGPUNote(uint32_t NoteType, ArrayRef<uint8_t> Desc) {
4608 ArrayRef<uint8_t> Descriptor = Note.getDesc();
4657 for (uint8_t B : Descriptor)
4838 ArrayRef<uint8_t> Contents =
5114 ArrayRef<uint8_t> Sec =
5420 ArrayRef<uint8_t> Data =
5622 const uint8_t *VersymBuf =
5646 const uint8_t *SecStartAddress =
5648 const uint8_t *SecEndAddress = SecStartAddress + Sec->sh_size;
5649 const uint8_t *VerdefBuf = SecStartAddress;
5675 const uint8_t *VerdauxBuf =
5694 const uint8_t *SecData =
5699 const uint8_t *VerneedBuf = SecData;
5711 const uint8_t *VernauxBuf = VerneedBuf + Verneed->vn_aux;
5758 static Expected<std::vector<uint64_t>> toULEB128Array(ArrayRef<uint8_t> Data) {
5760 const uint8_t *Cur = Data.begin();
5761 const uint8_t *End = Data.end();
5778 ArrayRef<uint8_t> Contents = unwrapOrError(
5799 static void printGNUNoteLLVMStyle(uint32_t NoteType, ArrayRef<uint8_t> Desc,
5853 ArrayRef<uint8_t> Descriptor = Note.getDesc();
5943 ArrayRef<uint8_t> Contents =
5945 for (const uint8_t *P = Contents.begin(), *E = Contents.end(); P < E; ) {
6093 ArrayRef<uint8_t> Sec =
tools/llvm-readobj/MachODumper.cpp 312 uint8_t Type;
313 uint8_t SectionIndex;
684 ArrayRef<uint8_t> StackMapContentsArray =
tools/llvm-readobj/ObjDumper.cpp 35 static void printAsPrintable(raw_ostream &W, const uint8_t *Start, size_t Len) {
99 const uint8_t *SecContent = SectionContent.bytes_begin();
100 const uint8_t *CurrentWord = SecContent;
101 const uint8_t *SecEnd = SectionContent.bytes_end();
133 const uint8_t *SecContent = SectionContent.bytes_begin();
134 const uint8_t *SecEnd = SecContent + SectionContent.size();
136 for (const uint8_t *SecPtr = SecContent; SecPtr < SecEnd; SecPtr += 16) {
137 const uint8_t *TmpSecPtr = SecPtr;
138 uint8_t i;
139 uint8_t k;
146 uint8_t Val = *(reinterpret_cast<const uint8_t *>(TmpSecPtr));
tools/llvm-readobj/ObjDumper.h 139 ArrayRef<ArrayRef<uint8_t>> IpiRecords,
140 ArrayRef<ArrayRef<uint8_t>> TpiRecords);
tools/llvm-readobj/Win64EHDumper.cpp 56 static StringRef getUnwindCodeTypeName(uint8_t Code) {
72 static StringRef getUnwindRegisterName(uint8_t Reg) {
291 ArrayRef<uint8_t> Contents;
318 ArrayRef<uint8_t> Contents;
tools/llvm-readobj/XCOFFDumper.cpp 326 uint8_t NumberOfAuxEntries = XCOFFSymRef.getNumberOfAuxEntries();
tools/llvm-rtdyld/llvm-rtdyld.cpp 201 uint8_t *allocateCodeSection(uintptr_t Size, unsigned Alignment,
204 uint8_t *allocateDataSection(uintptr_t Size, unsigned Alignment,
241 void registerEHFrames(uint8_t *Addr, uint64_t LoadAddr,
260 uint8_t *allocateFromSlab(uintptr_t Size, unsigned Alignment, bool isCode,
285 uint8_t *TrivialMemoryManager::allocateCodeSection(uintptr_t Size,
312 uint8_t *TrivialMemoryManager::allocateDataSection(uintptr_t Size,
tools/llvm-special-case-list-fuzzer/DummySpecialCaseListFuzzer.cpp 15 extern "C" int LLVMFuzzerTestOneInput(const uint8_t *Data, size_t Size);
tools/llvm-special-case-list-fuzzer/special-case-list-fuzzer.cpp 14 extern "C" int LLVMFuzzerTestOneInput(const uint8_t *Data, size_t Size) {
tools/llvm-xray/xray-account.h 33 typedef std::map<uint8_t, std::pair<uint64_t, uint64_t>> PerCPUMinMaxTSCMap;
tools/llvm-xray/xray-color-helper.cpp 23 static const std::tuple<uint8_t, uint8_t, uint8_t> SequentialMaps[][9] = {
23 static const std::tuple<uint8_t, uint8_t, uint8_t> SequentialMaps[][9] = {
23 static const std::tuple<uint8_t, uint8_t, uint8_t> SequentialMaps[][9] = {
44 static const std::tuple<uint8_t, uint8_t, uint8_t> SequentialBounds[][2] = {
44 static const std::tuple<uint8_t, uint8_t, uint8_t> SequentialBounds[][2] = {
44 static const std::tuple<uint8_t, uint8_t, uint8_t> SequentialBounds[][2] = {
60 static const std::tuple<uint8_t, uint8_t, uint8_t> DivergingCoeffs[][11] = {
60 static const std::tuple<uint8_t, uint8_t, uint8_t> DivergingCoeffs[][11] = {
60 static const std::tuple<uint8_t, uint8_t, uint8_t> DivergingCoeffs[][11] = {
71 static const std::tuple<uint8_t, uint8_t, uint8_t> DivergingBounds[][2] = {
71 static const std::tuple<uint8_t, uint8_t, uint8_t> DivergingBounds[][2] = {
71 static const std::tuple<uint8_t, uint8_t, uint8_t> DivergingBounds[][2] = {
83 convertToHSV(const std::tuple<uint8_t, uint8_t, uint8_t> &Color) {
83 convertToHSV(const std::tuple<uint8_t, uint8_t, uint8_t> &Color) {
83 convertToHSV(const std::tuple<uint8_t, uint8_t, uint8_t> &Color) {
112 static uint8_t unitIntervalTo8BitChar(double B) {
119 static std::tuple<uint8_t, uint8_t, uint8_t>
119 static std::tuple<uint8_t, uint8_t, uint8_t>
119 static std::tuple<uint8_t, uint8_t, uint8_t>
180 std::tuple<uint8_t, uint8_t, uint8_t>
180 std::tuple<uint8_t, uint8_t, uint8_t>
180 std::tuple<uint8_t, uint8_t, uint8_t>
210 ColorHelper::getColorString(std::tuple<uint8_t, uint8_t, uint8_t> t) {
210 ColorHelper::getColorString(std::tuple<uint8_t, uint8_t, uint8_t> t) {
210 ColorHelper::getColorString(std::tuple<uint8_t, uint8_t, uint8_t> t) {
tools/llvm-xray/xray-color-helper.h 47 ArrayRef<std::tuple<uint8_t, uint8_t, uint8_t>> ColorMap;
47 ArrayRef<std::tuple<uint8_t, uint8_t, uint8_t>> ColorMap;
47 ArrayRef<std::tuple<uint8_t, uint8_t, uint8_t>> ColorMap;
48 ArrayRef<std::tuple<uint8_t, uint8_t, uint8_t>> BoundMap;
48 ArrayRef<std::tuple<uint8_t, uint8_t, uint8_t>> BoundMap;
48 ArrayRef<std::tuple<uint8_t, uint8_t, uint8_t>> BoundMap;
72 std::tuple<uint8_t, uint8_t, uint8_t> getColorTuple(double Point) const;
72 std::tuple<uint8_t, uint8_t, uint8_t> getColorTuple(double Point) const;
72 std::tuple<uint8_t, uint8_t, uint8_t> getColorTuple(double Point) const;
77 std::tuple<uint8_t, uint8_t, uint8_t> getDefaultColorTuple() const {
77 std::tuple<uint8_t, uint8_t, uint8_t> getDefaultColorTuple() const {
77 std::tuple<uint8_t, uint8_t, uint8_t> getDefaultColorTuple() const {
84 static std::string getColorString(std::tuple<uint8_t, uint8_t, uint8_t> t);
84 static std::string getColorString(std::tuple<uint8_t, uint8_t, uint8_t> t);
84 static std::string getColorString(std::tuple<uint8_t, uint8_t, uint8_t> t);
tools/llvm-yaml-numeric-parser-fuzzer/DummyYAMLNumericParserFuzzer.cpp 15 extern "C" int LLVMFuzzerTestOneInput(const uint8_t *Data, size_t Size);
tools/llvm-yaml-numeric-parser-fuzzer/yaml-numeric-parser-fuzzer.cpp 40 extern "C" int LLVMFuzzerTestOneInput(const uint8_t *Data, size_t Size) {
tools/obj2yaml/coff2yaml.cpp 116 ArrayRef<uint8_t> sectionData;
180 ArrayRef<uint8_t> sectionData;
293 ArrayRef<uint8_t> AuxData = Obj.getSymbolAuxData(Symbol);
tools/obj2yaml/dwarf2yaml.cpp 268 for (uint8_t i = 1; i < DebugLines.OpcodeBase; ++i)
337 for (uint8_t i = 0;
tools/obj2yaml/elf2yaml.cpp 315 const uint8_t *Begin = reinterpret_cast<const uint8_t *>(&Sec);
316 const uint8_t *End = Begin + sizeof(Elf_Shdr);
521 ArrayRef<uint8_t> Content = *ContentOrErr;
554 ArrayRef<uint8_t> Content = *ContentOrErr;
650 ArrayRef<uint8_t> Content = *ContentOrErr;
700 ArrayRef<uint8_t> Content = *ContentOrErr;
735 ArrayRef<uint8_t> Content = *ContentOrErr;
789 llvm::ArrayRef<uint8_t> Data = *Contents;
790 const uint8_t *Buf = Data.data();
799 const uint8_t *BufAux = Buf + Verdef->vd_aux;
857 llvm::ArrayRef<uint8_t> Data = *Contents;
858 const uint8_t *Buf = Data.data();
867 const uint8_t *BufAux = Buf + Verneed->vn_aux;
tools/obj2yaml/macho2yaml.cpp 34 ArrayRef<uint8_t> OpcodeBuffer, bool Lazy = false);
295 StringRef ReadStringRef(const uint8_t *Start) {
296 const uint8_t *Itr = Start;
304 ArrayRef<uint8_t> OpcodeBuffer, bool Lazy) {
417 const uint8_t *processExportNode(const uint8_t *CurrPtr,
417 const uint8_t *processExportNode(const uint8_t *CurrPtr,
418 const uint8_t *const End,
443 uint8_t childrenCount = *CurrPtr++;
tools/sancov/sancov.cpp 753 ArrayRef<uint8_t> Bytes = arrayRefFromStringRef(*BytesStr);
unittests/ADT/StringExtrasTest.cpp 66 std::vector<uint8_t> OddBytes = {0x5, 0xBD, 0x0D, 0x3E, 0xCD};
74 std::vector<uint8_t> EvenBytes = {0xA5, 0xBD, 0x0D, 0x3E, 0xCD};
unittests/ADT/StringRefTest.cpp 599 uint8_t U8;
768 uint8_t U8;
unittests/BinaryFormat/DwarfTest.cpp 143 Optional<uint8_t> RefSize;
144 Optional<uint8_t> AddrSize;
unittests/Bitstream/BitstreamReaderTest.cpp 19 uint8_t Bytes[4] = {
40 uint8_t Bytes[4] = {
56 uint8_t Bytes[] = {0x00, 0x01, 0x02, 0x03};
68 uint8_t Bytes[] = {0x00, 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07};
77 uint8_t Bytes[] = {0x00, 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07};
86 SmallVector<uint8_t, 1> BlobData;
155 uint8_t Bytes[] = {8, 7, 6, 5, 4, 3, 2, 1};
unittests/DebugInfo/CodeView/RandomAccessVisitorTest.cpp 58 static ArrayRef<uint8_t> bytes(const CVType &Item) { return Item.data(); }
183 uint8_t *Buffer = GlobalState->Allocator.Allocate<uint8_t>(Size);
183 uint8_t *Buffer = GlobalState->Allocator.Allocate<uint8_t>(Size);
184 MutableArrayRef<uint8_t> Bytes(Buffer, Size);
387 ArrayRef<uint8_t> Buffer(reinterpret_cast<const uint8_t *>(TIO.data()),
unittests/DebugInfo/CodeView/TypeHashingTest.cpp 46 static ArrayRef<uint8_t> hash_of(ArrayRef<GloballyHashedType> Hashes,
unittests/DebugInfo/CodeView/TypeIndexDiscoveryTest.cpp 45 std::vector<ArrayRef<uint8_t>> CVRecords;
90 bool checkOneTypeReference(uint32_t RecordIndex, ArrayRef<uint8_t> RecordData,
96 ArrayRef<uint8_t> Loc = RecordData.drop_front(Offset);
108 ArrayRef<ArrayRef<uint8_t>> CVRecords) const {
114 ArrayRef<ArrayRef<uint8_t>> CVRecords,
116 ArrayRef<uint8_t> Record = CVRecords[RecordIndex];
126 ArrayRef<uint8_t> Data = TTB->records()[I];
unittests/DebugInfo/DWARF/DWARFDebugInfoTest.cpp 50 const uint8_t BlockData[] = {1, 2, 3, 4, 5, 6, 7, 8, 9, 0};
53 const uint8_t Data1 = 0x01U;
58 const uint8_t Data16[16] = {1, 2, 3, 4, 5, 6, 7, 8,
247 ArrayRef<uint8_t> ExtractedBlockData;
248 Optional<ArrayRef<uint8_t>> BlockDataOpt;
1655 uint8_t Data[] = { 2, 3, 4 };
1656 ArrayRef<uint8_t> Array(Data);
unittests/DebugInfo/DWARF/DWARFDebugLineTest.cpp 195 std::vector<uint8_t> ExpectedLengths = {0, 1, 1, 1, 1, 0, 0, 0, 1, 0, 0, 1};
unittests/DebugInfo/DWARF/DWARFFormValueTest.cpp 76 auto Sign1 = createDataXFormValue<uint8_t>(DW_FORM_data1, -123);
93 auto Data1 = createDataXFormValue<uint8_t>(DW_FORM_data1, 120);
unittests/DebugInfo/DWARF/DwarfGenerator.cpp 205 void dwarfgen::LineTable::addByte(uint8_t Value) {
209 void dwarfgen::LineTable::addStandardOpcode(uint8_t Opcode,
215 void dwarfgen::LineTable::addExtendedOpcode(uint64_t Length, uint8_t Opcode,
unittests/DebugInfo/DWARF/DwarfGenerator.h 154 CompileUnit(Generator &D, uint16_t V, uint8_t A)
178 LineTable(uint16_t Version, dwarf::DwarfFormat Format, uint8_t AddrSize,
179 uint8_t SegSize = 0)
197 void addByte(uint8_t Value);
200 void addStandardOpcode(uint8_t Opcode, ArrayRef<ValueAndLength> Operands);
203 void addExtendedOpcode(uint64_t Length, uint8_t Opcode,
228 uint8_t AddrSize;
229 uint8_t SegSize;
unittests/DebugInfo/DWARF/DwarfUtils.cpp 35 Triple llvm::dwarf::utils::getDefaultTargetTripleForAddrSize(uint8_t AddrSize) {
unittests/DebugInfo/DWARF/DwarfUtils.h 21 Triple getDefaultTargetTripleForAddrSize(uint8_t AddrSize);
unittests/DebugInfo/GSYM/GSYMTest.cpp 164 uint8_t AddressSize = 4;
250 uint8_t AddressSize = 4;
326 uint8_t AddressSize = 4;
339 uint8_t AddressSize = 4;
691 const uint8_t U8 = 0x10;
712 uint8_t AddressSize = 4;
748 uint8_t AddressSize = 4;
768 uint8_t AddressSize = 4;
807 uint8_t AddressSize = 4;
876 uint8_t AddressSize = 4;
964 uint8_t AddressSize = 4;
1031 uint8_t AddressSize = 4;
1064 const uint8_t ValidUUID[] = {1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13,
1066 const uint8_t InvalidUUID[] = {1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13,
1127 uint8_t AddrOffSize, uint64_t BaseAddress,
1128 uint32_t NumAddresses, ArrayRef<uint8_t> UUID) {
1147 uint8_t UUID[] = {1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16};
1151 constexpr uint8_t AddrOffSize = 1;
1173 uint8_t UUID[] = {1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16};
1177 constexpr uint8_t AddrOffSize = 2;
1199 uint8_t UUID[] = {1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16};
1203 constexpr uint8_t AddrOffSize = 4;
1225 uint8_t UUID[] = {1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16};
1229 constexpr uint8_t AddrOffSize = 8;
1265 uint8_t UUID[] = {1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16};
unittests/DebugInfo/MSF/MappedBlockStreamTest.cpp 27 static uint8_t DataAry[] = {'A', 'B', 'C', 'F', 'E', 'D', 'G', 'H', 'I', 'J'};
31 DiscontiguousStream(ArrayRef<uint32_t> Blocks, MutableArrayRef<uint8_t> Data)
40 ArrayRef<uint8_t> &Buffer) override {
48 ArrayRef<uint8_t> &Buffer) override {
57 Error writeBytes(uint32_t Offset, ArrayRef<uint8_t> SrcData) override {
73 MutableArrayRef<uint8_t> Data;
94 ArrayRef<uint8_t> Buffer;
243 static uint8_t Data[] = {'A', 'B', 'C', 'D', 'E', 'F', 'G', 'H', 'I', 'J'};
244 static uint8_t LargeBuffer[] = {'0', '1', '2', '3', '4', '5',
246 static uint8_t SmallBuffer[] = {'0', '1', '2'};
262 static uint8_t Data[] = {'A', 'B', 'C', 'D', 'E', 'F', 'G', 'H', 'I', 'J'};
266 ArrayRef<uint8_t> Buffer;
291 static uint8_t Data[] = {'0', '0', '0', '0', '0', '0', '0', '0', '0', '0'};
292 static uint8_t TestData[] = {'T', 'E', 'S', 'T', 'I', 'N', 'G', '.'};
293 static uint8_t Expected[] = {'T', 'E', 'S', 'N', 'I',
299 ArrayRef<uint8_t> Buffer;
311 std::vector<uint8_t> DataBytes(10);
312 MutableArrayRef<uint8_t> Data(DataBytes);
327 uint8_t byteArray0[] = {'1', '2'};
328 uint8_t byteArray1[] = {'0', '0'};
329 ArrayRef<uint8_t> byteArrayRef0(byteArray0);
330 ArrayRef<uint8_t> byteArrayRef1(byteArray1);
331 ArrayRef<uint8_t> byteArray[] = {byteArrayRef0, byteArrayRef1};
403 std::vector<uint8_t> DestDataBytes(10);
404 MutableArrayRef<uint8_t> DestData(DestDataBytes);
407 std::vector<uint8_t> SrcDataBytes(10);
408 MutableArrayRef<uint8_t> SrcData(SrcDataBytes);
435 std::vector<uint8_t> DestDataBytes(10);
436 MutableArrayRef<uint8_t> DestData(DestDataBytes);
439 std::vector<uint8_t> SrcDataBytes(10);
440 MutableArrayRef<uint8_t> SrcData(SrcDataBytes);
471 std::vector<uint8_t> DataBytes(10);
472 MutableArrayRef<uint8_t> Data(DataBytes);
496 ArrayRef<uint8_t> BufferRef = makeArrayRef(arg);
513 std::vector<uint8_t> MsfBuffer(NumFileBlocks * SB.BlockSize);
unittests/DebugInfo/PDB/HashTableTest.cpp 148 std::vector<uint8_t> Buffer(Table.calculateSerializedLength());
252 std::vector<uint8_t> Buffer(Table.calculateSerializedLength());
unittests/DebugInfo/PDB/PDBApiTest.cpp 228 void getDataBytes(llvm::SmallVector<uint8_t, 32> &bytes) const override {}
unittests/DebugInfo/PDB/StringTableBuilderTest.cpp 49 std::vector<uint8_t> Buffer(Builder.calculateSerializedSize());
unittests/ExecutionEngine/JITLink/JITLinkTestCommon.cpp 203 ArrayRef<uint8_t> InstBuffer(
unittests/ExecutionEngine/MCJIT/MCJITCAPITest.cpp 32 static uint8_t *roundTripAllocateCodeSection(void *object, uintptr_t size,
41 static uint8_t *roundTripAllocateDataSection(void *object, uintptr_t size,
105 uint8_t *allocateDataSection(uintptr_t Size, unsigned Alignment,
113 uint8_t *allocateCodeSection(uintptr_t Size, unsigned Alignment,
unittests/ExecutionEngine/MCJIT/MCJITMemoryManagerTest.cpp 19 uint8_t *code1 = MemMgr->allocateCodeSection(256, 0, 1, "");
20 uint8_t *data1 = MemMgr->allocateDataSection(256, 0, 2, "", true);
21 uint8_t *code2 = MemMgr->allocateCodeSection(256, 0, 3, "");
22 uint8_t *data2 = MemMgr->allocateDataSection(256, 0, 4, "", false);
52 uint8_t *code1 = MemMgr->allocateCodeSection(0x100000, 0, 1, "");
53 uint8_t *data1 = MemMgr->allocateDataSection(0x100000, 0, 2, "", true);
54 uint8_t *code2 = MemMgr->allocateCodeSection(0x100000, 0, 3, "");
55 uint8_t *data2 = MemMgr->allocateDataSection(0x100000, 0, 4, "", false);
85 uint8_t* code[10000];
86 uint8_t* data[10000];
106 uint8_t ExpectedCode = 1 + (i % 254);
107 uint8_t ExpectedData = 2 + (i % 254);
120 uint8_t* code[10000];
121 uint8_t* data[10000];
157 uint8_t ExpectedCode = 1 + (i % 254);
162 uint8_t ExpectedData = 2 + (i % 254);
unittests/ExecutionEngine/Orc/LegacyRTDyldObjectLinkingLayerTest.cpp 51 uint8_t *allocateDataSection(uintptr_t Size, unsigned Alignment,
unittests/ExecutionEngine/Orc/ObjectTransformLayerTest.cpp 272 uint8_t *allocateCodeSection(uintptr_t, unsigned, unsigned,
276 uint8_t *allocateDataSection(uintptr_t, unsigned, unsigned, llvm::StringRef,
280 void registerEHFrames(uint8_t *, uint64_t, size_t) override {}
unittests/ExecutionEngine/Orc/RPCUtilsTest.cpp 135 : public Function<AllTheTypes, void(int8_t, uint8_t, int16_t, uint16_t,
unittests/ExecutionEngine/Orc/RTDyldObjectLinkingLayerTest.cpp 37 uint8_t *allocateDataSection(uintptr_t Size, unsigned Alignment,
unittests/IR/MetadataTest.cpp 2338 uint8_t DIExprFlags = DIExpression::ApplyOffset;
unittests/IR/WaymarkTest.cpp 23 static uint8_t tail[22] = "s02s33s30y2y0s1x0syxS";
unittests/MC/Disassembler.cpp 28 uint8_t Bytes[] = {0x90, 0x90, 0xeb, 0xfd};
29 uint8_t *BytesP = Bytes;
70 uint8_t Bytes[] = {0x6a, 0x42, 0x7F, 0x35, 0x01, 0x10};
71 uint8_t *BytesP = Bytes;
unittests/MC/DwarfLineTables.cpp 57 ArrayRef<uint8_t> ExpectedEncoding) {
72 const uint8_t Encoding0[] = {13}; // Special opcode Addr += 0, Line += -5
76 const uint8_t Encoding1[] = {26}; // Special opcode Addr += 0, Line += +8
80 const uint8_t Encoding2[] = {146}; // Special opcode Addr += 9, Line += 2
84 const uint8_t Encoding3[] = {251}; // Special opcode Addr += 17, Line += -5
88 const uint8_t Encoding4[] = {255}; // Special opcode Addr += 17, Line += -1
92 const uint8_t Encoding5[] = {dwarf::DW_LNS_advance_line, 9,
98 const uint8_t Encoding6[] = {dwarf::DW_LNS_const_add_pc, // pc += 17
104 const uint8_t Encoding7[] = {dwarf::DW_LNS_advance_pc, 100,
109 const uint8_t Encoding8[] = {dwarf::DW_LNS_advance_line, 20,
126 const uint8_t Encoding0[] = {13}; // Special opcode Addr += 0, Line += -5
130 const uint8_t Encoding1[] = {24}; // Special opcode Addr += 0, Line += +8
134 const uint8_t Encoding2[] = {126}; // Special opcode Addr += 9, Line += 2
138 const uint8_t Encoding3[] = {253}; // Special opcode Addr += 20, Line += -3
142 const uint8_t Encoding4[] = {255}; // Special opcode Addr += 17, Line += -1
146 const uint8_t Encoding5[] = {dwarf::DW_LNS_advance_line, 9,
152 const uint8_t Encoding6[] = {dwarf::DW_LNS_const_add_pc, // pc += 20
158 const uint8_t Encoding7[] = {dwarf::DW_LNS_advance_pc, 100,
163 const uint8_t Encoding8[] = {dwarf::DW_LNS_advance_line, 20,
179 const uint8_t Encoding0[] = {dwarf::DW_LNS_advance_line, 248, 1,
unittests/Object/MinidumpTest.cpp 18 static Expected<std::unique_ptr<MinidumpFile>> create(ArrayRef<uint8_t> Data) {
24 std::vector<uint8_t> Data{ // Header
64 std::vector<uint8_t> FileTooShort{'M', 'D', 'M', 'P'};
67 std::vector<uint8_t> WrongSignature{
81 std::vector<uint8_t> WrongVersion{
95 std::vector<uint8_t> DirectoryAfterEOF{
109 std::vector<uint8_t> TruncatedDirectory{
123 std::vector<uint8_t> Stream0AfterEOF{
137 std::vector<uint8_t> Stream0Truncated{
151 std::vector<uint8_t> DuplicateStream{
168 std::vector<uint8_t> DenseMapInfoConflict{
184 std::vector<uint8_t> TwoDummyStreams{
207 std::vector<uint8_t> Data{
254 std::vector<uint8_t> ManyStrings{
289 std::vector<uint8_t> OneModule{
317 std::vector<uint8_t> PaddedModule{
346 for (ArrayRef<uint8_t> Data : {OneModule, PaddedModule}) {
367 std::vector<uint8_t> StreamTooShort{
401 std::vector<uint8_t> OneThread{
423 std::vector<uint8_t> PaddedThread{
446 for (ArrayRef<uint8_t> Data : {OneThread, PaddedThread}) {
468 std::vector<uint8_t> OneRange{
484 std::vector<uint8_t> PaddedRange{
501 for (ArrayRef<uint8_t> Data : {OneRange, PaddedRange}) {
516 std::vector<uint8_t> OneEntry{
539 std::vector<uint8_t> BiggerHeader{
563 std::vector<uint8_t> BiggerEntry{
586 for (ArrayRef<uint8_t> Data : {OneEntry, BiggerHeader, BiggerEntry}) {
606 std::vector<uint8_t> HeaderTooBig{
626 std::vector<uint8_t> HeaderTooSmall{
644 std::vector<uint8_t> EntryTooBig{
669 std::vector<uint8_t> ThreeEntries{
715 std::vector<uint8_t> Data{
unittests/ObjectYAML/MinidumpYAMLTest.cpp 181 Expected<ArrayRef<uint8_t>> ExpectedContext =
222 Expected<ArrayRef<uint8_t>> ExpectedContext =
282 Expected<ArrayRef<uint8_t>> ExpectedContext =
332 Expected<ArrayRef<uint8_t>> ExpectedContext =
unittests/Support/ARMAttributeParser.cpp 33 ArrayRef<uint8_t> Bytes(
unittests/Support/BinaryStreamTest.cpp 27 BrokenStream(MutableArrayRef<uint8_t> Data, endianness Endian,
35 ArrayRef<uint8_t> &Buffer) override {
46 uint8_t *Ptr = Allocator.Allocate<uint8_t>(Size);
46 uint8_t *Ptr = Allocator.Allocate<uint8_t>(Size);
49 Buffer = makeArrayRef<uint8_t>(Ptr, Size);
54 ArrayRef<uint8_t> &Buffer) override {
64 Error writeBytes(uint32_t Offset, ArrayRef<uint8_t> SrcData) override {
71 MutableArrayRef<uint8_t> Ref(Data);
99 MutableArrayRef<uint8_t> Data;
131 void initializeInput(ArrayRef<uint8_t> Input, uint32_t Align) {
186 std::vector<uint8_t> InputData;
187 std::vector<uint8_t> BrokenInputData;
189 std::vector<uint8_t> OutputData;
190 std::vector<uint8_t> BrokenOutputData;
197 std::vector<uint8_t> InputData = {1, 2, 3, 4, 5};
201 ArrayRef<uint8_t> Buffer;
216 std::vector<uint8_t> InputData = {1, 2, 3, 4, 5};
220 ArrayRef<uint8_t> Buffer;
273 const uint8_t *Byte;
318 std::vector<uint8_t> InputData = {1, 2, 3, 4, 5, 4, 3, 2, 1};
322 ArrayRef<uint8_t> Result;
358 std::vector<uint8_t> InputData = {'T', 'e', 's', 't', '\0'};
373 ArrayRef<uint8_t> Data;
383 ArrayRef<uint8_t> Data2;
389 std::vector<uint8_t> BigData = {0, 1, 2, 3, 4};
399 std::vector<uint8_t> InputData = {'T', 'e', 's', 't', 'T', 'e', 's', 't'};
417 ArrayRef<uint8_t> IntBytes(reinterpret_cast<uint8_t *>(Ints.data()),
439 ArrayRef<uint8_t> PairBytes(reinterpret_cast<uint8_t *>(Pairs.data()),
463 ArrayRef<uint8_t> StringBytes(
478 ArrayRef<uint8_t> Bytes;
502 std::vector<uint8_t> Bytes;
569 ArrayRef<uint8_t> IntBytes(reinterpret_cast<uint8_t *>(&Ints[0]),
700 const uint8_t *Bytes = reinterpret_cast<const uint8_t *>(&Foos[0]);
721 std::vector<uint8_t> Bytes = {'O', 'n', 'e', '\0', 'T', 'w', 'o',
787 ArrayRef<uint8_t> SourceBytes(reinterpret_cast<uint8_t *>(&SourceInts[0]),
854 explicit BinaryItemStreamObject(ArrayRef<uint8_t> Bytes) : Bytes(Bytes) {}
856 ArrayRef<uint8_t> Bytes;
866 static ArrayRef<uint8_t> bytes(const BinaryItemStreamObject &Item) {
884 uint8_t *Ptr = static_cast<uint8_t *>(Allocator.Allocate(sizeof(Foo),
886 MutableArrayRef<uint8_t> Buffer(Ptr, sizeof(Foo));
unittests/Support/CRCTest.cpp 39 uint8_t byte = i;
unittests/Support/DataExtractorTest.cpp 234 SmallVector<uint8_t, 2> S;
unittests/Support/FormatVariadicTest.cpp 500 void *, int, double, int64_t, uint64_t, double, uint8_t>;
unittests/Support/MD5Test.cpp 22 void TestMD5Sum(ArrayRef<uint8_t> Input, StringRef Final) {
61 ArrayRef<uint8_t> Input((const uint8_t *)"abcdefghijklmnopqrstuvwxyz", 26);
62 std::array<uint8_t, 16> Vec = MD5::hash(Input);
unittests/Support/MathExtrasTest.cpp 17 uint8_t Z8 = 0;
26 uint8_t NZ8 = 42;
37 uint8_t Z8 = 0;
46 uint8_t NZ8 = 42;
94 uint8_t Z8 = 0;
103 uint8_t NZ8 = 42;
114 uint8_t Z8 = 0;
123 uint8_t NZ8 = 42;
168 uint8_t NZ8 = 42;
312 SaturatingAddTestHelper<uint8_t>();
392 SaturatingMultiplyTestHelper<uint8_t>();
446 SaturatingMultiplyAddTestHelper<uint8_t>();
unittests/Support/SwapByteOrderTest.cpp 27 uint8_t original_uint8 = static_cast<uint8_t>(value);
141 uint8_t value = 0x11;
unittests/Support/TarWriterTest.cpp 40 static std::vector<uint8_t> createTar(StringRef Base, StringRef Filename) {
58 std::vector<uint8_t> Buf((const uint8_t *)MB->getBufferStart(),
70 std::vector<uint8_t> Buf = createTar(Base, Filename);
112 std::vector<uint8_t> Buf = createTar("", std::string(200, 'x'));
unittests/Support/YAMLIOTest.cpp 333 uint8_t u8;
1413 uint8_t minutes;
1414 uint8_t seconds;
1937 std::vector<uint8_t> seq;
2358 std::vector<uint8_t> seq;
unittests/Support/raw_ostream_test.cpp 189 static std::string formatted_bytes_str(ArrayRef<uint8_t> Bytes,
192 uint8_t ByteGroupSize = 4) {
200 static std::string format_bytes_with_ascii_str(ArrayRef<uint8_t> Bytes,
203 uint8_t ByteGroupSize = 4) {
212 std::vector<uint8_t> Buf = {'a', 'b', 'c', 'd', 'e', 'f', 'g', 'h', 'i',
216 ArrayRef<uint8_t> B(Buf);
293 std::vector<uint8_t> Unprintable = {'a', '\x1e', 'b', '\x1f'};
unittests/Support/raw_sha1_ostream_test.cpp 40 ArrayRef<uint8_t> Input((const uint8_t *)"Hello World!", 12);
41 std::array<uint8_t, 20> Vec = SHA1::hash(Input);
unittests/Transforms/IPO/LowerTypeTests.cpp 114 uint8_t WantMask;
119 std::vector<uint8_t> WantBytes;
146 uint8_t GotMask;
unittests/Transforms/Utils/ASanStackFrameLayoutTest.cpp 16 ShadowBytesToString(ArrayRef<uint8_t> ShadowBytes) {
unittests/tools/llvm-cfi-verify/FileAnalysis.cpp 53 void parseSectionContents(ArrayRef<uint8_t> SectionBytes,
unittests/tools/llvm-cfi-verify/GraphBuilder.cpp 115 void parseSectionContents(ArrayRef<uint8_t> SectionBytes,
unittests/tools/llvm-exegesis/X86/TargetTest.cpp 154 const uint8_t Value = 0xFFU;
usr/include/c++/7.4.0/atomic 920 typedef atomic<uint8_t> atomic_uint8_t;
usr/include/net/ethernet.h 35 uint8_t ether_addr_octet[ETH_ALEN];
41 uint8_t ether_dhost[ETH_ALEN]; /* destination eth addr */
42 uint8_t ether_shost[ETH_ALEN]; /* source ether addr */
usr/include/net/if_ppp.h 116 uint8_t *ptr;
usr/include/netinet/if_ether.h 73 uint8_t arp_sha[ETH_ALEN]; /* sender hardware address */
74 uint8_t arp_spa[4]; /* sender protocol address */
75 uint8_t arp_tha[ETH_ALEN]; /* target hardware address */
76 uint8_t arp_tpa[4]; /* target protocol address */
usr/include/netinet/in.h 215 uint8_t __u6_addr8[16];
556 const uint8_t *__typep, int __multx,
558 extern uint8_t *inet6_option_alloc (struct cmsghdr *__cmsg, int __datalen,
562 uint8_t **__tptrp)
565 uint8_t **__tptrp, int __type)
572 uint8_t __type, socklen_t __len, uint8_t __align,
572 uint8_t __type, socklen_t __len, uint8_t __align,
579 uint8_t *__typep, socklen_t *__lenp,
582 uint8_t __type, socklen_t *__lenp,
usr/include/netinet/tcp.h 98 uint8_t th_x2:4; /* (unused) */
99 uint8_t th_off:4; /* data offset */
105 uint8_t th_flags;
217 uint8_t tcpi_state;
218 uint8_t tcpi_ca_state;
219 uint8_t tcpi_retransmits;
220 uint8_t tcpi_probes;
221 uint8_t tcpi_backoff;
222 uint8_t tcpi_options;
223 uint8_t tcpi_snd_wscale : 4, tcpi_rcv_wscale : 4;
268 uint8_t tcpm_flags; /* Extension flags. */
269 uint8_t tcpm_prefixlen; /* Address prefix. */
272 uint8_t tcpm_key[TCP_MD5SIG_MAXKEYLEN]; /* Key (binary). */
311 uint8_t __tcpct_pad1;
312 uint8_t tcpct_cookie_desired;
315 uint8_t tcpct_value[TCP_MSS_DEFAULT];
usr/include/netipx/ipx.h 39 uint8_t sipx_type;
usr/include/rpc/xdr.h 297 extern bool_t xdr_uint8_t (XDR *__xdrs, uint8_t *__up) __THROW;
utils/TableGen/AsmMatcherEmitter.cpp 1940 std::vector<std::vector<uint8_t> > ConversionTable;
2035 std::map<std::tuple<uint8_t, uint8_t, uint8_t>, std::string>
2035 std::map<std::tuple<uint8_t, uint8_t, uint8_t>, std::string>
2035 std::map<std::tuple<uint8_t, uint8_t, uint8_t>, std::string>
2073 std::vector<uint8_t> ConversionRow;
2158 uint8_t TiedOp = OpInfo.TiedOperands.ResOpnd;
2159 uint8_t SrcOp1 =
2161 uint8_t SrcOp2 =
utils/TableGen/CodeGenDAGPatterns.h 59 static unsigned constexpr Capacity = std::numeric_limits<uint8_t>::max()+1;
utils/TableGen/CodeGenRegisters.cpp 1491 uint8_t RotateLeft = Shift >= 0 ? (uint8_t)Shift
utils/TableGen/CodeGenRegisters.h 52 uint8_t RotateLeft;
333 uint8_t AllocationPriority;
utils/TableGen/FixedLenDecoderEmitter.cpp 85 typedef std::vector<uint8_t> DecoderTable;
691 uint8_t Buffer[16];
793 uint8_t Byte = *I++;
816 uint8_t Byte = *I++;
836 uint8_t Byte = *I++;
853 uint8_t Buffer[16], *p = Buffer;
878 uint8_t Byte = *I++;
1373 uint8_t Buffer[16], *p;
1407 uint8_t Buffer[16], *p;
utils/TableGen/X86DisassemblerShared.h 34 uint8_t modrm_type;
utils/TableGen/X86DisassemblerTables.cpp 1045 uint8_t opcode) {
1083 uint8_t opcode,
utils/TableGen/X86DisassemblerTables.h 223 uint8_t opcode);
253 uint8_t opcode,
utils/TableGen/X86FoldTablesEmitter.cpp 581 std::map<uint8_t, std::vector<const CodeGenInstruction *>> RegInsts;
610 uint8_t Opc = getValueFromBitsInit(Rec->getValueAsBitsInit("Opcode"));
618 uint8_t Opc =
utils/TableGen/X86ModRMFilters.h 45 virtual bool accepts(uint8_t modRM) const = 0;
58 bool accepts(uint8_t modRM) const override {
81 bool accepts(uint8_t modRM) const override {
91 uint8_t NNN;
98 ExtendedFilter(bool r, uint8_t nnn) :
104 bool accepts(uint8_t modRM) const override {
115 uint8_t ModRM;
120 ExactFilter(uint8_t modRM) :
125 bool accepts(uint8_t modRM) const override {
utils/TableGen/X86RecognizableInstr.cpp 31 static uint8_t byteFromBitsInit(BitsInit &init) {
37 uint8_t mask = 0x01;
39 uint8_t ret = 0;
57 static uint8_t byteFromRec(const Record* rec, const std::string &name) {
369 uint8_t OpSize)) {
789 uint8_t opcodeToSet = Opcode;
807 uint8_t currentOpcode;
827 uint8_t OpSize) {
963 uint8_t OpSize) {
1000 uint8_t OpSize) {
1038 uint8_t OpSize) {
1084 uint8_t OpSize) {
1115 uint8_t OpSize) {
1129 uint8_t OpSize) {
1168 uint8_t OpSize) {
1217 uint8_t OpSize) {
utils/TableGen/X86RecognizableInstr.h 160 uint8_t OpPrefix;
162 uint8_t OpMap;
165 uint8_t Opcode;
167 uint8_t Form;
169 uint8_t Encoding;
171 uint8_t OpSize;
173 uint8_t AdSize;
201 uint8_t CD8_Scale;
242 bool hasREX_WPrefix, uint8_t OpSize);
253 uint8_t OpSize);
258 uint8_t OpSize);
263 uint8_t OpSize);
265 uint8_t OpSize);
267 uint8_t OpSize);
269 uint8_t OpSize);
271 uint8_t OpSize);
273 uint8_t OpSize);
303 uint8_t OpSize));