|
reference, declaration → definition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced
|
References
examples/Kaleidoscope/BuildingAJIT/Chapter5/Server/server.cpp 30 NativePtrT MakeNative(uint64_t P) {
gen/lib/Target/AArch64/AArch64GenAsmMatcher.inc 21 uint64_t &ErrorInfo,
27 uint64_t &ErrorInfo,
1211 static const char *getSubtargetFeatureName(uint64_t Val) {
12393 uint64_t &ErrorInfo) {
27405 uint64_t &ErrorInfo,
gen/lib/Target/AArch64/AArch64GenAsmWriter.inc11738 uint64_t Bits = 0;
13302 printImm8OptLsl<uint64_t>(MI, 2, STI, O);
gen/lib/Target/AArch64/AArch64GenAsmWriter1.inc12735 uint64_t Bits = 0;
14140 printImm8OptLsl<uint64_t>(MI, 2, STI, O);
gen/lib/Target/AArch64/AArch64GenDAGISel.inc115646 uint64_t enc = AArch64_AM::encodeLogicalImmediate(N->getZExtValue(), 32);
115653 uint64_t enc = AArch64_AM::encodeLogicalImmediate(N->getZExtValue(), 64);
115668 uint64_t enc = (32 - N->getZExtValue()) & 0x1f;
115675 uint64_t enc = 31 - N->getZExtValue();
115683 uint64_t enc = (64 - N->getZExtValue()) & 0x3f;
115690 uint64_t enc = 63 - N->getZExtValue();
115698 uint64_t enc = 31 - N->getZExtValue();
115706 uint64_t enc = 63 - N->getZExtValue();
115714 uint64_t enc = 63 - N->getZExtValue();
115722 uint64_t enc = 31 - N->getZExtValue();
115729 uint64_t enc = 63 - N->getZExtValue();
gen/lib/Target/AArch64/AArch64GenDisassemblerTables.inc20642 uint64_t Address, const void *Decoder, bool &DecodeComplete) {
25719 InsnType insn, uint64_t Address,
gen/lib/Target/AArch64/AArch64GenFastISel.inc 7753 unsigned fastEmit_AArch64ISD_DUPLANE64_MVT_v2i64_ri_Predicate_VectorIndexD(MVT RetVT, unsigned Op0, bool Op0IsKill, uint64_t imm1) {
7762 unsigned fastEmit_AArch64ISD_DUPLANE64_MVT_v2f64_ri_Predicate_VectorIndexD(MVT RetVT, unsigned Op0, bool Op0IsKill, uint64_t imm1) {
7768 unsigned fastEmit_AArch64ISD_DUPLANE64_ri_Predicate_VectorIndexD(MVT VT, MVT RetVT, unsigned Op0, bool Op0IsKill, uint64_t imm1) {
7778 unsigned fastEmit_ISD_EXTRACT_VECTOR_ELT_MVT_v2i64_ri_Predicate_VectorIndexD(MVT RetVT, unsigned Op0, bool Op0IsKill, uint64_t imm1) {
7787 unsigned fastEmit_ISD_EXTRACT_VECTOR_ELT_MVT_v2f64_ri_Predicate_VectorIndexD(MVT RetVT, unsigned Op0, bool Op0IsKill, uint64_t imm1) {
7793 unsigned fastEmit_ISD_EXTRACT_VECTOR_ELT_ri_Predicate_VectorIndexD(MVT VT, MVT RetVT, unsigned Op0, bool Op0IsKill, uint64_t imm1) {
7803 unsigned fastEmit_ri_Predicate_VectorIndexD(MVT VT, MVT RetVT, unsigned Opcode, unsigned Op0, bool Op0IsKill, uint64_t imm1) {
7813 unsigned fastEmit_AArch64ISD_DUPLANE32_MVT_v4i32_MVT_v2i32_ri_Predicate_VectorIndexS(unsigned Op0, bool Op0IsKill, uint64_t imm1) {
7820 unsigned fastEmit_AArch64ISD_DUPLANE32_MVT_v4i32_MVT_v4i32_ri_Predicate_VectorIndexS(unsigned Op0, bool Op0IsKill, uint64_t imm1) {
7827 unsigned fastEmit_AArch64ISD_DUPLANE32_MVT_v4i32_ri_Predicate_VectorIndexS(MVT RetVT, unsigned Op0, bool Op0IsKill, uint64_t imm1) {
7835 unsigned fastEmit_AArch64ISD_DUPLANE32_MVT_v4f32_MVT_v2f32_ri_Predicate_VectorIndexS(unsigned Op0, bool Op0IsKill, uint64_t imm1) {
7839 unsigned fastEmit_AArch64ISD_DUPLANE32_MVT_v4f32_MVT_v4f32_ri_Predicate_VectorIndexS(unsigned Op0, bool Op0IsKill, uint64_t imm1) {
7843 unsigned fastEmit_AArch64ISD_DUPLANE32_MVT_v4f32_ri_Predicate_VectorIndexS(MVT RetVT, unsigned Op0, bool Op0IsKill, uint64_t imm1) {
7851 unsigned fastEmit_AArch64ISD_DUPLANE32_ri_Predicate_VectorIndexS(MVT VT, MVT RetVT, unsigned Op0, bool Op0IsKill, uint64_t imm1) {
7861 unsigned fastEmit_ISD_EXTRACT_VECTOR_ELT_MVT_v4i32_ri_Predicate_VectorIndexS(MVT RetVT, unsigned Op0, bool Op0IsKill, uint64_t imm1) {
7870 unsigned fastEmit_ISD_EXTRACT_VECTOR_ELT_MVT_v4f32_ri_Predicate_VectorIndexS(MVT RetVT, unsigned Op0, bool Op0IsKill, uint64_t imm1) {
7876 unsigned fastEmit_ISD_EXTRACT_VECTOR_ELT_ri_Predicate_VectorIndexS(MVT VT, MVT RetVT, unsigned Op0, bool Op0IsKill, uint64_t imm1) {
7886 unsigned fastEmit_ri_Predicate_VectorIndexS(MVT VT, MVT RetVT, unsigned Opcode, unsigned Op0, bool Op0IsKill, uint64_t imm1) {
7896 unsigned fastEmit_AArch64ISD_DUPLANE16_MVT_v8i16_MVT_v4i16_ri_Predicate_VectorIndexH(unsigned Op0, bool Op0IsKill, uint64_t imm1) {
7903 unsigned fastEmit_AArch64ISD_DUPLANE16_MVT_v8i16_MVT_v8i16_ri_Predicate_VectorIndexH(unsigned Op0, bool Op0IsKill, uint64_t imm1) {
7910 unsigned fastEmit_AArch64ISD_DUPLANE16_MVT_v8i16_ri_Predicate_VectorIndexH(MVT RetVT, unsigned Op0, bool Op0IsKill, uint64_t imm1) {
7918 unsigned fastEmit_AArch64ISD_DUPLANE16_MVT_v8f16_MVT_v4f16_ri_Predicate_VectorIndexH(unsigned Op0, bool Op0IsKill, uint64_t imm1) {
7922 unsigned fastEmit_AArch64ISD_DUPLANE16_MVT_v8f16_MVT_v8f16_ri_Predicate_VectorIndexH(unsigned Op0, bool Op0IsKill, uint64_t imm1) {
7926 unsigned fastEmit_AArch64ISD_DUPLANE16_MVT_v8f16_ri_Predicate_VectorIndexH(MVT RetVT, unsigned Op0, bool Op0IsKill, uint64_t imm1) {
7934 unsigned fastEmit_AArch64ISD_DUPLANE16_ri_Predicate_VectorIndexH(MVT VT, MVT RetVT, unsigned Op0, bool Op0IsKill, uint64_t imm1) {
7944 unsigned fastEmit_ISD_EXTRACT_VECTOR_ELT_MVT_v8i16_ri_Predicate_VectorIndexH(MVT RetVT, unsigned Op0, bool Op0IsKill, uint64_t imm1) {
7953 unsigned fastEmit_ISD_EXTRACT_VECTOR_ELT_MVT_v8f16_ri_Predicate_VectorIndexH(MVT RetVT, unsigned Op0, bool Op0IsKill, uint64_t imm1) {
7959 unsigned fastEmit_ISD_EXTRACT_VECTOR_ELT_ri_Predicate_VectorIndexH(MVT VT, MVT RetVT, unsigned Op0, bool Op0IsKill, uint64_t imm1) {
7969 unsigned fastEmit_ri_Predicate_VectorIndexH(MVT VT, MVT RetVT, unsigned Opcode, unsigned Op0, bool Op0IsKill, uint64_t imm1) {
7979 unsigned fastEmit_AArch64ISD_DUPLANE8_MVT_v16i8_MVT_v8i8_ri_Predicate_VectorIndexB(unsigned Op0, bool Op0IsKill, uint64_t imm1) {
7986 unsigned fastEmit_AArch64ISD_DUPLANE8_MVT_v16i8_MVT_v16i8_ri_Predicate_VectorIndexB(unsigned Op0, bool Op0IsKill, uint64_t imm1) {
7993 unsigned fastEmit_AArch64ISD_DUPLANE8_MVT_v16i8_ri_Predicate_VectorIndexB(MVT RetVT, unsigned Op0, bool Op0IsKill, uint64_t imm1) {
8001 unsigned fastEmit_AArch64ISD_DUPLANE8_ri_Predicate_VectorIndexB(MVT VT, MVT RetVT, unsigned Op0, bool Op0IsKill, uint64_t imm1) {
8010 unsigned fastEmit_ISD_EXTRACT_VECTOR_ELT_MVT_v16i8_ri_Predicate_VectorIndexB(MVT RetVT, unsigned Op0, bool Op0IsKill, uint64_t imm1) {
8019 unsigned fastEmit_ISD_EXTRACT_VECTOR_ELT_ri_Predicate_VectorIndexB(MVT VT, MVT RetVT, unsigned Op0, bool Op0IsKill, uint64_t imm1) {
8028 unsigned fastEmit_ri_Predicate_VectorIndexB(MVT VT, MVT RetVT, unsigned Opcode, unsigned Op0, bool Op0IsKill, uint64_t imm1) {
8038 unsigned fastEmit_AArch64ISD_SQSHLU_I_MVT_i64_ri_Predicate_vecshiftL64(MVT RetVT, unsigned Op0, bool Op0IsKill, uint64_t imm1) {
8047 unsigned fastEmit_AArch64ISD_SQSHLU_I_MVT_v1i64_ri_Predicate_vecshiftL64(MVT RetVT, unsigned Op0, bool Op0IsKill, uint64_t imm1) {
8056 unsigned fastEmit_AArch64ISD_SQSHLU_I_MVT_v2i64_ri_Predicate_vecshiftL64(MVT RetVT, unsigned Op0, bool Op0IsKill, uint64_t imm1) {
8065 unsigned fastEmit_AArch64ISD_SQSHLU_I_ri_Predicate_vecshiftL64(MVT VT, MVT RetVT, unsigned Op0, bool Op0IsKill, uint64_t imm1) {
8076 unsigned fastEmit_AArch64ISD_SQSHL_I_MVT_i64_ri_Predicate_vecshiftL64(MVT RetVT, unsigned Op0, bool Op0IsKill, uint64_t imm1) {
8085 unsigned fastEmit_AArch64ISD_SQSHL_I_MVT_v1i64_ri_Predicate_vecshiftL64(MVT RetVT, unsigned Op0, bool Op0IsKill, uint64_t imm1) {
8094 unsigned fastEmit_AArch64ISD_SQSHL_I_MVT_v2i64_ri_Predicate_vecshiftL64(MVT RetVT, unsigned Op0, bool Op0IsKill, uint64_t imm1) {
8103 unsigned fastEmit_AArch64ISD_SQSHL_I_ri_Predicate_vecshiftL64(MVT VT, MVT RetVT, unsigned Op0, bool Op0IsKill, uint64_t imm1) {
8114 unsigned fastEmit_AArch64ISD_UQSHL_I_MVT_i64_ri_Predicate_vecshiftL64(MVT RetVT, unsigned Op0, bool Op0IsKill, uint64_t imm1) {
8123 unsigned fastEmit_AArch64ISD_UQSHL_I_MVT_v1i64_ri_Predicate_vecshiftL64(MVT RetVT, unsigned Op0, bool Op0IsKill, uint64_t imm1) {
8132 unsigned fastEmit_AArch64ISD_UQSHL_I_MVT_v2i64_ri_Predicate_vecshiftL64(MVT RetVT, unsigned Op0, bool Op0IsKill, uint64_t imm1) {
8141 unsigned fastEmit_AArch64ISD_UQSHL_I_ri_Predicate_vecshiftL64(MVT VT, MVT RetVT, unsigned Op0, bool Op0IsKill, uint64_t imm1) {
8152 unsigned fastEmit_AArch64ISD_VSHL_MVT_v1i64_ri_Predicate_vecshiftL64(MVT RetVT, unsigned Op0, bool Op0IsKill, uint64_t imm1) {
8161 unsigned fastEmit_AArch64ISD_VSHL_MVT_v2i64_ri_Predicate_vecshiftL64(MVT RetVT, unsigned Op0, bool Op0IsKill, uint64_t imm1) {
8170 unsigned fastEmit_AArch64ISD_VSHL_ri_Predicate_vecshiftL64(MVT VT, MVT RetVT, unsigned Op0, bool Op0IsKill, uint64_t imm1) {
8180 unsigned fastEmit_ri_Predicate_vecshiftL64(MVT VT, MVT RetVT, unsigned Opcode, unsigned Op0, bool Op0IsKill, uint64_t imm1) {
8192 unsigned fastEmit_AArch64ISD_SQSHLU_I_MVT_i32_ri_Predicate_vecshiftL32(MVT RetVT, unsigned Op0, bool Op0IsKill, uint64_t imm1) {
8201 unsigned fastEmit_AArch64ISD_SQSHLU_I_MVT_v2i32_ri_Predicate_vecshiftL32(MVT RetVT, unsigned Op0, bool Op0IsKill, uint64_t imm1) {
8210 unsigned fastEmit_AArch64ISD_SQSHLU_I_MVT_v4i32_ri_Predicate_vecshiftL32(MVT RetVT, unsigned Op0, bool Op0IsKill, uint64_t imm1) {
8219 unsigned fastEmit_AArch64ISD_SQSHLU_I_ri_Predicate_vecshiftL32(MVT VT, MVT RetVT, unsigned Op0, bool Op0IsKill, uint64_t imm1) {
8230 unsigned fastEmit_AArch64ISD_SQSHL_I_MVT_i32_ri_Predicate_vecshiftL32(MVT RetVT, unsigned Op0, bool Op0IsKill, uint64_t imm1) {
8239 unsigned fastEmit_AArch64ISD_SQSHL_I_MVT_v2i32_ri_Predicate_vecshiftL32(MVT RetVT, unsigned Op0, bool Op0IsKill, uint64_t imm1) {
8248 unsigned fastEmit_AArch64ISD_SQSHL_I_MVT_v4i32_ri_Predicate_vecshiftL32(MVT RetVT, unsigned Op0, bool Op0IsKill, uint64_t imm1) {
8257 unsigned fastEmit_AArch64ISD_SQSHL_I_ri_Predicate_vecshiftL32(MVT VT, MVT RetVT, unsigned Op0, bool Op0IsKill, uint64_t imm1) {
8268 unsigned fastEmit_AArch64ISD_UQSHL_I_MVT_i32_ri_Predicate_vecshiftL32(MVT RetVT, unsigned Op0, bool Op0IsKill, uint64_t imm1) {
8277 unsigned fastEmit_AArch64ISD_UQSHL_I_MVT_v2i32_ri_Predicate_vecshiftL32(MVT RetVT, unsigned Op0, bool Op0IsKill, uint64_t imm1) {
8286 unsigned fastEmit_AArch64ISD_UQSHL_I_MVT_v4i32_ri_Predicate_vecshiftL32(MVT RetVT, unsigned Op0, bool Op0IsKill, uint64_t imm1) {
8295 unsigned fastEmit_AArch64ISD_UQSHL_I_ri_Predicate_vecshiftL32(MVT VT, MVT RetVT, unsigned Op0, bool Op0IsKill, uint64_t imm1) {
8306 unsigned fastEmit_AArch64ISD_VSHL_MVT_v2i32_ri_Predicate_vecshiftL32(MVT RetVT, unsigned Op0, bool Op0IsKill, uint64_t imm1) {
8315 unsigned fastEmit_AArch64ISD_VSHL_MVT_v4i32_ri_Predicate_vecshiftL32(MVT RetVT, unsigned Op0, bool Op0IsKill, uint64_t imm1) {
8324 unsigned fastEmit_AArch64ISD_VSHL_ri_Predicate_vecshiftL32(MVT VT, MVT RetVT, unsigned Op0, bool Op0IsKill, uint64_t imm1) {
8334 unsigned fastEmit_ri_Predicate_vecshiftL32(MVT VT, MVT RetVT, unsigned Opcode, unsigned Op0, bool Op0IsKill, uint64_t imm1) {
8346 unsigned fastEmit_AArch64ISD_SRSHR_I_MVT_i64_ri_Predicate_vecshiftR64(MVT RetVT, unsigned Op0, bool Op0IsKill, uint64_t imm1) {
8355 unsigned fastEmit_AArch64ISD_SRSHR_I_MVT_v1i64_ri_Predicate_vecshiftR64(MVT RetVT, unsigned Op0, bool Op0IsKill, uint64_t imm1) {
8364 unsigned fastEmit_AArch64ISD_SRSHR_I_MVT_v2i64_ri_Predicate_vecshiftR64(MVT RetVT, unsigned Op0, bool Op0IsKill, uint64_t imm1) {
8373 unsigned fastEmit_AArch64ISD_SRSHR_I_ri_Predicate_vecshiftR64(MVT VT, MVT RetVT, unsigned Op0, bool Op0IsKill, uint64_t imm1) {
8384 unsigned fastEmit_AArch64ISD_URSHR_I_MVT_i64_ri_Predicate_vecshiftR64(MVT RetVT, unsigned Op0, bool Op0IsKill, uint64_t imm1) {
8393 unsigned fastEmit_AArch64ISD_URSHR_I_MVT_v1i64_ri_Predicate_vecshiftR64(MVT RetVT, unsigned Op0, bool Op0IsKill, uint64_t imm1) {
8402 unsigned fastEmit_AArch64ISD_URSHR_I_MVT_v2i64_ri_Predicate_vecshiftR64(MVT RetVT, unsigned Op0, bool Op0IsKill, uint64_t imm1) {
8411 unsigned fastEmit_AArch64ISD_URSHR_I_ri_Predicate_vecshiftR64(MVT VT, MVT RetVT, unsigned Op0, bool Op0IsKill, uint64_t imm1) {
8422 unsigned fastEmit_AArch64ISD_VASHR_MVT_i64_ri_Predicate_vecshiftR64(MVT RetVT, unsigned Op0, bool Op0IsKill, uint64_t imm1) {
8431 unsigned fastEmit_AArch64ISD_VASHR_MVT_v1i64_ri_Predicate_vecshiftR64(MVT RetVT, unsigned Op0, bool Op0IsKill, uint64_t imm1) {
8440 unsigned fastEmit_AArch64ISD_VASHR_MVT_v2i64_ri_Predicate_vecshiftR64(MVT RetVT, unsigned Op0, bool Op0IsKill, uint64_t imm1) {
8449 unsigned fastEmit_AArch64ISD_VASHR_ri_Predicate_vecshiftR64(MVT VT, MVT RetVT, unsigned Op0, bool Op0IsKill, uint64_t imm1) {
8460 unsigned fastEmit_AArch64ISD_VLSHR_MVT_i64_ri_Predicate_vecshiftR64(MVT RetVT, unsigned Op0, bool Op0IsKill, uint64_t imm1) {
8469 unsigned fastEmit_AArch64ISD_VLSHR_MVT_v1i64_ri_Predicate_vecshiftR64(MVT RetVT, unsigned Op0, bool Op0IsKill, uint64_t imm1) {
8478 unsigned fastEmit_AArch64ISD_VLSHR_MVT_v2i64_ri_Predicate_vecshiftR64(MVT RetVT, unsigned Op0, bool Op0IsKill, uint64_t imm1) {
8487 unsigned fastEmit_AArch64ISD_VLSHR_ri_Predicate_vecshiftR64(MVT VT, MVT RetVT, unsigned Op0, bool Op0IsKill, uint64_t imm1) {
8498 unsigned fastEmit_ri_Predicate_vecshiftR64(MVT VT, MVT RetVT, unsigned Opcode, unsigned Op0, bool Op0IsKill, uint64_t imm1) {
8510 unsigned fastEmit_AArch64ISD_SQSHLU_I_MVT_v8i8_ri_Predicate_vecshiftL8(MVT RetVT, unsigned Op0, bool Op0IsKill, uint64_t imm1) {
8519 unsigned fastEmit_AArch64ISD_SQSHLU_I_MVT_v16i8_ri_Predicate_vecshiftL8(MVT RetVT, unsigned Op0, bool Op0IsKill, uint64_t imm1) {
8528 unsigned fastEmit_AArch64ISD_SQSHLU_I_ri_Predicate_vecshiftL8(MVT VT, MVT RetVT, unsigned Op0, bool Op0IsKill, uint64_t imm1) {
8538 unsigned fastEmit_AArch64ISD_SQSHL_I_MVT_v8i8_ri_Predicate_vecshiftL8(MVT RetVT, unsigned Op0, bool Op0IsKill, uint64_t imm1) {
8547 unsigned fastEmit_AArch64ISD_SQSHL_I_MVT_v16i8_ri_Predicate_vecshiftL8(MVT RetVT, unsigned Op0, bool Op0IsKill, uint64_t imm1) {
8556 unsigned fastEmit_AArch64ISD_SQSHL_I_ri_Predicate_vecshiftL8(MVT VT, MVT RetVT, unsigned Op0, bool Op0IsKill, uint64_t imm1) {
8566 unsigned fastEmit_AArch64ISD_UQSHL_I_MVT_v8i8_ri_Predicate_vecshiftL8(MVT RetVT, unsigned Op0, bool Op0IsKill, uint64_t imm1) {
8575 unsigned fastEmit_AArch64ISD_UQSHL_I_MVT_v16i8_ri_Predicate_vecshiftL8(MVT RetVT, unsigned Op0, bool Op0IsKill, uint64_t imm1) {
8584 unsigned fastEmit_AArch64ISD_UQSHL_I_ri_Predicate_vecshiftL8(MVT VT, MVT RetVT, unsigned Op0, bool Op0IsKill, uint64_t imm1) {
8594 unsigned fastEmit_AArch64ISD_VSHL_MVT_v8i8_ri_Predicate_vecshiftL8(MVT RetVT, unsigned Op0, bool Op0IsKill, uint64_t imm1) {
8603 unsigned fastEmit_AArch64ISD_VSHL_MVT_v16i8_ri_Predicate_vecshiftL8(MVT RetVT, unsigned Op0, bool Op0IsKill, uint64_t imm1) {
8612 unsigned fastEmit_AArch64ISD_VSHL_ri_Predicate_vecshiftL8(MVT VT, MVT RetVT, unsigned Op0, bool Op0IsKill, uint64_t imm1) {
8622 unsigned fastEmit_ri_Predicate_vecshiftL8(MVT VT, MVT RetVT, unsigned Opcode, unsigned Op0, bool Op0IsKill, uint64_t imm1) {
8634 unsigned fastEmit_AArch64ISD_SQSHLU_I_MVT_v4i16_ri_Predicate_vecshiftL16(MVT RetVT, unsigned Op0, bool Op0IsKill, uint64_t imm1) {
8643 unsigned fastEmit_AArch64ISD_SQSHLU_I_MVT_v8i16_ri_Predicate_vecshiftL16(MVT RetVT, unsigned Op0, bool Op0IsKill, uint64_t imm1) {
8652 unsigned fastEmit_AArch64ISD_SQSHLU_I_ri_Predicate_vecshiftL16(MVT VT, MVT RetVT, unsigned Op0, bool Op0IsKill, uint64_t imm1) {
8662 unsigned fastEmit_AArch64ISD_SQSHL_I_MVT_v4i16_ri_Predicate_vecshiftL16(MVT RetVT, unsigned Op0, bool Op0IsKill, uint64_t imm1) {
8671 unsigned fastEmit_AArch64ISD_SQSHL_I_MVT_v8i16_ri_Predicate_vecshiftL16(MVT RetVT, unsigned Op0, bool Op0IsKill, uint64_t imm1) {
8680 unsigned fastEmit_AArch64ISD_SQSHL_I_ri_Predicate_vecshiftL16(MVT VT, MVT RetVT, unsigned Op0, bool Op0IsKill, uint64_t imm1) {
8690 unsigned fastEmit_AArch64ISD_UQSHL_I_MVT_v4i16_ri_Predicate_vecshiftL16(MVT RetVT, unsigned Op0, bool Op0IsKill, uint64_t imm1) {
8699 unsigned fastEmit_AArch64ISD_UQSHL_I_MVT_v8i16_ri_Predicate_vecshiftL16(MVT RetVT, unsigned Op0, bool Op0IsKill, uint64_t imm1) {
8708 unsigned fastEmit_AArch64ISD_UQSHL_I_ri_Predicate_vecshiftL16(MVT VT, MVT RetVT, unsigned Op0, bool Op0IsKill, uint64_t imm1) {
8718 unsigned fastEmit_AArch64ISD_VSHL_MVT_v4i16_ri_Predicate_vecshiftL16(MVT RetVT, unsigned Op0, bool Op0IsKill, uint64_t imm1) {
8727 unsigned fastEmit_AArch64ISD_VSHL_MVT_v8i16_ri_Predicate_vecshiftL16(MVT RetVT, unsigned Op0, bool Op0IsKill, uint64_t imm1) {
8736 unsigned fastEmit_AArch64ISD_VSHL_ri_Predicate_vecshiftL16(MVT VT, MVT RetVT, unsigned Op0, bool Op0IsKill, uint64_t imm1) {
8746 unsigned fastEmit_ri_Predicate_vecshiftL16(MVT VT, MVT RetVT, unsigned Opcode, unsigned Op0, bool Op0IsKill, uint64_t imm1) {
8758 unsigned fastEmit_AArch64ISD_SRSHR_I_MVT_v8i8_ri_Predicate_vecshiftR8(MVT RetVT, unsigned Op0, bool Op0IsKill, uint64_t imm1) {
8767 unsigned fastEmit_AArch64ISD_SRSHR_I_MVT_v16i8_ri_Predicate_vecshiftR8(MVT RetVT, unsigned Op0, bool Op0IsKill, uint64_t imm1) {
8776 unsigned fastEmit_AArch64ISD_SRSHR_I_ri_Predicate_vecshiftR8(MVT VT, MVT RetVT, unsigned Op0, bool Op0IsKill, uint64_t imm1) {
8786 unsigned fastEmit_AArch64ISD_URSHR_I_MVT_v8i8_ri_Predicate_vecshiftR8(MVT RetVT, unsigned Op0, bool Op0IsKill, uint64_t imm1) {
8795 unsigned fastEmit_AArch64ISD_URSHR_I_MVT_v16i8_ri_Predicate_vecshiftR8(MVT RetVT, unsigned Op0, bool Op0IsKill, uint64_t imm1) {
8804 unsigned fastEmit_AArch64ISD_URSHR_I_ri_Predicate_vecshiftR8(MVT VT, MVT RetVT, unsigned Op0, bool Op0IsKill, uint64_t imm1) {
8814 unsigned fastEmit_AArch64ISD_VASHR_MVT_v8i8_ri_Predicate_vecshiftR8(MVT RetVT, unsigned Op0, bool Op0IsKill, uint64_t imm1) {
8823 unsigned fastEmit_AArch64ISD_VASHR_MVT_v16i8_ri_Predicate_vecshiftR8(MVT RetVT, unsigned Op0, bool Op0IsKill, uint64_t imm1) {
8832 unsigned fastEmit_AArch64ISD_VASHR_ri_Predicate_vecshiftR8(MVT VT, MVT RetVT, unsigned Op0, bool Op0IsKill, uint64_t imm1) {
8842 unsigned fastEmit_AArch64ISD_VLSHR_MVT_v8i8_ri_Predicate_vecshiftR8(MVT RetVT, unsigned Op0, bool Op0IsKill, uint64_t imm1) {
8851 unsigned fastEmit_AArch64ISD_VLSHR_MVT_v16i8_ri_Predicate_vecshiftR8(MVT RetVT, unsigned Op0, bool Op0IsKill, uint64_t imm1) {
8860 unsigned fastEmit_AArch64ISD_VLSHR_ri_Predicate_vecshiftR8(MVT VT, MVT RetVT, unsigned Op0, bool Op0IsKill, uint64_t imm1) {
8870 unsigned fastEmit_ri_Predicate_vecshiftR8(MVT VT, MVT RetVT, unsigned Opcode, unsigned Op0, bool Op0IsKill, uint64_t imm1) {
8882 unsigned fastEmit_AArch64ISD_SRSHR_I_MVT_v4i16_ri_Predicate_vecshiftR16(MVT RetVT, unsigned Op0, bool Op0IsKill, uint64_t imm1) {
8891 unsigned fastEmit_AArch64ISD_SRSHR_I_MVT_v8i16_ri_Predicate_vecshiftR16(MVT RetVT, unsigned Op0, bool Op0IsKill, uint64_t imm1) {
8900 unsigned fastEmit_AArch64ISD_SRSHR_I_ri_Predicate_vecshiftR16(MVT VT, MVT RetVT, unsigned Op0, bool Op0IsKill, uint64_t imm1) {
8910 unsigned fastEmit_AArch64ISD_URSHR_I_MVT_v4i16_ri_Predicate_vecshiftR16(MVT RetVT, unsigned Op0, bool Op0IsKill, uint64_t imm1) {
8919 unsigned fastEmit_AArch64ISD_URSHR_I_MVT_v8i16_ri_Predicate_vecshiftR16(MVT RetVT, unsigned Op0, bool Op0IsKill, uint64_t imm1) {
8928 unsigned fastEmit_AArch64ISD_URSHR_I_ri_Predicate_vecshiftR16(MVT VT, MVT RetVT, unsigned Op0, bool Op0IsKill, uint64_t imm1) {
8938 unsigned fastEmit_AArch64ISD_VASHR_MVT_v4i16_ri_Predicate_vecshiftR16(MVT RetVT, unsigned Op0, bool Op0IsKill, uint64_t imm1) {
8947 unsigned fastEmit_AArch64ISD_VASHR_MVT_v8i16_ri_Predicate_vecshiftR16(MVT RetVT, unsigned Op0, bool Op0IsKill, uint64_t imm1) {
8956 unsigned fastEmit_AArch64ISD_VASHR_ri_Predicate_vecshiftR16(MVT VT, MVT RetVT, unsigned Op0, bool Op0IsKill, uint64_t imm1) {
8966 unsigned fastEmit_AArch64ISD_VLSHR_MVT_v4i16_ri_Predicate_vecshiftR16(MVT RetVT, unsigned Op0, bool Op0IsKill, uint64_t imm1) {
8975 unsigned fastEmit_AArch64ISD_VLSHR_MVT_v8i16_ri_Predicate_vecshiftR16(MVT RetVT, unsigned Op0, bool Op0IsKill, uint64_t imm1) {
8984 unsigned fastEmit_AArch64ISD_VLSHR_ri_Predicate_vecshiftR16(MVT VT, MVT RetVT, unsigned Op0, bool Op0IsKill, uint64_t imm1) {
8994 unsigned fastEmit_ri_Predicate_vecshiftR16(MVT VT, MVT RetVT, unsigned Opcode, unsigned Op0, bool Op0IsKill, uint64_t imm1) {
9006 unsigned fastEmit_AArch64ISD_SRSHR_I_MVT_v2i32_ri_Predicate_vecshiftR32(MVT RetVT, unsigned Op0, bool Op0IsKill, uint64_t imm1) {
9015 unsigned fastEmit_AArch64ISD_SRSHR_I_MVT_v4i32_ri_Predicate_vecshiftR32(MVT RetVT, unsigned Op0, bool Op0IsKill, uint64_t imm1) {
9024 unsigned fastEmit_AArch64ISD_SRSHR_I_ri_Predicate_vecshiftR32(MVT VT, MVT RetVT, unsigned Op0, bool Op0IsKill, uint64_t imm1) {
9034 unsigned fastEmit_AArch64ISD_URSHR_I_MVT_v2i32_ri_Predicate_vecshiftR32(MVT RetVT, unsigned Op0, bool Op0IsKill, uint64_t imm1) {
9043 unsigned fastEmit_AArch64ISD_URSHR_I_MVT_v4i32_ri_Predicate_vecshiftR32(MVT RetVT, unsigned Op0, bool Op0IsKill, uint64_t imm1) {
9052 unsigned fastEmit_AArch64ISD_URSHR_I_ri_Predicate_vecshiftR32(MVT VT, MVT RetVT, unsigned Op0, bool Op0IsKill, uint64_t imm1) {
9062 unsigned fastEmit_AArch64ISD_VASHR_MVT_v2i32_ri_Predicate_vecshiftR32(MVT RetVT, unsigned Op0, bool Op0IsKill, uint64_t imm1) {
9071 unsigned fastEmit_AArch64ISD_VASHR_MVT_v4i32_ri_Predicate_vecshiftR32(MVT RetVT, unsigned Op0, bool Op0IsKill, uint64_t imm1) {
9080 unsigned fastEmit_AArch64ISD_VASHR_ri_Predicate_vecshiftR32(MVT VT, MVT RetVT, unsigned Op0, bool Op0IsKill, uint64_t imm1) {
9090 unsigned fastEmit_AArch64ISD_VLSHR_MVT_v2i32_ri_Predicate_vecshiftR32(MVT RetVT, unsigned Op0, bool Op0IsKill, uint64_t imm1) {
9099 unsigned fastEmit_AArch64ISD_VLSHR_MVT_v4i32_ri_Predicate_vecshiftR32(MVT RetVT, unsigned Op0, bool Op0IsKill, uint64_t imm1) {
9108 unsigned fastEmit_AArch64ISD_VLSHR_ri_Predicate_vecshiftR32(MVT VT, MVT RetVT, unsigned Op0, bool Op0IsKill, uint64_t imm1) {
9118 unsigned fastEmit_ri_Predicate_vecshiftR32(MVT VT, MVT RetVT, unsigned Opcode, unsigned Op0, bool Op0IsKill, uint64_t imm1) {
9130 unsigned fastEmit_ISD_Constant_MVT_i32_i(MVT RetVT, uint64_t imm0) {
9136 unsigned fastEmit_ISD_Constant_MVT_i64_i(MVT RetVT, uint64_t imm0) {
9142 unsigned fastEmit_ISD_Constant_i(MVT VT, MVT RetVT, uint64_t imm0) {
9152 unsigned fastEmit_i(MVT VT, MVT RetVT, unsigned Opcode, uint64_t imm0) override {
9165 unsigned fastEmit_AArch64ISD_FMOV_MVT_i32_MVT_v4f16_i_Predicate_imm0_255(uint64_t imm0) {
9172 unsigned fastEmit_AArch64ISD_FMOV_MVT_i32_MVT_v8f16_i_Predicate_imm0_255(uint64_t imm0) {
9179 unsigned fastEmit_AArch64ISD_FMOV_MVT_i32_MVT_v2f32_i_Predicate_imm0_255(uint64_t imm0) {
9186 unsigned fastEmit_AArch64ISD_FMOV_MVT_i32_MVT_v4f32_i_Predicate_imm0_255(uint64_t imm0) {
9193 unsigned fastEmit_AArch64ISD_FMOV_MVT_i32_MVT_v2f64_i_Predicate_imm0_255(uint64_t imm0) {
9200 unsigned fastEmit_AArch64ISD_FMOV_MVT_i32_i_Predicate_imm0_255(MVT RetVT, uint64_t imm0) {
9211 unsigned fastEmit_AArch64ISD_FMOV_i_Predicate_imm0_255(MVT VT, MVT RetVT, uint64_t imm0) {
9220 unsigned fastEmit_AArch64ISD_MOVI_MVT_i32_MVT_v8i8_i_Predicate_imm0_255(uint64_t imm0) {
9227 unsigned fastEmit_AArch64ISD_MOVI_MVT_i32_MVT_v16i8_i_Predicate_imm0_255(uint64_t imm0) {
9234 unsigned fastEmit_AArch64ISD_MOVI_MVT_i32_i_Predicate_imm0_255(MVT RetVT, uint64_t imm0) {
9242 unsigned fastEmit_AArch64ISD_MOVI_i_Predicate_imm0_255(MVT VT, MVT RetVT, uint64_t imm0) {
9251 unsigned fastEmit_AArch64ISD_MOVIedit_MVT_i32_MVT_f64_i_Predicate_imm0_255(uint64_t imm0) {
9255 unsigned fastEmit_AArch64ISD_MOVIedit_MVT_i32_MVT_v2i64_i_Predicate_imm0_255(uint64_t imm0) {
9262 unsigned fastEmit_AArch64ISD_MOVIedit_MVT_i32_i_Predicate_imm0_255(MVT RetVT, uint64_t imm0) {
9270 unsigned fastEmit_AArch64ISD_MOVIedit_i_Predicate_imm0_255(MVT VT, MVT RetVT, uint64_t imm0) {
9279 unsigned fastEmit_i_Predicate_imm0_255(MVT VT, MVT RetVT, unsigned Opcode, uint64_t imm0) {
gen/lib/Target/AArch64/AArch64GenGICombiner.inc 31 static Optional<uint64_t> getRuleIdxForIdentifier(StringRef RuleIdentifier) {
32 uint64_t I;
gen/lib/Target/AArch64/AArch64GenMCCodeEmitter.inc 9 uint64_t AArch64MCCodeEmitter::getBinaryCodeForInstr(const MCInst &MI,
12 static const uint64_t InstBits[] = {
5400 uint64_t Value = InstBits[opcode];
5401 uint64_t op = 0;
gen/lib/Target/AMDGPU/AMDGPUGenAsmMatcher.inc 22 uint64_t &ErrorInfo,
28 uint64_t &ErrorInfo,
10313 uint64_t &ErrorInfo) {
23923 uint64_t &ErrorInfo,
gen/lib/Target/AMDGPU/AMDGPUGenAsmWriter.inc32456 uint64_t Bits = 0;
gen/lib/Target/AMDGPU/AMDGPUGenDisassemblerTables.inc32906 uint64_t Address, const void *Decoder, bool &DecodeComplete) {
41983 InsnType insn, uint64_t Address,
gen/lib/Target/AMDGPU/AMDGPUGenMCCodeEmitter.inc 9 uint64_t AMDGPUMCCodeEmitter::getBinaryCodeForInstr(const MCInst &MI,
12 static const uint64_t InstBits[] = {
15279 uint64_t Value = InstBits[opcode];
15280 uint64_t op = 0;
gen/lib/Target/AMDGPU/R600GenDFAPacketizer.inc 123 uint64_t Action; // The input symbol that causes this transition.
301 static Automaton<uint64_t> A(ArrayRef<R600Transition>(R600Transitions), R600TransitionInfo);
gen/lib/Target/AMDGPU/R600GenMCCodeEmitter.inc 9 uint64_t R600MCCodeEmitter::getBinaryCodeForInstr(const MCInst &MI,
12 static const uint64_t InstBits[] = {
530 uint64_t Value = InstBits[opcode];
531 uint64_t op = 0;
gen/lib/Target/ARC/ARCGenDisassemblerTables.inc 1022 uint64_t Address, const void *Decoder, bool &DecodeComplete) {
1454 InsnType insn, uint64_t Address,
gen/lib/Target/ARM/ARMGenAsmMatcher.inc 605 static const char *getSubtargetFeatureName(uint64_t Val) {
gen/lib/Target/ARM/ARMGenAsmWriter.inc 9139 uint64_t Bits = 0;
gen/lib/Target/ARM/ARMGenDAGISel.inc54094 uint64_t EltVal = ARM_AM::decodeVMOVModImm(ConstVal->getZExtValue(), EltBits);
54239 uint64_t Imm = N->getZExtValue();
54307 uint64_t Imm = N->getZExtValue();
54656 uint64_t EltVal = ARM_AM::decodeVMOVModImm(ConstVal->getZExtValue(), EltBits);
gen/lib/Target/ARM/ARMGenDisassemblerTables.inc16759 uint64_t Address, const void *Decoder, bool &DecodeComplete) {
21761 InsnType insn, uint64_t Address,
gen/lib/Target/ARM/ARMGenFastISel.inc 5196 unsigned fastEmit_ARMISD_PIC_ADD_MVT_i32_ri(MVT RetVT, unsigned Op0, bool Op0IsKill, uint64_t imm1) {
5208 unsigned fastEmit_ARMISD_PIC_ADD_ri(MVT VT, MVT RetVT, unsigned Op0, bool Op0IsKill, uint64_t imm1) {
5217 unsigned fastEmit_ARMISD_VDUPLANE_MVT_v8i8_ri(MVT RetVT, unsigned Op0, bool Op0IsKill, uint64_t imm1) {
5226 unsigned fastEmit_ARMISD_VDUPLANE_MVT_v4i16_ri(MVT RetVT, unsigned Op0, bool Op0IsKill, uint64_t imm1) {
5235 unsigned fastEmit_ARMISD_VDUPLANE_MVT_v2i32_ri(MVT RetVT, unsigned Op0, bool Op0IsKill, uint64_t imm1) {
5244 unsigned fastEmit_ARMISD_VDUPLANE_MVT_v4f16_ri(MVT RetVT, unsigned Op0, bool Op0IsKill, uint64_t imm1) {
5253 unsigned fastEmit_ARMISD_VDUPLANE_MVT_v2f32_MVT_v2f32_ri(unsigned Op0, bool Op0IsKill, uint64_t imm1) {
5260 unsigned fastEmit_ARMISD_VDUPLANE_MVT_v2f32_MVT_v4f32_ri(unsigned Op0, bool Op0IsKill, uint64_t imm1) {
5267 unsigned fastEmit_ARMISD_VDUPLANE_MVT_v2f32_ri(MVT RetVT, unsigned Op0, bool Op0IsKill, uint64_t imm1) {
5275 unsigned fastEmit_ARMISD_VDUPLANE_ri(MVT VT, MVT RetVT, unsigned Op0, bool Op0IsKill, uint64_t imm1) {
5288 unsigned fastEmit_ARMISD_VGETLANEs_MVT_v8i8_ri(MVT RetVT, unsigned Op0, bool Op0IsKill, uint64_t imm1) {
5297 unsigned fastEmit_ARMISD_VGETLANEs_MVT_v16i8_ri(MVT RetVT, unsigned Op0, bool Op0IsKill, uint64_t imm1) {
5306 unsigned fastEmit_ARMISD_VGETLANEs_MVT_v4i16_ri(MVT RetVT, unsigned Op0, bool Op0IsKill, uint64_t imm1) {
5315 unsigned fastEmit_ARMISD_VGETLANEs_MVT_v8i16_ri(MVT RetVT, unsigned Op0, bool Op0IsKill, uint64_t imm1) {
5324 unsigned fastEmit_ARMISD_VGETLANEs_ri(MVT VT, MVT RetVT, unsigned Op0, bool Op0IsKill, uint64_t imm1) {
5336 unsigned fastEmit_ARMISD_VGETLANEu_MVT_v8i8_ri(MVT RetVT, unsigned Op0, bool Op0IsKill, uint64_t imm1) {
5345 unsigned fastEmit_ARMISD_VGETLANEu_MVT_v16i8_ri(MVT RetVT, unsigned Op0, bool Op0IsKill, uint64_t imm1) {
5354 unsigned fastEmit_ARMISD_VGETLANEu_MVT_v4i16_ri(MVT RetVT, unsigned Op0, bool Op0IsKill, uint64_t imm1) {
5363 unsigned fastEmit_ARMISD_VGETLANEu_MVT_v8i16_ri(MVT RetVT, unsigned Op0, bool Op0IsKill, uint64_t imm1) {
5372 unsigned fastEmit_ARMISD_VGETLANEu_ri(MVT VT, MVT RetVT, unsigned Op0, bool Op0IsKill, uint64_t imm1) {
5384 unsigned fastEmit_ARMISD_VQSHLsIMM_MVT_v8i8_ri(MVT RetVT, unsigned Op0, bool Op0IsKill, uint64_t imm1) {
5393 unsigned fastEmit_ARMISD_VQSHLsIMM_MVT_v16i8_ri(MVT RetVT, unsigned Op0, bool Op0IsKill, uint64_t imm1) {
5402 unsigned fastEmit_ARMISD_VQSHLsIMM_MVT_v4i16_ri(MVT RetVT, unsigned Op0, bool Op0IsKill, uint64_t imm1) {
5411 unsigned fastEmit_ARMISD_VQSHLsIMM_MVT_v8i16_ri(MVT RetVT, unsigned Op0, bool Op0IsKill, uint64_t imm1) {
5420 unsigned fastEmit_ARMISD_VQSHLsIMM_MVT_v2i32_ri(MVT RetVT, unsigned Op0, bool Op0IsKill, uint64_t imm1) {
5429 unsigned fastEmit_ARMISD_VQSHLsIMM_MVT_v4i32_ri(MVT RetVT, unsigned Op0, bool Op0IsKill, uint64_t imm1) {
5438 unsigned fastEmit_ARMISD_VQSHLsIMM_MVT_v1i64_ri(MVT RetVT, unsigned Op0, bool Op0IsKill, uint64_t imm1) {
5447 unsigned fastEmit_ARMISD_VQSHLsIMM_MVT_v2i64_ri(MVT RetVT, unsigned Op0, bool Op0IsKill, uint64_t imm1) {
5456 unsigned fastEmit_ARMISD_VQSHLsIMM_ri(MVT VT, MVT RetVT, unsigned Op0, bool Op0IsKill, uint64_t imm1) {
5472 unsigned fastEmit_ARMISD_VQSHLsuIMM_MVT_v8i8_ri(MVT RetVT, unsigned Op0, bool Op0IsKill, uint64_t imm1) {
5481 unsigned fastEmit_ARMISD_VQSHLsuIMM_MVT_v16i8_ri(MVT RetVT, unsigned Op0, bool Op0IsKill, uint64_t imm1) {
5490 unsigned fastEmit_ARMISD_VQSHLsuIMM_MVT_v4i16_ri(MVT RetVT, unsigned Op0, bool Op0IsKill, uint64_t imm1) {
5499 unsigned fastEmit_ARMISD_VQSHLsuIMM_MVT_v8i16_ri(MVT RetVT, unsigned Op0, bool Op0IsKill, uint64_t imm1) {
5508 unsigned fastEmit_ARMISD_VQSHLsuIMM_MVT_v2i32_ri(MVT RetVT, unsigned Op0, bool Op0IsKill, uint64_t imm1) {
5517 unsigned fastEmit_ARMISD_VQSHLsuIMM_MVT_v4i32_ri(MVT RetVT, unsigned Op0, bool Op0IsKill, uint64_t imm1) {
5526 unsigned fastEmit_ARMISD_VQSHLsuIMM_MVT_v1i64_ri(MVT RetVT, unsigned Op0, bool Op0IsKill, uint64_t imm1) {
5535 unsigned fastEmit_ARMISD_VQSHLsuIMM_MVT_v2i64_ri(MVT RetVT, unsigned Op0, bool Op0IsKill, uint64_t imm1) {
5544 unsigned fastEmit_ARMISD_VQSHLsuIMM_ri(MVT VT, MVT RetVT, unsigned Op0, bool Op0IsKill, uint64_t imm1) {
5560 unsigned fastEmit_ARMISD_VQSHLuIMM_MVT_v8i8_ri(MVT RetVT, unsigned Op0, bool Op0IsKill, uint64_t imm1) {
5569 unsigned fastEmit_ARMISD_VQSHLuIMM_MVT_v16i8_ri(MVT RetVT, unsigned Op0, bool Op0IsKill, uint64_t imm1) {
5578 unsigned fastEmit_ARMISD_VQSHLuIMM_MVT_v4i16_ri(MVT RetVT, unsigned Op0, bool Op0IsKill, uint64_t imm1) {
5587 unsigned fastEmit_ARMISD_VQSHLuIMM_MVT_v8i16_ri(MVT RetVT, unsigned Op0, bool Op0IsKill, uint64_t imm1) {
5596 unsigned fastEmit_ARMISD_VQSHLuIMM_MVT_v2i32_ri(MVT RetVT, unsigned Op0, bool Op0IsKill, uint64_t imm1) {
5605 unsigned fastEmit_ARMISD_VQSHLuIMM_MVT_v4i32_ri(MVT RetVT, unsigned Op0, bool Op0IsKill, uint64_t imm1) {
5614 unsigned fastEmit_ARMISD_VQSHLuIMM_MVT_v1i64_ri(MVT RetVT, unsigned Op0, bool Op0IsKill, uint64_t imm1) {
5623 unsigned fastEmit_ARMISD_VQSHLuIMM_MVT_v2i64_ri(MVT RetVT, unsigned Op0, bool Op0IsKill, uint64_t imm1) {
5632 unsigned fastEmit_ARMISD_VQSHLuIMM_ri(MVT VT, MVT RetVT, unsigned Op0, bool Op0IsKill, uint64_t imm1) {
5648 unsigned fastEmit_ARMISD_VRSHRsIMM_MVT_v8i8_ri(MVT RetVT, unsigned Op0, bool Op0IsKill, uint64_t imm1) {
5657 unsigned fastEmit_ARMISD_VRSHRsIMM_MVT_v16i8_ri(MVT RetVT, unsigned Op0, bool Op0IsKill, uint64_t imm1) {
5666 unsigned fastEmit_ARMISD_VRSHRsIMM_MVT_v4i16_ri(MVT RetVT, unsigned Op0, bool Op0IsKill, uint64_t imm1) {
5675 unsigned fastEmit_ARMISD_VRSHRsIMM_MVT_v8i16_ri(MVT RetVT, unsigned Op0, bool Op0IsKill, uint64_t imm1) {
5684 unsigned fastEmit_ARMISD_VRSHRsIMM_MVT_v2i32_ri(MVT RetVT, unsigned Op0, bool Op0IsKill, uint64_t imm1) {
5693 unsigned fastEmit_ARMISD_VRSHRsIMM_MVT_v4i32_ri(MVT RetVT, unsigned Op0, bool Op0IsKill, uint64_t imm1) {
5702 unsigned fastEmit_ARMISD_VRSHRsIMM_MVT_v1i64_ri(MVT RetVT, unsigned Op0, bool Op0IsKill, uint64_t imm1) {
5711 unsigned fastEmit_ARMISD_VRSHRsIMM_MVT_v2i64_ri(MVT RetVT, unsigned Op0, bool Op0IsKill, uint64_t imm1) {
5720 unsigned fastEmit_ARMISD_VRSHRsIMM_ri(MVT VT, MVT RetVT, unsigned Op0, bool Op0IsKill, uint64_t imm1) {
5736 unsigned fastEmit_ARMISD_VRSHRuIMM_MVT_v8i8_ri(MVT RetVT, unsigned Op0, bool Op0IsKill, uint64_t imm1) {
5745 unsigned fastEmit_ARMISD_VRSHRuIMM_MVT_v16i8_ri(MVT RetVT, unsigned Op0, bool Op0IsKill, uint64_t imm1) {
5754 unsigned fastEmit_ARMISD_VRSHRuIMM_MVT_v4i16_ri(MVT RetVT, unsigned Op0, bool Op0IsKill, uint64_t imm1) {
5763 unsigned fastEmit_ARMISD_VRSHRuIMM_MVT_v8i16_ri(MVT RetVT, unsigned Op0, bool Op0IsKill, uint64_t imm1) {
5772 unsigned fastEmit_ARMISD_VRSHRuIMM_MVT_v2i32_ri(MVT RetVT, unsigned Op0, bool Op0IsKill, uint64_t imm1) {
5781 unsigned fastEmit_ARMISD_VRSHRuIMM_MVT_v4i32_ri(MVT RetVT, unsigned Op0, bool Op0IsKill, uint64_t imm1) {
5790 unsigned fastEmit_ARMISD_VRSHRuIMM_MVT_v1i64_ri(MVT RetVT, unsigned Op0, bool Op0IsKill, uint64_t imm1) {
5799 unsigned fastEmit_ARMISD_VRSHRuIMM_MVT_v2i64_ri(MVT RetVT, unsigned Op0, bool Op0IsKill, uint64_t imm1) {
5808 unsigned fastEmit_ARMISD_VRSHRuIMM_ri(MVT VT, MVT RetVT, unsigned Op0, bool Op0IsKill, uint64_t imm1) {
5824 unsigned fastEmit_ARMISD_VSHLIMM_MVT_v8i8_ri(MVT RetVT, unsigned Op0, bool Op0IsKill, uint64_t imm1) {
5833 unsigned fastEmit_ARMISD_VSHLIMM_MVT_v16i8_ri(MVT RetVT, unsigned Op0, bool Op0IsKill, uint64_t imm1) {
5842 unsigned fastEmit_ARMISD_VSHLIMM_MVT_v4i16_ri(MVT RetVT, unsigned Op0, bool Op0IsKill, uint64_t imm1) {
5851 unsigned fastEmit_ARMISD_VSHLIMM_MVT_v8i16_ri(MVT RetVT, unsigned Op0, bool Op0IsKill, uint64_t imm1) {
5860 unsigned fastEmit_ARMISD_VSHLIMM_MVT_v2i32_ri(MVT RetVT, unsigned Op0, bool Op0IsKill, uint64_t imm1) {
5869 unsigned fastEmit_ARMISD_VSHLIMM_MVT_v4i32_ri(MVT RetVT, unsigned Op0, bool Op0IsKill, uint64_t imm1) {
5878 unsigned fastEmit_ARMISD_VSHLIMM_MVT_v1i64_ri(MVT RetVT, unsigned Op0, bool Op0IsKill, uint64_t imm1) {
5887 unsigned fastEmit_ARMISD_VSHLIMM_MVT_v2i64_ri(MVT RetVT, unsigned Op0, bool Op0IsKill, uint64_t imm1) {
5896 unsigned fastEmit_ARMISD_VSHLIMM_ri(MVT VT, MVT RetVT, unsigned Op0, bool Op0IsKill, uint64_t imm1) {
5912 unsigned fastEmit_ARMISD_VSHRsIMM_MVT_v8i8_ri(MVT RetVT, unsigned Op0, bool Op0IsKill, uint64_t imm1) {
5921 unsigned fastEmit_ARMISD_VSHRsIMM_MVT_v16i8_ri(MVT RetVT, unsigned Op0, bool Op0IsKill, uint64_t imm1) {
5930 unsigned fastEmit_ARMISD_VSHRsIMM_MVT_v4i16_ri(MVT RetVT, unsigned Op0, bool Op0IsKill, uint64_t imm1) {
5939 unsigned fastEmit_ARMISD_VSHRsIMM_MVT_v8i16_ri(MVT RetVT, unsigned Op0, bool Op0IsKill, uint64_t imm1) {
5948 unsigned fastEmit_ARMISD_VSHRsIMM_MVT_v2i32_ri(MVT RetVT, unsigned Op0, bool Op0IsKill, uint64_t imm1) {
5957 unsigned fastEmit_ARMISD_VSHRsIMM_MVT_v4i32_ri(MVT RetVT, unsigned Op0, bool Op0IsKill, uint64_t imm1) {
5966 unsigned fastEmit_ARMISD_VSHRsIMM_MVT_v1i64_ri(MVT RetVT, unsigned Op0, bool Op0IsKill, uint64_t imm1) {
5975 unsigned fastEmit_ARMISD_VSHRsIMM_MVT_v2i64_ri(MVT RetVT, unsigned Op0, bool Op0IsKill, uint64_t imm1) {
5984 unsigned fastEmit_ARMISD_VSHRsIMM_ri(MVT VT, MVT RetVT, unsigned Op0, bool Op0IsKill, uint64_t imm1) {
6000 unsigned fastEmit_ARMISD_VSHRuIMM_MVT_v8i8_ri(MVT RetVT, unsigned Op0, bool Op0IsKill, uint64_t imm1) {
6009 unsigned fastEmit_ARMISD_VSHRuIMM_MVT_v16i8_ri(MVT RetVT, unsigned Op0, bool Op0IsKill, uint64_t imm1) {
6018 unsigned fastEmit_ARMISD_VSHRuIMM_MVT_v4i16_ri(MVT RetVT, unsigned Op0, bool Op0IsKill, uint64_t imm1) {
6027 unsigned fastEmit_ARMISD_VSHRuIMM_MVT_v8i16_ri(MVT RetVT, unsigned Op0, bool Op0IsKill, uint64_t imm1) {
6036 unsigned fastEmit_ARMISD_VSHRuIMM_MVT_v2i32_ri(MVT RetVT, unsigned Op0, bool Op0IsKill, uint64_t imm1) {
6045 unsigned fastEmit_ARMISD_VSHRuIMM_MVT_v4i32_ri(MVT RetVT, unsigned Op0, bool Op0IsKill, uint64_t imm1) {
6054 unsigned fastEmit_ARMISD_VSHRuIMM_MVT_v1i64_ri(MVT RetVT, unsigned Op0, bool Op0IsKill, uint64_t imm1) {
6063 unsigned fastEmit_ARMISD_VSHRuIMM_MVT_v2i64_ri(MVT RetVT, unsigned Op0, bool Op0IsKill, uint64_t imm1) {
6072 unsigned fastEmit_ARMISD_VSHRuIMM_ri(MVT VT, MVT RetVT, unsigned Op0, bool Op0IsKill, uint64_t imm1) {
6088 unsigned fastEmit_ISD_EXTRACT_VECTOR_ELT_MVT_v2i32_ri(MVT RetVT, unsigned Op0, bool Op0IsKill, uint64_t imm1) {
6097 unsigned fastEmit_ISD_EXTRACT_VECTOR_ELT_ri(MVT VT, MVT RetVT, unsigned Op0, bool Op0IsKill, uint64_t imm1) {
6106 unsigned fastEmit_ISD_SHL_MVT_i32_ri(MVT RetVT, unsigned Op0, bool Op0IsKill, uint64_t imm1) {
6115 unsigned fastEmit_ISD_SHL_ri(MVT VT, MVT RetVT, unsigned Op0, bool Op0IsKill, uint64_t imm1) {
6124 unsigned fastEmit_ri(MVT VT, MVT RetVT, unsigned Opcode, unsigned Op0, bool Op0IsKill, uint64_t imm1) override {
6198 unsigned fastEmit_ARMISD_CMN_MVT_i32_ri_Predicate_mod_imm(MVT RetVT, unsigned Op0, bool Op0IsKill, uint64_t imm1) {
6207 unsigned fastEmit_ARMISD_CMN_ri_Predicate_mod_imm(MVT VT, MVT RetVT, unsigned Op0, bool Op0IsKill, uint64_t imm1) {
6216 unsigned fastEmit_ARMISD_CMP_MVT_i32_ri_Predicate_mod_imm(MVT RetVT, unsigned Op0, bool Op0IsKill, uint64_t imm1) {
6225 unsigned fastEmit_ARMISD_CMP_ri_Predicate_mod_imm(MVT VT, MVT RetVT, unsigned Op0, bool Op0IsKill, uint64_t imm1) {
6234 unsigned fastEmit_ARMISD_CMPZ_MVT_i32_ri_Predicate_mod_imm(MVT RetVT, unsigned Op0, bool Op0IsKill, uint64_t imm1) {
6243 unsigned fastEmit_ARMISD_CMPZ_ri_Predicate_mod_imm(MVT VT, MVT RetVT, unsigned Op0, bool Op0IsKill, uint64_t imm1) {
6252 unsigned fastEmit_ARMISD_SUBS_MVT_i32_ri_Predicate_mod_imm(MVT RetVT, unsigned Op0, bool Op0IsKill, uint64_t imm1) {
6261 unsigned fastEmit_ARMISD_SUBS_ri_Predicate_mod_imm(MVT VT, MVT RetVT, unsigned Op0, bool Op0IsKill, uint64_t imm1) {
6270 unsigned fastEmit_ISD_ADD_MVT_i32_ri_Predicate_mod_imm(MVT RetVT, unsigned Op0, bool Op0IsKill, uint64_t imm1) {
6279 unsigned fastEmit_ISD_ADD_ri_Predicate_mod_imm(MVT VT, MVT RetVT, unsigned Op0, bool Op0IsKill, uint64_t imm1) {
6288 unsigned fastEmit_ISD_AND_MVT_i32_ri_Predicate_mod_imm(MVT RetVT, unsigned Op0, bool Op0IsKill, uint64_t imm1) {
6297 unsigned fastEmit_ISD_AND_ri_Predicate_mod_imm(MVT VT, MVT RetVT, unsigned Op0, bool Op0IsKill, uint64_t imm1) {
6306 unsigned fastEmit_ISD_OR_MVT_i32_ri_Predicate_mod_imm(MVT RetVT, unsigned Op0, bool Op0IsKill, uint64_t imm1) {
6315 unsigned fastEmit_ISD_OR_ri_Predicate_mod_imm(MVT VT, MVT RetVT, unsigned Op0, bool Op0IsKill, uint64_t imm1) {
6324 unsigned fastEmit_ISD_SUB_MVT_i32_ri_Predicate_mod_imm(MVT RetVT, unsigned Op0, bool Op0IsKill, uint64_t imm1) {
6333 unsigned fastEmit_ISD_SUB_ri_Predicate_mod_imm(MVT VT, MVT RetVT, unsigned Op0, bool Op0IsKill, uint64_t imm1) {
6342 unsigned fastEmit_ISD_XOR_MVT_i32_ri_Predicate_mod_imm(MVT RetVT, unsigned Op0, bool Op0IsKill, uint64_t imm1) {
6351 unsigned fastEmit_ISD_XOR_ri_Predicate_mod_imm(MVT VT, MVT RetVT, unsigned Op0, bool Op0IsKill, uint64_t imm1) {
6360 unsigned fastEmit_ri_Predicate_mod_imm(MVT VT, MVT RetVT, unsigned Opcode, unsigned Op0, bool Op0IsKill, uint64_t imm1) {
6377 unsigned fastEmit_ARMISD_SUBS_MVT_i32_ri_Predicate_imm0_7(MVT RetVT, unsigned Op0, bool Op0IsKill, uint64_t imm1) {
6386 unsigned fastEmit_ARMISD_SUBS_ri_Predicate_imm0_7(MVT VT, MVT RetVT, unsigned Op0, bool Op0IsKill, uint64_t imm1) {
6395 unsigned fastEmit_ARMISD_VSHLIMM_MVT_v16i8_ri_Predicate_imm0_7(MVT RetVT, unsigned Op0, bool Op0IsKill, uint64_t imm1) {
6404 unsigned fastEmit_ARMISD_VSHLIMM_ri_Predicate_imm0_7(MVT VT, MVT RetVT, unsigned Op0, bool Op0IsKill, uint64_t imm1) {
6413 unsigned fastEmit_ARMISD_VSHRsIMM_MVT_v16i8_ri_Predicate_imm0_7(MVT RetVT, unsigned Op0, bool Op0IsKill, uint64_t imm1) {
6422 unsigned fastEmit_ARMISD_VSHRsIMM_ri_Predicate_imm0_7(MVT VT, MVT RetVT, unsigned Op0, bool Op0IsKill, uint64_t imm1) {
6431 unsigned fastEmit_ARMISD_VSHRuIMM_MVT_v16i8_ri_Predicate_imm0_7(MVT RetVT, unsigned Op0, bool Op0IsKill, uint64_t imm1) {
6440 unsigned fastEmit_ARMISD_VSHRuIMM_ri_Predicate_imm0_7(MVT VT, MVT RetVT, unsigned Op0, bool Op0IsKill, uint64_t imm1) {
6449 unsigned fastEmit_ISD_ADD_MVT_i32_ri_Predicate_imm0_7(MVT RetVT, unsigned Op0, bool Op0IsKill, uint64_t imm1) {
6458 unsigned fastEmit_ISD_ADD_ri_Predicate_imm0_7(MVT VT, MVT RetVT, unsigned Op0, bool Op0IsKill, uint64_t imm1) {
6467 unsigned fastEmit_ri_Predicate_imm0_7(MVT VT, MVT RetVT, unsigned Opcode, unsigned Op0, bool Op0IsKill, uint64_t imm1) {
6480 unsigned fastEmit_ISD_ADD_MVT_i32_ri_Predicate_imm8_255(MVT RetVT, unsigned Op0, bool Op0IsKill, uint64_t imm1) {
6489 unsigned fastEmit_ISD_ADD_ri_Predicate_imm8_255(MVT VT, MVT RetVT, unsigned Op0, bool Op0IsKill, uint64_t imm1) {
6498 unsigned fastEmit_ri_Predicate_imm8_255(MVT VT, MVT RetVT, unsigned Opcode, unsigned Op0, bool Op0IsKill, uint64_t imm1) {
6507 unsigned fastEmit_ARMISD_CMP_MVT_i32_ri_Predicate_imm0_255(MVT RetVT, unsigned Op0, bool Op0IsKill, uint64_t imm1) {
6516 unsigned fastEmit_ARMISD_CMP_ri_Predicate_imm0_255(MVT VT, MVT RetVT, unsigned Op0, bool Op0IsKill, uint64_t imm1) {
6525 unsigned fastEmit_ARMISD_CMPZ_MVT_i32_ri_Predicate_imm0_255(MVT RetVT, unsigned Op0, bool Op0IsKill, uint64_t imm1) {
6534 unsigned fastEmit_ARMISD_CMPZ_ri_Predicate_imm0_255(MVT VT, MVT RetVT, unsigned Op0, bool Op0IsKill, uint64_t imm1) {
6543 unsigned fastEmit_ARMISD_SUBS_MVT_i32_ri_Predicate_imm0_255(MVT RetVT, unsigned Op0, bool Op0IsKill, uint64_t imm1) {
6552 unsigned fastEmit_ARMISD_SUBS_ri_Predicate_imm0_255(MVT VT, MVT RetVT, unsigned Op0, bool Op0IsKill, uint64_t imm1) {
6561 unsigned fastEmit_ri_Predicate_imm0_255(MVT VT, MVT RetVT, unsigned Opcode, unsigned Op0, bool Op0IsKill, uint64_t imm1) {
6572 unsigned fastEmit_ARMISD_CMP_MVT_i32_ri_Predicate_t2_so_imm(MVT RetVT, unsigned Op0, bool Op0IsKill, uint64_t imm1) {
6581 unsigned fastEmit_ARMISD_CMP_ri_Predicate_t2_so_imm(MVT VT, MVT RetVT, unsigned Op0, bool Op0IsKill, uint64_t imm1) {
6590 unsigned fastEmit_ARMISD_CMPZ_MVT_i32_ri_Predicate_t2_so_imm(MVT RetVT, unsigned Op0, bool Op0IsKill, uint64_t imm1) {
6599 unsigned fastEmit_ARMISD_CMPZ_ri_Predicate_t2_so_imm(MVT VT, MVT RetVT, unsigned Op0, bool Op0IsKill, uint64_t imm1) {
6608 unsigned fastEmit_ARMISD_SUBS_MVT_i32_ri_Predicate_t2_so_imm(MVT RetVT, unsigned Op0, bool Op0IsKill, uint64_t imm1) {
6617 unsigned fastEmit_ARMISD_SUBS_ri_Predicate_t2_so_imm(MVT VT, MVT RetVT, unsigned Op0, bool Op0IsKill, uint64_t imm1) {
6626 unsigned fastEmit_ISD_ADD_MVT_i32_ri_Predicate_t2_so_imm(MVT RetVT, unsigned Op0, bool Op0IsKill, uint64_t imm1) {
6635 unsigned fastEmit_ISD_ADD_ri_Predicate_t2_so_imm(MVT VT, MVT RetVT, unsigned Op0, bool Op0IsKill, uint64_t imm1) {
6644 unsigned fastEmit_ISD_AND_MVT_i32_ri_Predicate_t2_so_imm(MVT RetVT, unsigned Op0, bool Op0IsKill, uint64_t imm1) {
6653 unsigned fastEmit_ISD_AND_ri_Predicate_t2_so_imm(MVT VT, MVT RetVT, unsigned Op0, bool Op0IsKill, uint64_t imm1) {
6662 unsigned fastEmit_ISD_OR_MVT_i32_ri_Predicate_t2_so_imm(MVT RetVT, unsigned Op0, bool Op0IsKill, uint64_t imm1) {
6671 unsigned fastEmit_ISD_OR_ri_Predicate_t2_so_imm(MVT VT, MVT RetVT, unsigned Op0, bool Op0IsKill, uint64_t imm1) {
6680 unsigned fastEmit_ISD_SUB_MVT_i32_ri_Predicate_t2_so_imm(MVT RetVT, unsigned Op0, bool Op0IsKill, uint64_t imm1) {
6689 unsigned fastEmit_ISD_SUB_ri_Predicate_t2_so_imm(MVT VT, MVT RetVT, unsigned Op0, bool Op0IsKill, uint64_t imm1) {
6698 unsigned fastEmit_ISD_XOR_MVT_i32_ri_Predicate_t2_so_imm(MVT RetVT, unsigned Op0, bool Op0IsKill, uint64_t imm1) {
6707 unsigned fastEmit_ISD_XOR_ri_Predicate_t2_so_imm(MVT VT, MVT RetVT, unsigned Op0, bool Op0IsKill, uint64_t imm1) {
6716 unsigned fastEmit_ri_Predicate_t2_so_imm(MVT VT, MVT RetVT, unsigned Opcode, unsigned Op0, bool Op0IsKill, uint64_t imm1) {
6732 unsigned fastEmit_ISD_ADD_MVT_i32_ri_Predicate_imm0_4095(MVT RetVT, unsigned Op0, bool Op0IsKill, uint64_t imm1) {
6741 unsigned fastEmit_ISD_ADD_ri_Predicate_imm0_4095(MVT VT, MVT RetVT, unsigned Op0, bool Op0IsKill, uint64_t imm1) {
6750 unsigned fastEmit_ISD_SUB_MVT_i32_ri_Predicate_imm0_4095(MVT RetVT, unsigned Op0, bool Op0IsKill, uint64_t imm1) {
6759 unsigned fastEmit_ISD_SUB_ri_Predicate_imm0_4095(MVT VT, MVT RetVT, unsigned Op0, bool Op0IsKill, uint64_t imm1) {
6768 unsigned fastEmit_ri_Predicate_imm0_4095(MVT VT, MVT RetVT, unsigned Opcode, unsigned Op0, bool Op0IsKill, uint64_t imm1) {
6778 unsigned fastEmit_ISD_SHL_MVT_i32_ri_Predicate_imm1_31(MVT RetVT, unsigned Op0, bool Op0IsKill, uint64_t imm1) {
6787 unsigned fastEmit_ISD_SHL_ri_Predicate_imm1_31(MVT VT, MVT RetVT, unsigned Op0, bool Op0IsKill, uint64_t imm1) {
6796 unsigned fastEmit_ri_Predicate_imm1_31(MVT VT, MVT RetVT, unsigned Opcode, unsigned Op0, bool Op0IsKill, uint64_t imm1) {
6805 unsigned fastEmit_ARMISD_VSHLIMM_MVT_v4i32_ri_Predicate_imm0_31(MVT RetVT, unsigned Op0, bool Op0IsKill, uint64_t imm1) {
6814 unsigned fastEmit_ARMISD_VSHLIMM_ri_Predicate_imm0_31(MVT VT, MVT RetVT, unsigned Op0, bool Op0IsKill, uint64_t imm1) {
6823 unsigned fastEmit_ARMISD_VSHRsIMM_MVT_v4i32_ri_Predicate_imm0_31(MVT RetVT, unsigned Op0, bool Op0IsKill, uint64_t imm1) {
6832 unsigned fastEmit_ARMISD_VSHRsIMM_ri_Predicate_imm0_31(MVT VT, MVT RetVT, unsigned Op0, bool Op0IsKill, uint64_t imm1) {
6841 unsigned fastEmit_ARMISD_VSHRuIMM_MVT_v4i32_ri_Predicate_imm0_31(MVT RetVT, unsigned Op0, bool Op0IsKill, uint64_t imm1) {
6850 unsigned fastEmit_ARMISD_VSHRuIMM_ri_Predicate_imm0_31(MVT VT, MVT RetVT, unsigned Op0, bool Op0IsKill, uint64_t imm1) {
6859 unsigned fastEmit_ISD_ROTR_MVT_i32_ri_Predicate_imm0_31(MVT RetVT, unsigned Op0, bool Op0IsKill, uint64_t imm1) {
6868 unsigned fastEmit_ISD_ROTR_ri_Predicate_imm0_31(MVT VT, MVT RetVT, unsigned Op0, bool Op0IsKill, uint64_t imm1) {
6877 unsigned fastEmit_ri_Predicate_imm0_31(MVT VT, MVT RetVT, unsigned Opcode, unsigned Op0, bool Op0IsKill, uint64_t imm1) {
6889 unsigned fastEmit_ARMISD_VQRSHRNsIMM_MVT_v8i16_ri_Predicate_shr_imm8(MVT RetVT, unsigned Op0, bool Op0IsKill, uint64_t imm1) {
6898 unsigned fastEmit_ARMISD_VQRSHRNsIMM_ri_Predicate_shr_imm8(MVT VT, MVT RetVT, unsigned Op0, bool Op0IsKill, uint64_t imm1) {
6907 unsigned fastEmit_ARMISD_VQRSHRNsuIMM_MVT_v8i16_ri_Predicate_shr_imm8(MVT RetVT, unsigned Op0, bool Op0IsKill, uint64_t imm1) {
6916 unsigned fastEmit_ARMISD_VQRSHRNsuIMM_ri_Predicate_shr_imm8(MVT VT, MVT RetVT, unsigned Op0, bool Op0IsKill, uint64_t imm1) {
6925 unsigned fastEmit_ARMISD_VQRSHRNuIMM_MVT_v8i16_ri_Predicate_shr_imm8(MVT RetVT, unsigned Op0, bool Op0IsKill, uint64_t imm1) {
6934 unsigned fastEmit_ARMISD_VQRSHRNuIMM_ri_Predicate_shr_imm8(MVT VT, MVT RetVT, unsigned Op0, bool Op0IsKill, uint64_t imm1) {
6943 unsigned fastEmit_ARMISD_VQSHRNsIMM_MVT_v8i16_ri_Predicate_shr_imm8(MVT RetVT, unsigned Op0, bool Op0IsKill, uint64_t imm1) {
6952 unsigned fastEmit_ARMISD_VQSHRNsIMM_ri_Predicate_shr_imm8(MVT VT, MVT RetVT, unsigned Op0, bool Op0IsKill, uint64_t imm1) {
6961 unsigned fastEmit_ARMISD_VQSHRNsuIMM_MVT_v8i16_ri_Predicate_shr_imm8(MVT RetVT, unsigned Op0, bool Op0IsKill, uint64_t imm1) {
6970 unsigned fastEmit_ARMISD_VQSHRNsuIMM_ri_Predicate_shr_imm8(MVT VT, MVT RetVT, unsigned Op0, bool Op0IsKill, uint64_t imm1) {
6979 unsigned fastEmit_ARMISD_VQSHRNuIMM_MVT_v8i16_ri_Predicate_shr_imm8(MVT RetVT, unsigned Op0, bool Op0IsKill, uint64_t imm1) {
6988 unsigned fastEmit_ARMISD_VQSHRNuIMM_ri_Predicate_shr_imm8(MVT VT, MVT RetVT, unsigned Op0, bool Op0IsKill, uint64_t imm1) {
6997 unsigned fastEmit_ARMISD_VRSHRNIMM_MVT_v8i16_ri_Predicate_shr_imm8(MVT RetVT, unsigned Op0, bool Op0IsKill, uint64_t imm1) {
7006 unsigned fastEmit_ARMISD_VRSHRNIMM_ri_Predicate_shr_imm8(MVT VT, MVT RetVT, unsigned Op0, bool Op0IsKill, uint64_t imm1) {
7015 unsigned fastEmit_ri_Predicate_shr_imm8(MVT VT, MVT RetVT, unsigned Opcode, unsigned Op0, bool Op0IsKill, uint64_t imm1) {
7030 unsigned fastEmit_ARMISD_VQRSHRNsIMM_MVT_v4i32_ri_Predicate_shr_imm16(MVT RetVT, unsigned Op0, bool Op0IsKill, uint64_t imm1) {
7039 unsigned fastEmit_ARMISD_VQRSHRNsIMM_ri_Predicate_shr_imm16(MVT VT, MVT RetVT, unsigned Op0, bool Op0IsKill, uint64_t imm1) {
7048 unsigned fastEmit_ARMISD_VQRSHRNsuIMM_MVT_v4i32_ri_Predicate_shr_imm16(MVT RetVT, unsigned Op0, bool Op0IsKill, uint64_t imm1) {
7057 unsigned fastEmit_ARMISD_VQRSHRNsuIMM_ri_Predicate_shr_imm16(MVT VT, MVT RetVT, unsigned Op0, bool Op0IsKill, uint64_t imm1) {
7066 unsigned fastEmit_ARMISD_VQRSHRNuIMM_MVT_v4i32_ri_Predicate_shr_imm16(MVT RetVT, unsigned Op0, bool Op0IsKill, uint64_t imm1) {
7075 unsigned fastEmit_ARMISD_VQRSHRNuIMM_ri_Predicate_shr_imm16(MVT VT, MVT RetVT, unsigned Op0, bool Op0IsKill, uint64_t imm1) {
7084 unsigned fastEmit_ARMISD_VQSHRNsIMM_MVT_v4i32_ri_Predicate_shr_imm16(MVT RetVT, unsigned Op0, bool Op0IsKill, uint64_t imm1) {
7093 unsigned fastEmit_ARMISD_VQSHRNsIMM_ri_Predicate_shr_imm16(MVT VT, MVT RetVT, unsigned Op0, bool Op0IsKill, uint64_t imm1) {
7102 unsigned fastEmit_ARMISD_VQSHRNsuIMM_MVT_v4i32_ri_Predicate_shr_imm16(MVT RetVT, unsigned Op0, bool Op0IsKill, uint64_t imm1) {
7111 unsigned fastEmit_ARMISD_VQSHRNsuIMM_ri_Predicate_shr_imm16(MVT VT, MVT RetVT, unsigned Op0, bool Op0IsKill, uint64_t imm1) {
7120 unsigned fastEmit_ARMISD_VQSHRNuIMM_MVT_v4i32_ri_Predicate_shr_imm16(MVT RetVT, unsigned Op0, bool Op0IsKill, uint64_t imm1) {
7129 unsigned fastEmit_ARMISD_VQSHRNuIMM_ri_Predicate_shr_imm16(MVT VT, MVT RetVT, unsigned Op0, bool Op0IsKill, uint64_t imm1) {
7138 unsigned fastEmit_ARMISD_VRSHRNIMM_MVT_v4i32_ri_Predicate_shr_imm16(MVT RetVT, unsigned Op0, bool Op0IsKill, uint64_t imm1) {
7147 unsigned fastEmit_ARMISD_VRSHRNIMM_ri_Predicate_shr_imm16(MVT VT, MVT RetVT, unsigned Op0, bool Op0IsKill, uint64_t imm1) {
7156 unsigned fastEmit_ri_Predicate_shr_imm16(MVT VT, MVT RetVT, unsigned Opcode, unsigned Op0, bool Op0IsKill, uint64_t imm1) {
7171 unsigned fastEmit_ARMISD_VQRSHRNsIMM_MVT_v2i64_ri_Predicate_shr_imm32(MVT RetVT, unsigned Op0, bool Op0IsKill, uint64_t imm1) {
7180 unsigned fastEmit_ARMISD_VQRSHRNsIMM_ri_Predicate_shr_imm32(MVT VT, MVT RetVT, unsigned Op0, bool Op0IsKill, uint64_t imm1) {
7189 unsigned fastEmit_ARMISD_VQRSHRNsuIMM_MVT_v2i64_ri_Predicate_shr_imm32(MVT RetVT, unsigned Op0, bool Op0IsKill, uint64_t imm1) {
7198 unsigned fastEmit_ARMISD_VQRSHRNsuIMM_ri_Predicate_shr_imm32(MVT VT, MVT RetVT, unsigned Op0, bool Op0IsKill, uint64_t imm1) {
7207 unsigned fastEmit_ARMISD_VQRSHRNuIMM_MVT_v2i64_ri_Predicate_shr_imm32(MVT RetVT, unsigned Op0, bool Op0IsKill, uint64_t imm1) {
7216 unsigned fastEmit_ARMISD_VQRSHRNuIMM_ri_Predicate_shr_imm32(MVT VT, MVT RetVT, unsigned Op0, bool Op0IsKill, uint64_t imm1) {
7225 unsigned fastEmit_ARMISD_VQSHRNsIMM_MVT_v2i64_ri_Predicate_shr_imm32(MVT RetVT, unsigned Op0, bool Op0IsKill, uint64_t imm1) {
7234 unsigned fastEmit_ARMISD_VQSHRNsIMM_ri_Predicate_shr_imm32(MVT VT, MVT RetVT, unsigned Op0, bool Op0IsKill, uint64_t imm1) {
7243 unsigned fastEmit_ARMISD_VQSHRNsuIMM_MVT_v2i64_ri_Predicate_shr_imm32(MVT RetVT, unsigned Op0, bool Op0IsKill, uint64_t imm1) {
7252 unsigned fastEmit_ARMISD_VQSHRNsuIMM_ri_Predicate_shr_imm32(MVT VT, MVT RetVT, unsigned Op0, bool Op0IsKill, uint64_t imm1) {
7261 unsigned fastEmit_ARMISD_VQSHRNuIMM_MVT_v2i64_ri_Predicate_shr_imm32(MVT RetVT, unsigned Op0, bool Op0IsKill, uint64_t imm1) {
7270 unsigned fastEmit_ARMISD_VQSHRNuIMM_ri_Predicate_shr_imm32(MVT VT, MVT RetVT, unsigned Op0, bool Op0IsKill, uint64_t imm1) {
7279 unsigned fastEmit_ARMISD_VRSHRNIMM_MVT_v2i64_ri_Predicate_shr_imm32(MVT RetVT, unsigned Op0, bool Op0IsKill, uint64_t imm1) {
7288 unsigned fastEmit_ARMISD_VRSHRNIMM_ri_Predicate_shr_imm32(MVT VT, MVT RetVT, unsigned Op0, bool Op0IsKill, uint64_t imm1) {
7297 unsigned fastEmit_ri_Predicate_shr_imm32(MVT VT, MVT RetVT, unsigned Opcode, unsigned Op0, bool Op0IsKill, uint64_t imm1) {
7312 unsigned fastEmit_ARMISD_VDUPLANE_MVT_v8i8_ri_Predicate_VectorIndex32(MVT RetVT, unsigned Op0, bool Op0IsKill, uint64_t imm1) {
7321 unsigned fastEmit_ARMISD_VDUPLANE_MVT_v4i16_ri_Predicate_VectorIndex32(MVT RetVT, unsigned Op0, bool Op0IsKill, uint64_t imm1) {
7330 unsigned fastEmit_ARMISD_VDUPLANE_MVT_v2i32_ri_Predicate_VectorIndex32(MVT RetVT, unsigned Op0, bool Op0IsKill, uint64_t imm1) {
7339 unsigned fastEmit_ARMISD_VDUPLANE_ri_Predicate_VectorIndex32(MVT VT, MVT RetVT, unsigned Op0, bool Op0IsKill, uint64_t imm1) {
7350 unsigned fastEmit_ri_Predicate_VectorIndex32(MVT VT, MVT RetVT, unsigned Opcode, unsigned Op0, bool Op0IsKill, uint64_t imm1) {
7359 unsigned fastEmit_ARMISD_VSHLIMM_MVT_v8i16_ri_Predicate_imm0_15(MVT RetVT, unsigned Op0, bool Op0IsKill, uint64_t imm1) {
7368 unsigned fastEmit_ARMISD_VSHLIMM_ri_Predicate_imm0_15(MVT VT, MVT RetVT, unsigned Op0, bool Op0IsKill, uint64_t imm1) {
7377 unsigned fastEmit_ARMISD_VSHRsIMM_MVT_v8i16_ri_Predicate_imm0_15(MVT RetVT, unsigned Op0, bool Op0IsKill, uint64_t imm1) {
7386 unsigned fastEmit_ARMISD_VSHRsIMM_ri_Predicate_imm0_15(MVT VT, MVT RetVT, unsigned Op0, bool Op0IsKill, uint64_t imm1) {
7395 unsigned fastEmit_ARMISD_VSHRuIMM_MVT_v8i16_ri_Predicate_imm0_15(MVT RetVT, unsigned Op0, bool Op0IsKill, uint64_t imm1) {
7404 unsigned fastEmit_ARMISD_VSHRuIMM_ri_Predicate_imm0_15(MVT VT, MVT RetVT, unsigned Op0, bool Op0IsKill, uint64_t imm1) {
7413 unsigned fastEmit_ri_Predicate_imm0_15(MVT VT, MVT RetVT, unsigned Opcode, unsigned Op0, bool Op0IsKill, uint64_t imm1) {
7424 unsigned fastEmit_ISD_Constant_MVT_i32_i(MVT RetVT, uint64_t imm0) {
7433 unsigned fastEmit_ISD_Constant_i(MVT VT, MVT RetVT, uint64_t imm0) {
7442 unsigned fastEmit_i(MVT VT, MVT RetVT, unsigned Opcode, uint64_t imm0) override {
gen/lib/Target/ARM/ARMGenMCCodeEmitter.inc 9 uint64_t ARMMCCodeEmitter::getBinaryCodeForInstr(const MCInst &MI,
12 static const uint64_t InstBits[] = {
4229 uint64_t Value = InstBits[opcode];
4230 uint64_t op = 0;
gen/lib/Target/AVR/AVRGenAsmMatcher.inc 21 uint64_t &ErrorInfo,
27 uint64_t &ErrorInfo,
1008 uint64_t &ErrorInfo) {
1259 uint64_t &ErrorInfo,
gen/lib/Target/AVR/AVRGenDAGISel.inc 1581 uint64_t val = N->getZExtValue();
1639 uint64_t val = N->getZExtValue();
1666 uint64_t val = N->getZExtValue();
gen/lib/Target/AVR/AVRGenDisassemblerTables.inc 428 uint64_t Address, const void *Decoder, bool &DecodeComplete) {
576 InsnType insn, uint64_t Address,
gen/lib/Target/AVR/AVRGenMCCodeEmitter.inc 9 uint64_t AVRMCCodeEmitter::getBinaryCodeForInstr(const MCInst &MI,
12 static const uint64_t InstBits[] = {
358 uint64_t Value = InstBits[opcode];
359 uint64_t op = 0;
gen/lib/Target/BPF/BPFGenAsmMatcher.inc 21 uint64_t &ErrorInfo,
27 uint64_t &ErrorInfo,
696 uint64_t &ErrorInfo) {
899 uint64_t &ErrorInfo,
gen/lib/Target/BPF/BPFGenDisassemblerTables.inc 333 uint64_t Address, const void *Decoder, bool &DecodeComplete) {
513 InsnType insn, uint64_t Address,
gen/lib/Target/BPF/BPFGenMCCodeEmitter.inc 9 uint64_t BPFMCCodeEmitter::getBinaryCodeForInstr(const MCInst &MI,
12 static const uint64_t InstBits[] = {
325 uint64_t Value = InstBits[opcode];
326 uint64_t op = 0;
gen/lib/Target/Hexagon/HexagonGenAsmMatcher.inc 21 uint64_t &ErrorInfo,
27 uint64_t &ErrorInfo,
7479 uint64_t &ErrorInfo) {
10245 uint64_t &ErrorInfo,
gen/lib/Target/Hexagon/HexagonGenAsmWriter.inc 9073 uint64_t Bits = 0;
gen/lib/Target/Hexagon/HexagonGenDAGISel.inc72621 uint64_t V = N->getZExtValue();
72630 uint64_t V = N->getZExtValue();
72681 uint64_t NV = ~N->getZExtValue();
72690 uint64_t NV = ~N->getZExtValue();
72698 uint64_t V = N->getZExtValue();return isUInt<32>(V) && V <= 31;
72704 uint64_t V = N->getZExtValue();return isUInt<32>(V) && V > 31;
72710 uint64_t V = N->getZExtValue();return isUInt<8>(V) && V > 31;
72716 uint64_t V = N->getZExtValue();return isUInt<32>(V) && V > 32;
72859 uint64_t V = N->getZExtValue();
73058 uint64_t V = N->getZExtValue();
73073 uint64_t NV = ~N->getZExtValue();
gen/lib/Target/Hexagon/HexagonGenDFAPacketizer.inc11281 uint64_t Action; // The input symbol that causes this transition.
37742 static Automaton<uint64_t> A(ArrayRef<HexagonTransition>(HexagonTransitions), HexagonTransitionInfo);
gen/lib/Target/Hexagon/HexagonGenDisassemblerTables.inc 8544 uint64_t Address, const void *Decoder, bool &DecodeComplete) {
12200 InsnType insn, uint64_t Address,
gen/lib/Target/Hexagon/HexagonGenMCCodeEmitter.inc 9 uint64_t HexagonMCCodeEmitter::getBinaryCodeForInstr(const MCInst &MI,
12 static const uint64_t InstBits[] = {
2994 uint64_t Value = InstBits[opcode];
2995 uint64_t op = 0;
gen/lib/Target/Lanai/LanaiGenAsmMatcher.inc 21 uint64_t &ErrorInfo,
27 uint64_t &ErrorInfo,
862 uint64_t &ErrorInfo) {
1043 uint64_t &ErrorInfo,
gen/lib/Target/Lanai/LanaiGenDisassemblerTables.inc 313 uint64_t Address, const void *Decoder, bool &DecodeComplete) {
454 InsnType insn, uint64_t Address,
gen/lib/Target/Lanai/LanaiGenMCCodeEmitter.inc 9 uint64_t LanaiMCCodeEmitter::getBinaryCodeForInstr(const MCInst &MI,
12 static const uint64_t InstBits[] = {
289 uint64_t Value = InstBits[opcode];
290 uint64_t op = 0;
gen/lib/Target/MSP430/MSP430GenAsmMatcher.inc 21 uint64_t &ErrorInfo,
27 uint64_t &ErrorInfo,
630 uint64_t &ErrorInfo) {
1101 uint64_t &ErrorInfo,
gen/lib/Target/MSP430/MSP430GenDisassemblerTables.inc 1043 uint64_t Address, const void *Decoder, bool &DecodeComplete) {
1331 InsnType insn, uint64_t Address,
gen/lib/Target/MSP430/MSP430GenMCCodeEmitter.inc 9 uint64_t MSP430MCCodeEmitter::getBinaryCodeForInstr(const MCInst &MI,
12 static const uint64_t InstBits[] = {
533 uint64_t Value = InstBits[opcode];
534 uint64_t op = 0;
gen/lib/Target/Mips/MipsGenAsmMatcher.inc 21 uint64_t &ErrorInfo,
27 uint64_t &ErrorInfo,
4879 uint64_t &ErrorInfo) {
8077 uint64_t &ErrorInfo,
gen/lib/Target/Mips/MipsGenAsmWriter.inc 6671 uint64_t Bits = 0;
gen/lib/Target/Mips/MipsGenDAGISel.inc30127 uint64_t Imm = N->getZExtValue();
30140 uint64_t Imm = N->getZExtValue();
30153 uint64_t Imm = N->getZExtValue();
30442 uint64_t Val = N->getZExtValue();
gen/lib/Target/Mips/MipsGenDisassemblerTables.inc 7624 uint64_t Address, const void *Decoder, bool &DecodeComplete) {
10311 InsnType insn, uint64_t Address,
gen/lib/Target/Mips/MipsGenFastISel.inc 3455 unsigned fastEmit_MipsISD_ExtractElementF64_MVT_f64_ri(MVT RetVT, unsigned Op0, bool Op0IsKill, uint64_t imm1) {
3467 unsigned fastEmit_MipsISD_ExtractElementF64_ri(MVT VT, MVT RetVT, unsigned Op0, bool Op0IsKill, uint64_t imm1) {
3476 unsigned fastEmit_MipsISD_SHLL_DSP_MVT_v4i8_ri(MVT RetVT, unsigned Op0, bool Op0IsKill, uint64_t imm1) {
3485 unsigned fastEmit_MipsISD_SHLL_DSP_MVT_v2i16_ri(MVT RetVT, unsigned Op0, bool Op0IsKill, uint64_t imm1) {
3494 unsigned fastEmit_MipsISD_SHLL_DSP_ri(MVT VT, MVT RetVT, unsigned Op0, bool Op0IsKill, uint64_t imm1) {
3504 unsigned fastEmit_MipsISD_SHRA_DSP_MVT_v4i8_ri(MVT RetVT, unsigned Op0, bool Op0IsKill, uint64_t imm1) {
3513 unsigned fastEmit_MipsISD_SHRA_DSP_MVT_v2i16_ri(MVT RetVT, unsigned Op0, bool Op0IsKill, uint64_t imm1) {
3522 unsigned fastEmit_MipsISD_SHRA_DSP_ri(MVT VT, MVT RetVT, unsigned Op0, bool Op0IsKill, uint64_t imm1) {
3532 unsigned fastEmit_MipsISD_SHRL_DSP_MVT_v4i8_ri(MVT RetVT, unsigned Op0, bool Op0IsKill, uint64_t imm1) {
3541 unsigned fastEmit_MipsISD_SHRL_DSP_MVT_v2i16_ri(MVT RetVT, unsigned Op0, bool Op0IsKill, uint64_t imm1) {
3550 unsigned fastEmit_MipsISD_SHRL_DSP_ri(MVT VT, MVT RetVT, unsigned Op0, bool Op0IsKill, uint64_t imm1) {
3560 unsigned fastEmit_ri(MVT VT, MVT RetVT, unsigned Opcode, unsigned Op0, bool Op0IsKill, uint64_t imm1) override {
3608 unsigned fastEmit_ISD_ROTR_MVT_i32_ri_Predicate_immZExt5(MVT RetVT, unsigned Op0, bool Op0IsKill, uint64_t imm1) {
3620 unsigned fastEmit_ISD_ROTR_ri_Predicate_immZExt5(MVT VT, MVT RetVT, unsigned Op0, bool Op0IsKill, uint64_t imm1) {
3629 unsigned fastEmit_ISD_SHL_MVT_i32_ri_Predicate_immZExt5(MVT RetVT, unsigned Op0, bool Op0IsKill, uint64_t imm1) {
3644 unsigned fastEmit_ISD_SHL_ri_Predicate_immZExt5(MVT VT, MVT RetVT, unsigned Op0, bool Op0IsKill, uint64_t imm1) {
3653 unsigned fastEmit_ISD_SRA_MVT_i32_ri_Predicate_immZExt5(MVT RetVT, unsigned Op0, bool Op0IsKill, uint64_t imm1) {
3668 unsigned fastEmit_ISD_SRA_ri_Predicate_immZExt5(MVT VT, MVT RetVT, unsigned Op0, bool Op0IsKill, uint64_t imm1) {
3677 unsigned fastEmit_ISD_SRL_MVT_i32_ri_Predicate_immZExt5(MVT RetVT, unsigned Op0, bool Op0IsKill, uint64_t imm1) {
3692 unsigned fastEmit_ISD_SRL_ri_Predicate_immZExt5(MVT VT, MVT RetVT, unsigned Op0, bool Op0IsKill, uint64_t imm1) {
3701 unsigned fastEmit_ri_Predicate_immZExt5(MVT VT, MVT RetVT, unsigned Opcode, unsigned Op0, bool Op0IsKill, uint64_t imm1) {
3713 unsigned fastEmit_ISD_ROTR_MVT_i64_ri_Predicate_immZExt6(MVT RetVT, unsigned Op0, bool Op0IsKill, uint64_t imm1) {
3722 unsigned fastEmit_ISD_ROTR_ri_Predicate_immZExt6(MVT VT, MVT RetVT, unsigned Op0, bool Op0IsKill, uint64_t imm1) {
3731 unsigned fastEmit_ISD_SHL_MVT_i64_ri_Predicate_immZExt6(MVT RetVT, unsigned Op0, bool Op0IsKill, uint64_t imm1) {
3740 unsigned fastEmit_ISD_SHL_ri_Predicate_immZExt6(MVT VT, MVT RetVT, unsigned Op0, bool Op0IsKill, uint64_t imm1) {
3749 unsigned fastEmit_ISD_SRA_MVT_i64_ri_Predicate_immZExt6(MVT RetVT, unsigned Op0, bool Op0IsKill, uint64_t imm1) {
3758 unsigned fastEmit_ISD_SRA_ri_Predicate_immZExt6(MVT VT, MVT RetVT, unsigned Op0, bool Op0IsKill, uint64_t imm1) {
3767 unsigned fastEmit_ISD_SRL_MVT_i64_ri_Predicate_immZExt6(MVT RetVT, unsigned Op0, bool Op0IsKill, uint64_t imm1) {
3776 unsigned fastEmit_ISD_SRL_ri_Predicate_immZExt6(MVT VT, MVT RetVT, unsigned Op0, bool Op0IsKill, uint64_t imm1) {
3785 unsigned fastEmit_ri_Predicate_immZExt6(MVT VT, MVT RetVT, unsigned Opcode, unsigned Op0, bool Op0IsKill, uint64_t imm1) {
3797 unsigned fastEmit_ISD_EXTRACT_VECTOR_ELT_MVT_v4f32_ri_Predicate_immZExt2Ptr(MVT RetVT, unsigned Op0, bool Op0IsKill, uint64_t imm1) {
3806 unsigned fastEmit_ISD_EXTRACT_VECTOR_ELT_ri_Predicate_immZExt2Ptr(MVT VT, MVT RetVT, unsigned Op0, bool Op0IsKill, uint64_t imm1) {
3815 unsigned fastEmit_ri_Predicate_immZExt2Ptr(MVT VT, MVT RetVT, unsigned Opcode, unsigned Op0, bool Op0IsKill, uint64_t imm1) {
3824 unsigned fastEmit_ISD_EXTRACT_VECTOR_ELT_MVT_v2f64_ri_Predicate_immZExt1Ptr(MVT RetVT, unsigned Op0, bool Op0IsKill, uint64_t imm1) {
3833 unsigned fastEmit_ISD_EXTRACT_VECTOR_ELT_ri_Predicate_immZExt1Ptr(MVT VT, MVT RetVT, unsigned Op0, bool Op0IsKill, uint64_t imm1) {
3842 unsigned fastEmit_ri_Predicate_immZExt1Ptr(MVT VT, MVT RetVT, unsigned Opcode, unsigned Op0, bool Op0IsKill, uint64_t imm1) {
3851 unsigned fastEmit_ISD_EXTRACT_VECTOR_ELT_MVT_v4i32_ri_Predicate_immZExt4(MVT RetVT, unsigned Op0, bool Op0IsKill, uint64_t imm1) {
3860 unsigned fastEmit_ISD_EXTRACT_VECTOR_ELT_ri_Predicate_immZExt4(MVT VT, MVT RetVT, unsigned Op0, bool Op0IsKill, uint64_t imm1) {
3869 unsigned fastEmit_ri_Predicate_immZExt4(MVT VT, MVT RetVT, unsigned Opcode, unsigned Op0, bool Op0IsKill, uint64_t imm1) {
3878 unsigned fastEmit_ISD_ADD_MVT_i32_ri_Predicate_immSExtAddiur2(MVT RetVT, unsigned Op0, bool Op0IsKill, uint64_t imm1) {
3887 unsigned fastEmit_ISD_ADD_ri_Predicate_immSExtAddiur2(MVT VT, MVT RetVT, unsigned Op0, bool Op0IsKill, uint64_t imm1) {
3896 unsigned fastEmit_ri_Predicate_immSExtAddiur2(MVT VT, MVT RetVT, unsigned Opcode, unsigned Op0, bool Op0IsKill, uint64_t imm1) {
3905 unsigned fastEmit_ISD_ADD_MVT_i32_ri_Predicate_immSExtAddius5(MVT RetVT, unsigned Op0, bool Op0IsKill, uint64_t imm1) {
3914 unsigned fastEmit_ISD_ADD_ri_Predicate_immSExtAddius5(MVT VT, MVT RetVT, unsigned Op0, bool Op0IsKill, uint64_t imm1) {
3923 unsigned fastEmit_ri_Predicate_immSExtAddius5(MVT VT, MVT RetVT, unsigned Opcode, unsigned Op0, bool Op0IsKill, uint64_t imm1) {
3932 unsigned fastEmit_ISD_AND_MVT_i32_ri_Predicate_immZExtAndi16(MVT RetVT, unsigned Op0, bool Op0IsKill, uint64_t imm1) {
3944 unsigned fastEmit_ISD_AND_ri_Predicate_immZExtAndi16(MVT VT, MVT RetVT, unsigned Op0, bool Op0IsKill, uint64_t imm1) {
3953 unsigned fastEmit_ri_Predicate_immZExtAndi16(MVT VT, MVT RetVT, unsigned Opcode, unsigned Op0, bool Op0IsKill, uint64_t imm1) {
3962 unsigned fastEmit_ISD_SHL_MVT_i32_ri_Predicate_immZExt2Shift(MVT RetVT, unsigned Op0, bool Op0IsKill, uint64_t imm1) {
3971 unsigned fastEmit_ISD_SHL_ri_Predicate_immZExt2Shift(MVT VT, MVT RetVT, unsigned Op0, bool Op0IsKill, uint64_t imm1) {
3980 unsigned fastEmit_ISD_SRL_MVT_i32_ri_Predicate_immZExt2Shift(MVT RetVT, unsigned Op0, bool Op0IsKill, uint64_t imm1) {
3989 unsigned fastEmit_ISD_SRL_ri_Predicate_immZExt2Shift(MVT VT, MVT RetVT, unsigned Op0, bool Op0IsKill, uint64_t imm1) {
3998 unsigned fastEmit_ri_Predicate_immZExt2Shift(MVT VT, MVT RetVT, unsigned Opcode, unsigned Op0, bool Op0IsKill, uint64_t imm1) {
4008 unsigned fastEmit_ISD_Constant_MVT_i32_i(MVT RetVT, uint64_t imm0) {
4017 unsigned fastEmit_ISD_Constant_i(MVT VT, MVT RetVT, uint64_t imm0) {
4026 unsigned fastEmit_i(MVT VT, MVT RetVT, unsigned Opcode, uint64_t imm0) override {
gen/lib/Target/Mips/MipsGenMCCodeEmitter.inc 9 uint64_t MipsMCCodeEmitter::getBinaryCodeForInstr(const MCInst &MI,
12 static const uint64_t InstBits[] = {
2728 uint64_t Value = InstBits[opcode];
2729 uint64_t op = 0;
gen/lib/Target/NVPTX/NVPTXGenAsmWriter.inc12833 uint64_t Bits = 0;
gen/lib/Target/PowerPC/PPCGenAsmMatcher.inc 21 uint64_t &ErrorInfo,
27 uint64_t &ErrorInfo,
4118 uint64_t &ErrorInfo) {
7003 uint64_t &ErrorInfo,
gen/lib/Target/PowerPC/PPCGenAsmWriter.inc 6070 uint64_t Bits = 0;
gen/lib/Target/PowerPC/PPCGenDisassemblerTables.inc 4787 uint64_t Address, const void *Decoder, bool &DecodeComplete) {
6561 InsnType insn, uint64_t Address,
gen/lib/Target/PowerPC/PPCGenFastISel.inc 3273 unsigned fastEmit_ISD_SRA_MVT_i32_ri(MVT RetVT, unsigned Op0, bool Op0IsKill, uint64_t imm1) {
3279 unsigned fastEmit_ISD_SRA_MVT_i64_ri(MVT RetVT, unsigned Op0, bool Op0IsKill, uint64_t imm1) {
3285 unsigned fastEmit_ISD_SRA_ri(MVT VT, MVT RetVT, unsigned Op0, bool Op0IsKill, uint64_t imm1) {
3295 unsigned fastEmit_PPCISD_EXTSWSLI_MVT_i32_ri(MVT RetVT, unsigned Op0, bool Op0IsKill, uint64_t imm1) {
3304 unsigned fastEmit_PPCISD_EXTSWSLI_ri(MVT VT, MVT RetVT, unsigned Op0, bool Op0IsKill, uint64_t imm1) {
3313 unsigned fastEmit_PPCISD_QVESPLATI_MVT_v4i1_ri(MVT RetVT, unsigned Op0, bool Op0IsKill, uint64_t imm1) {
3322 unsigned fastEmit_PPCISD_QVESPLATI_MVT_v4f32_ri(MVT RetVT, unsigned Op0, bool Op0IsKill, uint64_t imm1) {
3331 unsigned fastEmit_PPCISD_QVESPLATI_MVT_v4f64_ri(MVT RetVT, unsigned Op0, bool Op0IsKill, uint64_t imm1) {
3340 unsigned fastEmit_PPCISD_QVESPLATI_ri(MVT VT, MVT RetVT, unsigned Op0, bool Op0IsKill, uint64_t imm1) {
3351 unsigned fastEmit_PPCISD_TC_RETURN_MVT_i32_ri(MVT RetVT, unsigned Op0, bool Op0IsKill, uint64_t imm1) {
3357 unsigned fastEmit_PPCISD_TC_RETURN_MVT_i64_ri(MVT RetVT, unsigned Op0, bool Op0IsKill, uint64_t imm1) {
3363 unsigned fastEmit_PPCISD_TC_RETURN_ri(MVT VT, MVT RetVT, unsigned Op0, bool Op0IsKill, uint64_t imm1) {
3373 unsigned fastEmit_ri(MVT VT, MVT RetVT, unsigned Opcode, unsigned Op0, bool Op0IsKill, uint64_t imm1) override {
3393 unsigned fastEmit_ISD_ADD_MVT_i32_ri_Predicate_imm32SExt16(MVT RetVT, unsigned Op0, bool Op0IsKill, uint64_t imm1) {
3399 unsigned fastEmit_ISD_ADD_ri_Predicate_imm32SExt16(MVT VT, MVT RetVT, unsigned Op0, bool Op0IsKill, uint64_t imm1) {
3408 unsigned fastEmit_ISD_ADDC_MVT_i32_ri_Predicate_imm32SExt16(MVT RetVT, unsigned Op0, bool Op0IsKill, uint64_t imm1) {
3414 unsigned fastEmit_ISD_ADDC_ri_Predicate_imm32SExt16(MVT VT, MVT RetVT, unsigned Op0, bool Op0IsKill, uint64_t imm1) {
3423 unsigned fastEmit_ISD_MUL_MVT_i32_ri_Predicate_imm32SExt16(MVT RetVT, unsigned Op0, bool Op0IsKill, uint64_t imm1) {
3429 unsigned fastEmit_ISD_MUL_ri_Predicate_imm32SExt16(MVT VT, MVT RetVT, unsigned Op0, bool Op0IsKill, uint64_t imm1) {
3438 unsigned fastEmit_PPCISD_XXSPLT_MVT_v4i32_ri_Predicate_imm32SExt16(MVT RetVT, unsigned Op0, bool Op0IsKill, uint64_t imm1) {
3447 unsigned fastEmit_PPCISD_XXSPLT_ri_Predicate_imm32SExt16(MVT VT, MVT RetVT, unsigned Op0, bool Op0IsKill, uint64_t imm1) {
3456 unsigned fastEmit_ri_Predicate_imm32SExt16(MVT VT, MVT RetVT, unsigned Opcode, unsigned Op0, bool Op0IsKill, uint64_t imm1) {
3468 unsigned fastEmit_ISD_ADD_MVT_i64_ri_Predicate_imm64SExt16(MVT RetVT, unsigned Op0, bool Op0IsKill, uint64_t imm1) {
3474 unsigned fastEmit_ISD_ADD_ri_Predicate_imm64SExt16(MVT VT, MVT RetVT, unsigned Op0, bool Op0IsKill, uint64_t imm1) {
3483 unsigned fastEmit_ISD_ADDC_MVT_i64_ri_Predicate_imm64SExt16(MVT RetVT, unsigned Op0, bool Op0IsKill, uint64_t imm1) {
3489 unsigned fastEmit_ISD_ADDC_ri_Predicate_imm64SExt16(MVT VT, MVT RetVT, unsigned Op0, bool Op0IsKill, uint64_t imm1) {
3498 unsigned fastEmit_ISD_MUL_MVT_i64_ri_Predicate_imm64SExt16(MVT RetVT, unsigned Op0, bool Op0IsKill, uint64_t imm1) {
3504 unsigned fastEmit_ISD_MUL_ri_Predicate_imm64SExt16(MVT VT, MVT RetVT, unsigned Op0, bool Op0IsKill, uint64_t imm1) {
3513 unsigned fastEmit_ri_Predicate_imm64SExt16(MVT VT, MVT RetVT, unsigned Opcode, unsigned Op0, bool Op0IsKill, uint64_t imm1) {
gen/lib/Target/PowerPC/PPCGenMCCodeEmitter.inc 9 uint64_t PPCMCCodeEmitter::getBinaryCodeForInstr(const MCInst &MI,
12 static const uint64_t InstBits[] = {
2235 uint64_t Value = InstBits[opcode];
2236 uint64_t op = 0;
gen/lib/Target/RISCV/RISCVGenAsmMatcher.inc 21 uint64_t &ErrorInfo,
27 uint64_t &ErrorInfo,
1766 uint64_t &ErrorInfo) {
2392 uint64_t &ErrorInfo,
gen/lib/Target/RISCV/RISCVGenDAGISel.inc13970 return countTrailingOnes<uint64_t>(Imm) >= 6;
13971 return countTrailingOnes<uint64_t>(Imm) >= 5;
gen/lib/Target/RISCV/RISCVGenDisassemblerTables.inc 1162 uint64_t Address, const void *Decoder, bool &DecodeComplete) {
1737 InsnType insn, uint64_t Address,
gen/lib/Target/RISCV/RISCVGenGlobalISel.inc 145 return countTrailingOnes<uint64_t>(Imm) >= 6;
146 return countTrailingOnes<uint64_t>(Imm) >= 5;
gen/lib/Target/RISCV/RISCVGenMCCodeEmitter.inc 9 uint64_t RISCVMCCodeEmitter::getBinaryCodeForInstr(const MCInst &MI,
12 static const uint64_t InstBits[] = {
524 uint64_t Value = InstBits[opcode];
525 uint64_t op = 0;
gen/lib/Target/Sparc/SparcGenAsmMatcher.inc 21 uint64_t &ErrorInfo,
27 uint64_t &ErrorInfo,
2333 uint64_t &ErrorInfo) {
4136 uint64_t &ErrorInfo,
gen/lib/Target/Sparc/SparcGenDAGISel.inc 3663 uint64_t Val = (~N->getZExtValue() >> 10) & ((1u << 22) - 1);
3677 uint64_t Val = (N->getZExtValue() >> 42) & ((1u << 22) - 1);
3684 uint64_t Val = (N->getZExtValue() >> 32) & ((1u << 10) - 1);
gen/lib/Target/Sparc/SparcGenDisassemblerTables.inc 1783 uint64_t Address, const void *Decoder, bool &DecodeComplete) {
2359 InsnType insn, uint64_t Address,
gen/lib/Target/Sparc/SparcGenMCCodeEmitter.inc 9 uint64_t SparcMCCodeEmitter::getBinaryCodeForInstr(const MCInst &MI,
12 static const uint64_t InstBits[] = {
720 uint64_t Value = InstBits[opcode];
721 uint64_t op = 0;
gen/lib/Target/SystemZ/SystemZGenAsmMatcher.inc 21 uint64_t &ErrorInfo,
27 uint64_t &ErrorInfo,
102 static const char *getSubtargetFeatureName(uint64_t Val) {
2327 uint64_t &ErrorInfo) {
5334 uint64_t &ErrorInfo,
gen/lib/Target/SystemZ/SystemZGenAsmWriter.inc11369 uint64_t Bits = 0;
gen/lib/Target/SystemZ/SystemZGenDAGISel.inc30555 uint64_t Value = N->getZExtValue() & 0x00000000FFFFFFFFULL;
30562 uint64_t Value = N->getZExtValue() >> 32;
30569 uint64_t Value = N->getZExtValue() & 0x000000000000FFFFULL;
30576 uint64_t Value = (N->getZExtValue() & 0x00000000FFFF0000ULL) >> 16;
30583 uint64_t Value = (N->getZExtValue() & 0x0000FFFF00000000ULL) >> 32;
30590 uint64_t Value = (N->getZExtValue() & 0xFFFF000000000000ULL) >> 48;
30618 uint64_t Value = (-N->getZExtValue() & 0x00000000FFFF0000ULL) >> 16;
30625 uint64_t Value = -N->getZExtValue() & 0x00000000FFFFFFFFULL;
gen/lib/Target/SystemZ/SystemZGenDisassemblerTables.inc 6952 uint64_t Address, const void *Decoder, bool &DecodeComplete) {
10732 InsnType insn, uint64_t Address,
gen/lib/Target/SystemZ/SystemZGenMCCodeEmitter.inc 9 uint64_t SystemZMCCodeEmitter::getBinaryCodeForInstr(const MCInst &MI,
12 static const uint64_t InstBits[] = {
3020 uint64_t Value = InstBits[opcode];
3021 uint64_t op = 0;
gen/lib/Target/WebAssembly/WebAssemblyGenAsmMatcher.inc 21 uint64_t &ErrorInfo,
27 uint64_t &ErrorInfo,
384 uint64_t &ErrorInfo) {
1103 uint64_t &ErrorInfo,
gen/lib/Target/WebAssembly/WebAssemblyGenFastISel.inc 1933 unsigned fastEmit_ISD_EXTRACT_VECTOR_ELT_MVT_v4i32_ri_Predicate_LaneIdx4(MVT RetVT, unsigned Op0, bool Op0IsKill, uint64_t imm1) {
1942 unsigned fastEmit_ISD_EXTRACT_VECTOR_ELT_MVT_v4f32_ri_Predicate_LaneIdx4(MVT RetVT, unsigned Op0, bool Op0IsKill, uint64_t imm1) {
1951 unsigned fastEmit_ISD_EXTRACT_VECTOR_ELT_ri_Predicate_LaneIdx4(MVT VT, MVT RetVT, unsigned Op0, bool Op0IsKill, uint64_t imm1) {
1961 unsigned fastEmit_ri_Predicate_LaneIdx4(MVT VT, MVT RetVT, unsigned Opcode, unsigned Op0, bool Op0IsKill, uint64_t imm1) {
1970 unsigned fastEmit_ISD_EXTRACT_VECTOR_ELT_MVT_v2i64_ri_Predicate_LaneIdx2(MVT RetVT, unsigned Op0, bool Op0IsKill, uint64_t imm1) {
1979 unsigned fastEmit_ISD_EXTRACT_VECTOR_ELT_MVT_v2f64_ri_Predicate_LaneIdx2(MVT RetVT, unsigned Op0, bool Op0IsKill, uint64_t imm1) {
1988 unsigned fastEmit_ISD_EXTRACT_VECTOR_ELT_ri_Predicate_LaneIdx2(MVT VT, MVT RetVT, unsigned Op0, bool Op0IsKill, uint64_t imm1) {
1998 unsigned fastEmit_ri_Predicate_LaneIdx2(MVT VT, MVT RetVT, unsigned Opcode, unsigned Op0, bool Op0IsKill, uint64_t imm1) {
2007 unsigned fastEmit_ISD_EXTRACT_VECTOR_ELT_MVT_v16i8_ri_Predicate_LaneIdx16(MVT RetVT, unsigned Op0, bool Op0IsKill, uint64_t imm1) {
2013 unsigned fastEmit_ISD_EXTRACT_VECTOR_ELT_ri_Predicate_LaneIdx16(MVT VT, MVT RetVT, unsigned Op0, bool Op0IsKill, uint64_t imm1) {
2022 unsigned fastEmit_ri_Predicate_LaneIdx16(MVT VT, MVT RetVT, unsigned Opcode, unsigned Op0, bool Op0IsKill, uint64_t imm1) {
2031 unsigned fastEmit_ISD_EXTRACT_VECTOR_ELT_MVT_v8i16_ri_Predicate_LaneIdx8(MVT RetVT, unsigned Op0, bool Op0IsKill, uint64_t imm1) {
2037 unsigned fastEmit_ISD_EXTRACT_VECTOR_ELT_ri_Predicate_LaneIdx8(MVT VT, MVT RetVT, unsigned Op0, bool Op0IsKill, uint64_t imm1) {
2046 unsigned fastEmit_ri_Predicate_LaneIdx8(MVT VT, MVT RetVT, unsigned Opcode, unsigned Op0, bool Op0IsKill, uint64_t imm1) {
2086 unsigned fastEmit_ISD_Constant_MVT_i32_i(MVT RetVT, uint64_t imm0) {
2092 unsigned fastEmit_ISD_Constant_MVT_i64_i(MVT RetVT, uint64_t imm0) {
2098 unsigned fastEmit_ISD_Constant_i(MVT VT, MVT RetVT, uint64_t imm0) {
2108 unsigned fastEmit_WebAssemblyISD_CALL1_MVT_i32_MVT_i32_i(uint64_t imm0) {
2112 unsigned fastEmit_WebAssemblyISD_CALL1_MVT_i32_MVT_i64_i(uint64_t imm0) {
2116 unsigned fastEmit_WebAssemblyISD_CALL1_MVT_i32_MVT_f32_i(uint64_t imm0) {
2120 unsigned fastEmit_WebAssemblyISD_CALL1_MVT_i32_MVT_f64_i(uint64_t imm0) {
2124 unsigned fastEmit_WebAssemblyISD_CALL1_MVT_i32_MVT_v16i8_i(uint64_t imm0) {
2131 unsigned fastEmit_WebAssemblyISD_CALL1_MVT_i32_MVT_v8i16_i(uint64_t imm0) {
2138 unsigned fastEmit_WebAssemblyISD_CALL1_MVT_i32_MVT_v4i32_i(uint64_t imm0) {
2145 unsigned fastEmit_WebAssemblyISD_CALL1_MVT_i32_MVT_v2i64_i(uint64_t imm0) {
2152 unsigned fastEmit_WebAssemblyISD_CALL1_MVT_i32_MVT_v4f32_i(uint64_t imm0) {
2159 unsigned fastEmit_WebAssemblyISD_CALL1_MVT_i32_MVT_v2f64_i(uint64_t imm0) {
2166 unsigned fastEmit_WebAssemblyISD_CALL1_MVT_i32_MVT_exnref_i(uint64_t imm0) {
2173 unsigned fastEmit_WebAssemblyISD_CALL1_MVT_i32_i(MVT RetVT, uint64_t imm0) {
2190 unsigned fastEmit_WebAssemblyISD_CALL1_i(MVT VT, MVT RetVT, uint64_t imm0) {
2199 unsigned fastEmit_i(MVT VT, MVT RetVT, unsigned Opcode, uint64_t imm0) override {
gen/lib/Target/WebAssembly/WebAssemblyGenMCCodeEmitter.inc 9 uint64_t WebAssemblyMCCodeEmitter::getBinaryCodeForInstr(const MCInst &MI,
12 static const uint64_t InstBits[] = {
1332 uint64_t Value = InstBits[opcode];
1333 uint64_t op = 0;
gen/lib/Target/X86/X86GenAsmMatcher.inc 21 uint64_t &ErrorInfo,
27 uint64_t &ErrorInfo,
932 static const char *getSubtargetFeatureName(uint64_t Val) {
7575 uint64_t &ErrorInfo) {
36930 uint64_t &ErrorInfo,
gen/lib/Target/X86/X86GenAsmWriter.inc47413 uint64_t Bits = 0;
gen/lib/Target/X86/X86GenAsmWriter1.inc31874 uint64_t Bits = 0;
gen/lib/Target/X86/X86GenDAGISel.inc254418 uint64_t Imm = N->getZExtValue() & 0x7;
gen/lib/Target/X86/X86GenFastISel.inc13620 unsigned fastEmit_ISD_ADD_MVT_i8_ri(MVT RetVT, unsigned Op0, bool Op0IsKill, uint64_t imm1) {
13626 unsigned fastEmit_ISD_ADD_MVT_i16_ri(MVT RetVT, unsigned Op0, bool Op0IsKill, uint64_t imm1) {
13632 unsigned fastEmit_ISD_ADD_MVT_i32_ri(MVT RetVT, unsigned Op0, bool Op0IsKill, uint64_t imm1) {
13638 unsigned fastEmit_ISD_ADD_ri(MVT VT, MVT RetVT, unsigned Op0, bool Op0IsKill, uint64_t imm1) {
13649 unsigned fastEmit_ISD_AND_MVT_i8_ri(MVT RetVT, unsigned Op0, bool Op0IsKill, uint64_t imm1) {
13655 unsigned fastEmit_ISD_AND_MVT_i16_ri(MVT RetVT, unsigned Op0, bool Op0IsKill, uint64_t imm1) {
13661 unsigned fastEmit_ISD_AND_MVT_i32_ri(MVT RetVT, unsigned Op0, bool Op0IsKill, uint64_t imm1) {
13667 unsigned fastEmit_ISD_AND_ri(MVT VT, MVT RetVT, unsigned Op0, bool Op0IsKill, uint64_t imm1) {
13678 unsigned fastEmit_ISD_EXTRACT_VECTOR_ELT_MVT_v4i32_ri(MVT RetVT, unsigned Op0, bool Op0IsKill, uint64_t imm1) {
13693 unsigned fastEmit_ISD_EXTRACT_VECTOR_ELT_MVT_v2i64_ri(MVT RetVT, unsigned Op0, bool Op0IsKill, uint64_t imm1) {
13708 unsigned fastEmit_ISD_EXTRACT_VECTOR_ELT_ri(MVT VT, MVT RetVT, unsigned Op0, bool Op0IsKill, uint64_t imm1) {
13718 unsigned fastEmit_ISD_MUL_MVT_i16_ri(MVT RetVT, unsigned Op0, bool Op0IsKill, uint64_t imm1) {
13724 unsigned fastEmit_ISD_MUL_MVT_i32_ri(MVT RetVT, unsigned Op0, bool Op0IsKill, uint64_t imm1) {
13730 unsigned fastEmit_ISD_MUL_ri(MVT VT, MVT RetVT, unsigned Op0, bool Op0IsKill, uint64_t imm1) {
13740 unsigned fastEmit_ISD_OR_MVT_i8_ri(MVT RetVT, unsigned Op0, bool Op0IsKill, uint64_t imm1) {
13746 unsigned fastEmit_ISD_OR_MVT_i16_ri(MVT RetVT, unsigned Op0, bool Op0IsKill, uint64_t imm1) {
13752 unsigned fastEmit_ISD_OR_MVT_i32_ri(MVT RetVT, unsigned Op0, bool Op0IsKill, uint64_t imm1) {
13758 unsigned fastEmit_ISD_OR_ri(MVT VT, MVT RetVT, unsigned Op0, bool Op0IsKill, uint64_t imm1) {
13769 unsigned fastEmit_ISD_ROTL_MVT_i32_ri(MVT RetVT, unsigned Op0, bool Op0IsKill, uint64_t imm1) {
13778 unsigned fastEmit_ISD_ROTL_MVT_i64_ri(MVT RetVT, unsigned Op0, bool Op0IsKill, uint64_t imm1) {
13787 unsigned fastEmit_ISD_ROTL_ri(MVT VT, MVT RetVT, unsigned Op0, bool Op0IsKill, uint64_t imm1) {
13797 unsigned fastEmit_ISD_ROTR_MVT_i32_ri(MVT RetVT, unsigned Op0, bool Op0IsKill, uint64_t imm1) {
13809 unsigned fastEmit_ISD_ROTR_MVT_i64_ri(MVT RetVT, unsigned Op0, bool Op0IsKill, uint64_t imm1) {
13821 unsigned fastEmit_ISD_ROTR_ri(MVT VT, MVT RetVT, unsigned Op0, bool Op0IsKill, uint64_t imm1) {
13831 unsigned fastEmit_ISD_SHL_MVT_i8_ri(MVT RetVT, unsigned Op0, bool Op0IsKill, uint64_t imm1) {
13837 unsigned fastEmit_ISD_SHL_MVT_i16_ri(MVT RetVT, unsigned Op0, bool Op0IsKill, uint64_t imm1) {
13843 unsigned fastEmit_ISD_SHL_MVT_i32_ri(MVT RetVT, unsigned Op0, bool Op0IsKill, uint64_t imm1) {
13849 unsigned fastEmit_ISD_SHL_MVT_i64_ri(MVT RetVT, unsigned Op0, bool Op0IsKill, uint64_t imm1) {
13855 unsigned fastEmit_ISD_SHL_ri(MVT VT, MVT RetVT, unsigned Op0, bool Op0IsKill, uint64_t imm1) {
13867 unsigned fastEmit_ISD_SRA_MVT_i8_ri(MVT RetVT, unsigned Op0, bool Op0IsKill, uint64_t imm1) {
13873 unsigned fastEmit_ISD_SRA_MVT_i16_ri(MVT RetVT, unsigned Op0, bool Op0IsKill, uint64_t imm1) {
13879 unsigned fastEmit_ISD_SRA_MVT_i32_ri(MVT RetVT, unsigned Op0, bool Op0IsKill, uint64_t imm1) {
13885 unsigned fastEmit_ISD_SRA_MVT_i64_ri(MVT RetVT, unsigned Op0, bool Op0IsKill, uint64_t imm1) {
13891 unsigned fastEmit_ISD_SRA_ri(MVT VT, MVT RetVT, unsigned Op0, bool Op0IsKill, uint64_t imm1) {
13903 unsigned fastEmit_ISD_SRL_MVT_i8_ri(MVT RetVT, unsigned Op0, bool Op0IsKill, uint64_t imm1) {
13909 unsigned fastEmit_ISD_SRL_MVT_i16_ri(MVT RetVT, unsigned Op0, bool Op0IsKill, uint64_t imm1) {
13915 unsigned fastEmit_ISD_SRL_MVT_i32_ri(MVT RetVT, unsigned Op0, bool Op0IsKill, uint64_t imm1) {
13921 unsigned fastEmit_ISD_SRL_MVT_i64_ri(MVT RetVT, unsigned Op0, bool Op0IsKill, uint64_t imm1) {
13927 unsigned fastEmit_ISD_SRL_ri(MVT VT, MVT RetVT, unsigned Op0, bool Op0IsKill, uint64_t imm1) {
13939 unsigned fastEmit_ISD_SUB_MVT_i8_ri(MVT RetVT, unsigned Op0, bool Op0IsKill, uint64_t imm1) {
13945 unsigned fastEmit_ISD_SUB_MVT_i16_ri(MVT RetVT, unsigned Op0, bool Op0IsKill, uint64_t imm1) {
13951 unsigned fastEmit_ISD_SUB_MVT_i32_ri(MVT RetVT, unsigned Op0, bool Op0IsKill, uint64_t imm1) {
13957 unsigned fastEmit_ISD_SUB_ri(MVT VT, MVT RetVT, unsigned Op0, bool Op0IsKill, uint64_t imm1) {
13968 unsigned fastEmit_ISD_XOR_MVT_i8_ri(MVT RetVT, unsigned Op0, bool Op0IsKill, uint64_t imm1) {
13974 unsigned fastEmit_ISD_XOR_MVT_i16_ri(MVT RetVT, unsigned Op0, bool Op0IsKill, uint64_t imm1) {
13980 unsigned fastEmit_ISD_XOR_MVT_i32_ri(MVT RetVT, unsigned Op0, bool Op0IsKill, uint64_t imm1) {
13986 unsigned fastEmit_ISD_XOR_ri(MVT VT, MVT RetVT, unsigned Op0, bool Op0IsKill, uint64_t imm1) {
13997 unsigned fastEmit_X86ISD_BEXTR_MVT_i32_ri(MVT RetVT, unsigned Op0, bool Op0IsKill, uint64_t imm1) {
14006 unsigned fastEmit_X86ISD_BEXTR_ri(MVT VT, MVT RetVT, unsigned Op0, bool Op0IsKill, uint64_t imm1) {
14015 unsigned fastEmit_X86ISD_BT_MVT_i16_ri(MVT RetVT, unsigned Op0, bool Op0IsKill, uint64_t imm1) {
14021 unsigned fastEmit_X86ISD_BT_MVT_i32_ri(MVT RetVT, unsigned Op0, bool Op0IsKill, uint64_t imm1) {
14027 unsigned fastEmit_X86ISD_BT_MVT_i64_ri(MVT RetVT, unsigned Op0, bool Op0IsKill, uint64_t imm1) {
14033 unsigned fastEmit_X86ISD_BT_ri(MVT VT, MVT RetVT, unsigned Op0, bool Op0IsKill, uint64_t imm1) {
14044 unsigned fastEmit_X86ISD_PEXTRB_MVT_v16i8_ri(MVT RetVT, unsigned Op0, bool Op0IsKill, uint64_t imm1) {
14059 unsigned fastEmit_X86ISD_PEXTRB_ri(MVT VT, MVT RetVT, unsigned Op0, bool Op0IsKill, uint64_t imm1) {
14068 unsigned fastEmit_X86ISD_PEXTRW_MVT_v8i16_ri(MVT RetVT, unsigned Op0, bool Op0IsKill, uint64_t imm1) {
14083 unsigned fastEmit_X86ISD_PEXTRW_ri(MVT VT, MVT RetVT, unsigned Op0, bool Op0IsKill, uint64_t imm1) {
14092 unsigned fastEmit_ri(MVT VT, MVT RetVT, unsigned Opcode, unsigned Op0, bool Op0IsKill, uint64_t imm1) override {
14132 unsigned fastEmit_ISD_ADD_MVT_i64_ri_Predicate_i64immSExt32(MVT RetVT, unsigned Op0, bool Op0IsKill, uint64_t imm1) {
14138 unsigned fastEmit_ISD_ADD_ri_Predicate_i64immSExt32(MVT VT, MVT RetVT, unsigned Op0, bool Op0IsKill, uint64_t imm1) {
14147 unsigned fastEmit_ISD_AND_MVT_i64_ri_Predicate_i64immSExt32(MVT RetVT, unsigned Op0, bool Op0IsKill, uint64_t imm1) {
14153 unsigned fastEmit_ISD_AND_ri_Predicate_i64immSExt32(MVT VT, MVT RetVT, unsigned Op0, bool Op0IsKill, uint64_t imm1) {
14162 unsigned fastEmit_ISD_MUL_MVT_i64_ri_Predicate_i64immSExt32(MVT RetVT, unsigned Op0, bool Op0IsKill, uint64_t imm1) {
14168 unsigned fastEmit_ISD_MUL_ri_Predicate_i64immSExt32(MVT VT, MVT RetVT, unsigned Op0, bool Op0IsKill, uint64_t imm1) {
14177 unsigned fastEmit_ISD_OR_MVT_i64_ri_Predicate_i64immSExt32(MVT RetVT, unsigned Op0, bool Op0IsKill, uint64_t imm1) {
14183 unsigned fastEmit_ISD_OR_ri_Predicate_i64immSExt32(MVT VT, MVT RetVT, unsigned Op0, bool Op0IsKill, uint64_t imm1) {
14192 unsigned fastEmit_ISD_SUB_MVT_i64_ri_Predicate_i64immSExt32(MVT RetVT, unsigned Op0, bool Op0IsKill, uint64_t imm1) {
14198 unsigned fastEmit_ISD_SUB_ri_Predicate_i64immSExt32(MVT VT, MVT RetVT, unsigned Op0, bool Op0IsKill, uint64_t imm1) {
14207 unsigned fastEmit_ISD_XOR_MVT_i64_ri_Predicate_i64immSExt32(MVT RetVT, unsigned Op0, bool Op0IsKill, uint64_t imm1) {
14213 unsigned fastEmit_ISD_XOR_ri_Predicate_i64immSExt32(MVT VT, MVT RetVT, unsigned Op0, bool Op0IsKill, uint64_t imm1) {
14222 unsigned fastEmit_X86ISD_BEXTR_MVT_i64_ri_Predicate_i64immSExt32(MVT RetVT, unsigned Op0, bool Op0IsKill, uint64_t imm1) {
14231 unsigned fastEmit_X86ISD_BEXTR_ri_Predicate_i64immSExt32(MVT VT, MVT RetVT, unsigned Op0, bool Op0IsKill, uint64_t imm1) {
14240 unsigned fastEmit_ri_Predicate_i64immSExt32(MVT VT, MVT RetVT, unsigned Opcode, unsigned Op0, bool Op0IsKill, uint64_t imm1) {
14255 unsigned fastEmit_ISD_ADD_MVT_i16_ri_Predicate_i16immSExt8(MVT RetVT, unsigned Op0, bool Op0IsKill, uint64_t imm1) {
14261 unsigned fastEmit_ISD_ADD_ri_Predicate_i16immSExt8(MVT VT, MVT RetVT, unsigned Op0, bool Op0IsKill, uint64_t imm1) {
14270 unsigned fastEmit_ISD_AND_MVT_i16_ri_Predicate_i16immSExt8(MVT RetVT, unsigned Op0, bool Op0IsKill, uint64_t imm1) {
14276 unsigned fastEmit_ISD_AND_ri_Predicate_i16immSExt8(MVT VT, MVT RetVT, unsigned Op0, bool Op0IsKill, uint64_t imm1) {
14285 unsigned fastEmit_ISD_MUL_MVT_i16_ri_Predicate_i16immSExt8(MVT RetVT, unsigned Op0, bool Op0IsKill, uint64_t imm1) {
14291 unsigned fastEmit_ISD_MUL_ri_Predicate_i16immSExt8(MVT VT, MVT RetVT, unsigned Op0, bool Op0IsKill, uint64_t imm1) {
14300 unsigned fastEmit_ISD_OR_MVT_i16_ri_Predicate_i16immSExt8(MVT RetVT, unsigned Op0, bool Op0IsKill, uint64_t imm1) {
14306 unsigned fastEmit_ISD_OR_ri_Predicate_i16immSExt8(MVT VT, MVT RetVT, unsigned Op0, bool Op0IsKill, uint64_t imm1) {
14315 unsigned fastEmit_ISD_SUB_MVT_i16_ri_Predicate_i16immSExt8(MVT RetVT, unsigned Op0, bool Op0IsKill, uint64_t imm1) {
14321 unsigned fastEmit_ISD_SUB_ri_Predicate_i16immSExt8(MVT VT, MVT RetVT, unsigned Op0, bool Op0IsKill, uint64_t imm1) {
14330 unsigned fastEmit_ISD_XOR_MVT_i16_ri_Predicate_i16immSExt8(MVT RetVT, unsigned Op0, bool Op0IsKill, uint64_t imm1) {
14336 unsigned fastEmit_ISD_XOR_ri_Predicate_i16immSExt8(MVT VT, MVT RetVT, unsigned Op0, bool Op0IsKill, uint64_t imm1) {
14345 unsigned fastEmit_ri_Predicate_i16immSExt8(MVT VT, MVT RetVT, unsigned Opcode, unsigned Op0, bool Op0IsKill, uint64_t imm1) {
14359 unsigned fastEmit_ISD_ADD_MVT_i32_ri_Predicate_i32immSExt8(MVT RetVT, unsigned Op0, bool Op0IsKill, uint64_t imm1) {
14365 unsigned fastEmit_ISD_ADD_ri_Predicate_i32immSExt8(MVT VT, MVT RetVT, unsigned Op0, bool Op0IsKill, uint64_t imm1) {
14374 unsigned fastEmit_ISD_AND_MVT_i32_ri_Predicate_i32immSExt8(MVT RetVT, unsigned Op0, bool Op0IsKill, uint64_t imm1) {
14380 unsigned fastEmit_ISD_AND_ri_Predicate_i32immSExt8(MVT VT, MVT RetVT, unsigned Op0, bool Op0IsKill, uint64_t imm1) {
14389 unsigned fastEmit_ISD_MUL_MVT_i32_ri_Predicate_i32immSExt8(MVT RetVT, unsigned Op0, bool Op0IsKill, uint64_t imm1) {
14395 unsigned fastEmit_ISD_MUL_ri_Predicate_i32immSExt8(MVT VT, MVT RetVT, unsigned Op0, bool Op0IsKill, uint64_t imm1) {
14404 unsigned fastEmit_ISD_OR_MVT_i32_ri_Predicate_i32immSExt8(MVT RetVT, unsigned Op0, bool Op0IsKill, uint64_t imm1) {
14410 unsigned fastEmit_ISD_OR_ri_Predicate_i32immSExt8(MVT VT, MVT RetVT, unsigned Op0, bool Op0IsKill, uint64_t imm1) {
14419 unsigned fastEmit_ISD_SUB_MVT_i32_ri_Predicate_i32immSExt8(MVT RetVT, unsigned Op0, bool Op0IsKill, uint64_t imm1) {
14425 unsigned fastEmit_ISD_SUB_ri_Predicate_i32immSExt8(MVT VT, MVT RetVT, unsigned Op0, bool Op0IsKill, uint64_t imm1) {
14434 unsigned fastEmit_ISD_XOR_MVT_i32_ri_Predicate_i32immSExt8(MVT RetVT, unsigned Op0, bool Op0IsKill, uint64_t imm1) {
14440 unsigned fastEmit_ISD_XOR_ri_Predicate_i32immSExt8(MVT VT, MVT RetVT, unsigned Op0, bool Op0IsKill, uint64_t imm1) {
14449 unsigned fastEmit_ri_Predicate_i32immSExt8(MVT VT, MVT RetVT, unsigned Opcode, unsigned Op0, bool Op0IsKill, uint64_t imm1) {
14463 unsigned fastEmit_ISD_ADD_MVT_i64_ri_Predicate_i64immSExt8(MVT RetVT, unsigned Op0, bool Op0IsKill, uint64_t imm1) {
14469 unsigned fastEmit_ISD_ADD_ri_Predicate_i64immSExt8(MVT VT, MVT RetVT, unsigned Op0, bool Op0IsKill, uint64_t imm1) {
14478 unsigned fastEmit_ISD_AND_MVT_i64_ri_Predicate_i64immSExt8(MVT RetVT, unsigned Op0, bool Op0IsKill, uint64_t imm1) {
14484 unsigned fastEmit_ISD_AND_ri_Predicate_i64immSExt8(MVT VT, MVT RetVT, unsigned Op0, bool Op0IsKill, uint64_t imm1) {
14493 unsigned fastEmit_ISD_MUL_MVT_i64_ri_Predicate_i64immSExt8(MVT RetVT, unsigned Op0, bool Op0IsKill, uint64_t imm1) {
14499 unsigned fastEmit_ISD_MUL_ri_Predicate_i64immSExt8(MVT VT, MVT RetVT, unsigned Op0, bool Op0IsKill, uint64_t imm1) {
14508 unsigned fastEmit_ISD_OR_MVT_i64_ri_Predicate_i64immSExt8(MVT RetVT, unsigned Op0, bool Op0IsKill, uint64_t imm1) {
14514 unsigned fastEmit_ISD_OR_ri_Predicate_i64immSExt8(MVT VT, MVT RetVT, unsigned Op0, bool Op0IsKill, uint64_t imm1) {
14523 unsigned fastEmit_ISD_SUB_MVT_i64_ri_Predicate_i64immSExt8(MVT RetVT, unsigned Op0, bool Op0IsKill, uint64_t imm1) {
14529 unsigned fastEmit_ISD_SUB_ri_Predicate_i64immSExt8(MVT VT, MVT RetVT, unsigned Op0, bool Op0IsKill, uint64_t imm1) {
14538 unsigned fastEmit_ISD_XOR_MVT_i64_ri_Predicate_i64immSExt8(MVT RetVT, unsigned Op0, bool Op0IsKill, uint64_t imm1) {
14544 unsigned fastEmit_ISD_XOR_ri_Predicate_i64immSExt8(MVT VT, MVT RetVT, unsigned Op0, bool Op0IsKill, uint64_t imm1) {
14553 unsigned fastEmit_ri_Predicate_i64immSExt8(MVT VT, MVT RetVT, unsigned Opcode, unsigned Op0, bool Op0IsKill, uint64_t imm1) {
14567 unsigned fastEmit_ISD_Constant_MVT_i8_i(MVT RetVT, uint64_t imm0) {
14573 unsigned fastEmit_ISD_Constant_MVT_i16_i(MVT RetVT, uint64_t imm0) {
14579 unsigned fastEmit_ISD_Constant_i(MVT VT, MVT RetVT, uint64_t imm0) {
14589 unsigned fastEmit_i(MVT VT, MVT RetVT, unsigned Opcode, uint64_t imm0) override {
gen/lib/Target/XCore/XCoreGenDisassemblerTables.inc 642 uint64_t Address, const void *Decoder, bool &DecodeComplete) {
803 InsnType insn, uint64_t Address,
gen/projects/openmp/runtime/src/omp-tools.h 227 typedef uint64_t ompt_id_t;
229 typedef uint64_t ompt_device_time_t;
231 typedef uint64_t ompt_buffer_cursor_t;
364 typedef uint64_t ompt_hwid_t;
366 typedef uint64_t ompt_wait_id_t;
405 typedef uint64_t (*ompt_get_unique_id_t) (void);
407 typedef uint64_t ompd_size_t;
409 typedef uint64_t ompd_wait_id_t;
411 typedef uint64_t ompd_addr_t;
413 typedef uint64_t ompd_seg_t;
415 typedef uint64_t ompd_device_t;
417 typedef uint64_t ompd_thread_id_t;
428 typedef uint64_t ompd_icv_id_t;
451 uint64_t value;
580 uint64_t *device_num,
706 uint64_t count,
715 uint64_t count;
913 uint64_t module_id
918 uint64_t module_id
997 uint64_t command,
998 uint64_t modifier,
1004 uint64_t command;
1005 uint64_t modifier;
gen/tools/clang/lib/AST/Opcodes.inc 666 auto V0 = PC.read<uint64_t>();
675 OS << "\t" << PC.read<uint64_t>() << " "<< "\n";
679 bool emitConstUint64(uint64_t, const SourceInfo &);
682 bool ByteCodeEmitter::emitConstUint64(uint64_t A0,const SourceInfo &L) {
683 return emitOp<uint64_t>(OP_ConstUint64, A0, L);
687 bool EvalEmitter::emitConstUint64(uint64_t A0,const SourceInfo &L) {
gen/tools/lldb/scripts/LLDBWrapPython.cpp 3403 template <> uint64_t PyLongAsT<uint64_t>(PyObject *obj) {
3403 template <> uint64_t PyLongAsT<uint64_t>(PyObject *obj) {
18937 uint64_t result;
19496 uint64_t *arg3 = (uint64_t *) 0 ;
19524 arg3 = (uint64_t *) malloc(size * sizeof(uint64_t));
19893 uint64_t *arg2 = (uint64_t *) 0 ;
19913 arg2 = (uint64_t *) malloc(size * sizeof(uint64_t));
45446 uint64_t result;
48182 uint64_t result;
48208 uint64_t result;
48257 uint64_t arg2 ;
48258 uint64_t arg3 ;
50232 uint64_t arg2 ;
50239 uint64_t result;
50270 uint64_t result;
60234 uint64_t result;
63590 uint64_t result;
64729 uint64_t result;
64793 uint64_t result;
64887 uint64_t arg2 ;
64921 uint64_t arg2 ;
65315 uint64_t result;
65341 uint64_t result;
66053 uint64_t result;
66492 uint64_t arg2 ;
69083 uint64_t result;
73906 uint64_t arg3 ;
73916 uint64_t result;
73959 uint64_t result;
74133 uint64_t arg2 ;
74140 uint64_t result;
74171 uint64_t result;
include/llvm-c/Core.h 590 uint64_t Val);
601 uint64_t LLVMGetEnumAttributeValue(LLVMAttributeRef A);
1885 const uint64_t Words[]);
include/llvm-c/DebugInfo.h 599 uint64_t SizeInBits, uint32_t AlignInBits, LLVMMetadataRef *Elements,
622 uint64_t SizeInBits, uint32_t AlignInBits, LLVMDIFlags Flags,
637 LLVMDIBuilderCreateArrayType(LLVMDIBuilderRef Builder, uint64_t Size,
652 LLVMDIBuilderCreateVectorType(LLVMDIBuilderRef Builder, uint64_t Size,
679 size_t NameLen, uint64_t SizeInBits,
695 uint64_t SizeInBits, uint32_t AlignInBits, unsigned AddressSpace,
719 uint64_t SizeInBits, uint32_t AlignInBits, LLVMDIFlags Flags,
741 uint64_t SizeInBits, uint32_t AlignInBits, uint64_t OffsetInBits,
741 uint64_t SizeInBits, uint32_t AlignInBits, uint64_t OffsetInBits,
778 uint64_t SizeInBits,
799 uint64_t SizeInBits, uint32_t AlignInBits,
800 uint64_t OffsetInBits, LLVMDIFlags Flags,
893 uint64_t BaseOffset, uint32_t VBPtrOffset,
915 unsigned RuntimeLang, uint64_t SizeInBits, uint32_t AlignInBits,
939 unsigned RuntimeLang, uint64_t SizeInBits, uint32_t AlignInBits,
962 uint64_t SizeInBits,
963 uint64_t OffsetInBits,
964 uint64_t StorageOffsetInBits,
991 LLVMMetadataRef File, unsigned LineNumber, uint64_t SizeInBits,
992 uint32_t AlignInBits, uint64_t OffsetInBits, LLVMDIFlags Flags,
1022 uint64_t LLVMDITypeGetSizeInBits(LLVMMetadataRef DType);
1030 uint64_t LLVMDITypeGetOffsetInBits(LLVMMetadataRef DType);
include/llvm-c/Disassembler.h 73 int LLVMSetDisasmOptions(LLVMDisasmContextRef DC, uint64_t Options);
102 uint64_t BytesSize, uint64_t PC,
102 uint64_t BytesSize, uint64_t PC,
include/llvm-c/DisassemblerTypes.h 42 typedef int (*LLVMOpInfoCallback)(void *DisInfo, uint64_t PC,
43 uint64_t Offset, uint64_t Size,
43 uint64_t Offset, uint64_t Size,
67 uint64_t Present; /* 1 if this symbol is present */
69 uint64_t Value; /* symbol value if name is NULL */
75 uint64_t Value;
76 uint64_t VariantKind;
113 uint64_t ReferenceValue,
114 uint64_t *ReferenceType,
115 uint64_t ReferencePC,
include/llvm-c/ExecutionEngine.h 149 uint64_t LLVMGetGlobalValueAddress(LLVMExecutionEngineRef EE, const char *Name);
151 uint64_t LLVMGetFunctionAddress(LLVMExecutionEngineRef EE, const char *Name);
include/llvm-c/Object.h 175 uint64_t LLVMGetSectionSize(LLVMSectionIteratorRef SI);
177 uint64_t LLVMGetSectionAddress(LLVMSectionIteratorRef SI);
191 uint64_t LLVMGetSymbolAddress(LLVMSymbolIteratorRef SI);
192 uint64_t LLVMGetSymbolSize(LLVMSymbolIteratorRef SI);
195 uint64_t LLVMGetRelocationOffset(LLVMRelocationIteratorRef RI);
197 uint64_t LLVMGetRelocationType(LLVMRelocationIteratorRef RI);
include/llvm-c/OrcBindings.h 34 typedef uint64_t LLVMOrcModuleHandle;
35 typedef uint64_t LLVMOrcTargetAddress;
36 typedef uint64_t (*LLVMOrcSymbolResolverFn)(const char *Name, void *LookupCtx);
37 typedef uint64_t (*LLVMOrcLazyCompileCallbackFn)(LLVMOrcJITStackRef JITStack,
include/llvm-c/Remarks.h 196 extern uint64_t LLVMRemarkEntryGetHotness(LLVMRemarkEntryRef Remark);
242 uint64_t Size);
256 uint64_t Size);
include/llvm/ADT/APFloat.h 891 uint64_t payload = 0) {
include/llvm/ADT/APInt.h 71 typedef uint64_t WordType;
93 uint64_t VAL; ///< Used to store the <= 64 bits integer value.
94 uint64_t *pVal; ///< Used to store the >64 bits integer value.
107 APInt(uint64_t *val, unsigned bits) : BitWidth(bits) {
137 static uint64_t maskBit(unsigned bitPosition) {
152 uint64_t mask = WORDTYPE_MAX >> (APINT_BITS_PER_WORD - WordBits);
162 uint64_t getWord(unsigned bitPosition) const {
196 void initSlowCase(uint64_t val, bool isSigned);
199 void initFromArray(ArrayRef<uint64_t> array);
277 APInt(unsigned numBits, uint64_t val, bool isSigned = false)
295 APInt(unsigned numBits, ArrayRef<uint64_t> bigVal);
304 APInt(unsigned numBits, unsigned numWords, const uint64_t bigVal[]);
481 uint64_t getLimitedValue(uint64_t Limit = UINT64_MAX) const {
481 uint64_t getLimitedValue(uint64_t Limit = UINT64_MAX) const {
674 const uint64_t *getRawData() const {
774 APInt &operator=(uint64_t RHS) {
805 APInt &operator&=(uint64_t RHS) {
835 APInt &operator|=(uint64_t RHS) {
865 APInt &operator^=(uint64_t RHS) {
881 APInt &operator*=(uint64_t RHS);
889 APInt &operator+=(uint64_t RHS);
897 APInt &operator-=(uint64_t RHS);
1051 APInt udiv(uint64_t RHS) const;
1071 uint64_t urem(uint64_t RHS) const;
1071 uint64_t urem(uint64_t RHS) const;
1088 static void udivrem(const APInt &LHS, uint64_t RHS, APInt &Quotient,
1089 uint64_t &Remainder);
1146 bool operator==(uint64_t Val) const {
1172 bool operator!=(uint64_t Val) const { return !((*this) == Val); }
1196 bool ult(uint64_t RHS) const {
1234 bool ule(uint64_t RHS) const { return !ugt(RHS); }
1250 bool sle(uint64_t RHS) const { return !sgt(RHS); }
1266 bool ugt(uint64_t RHS) const {
1304 bool uge(uint64_t RHS) const { return !ult(RHS); }
1428 uint64_t mask = WORDTYPE_MAX >> (APINT_BITS_PER_WORD - (hiBit - loBit));
1510 void insertBits(uint64_t SubBits, unsigned bitPosition, unsigned numBits);
1514 uint64_t extractBitsAsZExtValue(unsigned numBits, unsigned bitPosition) const;
1575 uint64_t getZExtValue() const {
1979 inline bool operator==(uint64_t V1, const APInt &V2) { return V2 == V1; }
1981 inline bool operator!=(uint64_t V1, const APInt &V2) { return V2 != V1; }
2001 inline APInt operator&(APInt a, uint64_t RHS) {
2006 inline APInt operator&(uint64_t LHS, APInt b) {
2021 inline APInt operator|(APInt a, uint64_t RHS) {
2026 inline APInt operator|(uint64_t LHS, APInt b) {
2041 inline APInt operator^(APInt a, uint64_t RHS) {
2046 inline APInt operator^(uint64_t LHS, APInt b) {
2071 inline APInt operator+(APInt a, uint64_t RHS) {
2076 inline APInt operator+(uint64_t LHS, APInt b) {
2092 inline APInt operator-(APInt a, uint64_t RHS) {
2097 inline APInt operator-(uint64_t LHS, APInt b) {
2103 inline APInt operator*(APInt a, uint64_t RHS) {
2108 inline APInt operator*(uint64_t LHS, APInt b) {
include/llvm/ADT/APSInt.h 69 APSInt &operator=(uint64_t RHS) {
332 static APSInt getUnsigned(uint64_t X) { return APSInt(APInt(64, X), true); }
include/llvm/ADT/DenseMapInfo.h 201 uint64_t key = (uint64_t)FirstInfo::getHashValue(PairVal.first) << 32
include/llvm/ADT/EpochTracker.h 36 uint64_t Epoch;
58 const uint64_t *EpochAddress;
59 uint64_t EpochAtCreation;
include/llvm/ADT/Hashing.h 135 void set_fixed_execution_hash_seed(uint64_t fixed_value);
144 inline uint64_t fetch64(const char *p) {
145 uint64_t result;
161 static const uint64_t k0 = 0xc3a5c85c97cb3127ULL;
162 static const uint64_t k1 = 0xb492b66fbe98f273ULL;
163 static const uint64_t k2 = 0x9ae16a3b2f90404fULL;
164 static const uint64_t k3 = 0xc949d7c7509e6557ULL;
169 inline uint64_t rotate(uint64_t val, size_t shift) {
169 inline uint64_t rotate(uint64_t val, size_t shift) {
174 inline uint64_t shift_mix(uint64_t val) {
174 inline uint64_t shift_mix(uint64_t val) {
178 inline uint64_t hash_16_bytes(uint64_t low, uint64_t high) {
178 inline uint64_t hash_16_bytes(uint64_t low, uint64_t high) {
178 inline uint64_t hash_16_bytes(uint64_t low, uint64_t high) {
180 const uint64_t kMul = 0x9ddfea08eb382d69ULL;
181 uint64_t a = (low ^ high) * kMul;
183 uint64_t b = (high ^ a) * kMul;
189 inline uint64_t hash_1to3_bytes(const char *s, size_t len, uint64_t seed) {
189 inline uint64_t hash_1to3_bytes(const char *s, size_t len, uint64_t seed) {
198 inline uint64_t hash_4to8_bytes(const char *s, size_t len, uint64_t seed) {
198 inline uint64_t hash_4to8_bytes(const char *s, size_t len, uint64_t seed) {
199 uint64_t a = fetch32(s);
203 inline uint64_t hash_9to16_bytes(const char *s, size_t len, uint64_t seed) {
203 inline uint64_t hash_9to16_bytes(const char *s, size_t len, uint64_t seed) {
204 uint64_t a = fetch64(s);
205 uint64_t b = fetch64(s + len - 8);
209 inline uint64_t hash_17to32_bytes(const char *s, size_t len, uint64_t seed) {
209 inline uint64_t hash_17to32_bytes(const char *s, size_t len, uint64_t seed) {
210 uint64_t a = fetch64(s) * k1;
211 uint64_t b = fetch64(s + 8);
212 uint64_t c = fetch64(s + len - 8) * k2;
213 uint64_t d = fetch64(s + len - 16) * k0;
218 inline uint64_t hash_33to64_bytes(const char *s, size_t len, uint64_t seed) {
218 inline uint64_t hash_33to64_bytes(const char *s, size_t len, uint64_t seed) {
219 uint64_t z = fetch64(s + 24);
220 uint64_t a = fetch64(s) + (len + fetch64(s + len - 16)) * k0;
221 uint64_t b = rotate(a + z, 52);
222 uint64_t c = rotate(a, 37);
226 uint64_t vf = a + z;
227 uint64_t vs = b + rotate(a, 31) + c;
235 uint64_t wf = a + z;
236 uint64_t ws = b + rotate(a, 31) + c;
237 uint64_t r = shift_mix((vf + ws) * k2 + (wf + vs) * k0);
241 inline uint64_t hash_short(const char *s, size_t length, uint64_t seed) {
241 inline uint64_t hash_short(const char *s, size_t length, uint64_t seed) {
260 uint64_t h0, h1, h2, h3, h4, h5, h6;
265 static hash_state create(const char *s, uint64_t seed) {
276 static void mix_32_bytes(const char *s, uint64_t &a, uint64_t &b) {
276 static void mix_32_bytes(const char *s, uint64_t &a, uint64_t &b) {
278 uint64_t c = fetch64(s + 24);
280 uint64_t d = a;
306 uint64_t finalize(size_t length) {
318 extern uint64_t fixed_seed_override;
320 inline uint64_t get_execution_seed() {
327 const uint64_t seed_prime = 0xff51afd7ed558ccdULL;
328 static uint64_t seed = fixed_seed_override ? fixed_seed_override : seed_prime;
403 const uint64_t seed = get_execution_seed();
447 const uint64_t seed = get_execution_seed();
497 const uint64_t seed;
616 inline hash_code hash_integer_value(uint64_t value) {
618 const uint64_t seed = get_execution_seed();
620 const uint64_t a = fetch32(s);
include/llvm/ADT/PointerSumType.h 242 enum : uint64_t {
include/llvm/ADT/StringExtras.h 124 inline std::string utohexstr(uint64_t X, bool LowerCase = false) {
223 inline std::string utostr(uint64_t X, bool isNeg = false) {
include/llvm/ADT/Twine.h 151 const uint64_t *uHex;
387 static Twine utohexstr(const uint64_t &Val) {
include/llvm/Analysis/BlockFrequencyInfo.h 70 Optional<uint64_t> getBlockProfileCount(const BasicBlock *BB,
76 Optional<uint64_t> getProfileCountFromFreq(uint64_t Freq) const;
76 Optional<uint64_t> getProfileCountFromFreq(uint64_t Freq) const;
83 void setBlockFreq(const BasicBlock *BB, uint64_t Freq);
88 void setBlockFreqAndScale(const BasicBlock *ReferenceBB, uint64_t Freq,
103 uint64_t getEntryFreq() const;
include/llvm/Analysis/BlockFrequencyInfoImpl.h 83 uint64_t Mass = 0;
87 explicit BlockMass(uint64_t Mass) : Mass(Mass) {}
92 return BlockMass(std::numeric_limits<uint64_t>::max());
95 uint64_t getMass() const { return Mass; }
97 bool isFull() const { return Mass == std::numeric_limits<uint64_t>::max(); }
106 uint64_t Sum = Mass + X.Mass;
107 Mass = Sum < Mass ? std::numeric_limits<uint64_t>::max() : Sum;
116 uint64_t Diff = Mass - X.Mass;
137 ScaledNumber<uint64_t> toScaled() const;
172 using Scaled64 = ScaledNumber<uint64_t>;
207 uint64_t Integer;
360 uint64_t Amount = 0;
363 Weight(DistType Type, BlockNode TargetNode, uint64_t Amount)
379 uint64_t Total = 0; ///< Sum of all weights.
384 void addLocal(const BlockNode &Node, uint64_t Amount) {
388 void addExit(const BlockNode &Node, uint64_t Amount) {
392 void addBackedge(const BlockNode &Node, uint64_t Amount) {
408 void add(const BlockNode &Node, uint64_t Amount, Weight::DistType Type);
447 const BlockNode &Pred, const BlockNode &Succ, uint64_t Weight);
522 Optional<uint64_t> getBlockProfileCount(const Function &F,
525 Optional<uint64_t> getProfileCountFromFreq(const Function &F,
526 uint64_t Freq,
530 void setBlockFreq(const BlockNode &Node, uint64_t Freq);
536 uint64_t getEntryFreq() const {
972 Optional<uint64_t> getBlockProfileCount(const Function &F,
979 Optional<uint64_t> getProfileCountFromFreq(const Function &F,
980 uint64_t Freq,
990 void setBlockFreq(const BlockT *BB, uint64_t Freq);
1049 void BlockFrequencyInfoImpl<BT>::setBlockFreq(const BlockT *BB, uint64_t Freq) {
1162 Optional<uint64_t> MinHeaderWeight;
1169 Optional<uint64_t> HeaderWeight = Block->getIrrLoopHeaderWeight();
1180 uint64_t HeaderWeightValue = HeaderWeight.getValue();
1199 uint64_t MinWeight = MinHeaderWeight.getValue();
1346 if (Optional<uint64_t> ProfileCount =
1350 if (Optional<uint64_t> IrrLoopHeaderWeight =
1373 uint64_t MaxFrequency = 0;
include/llvm/Analysis/IndirectCallPromotionAnalysis.h 33 bool isPromotionProfitable(uint64_t Count, uint64_t TotalCount,
33 bool isPromotionProfitable(uint64_t Count, uint64_t TotalCount,
34 uint64_t RemainingCount);
40 uint64_t TotalCount);
62 uint64_t &TotalCount,
include/llvm/Analysis/LoopAccessAnalysis.h 214 uint64_t getMaxSafeDepDistBytes() { return MaxSafeDepDistBytes; }
218 uint64_t getMaxSafeRegisterWidth() const { return MaxSafeRegisterWidth; }
277 uint64_t MaxSafeDepDistBytes;
283 uint64_t MaxSafeRegisterWidth;
324 bool couldPreventStoreLoadForward(uint64_t Distance, uint64_t TypeByteSize);
324 bool couldPreventStoreLoadForward(uint64_t Distance, uint64_t TypeByteSize);
548 uint64_t getMaxSafeDepDistBytes() const { return MaxSafeDepDistBytes; }
646 uint64_t MaxSafeDepDistBytes;
include/llvm/Analysis/MemoryBuiltins.h 209 bool getObjectSize(const Value *Ptr, uint64_t &Size, const DataLayout &DL,
234 APInt align(APInt Size, uint64_t Align);
include/llvm/Analysis/MemoryLocation.h 61 enum : uint64_t {
71 uint64_t Value;
77 constexpr LocationSize(uint64_t Raw, DirectConstruction): Value(Raw) {}
87 constexpr LocationSize(uint64_t Raw)
90 static LocationSize precise(uint64_t Value) { return LocationSize(Value); }
92 static LocationSize upperBound(uint64_t Value) {
126 uint64_t getValue() const {
157 uint64_t toRaw() const { return Value; }
179 enum : uint64_t { UnknownSize = ~UINT64_C(0) };
280 return DenseMapInfo<uint64_t>::getHashValue(Val.toRaw());
include/llvm/Analysis/OptimizationRemarkEmitter.h 109 Optional<uint64_t> computeHotness(const Value *V);
include/llvm/Analysis/ProfileSummaryInfo.h 50 Optional<uint64_t> HotCountThreshold, ColdCountThreshold;
60 Optional<uint64_t> computeThreshold(int PercentileCutoff);
63 DenseMap<int, uint64_t> ThresholdCache;
103 Optional<uint64_t> getProfileCount(const Instruction *CallInst,
124 bool isHotCount(uint64_t C);
126 bool isColdCount(uint64_t C);
129 bool isHotCountNthPercentile(int PercentileCutoff, uint64_t C);
144 uint64_t getOrCompHotCountThreshold();
147 uint64_t getOrCompColdCountThreshold();
149 uint64_t getHotCountThreshold() {
153 uint64_t getColdCountThreshold() {
include/llvm/Analysis/ScalarEvolution.h 489 uint64_t getTypeSizeInBits(Type *Ty) const;
512 const SCEV *getConstant(Type *Ty, uint64_t V, bool isSigned = false);
include/llvm/Analysis/SyntheticCountsUtils.h 32 using Scaled64 = ScaledNumber<uint64_t>;
include/llvm/Analysis/TargetTransformInfoImpl.h 764 uint64_t Field = ConstIdx->getZExtValue();
include/llvm/Analysis/TypeMetadataUtils.h 34 uint64_t Offset;
54 Constant *getPointerAtOffset(Constant *I, uint64_t Offset, Module &M);
include/llvm/Analysis/Utils/Local.h 40 uint64_t PtrSizeMask =
41 std::numeric_limits<uint64_t>::max() >> (64 - IntPtrWidth);
47 uint64_t Size = DL.getTypeAllocSize(GTI.getIndexedType()) & PtrSizeMask;
54 uint64_t OpValue = OpC->getUniqueInteger().getZExtValue();
include/llvm/Analysis/ValueTracking.h 274 uint64_t Offset;
277 uint64_t Length;
280 void move(uint64_t Delta) {
287 uint64_t operator[](unsigned I) const {
296 unsigned ElementSize, uint64_t Offset = 0);
305 uint64_t Offset = 0, bool TrimAtNul = true);
309 uint64_t GetStringLength(const Value *V, unsigned CharSize = 8);
include/llvm/Analysis/VectorUtils.h 231 MapVector<Instruction*, uint64_t>
614 StrideDescriptor(int64_t Stride, const SCEV *Scev, uint64_t Size,
625 uint64_t Size = 0;
include/llvm/BinaryFormat/Dwarf.h 76 const uint64_t DW64_CIE_ID = UINT64_MAX;
include/llvm/BinaryFormat/ELF.h 34 using Elf64_Addr = uint64_t;
35 using Elf64_Off = uint64_t;
39 using Elf64_Xword = uint64_t;
include/llvm/BinaryFormat/MachO.h 545 uint64_t vmaddr;
546 uint64_t vmsize;
547 uint64_t fileoff;
548 uint64_t filesize;
572 uint64_t addr;
573 uint64_t size;
675 uint64_t init_address;
676 uint64_t init_module;
677 uint64_t reserved1;
678 uint64_t reserved2;
679 uint64_t reserved3;
680 uint64_t reserved4;
681 uint64_t reserved5;
682 uint64_t reserved6;
751 uint64_t objc_module_info_addr;
806 uint64_t version;
838 uint64_t offset; // file offset of this data
839 uint64_t size; // length of data region
907 uint64_t thunk;
908 uint64_t key;
909 uint64_t offset;
921 uint64_t entryoff;
922 uint64_t stacksize;
942 uint64_t offset;
943 uint64_t size;
997 uint64_t n_value;
1541 uint64_t rax;
1542 uint64_t rbx;
1543 uint64_t rcx;
1544 uint64_t rdx;
1545 uint64_t rdi;
1546 uint64_t rsi;
1547 uint64_t rbp;
1548 uint64_t rsp;
1549 uint64_t r8;
1550 uint64_t r9;
1551 uint64_t r10;
1552 uint64_t r11;
1553 uint64_t r12;
1554 uint64_t r13;
1555 uint64_t r14;
1556 uint64_t r15;
1557 uint64_t rip;
1558 uint64_t rflags;
1559 uint64_t cs;
1560 uint64_t fs;
1561 uint64_t gs;
1644 uint64_t faultvaddr;
1814 uint64_t x[29];
1815 uint64_t fp;
1816 uint64_t lr;
1817 uint64_t sp;
1818 uint64_t pc;
include/llvm/BinaryFormat/Minidump.h 80 uint64_t NumberOfEntries)
include/llvm/BinaryFormat/MsgPackDocument.h 56 uint64_t UInt;
83 uint64_t &getUInt() {
103 uint64_t getUInt() const {
289 DocNode getNode(uint64_t V) {
include/llvm/BinaryFormat/MsgPackReader.h 81 uint64_t UInt;
include/llvm/BinaryFormat/MsgPackWriter.h 75 void write(uint64_t u);
include/llvm/BinaryFormat/Wasm.h 167 uint64_t Offset; // Offset from the start of the section.
include/llvm/Bitcode/BitcodeAnalyzer.h 59 uint64_t TotalBits;
67 uint64_t NumBits;
98 Error decodeMetadataStringsBlob(StringRef Indent, ArrayRef<uint64_t> Record,
include/llvm/Bitcode/BitcodeReader.h 66 uint64_t IdentificationBit;
69 uint64_t ModuleBit;
72 uint64_t IdentificationBit, uint64_t ModuleBit)
72 uint64_t IdentificationBit, uint64_t ModuleBit)
115 uint64_t ModuleId);
179 uint64_t ModuleId);
248 uint64_t BitcodeOffsetEnd = (uint64_t)Offset + (uint64_t)Size;
include/llvm/Bitstream/BitCodes.h 96 uint64_t Val; // A literal value or data for an encoding.
108 explicit BitCodeAbbrevOp(uint64_t V) : Val(V), IsLiteral(true) {}
109 explicit BitCodeAbbrevOp(Encoding E, uint64_t Data = 0)
116 uint64_t getLiteralValue() const { assert(isLiteral()); return Val; }
120 uint64_t getEncodingData() const {
include/llvm/Bitstream/BitstreamReader.h 120 uint64_t GetCurrentBitNo() const {
125 uint64_t getCurrentByteNo() const { return GetCurrentBitNo() / 8; }
130 Error JumpToBit(uint64_t BitNo) {
151 const uint8_t *getPointerToByte(uint64_t ByteNo, uint64_t NumBytes) {
151 const uint8_t *getPointerToByte(uint64_t ByteNo, uint64_t NumBytes) {
158 const uint8_t *getPointerToBit(uint64_t BitNo, uint64_t NumBytes) {
158 const uint8_t *getPointerToBit(uint64_t BitNo, uint64_t NumBytes) {
259 Expected<uint64_t> ReadVBR64(unsigned NumBits) {
260 Expected<uint64_t> MaybeRead = Read(NumBits);
268 uint64_t Result = 0;
535 SmallVectorImpl<uint64_t> &Vals,
include/llvm/Bitstream/BitstreamWriter.h 93 uint64_t GetCurrentBitNo() const { return GetBufferOffset() * 8 + CurBit; }
104 void BackpatchWord(uint64_t BitNo, unsigned NewWord) {
114 void BackpatchWord64(uint64_t BitNo, uint64_t Val) {
114 void BackpatchWord64(uint64_t BitNo, uint64_t Val) {
159 void EmitVBR64(uint64_t Val, unsigned NumBits) {
239 uint64_t BitNo = uint64_t(B.StartSizeWord) * 32;
include/llvm/CodeGen/AccelTable.h 129 virtual uint64_t order() const = 0;
261 uint64_t getDieOffset() const { return Die.getOffset(); }
267 uint64_t order() const override { return Die.getOffset(); }
274 DWARF5AccelTableStaticData(uint64_t DieOffset, unsigned DieTag,
282 uint64_t getDieOffset() const { return DieOffset; }
287 uint64_t DieOffset;
291 uint64_t order() const override { return DieOffset; }
334 uint64_t order() const override { return Die.getOffset(); }
371 uint64_t order() const override { return Offset; }
398 uint64_t order() const override { return Offset; }
include/llvm/CodeGen/Analysis.h 74 SmallVectorImpl<uint64_t> *Offsets = nullptr,
75 uint64_t StartingOffset = 0);
81 SmallVectorImpl<uint64_t> *Offsets = nullptr,
82 uint64_t StartingOffset = 0);
93 SmallVectorImpl<uint64_t> *Offsets = nullptr,
94 uint64_t StartingOffset = 0);
include/llvm/CodeGen/AsmPrinter.h 487 void emitInt64(uint64_t Value) const;
502 void EmitLabelPlusOffset(const MCSymbol *Label, uint64_t Offset,
513 void EmitDwarfOffset(const MCSymbol *Label, uint64_t Offset) const;
523 void EmitULEB128(uint64_t Value, const char *Desc = nullptr, unsigned PadTo = 0) const;
558 void EmitCallSiteValue(uint64_t Value, unsigned Encoding) const;
include/llvm/CodeGen/AsmPrinterHandler.h 37 virtual void setSymbolSize(const MCSymbol *Sym, uint64_t Size) = 0;
include/llvm/CodeGen/BasicTTIImpl.h 373 uint64_t Range =
375 .getLimitedValue(std::numeric_limits<uint64_t>::max() - 1) + 1;
include/llvm/CodeGen/DFAPacketizer.h 72 using DFAInput = uint64_t;
84 DFAPacketizer(const InstrItineraryData *InstrItins, Automaton<uint64_t> a) :
include/llvm/CodeGen/DIE.h 164 uint64_t Integer;
167 explicit DIEInteger(uint64_t I) : Integer(I) {}
170 static dwarf::Form BestForm(bool IsSigned, uint64_t Int) {
190 uint64_t getValue() const { return Integer; }
191 void setValue(uint64_t Val) { Integer = Val; }
237 const uint64_t Index;
241 explicit DIEBaseTypeRef(const DwarfCompileUnit *TheCU, uint64_t Idx)
374 static_assert(sizeof(ValTy) <= sizeof(uint64_t) ||
855 uint64_t Offset; /// .debug_info or .debug_types absolute section offset.
887 void setLength(uint64_t L) { Length = L; }
888 uint64_t getLength() const { return Length; }
include/llvm/CodeGen/DebugHandlerBase.h 132 static uint64_t getBaseTypeSize(const DIType *Ty);
include/llvm/CodeGen/FastISel.h 370 bool Op0IsKill, uint64_t Imm);
378 uint64_t Imm, MVT ImmType);
382 virtual unsigned fastEmit_i(MVT VT, MVT RetVT, unsigned Opcode, uint64_t Imm);
418 bool Op0IsKill, uint64_t Imm);
424 bool Op0IsKill, uint64_t Imm1, uint64_t Imm2);
424 bool Op0IsKill, uint64_t Imm1, uint64_t Imm2);
437 uint64_t Imm);
442 const TargetRegisterClass *RC, uint64_t Imm);
include/llvm/CodeGen/FaultMaps.h 141 using FunctionAddrType = uint64_t;
include/llvm/CodeGen/GCMetadata.h 86 uint64_t FrameSize;
130 uint64_t getFrameSize() const { return FrameSize; }
131 void setFrameSize(uint64_t S) { FrameSize = S; }
include/llvm/CodeGen/GlobalISel/CallLowering.h 128 virtual Register getStackAddress(uint64_t Size, int64_t Offset,
141 uint64_t Size, MachinePointerInfo &MPO,
include/llvm/CodeGen/GlobalISel/IRTranslator.h 75 using OffsetListT = SmallVector<uint64_t, 1>;
244 SmallVectorImpl<uint64_t> *Offsets = nullptr);
include/llvm/CodeGen/GlobalISel/InstructionSelectorImpl.h 57 uint64_t CurrentIdx = 0;
58 SmallVector<uint64_t, 4> OnFailResumeAt;
387 const uint64_t LastIdx = CurrentIdx + NumAddrSpace;
439 uint64_t Size = MatchTable[CurrentIdx++];
745 uint64_t NewInsnID = MatchTable[CurrentIdx++];
761 uint64_t NewInsnID = MatchTable[CurrentIdx++];
845 uint64_t RegFlags = MatchTable[CurrentIdx++];
858 uint64_t TempRegFlags = MatchTable[CurrentIdx++];
include/llvm/CodeGen/GlobalISel/LegalizationArtifactCombiner.h 150 uint64_t SizeInBits = SrcTy.getScalarSizeInBits();
include/llvm/CodeGen/GlobalISel/LegalizerInfo.h 125 uint64_t SizeInBits;
126 uint64_t AlignInBits;
172 uint64_t MemSize;
173 uint64_t Align;
include/llvm/CodeGen/GlobalISel/MachineIRBuilder.h 139 SrcOp(uint64_t V) : Imm(V), Ty(SrcType::Ty_Imm) {}
439 uint64_t Value);
752 MachineInstrBuilder buildExtract(const DstOp &Res, const SrcOp &Src, uint64_t Index);
771 ArrayRef<uint64_t> Indices);
include/llvm/CodeGen/GlobalISel/RegBankSelect.h 194 virtual uint64_t frequency(const Pass &P) const { return 1; }
229 uint64_t frequency(const Pass &P) const override;
267 uint64_t frequency(const Pass &P) const override;
307 uint64_t frequency(const Pass &P) const override;
425 uint64_t LocalCost = 0;
428 uint64_t NonLocalCost = 0;
430 uint64_t LocalFreq;
432 MappingCost(uint64_t LocalCost, uint64_t NonLocalCost, uint64_t LocalFreq)
432 MappingCost(uint64_t LocalCost, uint64_t NonLocalCost, uint64_t LocalFreq)
432 MappingCost(uint64_t LocalCost, uint64_t NonLocalCost, uint64_t LocalFreq)
446 bool addLocalCost(uint64_t Cost);
451 bool addNonLocalCost(uint64_t Cost);
573 uint64_t
include/llvm/CodeGen/GlobalISel/Utils.h 159 uint64_t Imm, const MachineRegisterInfo &MRI);
include/llvm/CodeGen/MIRYamlMapping.h 214 uint64_t Size = 0;
280 uint64_t Size = 0;
492 uint64_t StackSize = 0;
include/llvm/CodeGen/MachineBasicBlock.h 100 Optional<uint64_t> IrrLoopHeaderWeight;
806 Optional<uint64_t> getIrrLoopHeaderWeight() const {
810 void setIrrLoopHeaderWeight(uint64_t Weight) {
include/llvm/CodeGen/MachineBlockFrequencyInfo.h 64 Optional<uint64_t> getBlockProfileCount(const MachineBasicBlock *MBB) const;
65 Optional<uint64_t> getProfileCountFromFreq(uint64_t Freq) const;
65 Optional<uint64_t> getProfileCountFromFreq(uint64_t Freq) const;
82 uint64_t getEntryFreq() const;
include/llvm/CodeGen/MachineFrameInfo.h 130 uint64_t Size;
184 StackObject(uint64_t Size, Align Alignment, int64_t SPOffset,
243 uint64_t StackSize = 0;
550 uint64_t getStackSize() const { return StackSize; }
553 void setStackSize(uint64_t Size) { StackSize = Size; }
648 int CreateFixedObject(uint64_t Size, int64_t SPOffset, bool IsImmutable,
653 int CreateFixedSpillStackObject(uint64_t Size, int64_t SPOffset,
737 int CreateStackObject(uint64_t Size, Align Alignment, bool isSpillSlot,
740 inline int CreateStackObject(uint64_t Size, unsigned Alignment,
750 int CreateSpillStackObject(uint64_t Size, Align Alignment);
752 inline int CreateSpillStackObject(uint64_t Size, unsigned Alignment) {
include/llvm/CodeGen/MachineFunction.h 755 MachinePointerInfo PtrInfo, MachineMemOperand::Flags f, uint64_t s,
767 int64_t Offset, uint64_t Size);
include/llvm/CodeGen/MachineInstr.h 1684 bool hasPropertyInBundle(uint64_t Mask, QueryType Type) const;
include/llvm/CodeGen/MachineMemOperand.h 170 uint64_t Size;
183 MachineMemOperand(MachinePointerInfo PtrInfo, Flags flags, uint64_t s,
184 uint64_t a,
221 uint64_t getSize() const { return Size; }
224 uint64_t getSizeInBits() const { return Size * 8; }
228 uint64_t getAlignment() const;
232 uint64_t getBaseAlignment() const { return (1u << BaseAlignLog2) >> 1; }
include/llvm/CodeGen/MachineOperand.h 252 static void printSubRegIdx(raw_ostream &OS, uint64_t Index,
include/llvm/CodeGen/MachineOptimizationRemarkEmitter.h 193 Optional<uint64_t> computeHotness(const MachineBasicBlock &MBB);
include/llvm/CodeGen/MachinePipeliner.h 437 llvm::SmallVector<uint64_t, DefaultProcResSize> ProcResourceMasks;
439 llvm::SmallVector<uint64_t, DefaultProcResSize> ProcResourceCount;
452 SmallVectorImpl<uint64_t> &Masks);
include/llvm/CodeGen/RuntimeLibcalls.h 66 Libcall getMEMCPY_ELEMENT_UNORDERED_ATOMIC(uint64_t ElementSize);
71 Libcall getMEMMOVE_ELEMENT_UNORDERED_ATOMIC(uint64_t ElementSize);
76 Libcall getMEMSET_ELEMENT_UNORDERED_ATOMIC(uint64_t ElementSize);
include/llvm/CodeGen/SelectionDAG.h 578 SDValue getConstant(uint64_t Val, const SDLoc &DL, EVT VT,
591 SDValue getIntPtrConstant(uint64_t Val, const SDLoc &DL,
593 SDValue getShiftAmountConstant(uint64_t Val, EVT VT, const SDLoc &DL,
596 SDValue getTargetConstant(uint64_t Val, const SDLoc &DL, EVT VT,
864 SDValue getCALLSEQ_START(SDValue Chain, uint64_t InSize, uint64_t OutSize,
864 SDValue getCALLSEQ_START(SDValue Chain, uint64_t InSize, uint64_t OutSize,
1058 uint64_t Size = 0,
include/llvm/CodeGen/SelectionDAGNodes.h 185 inline uint64_t getConstantOperandVal(unsigned i) const;
946 inline uint64_t getConstantOperandVal(unsigned Num) const;
1174 inline uint64_t SDValue::getConstantOperandVal(unsigned i) const {
1588 uint64_t getZExtValue() const { return Value->getZExtValue(); }
1590 uint64_t getLimitedValue(uint64_t Limit = UINT64_MAX) {
1590 uint64_t getLimitedValue(uint64_t Limit = UINT64_MAX) {
1606 uint64_t SDNode::getConstantOperandVal(unsigned Num) const {
include/llvm/CodeGen/StackMaps.h 47 uint64_t getID() const { return MI->getOperand(IDPos).getImm(); }
101 uint64_t getID() const { return getMetaOper(IDPos).getImm(); }
177 uint64_t getID() const { return MI->getOperand(IDPos).getImm(); }
240 using ConstantPool = MapVector<uint64_t, uint64_t>;
240 using ConstantPool = MapVector<uint64_t, uint64_t>;
243 uint64_t StackSize = 0;
244 uint64_t RecordCount = 1;
247 explicit FunctionInfo(uint64_t StackSize) : StackSize(StackSize) {}
252 uint64_t ID = 0;
257 CallsiteInfo(const MCExpr *CSOffsetExpr, uint64_t ID,
314 void recordStackMapOpers(const MachineInstr &MI, uint64_t ID,
include/llvm/CodeGen/SwitchLoweringUtils.h 87 uint64_t Mask = 0;
93 CaseBits(uint64_t mask, MachineBasicBlock *bb, unsigned bits,
190 uint64_t Mask;
195 BitTestCase(uint64_t M, MachineBasicBlock *T, MachineBasicBlock *Tr,
226 uint64_t getJumpTableRange(const CaseClusterVector &Clusters, unsigned First,
230 uint64_t getJumpTableNumCases(const SmallVectorImpl<unsigned> &TotalCases,
include/llvm/CodeGen/TargetLowering.h 841 uint64_t size = 0; // the size of the memory location
1025 uint64_t BW = DL.getIndexSizeInBits(0u);
1026 uint64_t Range = (High - Low).getLimitedValue(UINT64_MAX - 1) + 1;
1032 virtual bool isSuitableForJumpTable(const SwitchInst *SI, uint64_t NumCases,
1033 uint64_t Range) const {
1528 getOptimalMemOpType(uint64_t /*Size*/, unsigned /*DstAlign*/,
1538 getOptimalMemOpLLT(uint64_t /*Size*/, unsigned /*DstAlign*/,
3076 unsigned Limit, uint64_t Size,
include/llvm/DebugInfo/CodeView/CodeViewRecordIO.h 33 virtual void EmitIntValue(uint64_t Value, unsigned Size) = 0;
133 Error mapEncodedInteger(uint64_t &Value, const Twine &Comment = "");
206 uint64_t getStreamedLen() {
220 void emitEncodedUnsignedInteger(const uint64_t &Value,
223 Error writeEncodedUnsignedInteger(const uint64_t &Value);
225 void incrStreamedLen(const uint64_t &Len) {
264 uint64_t StreamedLen = 0;
include/llvm/DebugInfo/CodeView/RecordSerialization.h 55 Error consume_numeric(BinaryStreamReader &Reader, uint64_t &Value);
include/llvm/DebugInfo/CodeView/TypeRecord.h 405 ArrayRecord(TypeIndex ElementType, TypeIndex IndexType, uint64_t Size,
412 uint64_t getSize() const { return Size; }
417 uint64_t Size;
476 TypeIndex VTableShape, uint64_t Size, StringRef Name,
495 uint64_t getSize() const { return Size; }
499 uint64_t Size;
507 uint64_t Size, StringRef Name, StringRef UniqueName)
518 uint64_t getSize() const { return Size; }
520 uint64_t Size;
793 DataMemberRecord(MemberAttributes Attrs, TypeIndex Type, uint64_t Offset,
797 DataMemberRecord(MemberAccess Access, TypeIndex Type, uint64_t Offset,
804 uint64_t getFieldOffset() const { return FieldOffset; }
809 uint64_t FieldOffset;
873 BaseClassRecord(MemberAttributes Attrs, TypeIndex Type, uint64_t Offset)
876 BaseClassRecord(MemberAccess Access, TypeIndex Type, uint64_t Offset)
882 uint64_t getBaseOffset() const { return Offset; }
886 uint64_t Offset;
896 uint64_t Offset, uint64_t Index)
896 uint64_t Offset, uint64_t Index)
901 uint64_t Offset, uint64_t Index)
901 uint64_t Offset, uint64_t Index)
908 uint64_t getVBPtrOffset() const { return VBPtrOffset; }
909 uint64_t getVTableIndex() const { return VTableIndex; }
914 uint64_t VBPtrOffset;
915 uint64_t VTableIndex;
include/llvm/DebugInfo/DIContext.h 78 using DILineInfoTable = SmallVector<std::pair<uint64_t, DILineInfo>, 16>;
113 uint64_t Start = 0;
114 uint64_t Size = 0;
123 uint64_t DeclLine = 0;
125 Optional<uint64_t> Size;
126 Optional<uint64_t> TagOffset;
227 object::SectionedAddress Address, uint64_t Size,
258 virtual uint64_t getSectionLoadAddress(const object::SectionRef &Sec) const {
include/llvm/DebugInfo/DWARF/DWARFAbbreviationDeclaration.h 133 Optional<DWARFFormValue> getAttributeValue(const uint64_t DIEOffset,
137 bool extract(DataExtractor Data, uint64_t* OffsetPtr);
include/llvm/DebugInfo/DWARF/DWARFAcceleratorTable.h 56 virtual Optional<uint64_t> getCUOffset() const = 0;
99 uint64_t DIEOffsetBase;
102 Optional<uint64_t> extractOffset(Optional<DWARFFormValue> Value) const;
112 uint64_t *DataOffset) const;
122 void extract(const AppleAcceleratorTable &AccelTable, uint64_t *Offset);
125 Optional<uint64_t> getCUOffset() const override;
131 Optional<uint64_t> getDIESectionOffset() const;
146 uint64_t DataOffset = 0; ///< Offset into the section.
154 ValueIterator(const AppleAcceleratorTable &AccelTable, uint64_t DataOffset);
196 std::pair<uint64_t, dwarf::Tag> readAtoms(uint64_t *HashDataOffset);
196 std::pair<uint64_t, dwarf::Tag> readAtoms(uint64_t *HashDataOffset);
248 Error extract(const DWARFDataExtractor &AS, uint64_t *Offset);
287 Optional<uint64_t> getCUOffset() const override;
298 Optional<uint64_t> getCUIndex() const;
305 Optional<uint64_t> getDIEUnitOffset() const;
357 uint64_t StringOffset;
358 uint64_t EntryOffset;
362 uint64_t StringOffset, uint64_t EntryOffset)
362 uint64_t StringOffset, uint64_t EntryOffset)
370 uint64_t getStringOffset() const { return StringOffset; }
375 uint64_t Off = StringOffset;
380 uint64_t getEntryOffset() const { return EntryOffset; }
392 uint64_t Base;
393 uint64_t CUsBase;
394 uint64_t BucketsBase;
395 uint64_t HashesBase;
396 uint64_t StringOffsetsBase;
397 uint64_t EntryOffsetsBase;
398 uint64_t EntriesBase;
404 bool dumpEntry(ScopedPrinter &W, uint64_t *Offset) const;
409 Expected<AttributeEncoding> extractAttributeEncoding(uint64_t *Offset);
412 extractAttributeEncodings(uint64_t *Offset);
414 Expected<Abbrev> extractAbbrev(uint64_t *Offset);
417 NameIndex(const DWARFDebugNames &Section, uint64_t Base)
421 uint64_t getCUOffset(uint32_t CU) const;
425 uint64_t getLocalTUOffset(uint32_t TU) const;
429 uint64_t getForeignTUSignature(uint32_t TU) const;
454 Expected<Entry> getEntry(uint64_t *Offset) const;
463 uint64_t getUnitOffset() const { return Base; }
464 uint64_t getNextUnitOffset() const { return Base + 4 + Hdr.UnitLength; }
482 uint64_t DataOffset = 0; ///< Offset into the section.
487 Optional<uint64_t> findEntryOffsetInCurrentIndex();
575 DenseMap<uint64_t, const NameIndex *> CUToNameIndex;
594 const NameIndex *getCUNameIndex(uint64_t CUOffset);
include/llvm/DebugInfo/DWARF/DWARFAddressRange.h 22 uint64_t LowPC;
23 uint64_t HighPC;
24 uint64_t SectionIndex;
29 DWARFAddressRange(uint64_t LowPC, uint64_t HighPC, uint64_t SectionIndex = 0)
29 DWARFAddressRange(uint64_t LowPC, uint64_t HighPC, uint64_t SectionIndex = 0)
29 DWARFAddressRange(uint64_t LowPC, uint64_t HighPC, uint64_t SectionIndex = 0)
include/llvm/DebugInfo/DWARF/DWARFAttribute.h 26 uint64_t Offset = 0;
include/llvm/DebugInfo/DWARF/DWARFContext.h 125 std::array<Optional<uint64_t>, DIDT_ID_Count> DumpOffsets);
128 std::array<Optional<uint64_t>, DIDT_ID_Count> DumpOffsets;
225 DWARFCompileUnit *getDWOCompileUnitForHash(uint64_t Hash);
228 DWARFCompileUnit *getCompileUnitForOffset(uint64_t Offset);
231 DWARFDie getDIEForOffset(uint64_t Offset);
322 DIEsForAddress getDIEsForAddress(uint64_t Address);
328 object::SectionedAddress Address, uint64_t Size,
379 DWARFCompileUnit *getCompileUnitForAddress(uint64_t Address);
include/llvm/DebugInfo/DWARF/DWARFDataExtractor.h 38 uint64_t getRelocatedValue(uint32_t Size, uint64_t *Off,
38 uint64_t getRelocatedValue(uint32_t Size, uint64_t *Off,
39 uint64_t *SectionIndex = nullptr,
44 uint64_t getRelocatedAddress(uint64_t *Off, uint64_t *SecIx = nullptr) const {
44 uint64_t getRelocatedAddress(uint64_t *Off, uint64_t *SecIx = nullptr) const {
44 uint64_t getRelocatedAddress(uint64_t *Off, uint64_t *SecIx = nullptr) const {
47 uint64_t getRelocatedAddress(Cursor &C, uint64_t *SecIx = nullptr) const {
47 uint64_t getRelocatedAddress(Cursor &C, uint64_t *SecIx = nullptr) const {
56 Optional<uint64_t> getEncodedPointer(uint64_t *Offset, uint8_t Encoding,
56 Optional<uint64_t> getEncodedPointer(uint64_t *Offset, uint8_t Encoding,
57 uint64_t AbsPosOffset = 0) const;
include/llvm/DebugInfo/DWARF/DWARFDebugAbbrev.h 23 uint64_t Offset;
35 uint64_t getOffset() const { return Offset; }
37 bool extract(DataExtractor Data, uint64_t *OffsetPtr);
56 std::map<uint64_t, DWARFAbbreviationDeclarationSet>;
66 getAbbreviationDeclarationSet(uint64_t CUAbbrOffset) const;
include/llvm/DebugInfo/DWARF/DWARFDebugAddr.h 48 uint64_t HeaderOffset;
51 std::vector<uint64_t> Addrs;
57 Error extract(DWARFDataExtractor Data, uint64_t *OffsetPtr,
61 uint64_t getHeaderOffset() const { return HeaderOffset; }
66 Expected<uint64_t> getAddrEntry(uint32_t Index) const;
include/llvm/DebugInfo/DWARF/DWARFDebugArangeSet.h 41 uint64_t Address;
42 uint64_t Length;
44 uint64_t getEndAddress() const { return Address + Length; }
52 uint64_t Offset;
60 bool extract(DataExtractor data, uint64_t *offset_ptr);
include/llvm/DebugInfo/DWARF/DWARFDebugAranges.h 24 uint32_t findAddress(uint64_t Address) const;
31 void appendRange(uint64_t CUOffset, uint64_t LowPC, uint64_t HighPC);
31 void appendRange(uint64_t CUOffset, uint64_t LowPC, uint64_t HighPC);
31 void appendRange(uint64_t CUOffset, uint64_t LowPC, uint64_t HighPC);
35 explicit Range(uint64_t LowPC = -1ULL, uint64_t HighPC = -1ULL,
35 explicit Range(uint64_t LowPC = -1ULL, uint64_t HighPC = -1ULL,
39 void setHighPC(uint64_t HighPC) {
46 uint64_t HighPC() const {
56 uint64_t LowPC; /// Start of address range.
62 uint64_t Address;
63 uint64_t CUOffset;
66 RangeEndpoint(uint64_t Address, uint64_t CUOffset, bool IsRangeStart)
66 RangeEndpoint(uint64_t Address, uint64_t CUOffset, bool IsRangeStart)
79 DenseSet<uint64_t> ParsedCUOffsets;
include/llvm/DebugInfo/DWARF/DWARFDebugFrame.h 36 typedef SmallVector<uint64_t, 2> Operands;
62 CFIProgram(uint64_t CodeAlignmentFactor, int64_t DataAlignmentFactor,
72 Error parse(DWARFDataExtractor Data, uint64_t *Offset, uint64_t EndOffset);
72 Error parse(DWARFDataExtractor Data, uint64_t *Offset, uint64_t EndOffset);
79 const uint64_t CodeAlignmentFactor;
89 void addInstruction(uint8_t Opcode, uint64_t Operand1) {
95 void addInstruction(uint8_t Opcode, uint64_t Operand1, uint64_t Operand2) {
95 void addInstruction(uint8_t Opcode, uint64_t Operand1, uint64_t Operand2) {
126 uint64_t Operand) const;
135 FrameEntry(FrameKind K, uint64_t Offset, uint64_t Length, uint64_t CodeAlign,
135 FrameEntry(FrameKind K, uint64_t Offset, uint64_t Length, uint64_t CodeAlign,
135 FrameEntry(FrameKind K, uint64_t Offset, uint64_t Length, uint64_t CodeAlign,
143 uint64_t getOffset() const { return Offset; }
144 uint64_t getLength() const { return Length; }
156 const uint64_t Offset;
159 const uint64_t Length;
169 CIE(uint64_t Offset, uint64_t Length, uint8_t Version,
169 CIE(uint64_t Offset, uint64_t Length, uint8_t Version,
191 uint64_t getCodeAlignmentFactor() const { return CodeAlignmentFactor; }
194 uint64_t getReturnAddressRegister() const { return ReturnAddressRegister; }
195 Optional<uint64_t> getPersonalityAddress() const { return Personality; }
211 const uint64_t CodeAlignmentFactor;
213 const uint64_t ReturnAddressRegister;
219 const Optional<uint64_t> Personality;
229 FDE(uint64_t Offset, uint64_t Length, int64_t LinkedCIEOffset,
229 FDE(uint64_t Offset, uint64_t Length, int64_t LinkedCIEOffset,
230 uint64_t InitialLocation, uint64_t AddressRange, CIE *Cie,
230 uint64_t InitialLocation, uint64_t AddressRange, CIE *Cie,
231 Optional<uint64_t> LSDAAddress, Triple::ArchType Arch)
242 uint64_t getInitialLocation() const { return InitialLocation; }
243 uint64_t getAddressRange() const { return AddressRange; }
244 Optional<uint64_t> getLSDAAddress() const { return LSDAAddress; }
253 const uint64_t LinkedCIEOffset;
254 const uint64_t InitialLocation;
255 const uint64_t AddressRange;
257 const Optional<uint64_t> LSDAAddress;
268 const uint64_t EHFrameAddress;
274 dwarf::FrameEntry *getEntryAtOffset(uint64_t Offset) const;
282 bool IsEH = false, uint64_t EHFrameAddress = 0);
287 Optional<uint64_t> Offset) const;
303 uint64_t getEHFrameAddress() const { return EHFrameAddress; }
include/llvm/DebugInfo/DWARF/DWARFDebugInfoEntry.h 25 uint64_t Offset = 0;
39 bool extractFast(const DWARFUnit &U, uint64_t *OffsetPtr);
42 bool extractFast(const DWARFUnit &U, uint64_t *OffsetPtr,
43 const DWARFDataExtractor &DebugInfoData, uint64_t UEndOffset,
46 uint64_t getOffset() const { return Offset; }
include/llvm/DebugInfo/DWARF/DWARFDebugLine.h 38 uint64_t DirIdx = 0;
39 uint64_t ModTime = 0;
40 uint64_t Length = 0;
68 uint64_t TotalLength;
75 uint64_t PrologueLength;
128 getFileNameEntry(uint64_t Index) const;
130 bool hasFileAtIndex(uint64_t FileIndex) const;
133 getFileNameByIndex(uint64_t FileIndex, StringRef CompDir,
140 Error parse(const DWARFDataExtractor &DebugLineData, uint64_t *OffsetPtr,
211 uint64_t LowPC;
212 uint64_t HighPC;
216 uint64_t SectionIndex;
254 bool lookupAddressRange(object::SectionedAddress Address, uint64_t Size,
257 bool hasFileAtIndex(uint64_t FileIndex) const {
266 bool getFileNameByIndex(uint64_t FileIndex, StringRef CompDir,
284 DWARFDataExtractor &DebugLineData, uint64_t *OffsetPtr,
302 getSourceByIndex(uint64_t FileIndex,
307 bool lookupAddressRangeImpl(object::SectionedAddress Address, uint64_t Size,
311 const LineTable *getLineTable(uint64_t Offset) const;
313 DWARFDataExtractor &DebugLineData, uint64_t Offset,
322 using LineToUnitMap = std::map<uint64_t, DWARFUnit *>;
356 uint64_t getOffset() const { return Offset; }
359 DWARFUnit *prepareToParse(uint64_t Offset);
360 void moveToNextTable(uint64_t OldOffset, const Prologue &P);
366 uint64_t Offset = 0;
383 using LineTableMapTy = std::map<uint64_t, LineTable>;
include/llvm/DebugInfo/DWARF/DWARFDebugLoc.h 29 uint64_t Begin;
31 uint64_t End;
40 uint64_t Offset;
44 void dump(raw_ostream &OS, uint64_t BaseAddress, bool IsLittleEndian,
64 Optional<uint64_t> Offset) const;
71 LocationList const *getLocationListAtOffset(uint64_t Offset) const;
74 parseOneLocationList(const DWARFDataExtractor &Data, uint64_t *Offset);
81 uint64_t Offset;
82 uint64_t Value0;
83 uint64_t Value1;
85 void dump(raw_ostream &OS, uint64_t &BaseAddr, bool IsLittleEndian,
91 uint64_t Offset;
93 void dump(raw_ostream &OS, uint64_t BaseAddr, bool IsLittleEndian,
108 void parse(DataExtractor data, uint64_t Offset, uint64_t EndOffset, uint16_t Version);
108 void parse(DataExtractor data, uint64_t Offset, uint64_t EndOffset, uint16_t Version);
109 void dump(raw_ostream &OS, uint64_t BaseAddr, const MCRegisterInfo *RegInfo,
110 DIDumpOptions DumpOpts, Optional<uint64_t> Offset) const;
113 LocationList const *getLocationListAtOffset(uint64_t Offset) const;
116 uint64_t *Offset,
include/llvm/DebugInfo/DWARF/DWARFDebugMacro.h 27 uint64_t Line;
29 uint64_t ExtConstant;
36 uint64_t File;
include/llvm/DebugInfo/DWARF/DWARFDebugPubTable.h 28 uint64_t SecOffset;
53 uint64_t Offset;
include/llvm/DebugInfo/DWARF/DWARFDebugRangeList.h 29 uint64_t StartAddress;
35 uint64_t EndAddress;
37 uint64_t SectionIndex;
62 uint64_t Offset;
71 Error extract(const DWARFDataExtractor &data, uint64_t *offset_ptr);
include/llvm/DebugInfo/DWARF/DWARFDebugRnglists.h 34 uint64_t Value0;
35 uint64_t Value1;
37 Error extract(DWARFDataExtractor Data, uint64_t End, uint64_t *OffsetPtr);
37 Error extract(DWARFDataExtractor Data, uint64_t End, uint64_t *OffsetPtr);
39 uint64_t &CurrentBase, DIDumpOptions DumpOpts,
include/llvm/DebugInfo/DWARF/DWARFDie.h 66 uint64_t getOffset() const {
190 Optional<uint64_t> getRangesBaseAttribute() const;
202 Optional<uint64_t> getHighPC(uint64_t LowPC) const;
202 Optional<uint64_t> getHighPC(uint64_t LowPC) const;
206 bool getLowAndHighPC(uint64_t &LowPC, uint64_t &HighPC,
206 bool getLowAndHighPC(uint64_t &LowPC, uint64_t &HighPC,
207 uint64_t &SectionIndex) const;
231 bool addressRangeContainsAddress(const uint64_t Address) const;
247 uint64_t getDeclLine() const;
include/llvm/DebugInfo/DWARF/DWARFExpression.h 80 uint64_t EndOffset;
81 uint64_t Operands[2];
82 uint64_t OperandEndOffsets[2];
87 uint64_t getRawOperand(unsigned Idx) { return Operands[Idx]; }
88 uint64_t getOperandEndOffset(unsigned Idx) { return OperandEndOffsets[Idx]; }
89 uint64_t getEndOffset() { return EndOffset; }
91 uint64_t Offset);
104 uint64_t Offset;
106 iterator(const DWARFExpression *Expr, uint64_t Offset)
include/llvm/DebugInfo/DWARF/DWARFFormValue.h 45 ValueType(uint64_t V) : uval(V) {}
49 uint64_t uval;
54 uint64_t SectionIndex; /// Section index for reference forms.
68 static DWARFFormValue createFromUValue(dwarf::Form F, uint64_t V);
73 uint64_t *OffsetPtr);
76 uint64_t getRawUValue() const { return Value.uval; }
84 DIDumpOptions DumpOpts, uint64_t SectionIndex);
90 bool extractValue(const DWARFDataExtractor &Data, uint64_t *OffsetPtr,
95 bool extractValue(const DWARFDataExtractor &Data, uint64_t *OffsetPtr,
106 Optional<uint64_t> getAsReference() const;
109 uint64_t Offset;
112 Optional<uint64_t> getAsUnsignedConstant() const;
115 Optional<uint64_t> getAsAddress() const;
117 Optional<uint64_t> getAsSectionOffset() const;
119 Optional<uint64_t> getAsCStringOffset() const;
120 Optional<uint64_t> getAsReferenceUVal() const;
131 bool skipValue(DataExtractor DebugInfoData, uint64_t *OffsetPtr,
147 uint64_t *OffsetPtr,
196 inline Optional<uint64_t> toUnsigned(const Optional<DWARFFormValue> &V) {
208 inline uint64_t toUnsigned(const Optional<DWARFFormValue> &V,
209 uint64_t Default) {
218 inline Optional<uint64_t> toReference(const Optional<DWARFFormValue> &V) {
230 inline uint64_t toReference(const Optional<DWARFFormValue> &V,
231 uint64_t Default) {
261 inline Optional<uint64_t> toAddress(const Optional<DWARFFormValue> &V) {
280 inline uint64_t toAddress(const Optional<DWARFFormValue> &V, uint64_t Default) {
280 inline uint64_t toAddress(const Optional<DWARFFormValue> &V, uint64_t Default) {
289 inline Optional<uint64_t> toSectionOffset(const Optional<DWARFFormValue> &V) {
301 inline uint64_t toSectionOffset(const Optional<DWARFFormValue> &V,
302 uint64_t Default) {
include/llvm/DebugInfo/DWARF/DWARFGdbIndex.h 32 uint64_t Offset; /// Offset of a CU in the .debug_info section.
33 uint64_t Length; /// Length of that CU.
38 uint64_t Offset;
39 uint64_t TypeOffset;
40 uint64_t TypeSignature;
45 uint64_t LowAddress; /// The low address.
46 uint64_t HighAddress; /// The high address.
include/llvm/DebugInfo/DWARF/DWARFListTable.h 29 uint64_t Offset;
33 uint64_t SectionIndex;
49 Error extract(DWARFDataExtractor Data, uint64_t HeaderOffset, uint64_t End,
49 Error extract(DWARFDataExtractor Data, uint64_t HeaderOffset, uint64_t End,
50 uint64_t *OffsetPtr, StringRef SectionName,
60 uint64_t Length = 0;
78 std::vector<uint64_t> Offsets;
83 uint64_t HeaderOffset;
98 uint64_t getHeaderOffset() const { return HeaderOffset; }
100 uint64_t getLength() const { return HeaderData.Length; }
119 Optional<uint64_t> getOffsetEntry(uint32_t Index) const {
126 Error extract(DWARFDataExtractor Data, uint64_t *OffsetPtr);
131 uint64_t length() const;
143 std::map<uint64_t, DWARFListType> ListMap;
159 Error extractHeaderAndOffsets(DWARFDataExtractor Data, uint64_t *OffsetPtr) {
163 Error extract(DWARFDataExtractor Data, uint64_t *OffsetPtr);
166 Expected<DWARFListType> findList(DWARFDataExtractor Data, uint64_t Offset);
168 uint64_t getHeaderOffset() const { return Header.getHeaderOffset(); }
178 Optional<uint64_t> getOffsetEntry(uint32_t Index) const {
188 uint64_t length() { return Header.length(); }
193 uint64_t *OffsetPtr) {
199 uint64_t End = getHeaderOffset() + Header.length();
202 uint64_t Off = *OffsetPtr;
218 uint64_t HeaderOffset, uint64_t End,
218 uint64_t HeaderOffset, uint64_t End,
219 uint64_t *OffsetPtr,
261 uint64_t CurrentBase = 0;
271 uint64_t Offset) {
278 uint64_t End = getHeaderOffset() + Header.length();
279 uint64_t StartingOffset = Offset;
include/llvm/DebugInfo/DWARF/DWARFObject.h 81 uint64_t Pos) const = 0;
include/llvm/DebugInfo/DWARF/DWARFRelocMap.h 21 uint64_t SectionIndex;
23 uint64_t SymbolValue;
25 uint64_t SymbolValue2;
34 using RelocAddrMap = DenseMap<uint64_t, RelocAddrEntry>;
include/llvm/DebugInfo/DWARF/DWARFTypeUnit.h 36 uint64_t getTypeHash() const { return getHeader().getTypeHash(); }
37 uint64_t getTypeOffset() const { return getHeader().getTypeOffset(); }
include/llvm/DebugInfo/DWARF/DWARFUnit.h 48 uint64_t Offset = 0;
51 uint64_t Length = 0;
52 uint64_t AbbrOffset = 0;
58 uint64_t TypeHash = 0;
59 uint64_t TypeOffset = 0;
62 Optional<uint64_t> DWOId;
73 uint64_t *offset_ptr, DWARFSectionKind Kind = DW_SECT_INFO,
76 uint64_t getOffset() const { return Offset; }
85 uint64_t getLength() const { return Length; }
86 uint64_t getAbbrOffset() const { return AbbrOffset; }
87 Optional<uint64_t> getDWOId() const { return DWOId; }
88 void setDWOId(uint64_t Id) {
93 uint64_t getTypeHash() const { return TypeHash; }
94 uint64_t getTypeOffset() const { return TypeOffset; }
103 uint64_t getNextUnitOffset() const {
114 std::function<std::unique_ptr<DWARFUnit>(uint64_t, DWARFSectionKind,
125 DWARFUnit *getUnitForOffset(uint64_t Offset) const;
170 uint64_t Base = 0;
172 uint64_t Size = 0;
176 StrOffsetsContributionDescriptor(uint64_t Base, uint64_t Size,
176 StrOffsetsContributionDescriptor(uint64_t Base, uint64_t Size,
201 uint64_t RangeSectionBase;
232 std::map<uint64_t, std::pair<uint64_t, DWARFDie>> AddrDieMap;
232 std::map<uint64_t, std::pair<uint64_t, DWARFDie>> AddrDieMap;
279 uint64_t getOffset() const { return Header.getOffset(); }
289 uint64_t getLength() const { return Header.getLength(); }
292 uint64_t getNextUnitOffset() const { return Header.getNextUnitOffset(); }
307 void setRangesSection(const DWARFSection *RS, uint64_t Base) {
314 Optional<uint64_t> getStringOffsetSectionItem(uint32_t Index) const;
326 Error extractRangeList(uint64_t RangeListOffset,
340 uint64_t getStringOffsetsBase() const {
401 Optional<uint64_t> getDWOId() {
405 void setDWOId(uint64_t NewID) { Header.setDWOId(NewID); }
409 Expected<DWARFAddressRangesVector> findRnglistFromOffset(uint64_t Offset);
419 Optional<uint64_t> getRnglistOffset(uint32_t Index) {
430 DWARFDie getSubroutineForAddress(uint64_t Address);
435 void getInlinedChainForAddress(uint64_t Address,
474 DWARFDie getDIEForOffset(uint64_t Offset) {
include/llvm/DebugInfo/DWARF/DWARFUnitIndex.h 40 bool parse(DataExtractor IndexData, uint64_t *OffsetPtr);
54 uint64_t Signature;
66 uint64_t getSignature() const { return Signature; }
92 const Entry *getFromHash(uint64_t Offset) const;
include/llvm/DebugInfo/DWARF/DWARFVerifier.h 97 std::map<uint64_t, std::set<uint64_t>> ReferenceToDIEOffsets;
97 std::map<uint64_t, std::set<uint64_t>> ReferenceToDIEOffsets;
141 uint64_t *Offset, unsigned UnitIndex, uint8_t &UnitType,
include/llvm/DebugInfo/GSYM/FileWriter.h 61 void writeU64(uint64_t Value);
73 void writeULEB(uint64_t Value);
97 void fixup32(uint32_t Value, uint64_t Offset);
110 uint64_t tell();
include/llvm/DebugInfo/GSYM/FunctionInfo.h 92 FunctionInfo(uint64_t Addr = 0, uint64_t Size = 0, uint32_t N = 0)
92 FunctionInfo(uint64_t Addr = 0, uint64_t Size = 0, uint32_t N = 0)
132 uint64_t BaseAddr);
141 llvm::Expected<uint64_t> encode(FileWriter &O) const;
143 uint64_t startAddress() const { return Range.Start; }
144 uint64_t endAddress() const { return Range.End; }
145 uint64_t size() const { return Range.size(); }
146 void setStartAddress(uint64_t Addr) { Range.Start = Addr; }
147 void setEndAddress(uint64_t Addr) { Range.End = Addr; }
148 void setSize(uint64_t Size) { Range.End = Range.Start + Size; }
include/llvm/DebugInfo/GSYM/GsymReader.h 101 llvm::Expected<FunctionInfo> getFunctionInfo(uint64_t Addr) const;
117 Optional<uint64_t> getAddress(size_t Index) const;
162 template <class T> Optional<uint64_t>
179 uint64_t getAddressOffsetIndex(const uint64_t AddrOffset) const {
179 uint64_t getAddressOffsetIndex(const uint64_t AddrOffset) const {
211 Expected<uint64_t> getAddressIndex(const uint64_t Addr) const;
211 Expected<uint64_t> getAddressIndex(const uint64_t Addr) const;
222 Optional<uint64_t> getAddressInfoOffset(size_t Index) const;
include/llvm/DebugInfo/GSYM/Header.h 62 uint64_t BaseAddress;
include/llvm/DebugInfo/GSYM/InlineInfo.h 88 llvm::Optional<InlineArray> getInlineStack(uint64_t Addr) const;
104 uint64_t BaseAddr);
119 llvm::Error encode(FileWriter &O, uint64_t BaseAddr) const;
include/llvm/DebugInfo/GSYM/LineEntry.h 23 uint64_t Addr; ///< Start address of this line entry.
26 LineEntry(uint64_t A = 0, uint32_t F = 0, uint32_t L = 0)
include/llvm/DebugInfo/GSYM/LineTable.h 122 static LineEntry lookup(DataExtractor &Data, uint64_t BaseAddr,
123 uint64_t Addr);
138 uint64_t BaseAddr);
149 llvm::Error encode(FileWriter &O, uint64_t BaseAddr) const;
include/llvm/DebugInfo/GSYM/Range.h 33 uint64_t Start;
34 uint64_t End;
36 AddressRange(uint64_t S, uint64_t E) : Start(S), End(E) {}
36 AddressRange(uint64_t S, uint64_t E) : Start(S), End(E) {}
37 uint64_t size() const { return End - Start; }
38 bool contains(uint64_t Addr) const { return Start <= Addr && Addr < End; }
61 void decode(DataExtractor &Data, uint64_t BaseAddr, uint64_t &Offset);
61 void decode(DataExtractor &Data, uint64_t BaseAddr, uint64_t &Offset);
62 void encode(FileWriter &O, uint64_t BaseAddr) const;
82 bool contains(uint64_t Addr) const;
100 void decode(DataExtractor &Data, uint64_t BaseAddr, uint64_t &Offset);
100 void decode(DataExtractor &Data, uint64_t BaseAddr, uint64_t &Offset);
101 void encode(FileWriter &O, uint64_t BaseAddr) const;
include/llvm/DebugInfo/MSF/MSFCommon.h 108 inline uint64_t bytesToBlocks(uint64_t NumBytes, uint64_t BlockSize) {
108 inline uint64_t bytesToBlocks(uint64_t NumBytes, uint64_t BlockSize) {
108 inline uint64_t bytesToBlocks(uint64_t NumBytes, uint64_t BlockSize) {
112 inline uint64_t blockToOffset(uint64_t BlockNumber, uint64_t BlockSize) {
112 inline uint64_t blockToOffset(uint64_t BlockNumber, uint64_t BlockSize) {
112 inline uint64_t blockToOffset(uint64_t BlockNumber, uint64_t BlockSize) {
include/llvm/DebugInfo/PDB/IPDBFrameData.h 29 virtual uint64_t getVirtualAddress() const = 0;
include/llvm/DebugInfo/PDB/IPDBInjectedSource.h 30 virtual uint64_t getCodeByteSize() const = 0;
include/llvm/DebugInfo/PDB/IPDBLineNumber.h 27 virtual uint64_t getVirtualAddress() const = 0;
include/llvm/DebugInfo/PDB/IPDBRawSymbol.h 68 uint64_t VA) const = 0;
78 findInlineFramesByVA(uint64_t VA) const = 0;
87 findInlineeLinesByVA(uint64_t VA, uint32_t Length) const = 0;
144 virtual uint64_t getTargetVirtualAddress() const = 0;
170 virtual uint64_t getLength() const = 0;
171 virtual uint64_t getLiveRangeLength() const = 0;
172 virtual uint64_t getVirtualAddress() const = 0;
include/llvm/DebugInfo/PDB/IPDBSectionContrib.h 27 virtual uint64_t getVirtualAddress() const = 0;
include/llvm/DebugInfo/PDB/IPDBSession.h 29 virtual uint64_t getLoadAddress() const = 0;
30 virtual bool setLoadAddress(uint64_t Address) = 0;
35 virtual bool addressForVA(uint64_t VA, uint32_t &Section,
46 findSymbolByAddress(uint64_t Address, PDB_SymType Type) const = 0;
57 findLineNumbersByAddress(uint64_t Address, uint32_t Length) const = 0;
include/llvm/DebugInfo/PDB/Native/NativeRawSymbol.h 43 uint64_t VA) const override;
53 findInlineFramesByVA(uint64_t VA) const override;
62 findInlineeLinesByVA(uint64_t VA, uint32_t Length) const override;
118 uint64_t getTargetVirtualAddress() const override;
144 uint64_t getLength() const override;
145 uint64_t getLiveRangeLength() const override;
146 uint64_t getVirtualAddress() const override;
include/llvm/DebugInfo/PDB/Native/NativeSession.h 39 uint64_t getLoadAddress() const override;
40 bool setLoadAddress(uint64_t Address) override;
44 bool addressForVA(uint64_t VA, uint32_t &Section,
50 findSymbolByAddress(uint64_t Address, PDB_SymType Type) const override;
61 findLineNumbersByAddress(uint64_t Address, uint32_t Length) const override;
include/llvm/DebugInfo/PDB/Native/NativeTypeArray.h 39 uint64_t getLength() const override;
include/llvm/DebugInfo/PDB/Native/NativeTypeBuiltin.h 25 uint64_t L);
35 uint64_t getLength() const override;
43 uint64_t Length;
include/llvm/DebugInfo/PDB/Native/NativeTypeEnum.h 45 uint64_t getLength() const override;
include/llvm/DebugInfo/PDB/Native/NativeTypePointer.h 37 uint64_t getLength() const override;
include/llvm/DebugInfo/PDB/Native/NativeTypeUDT.h 42 uint64_t getLength() const override;
include/llvm/DebugInfo/PDB/Native/PDBFile.h 61 uint64_t getBlockMapOffset() const;
include/llvm/DebugInfo/PDB/Native/RawTypes.h 324 uint64_t FileTime; // Time stamp (Windows FILETIME format).
include/llvm/DebugInfo/PDB/PDBContext.h 49 object::SectionedAddress Address, uint64_t Size,
59 std::string getFunctionName(uint64_t Address, DINameKind NameKind) const;
include/llvm/DebugInfo/PDB/PDBTypes.h 437 explicit Variant(uint64_t V) : Type(PDB_VariantType::UInt64) {
462 uint64_t UInt64;
include/llvm/DebugInfo/Symbolize/SymbolizableModule.h 43 virtual uint64_t getModulePreferredBase() const = 0;
include/llvm/Demangle/MicrosoftDemangle.h 185 std::pair<uint64_t, bool> demangleNumber(StringView &MangledName);
186 uint64_t demangleUnsigned(StringView &MangledName);
include/llvm/Demangle/MicrosoftDemangleNodes.h 368 uint64_t OffsetInVTable = 0;
554 IntegerLiteralNode(uint64_t Value, bool IsNegative)
559 uint64_t Value = 0;
include/llvm/Demangle/Utility.h 44 void writeUnsigned(uint64_t N, bool isNeg = false) {
include/llvm/ExecutionEngine/ExecutionEngine.h 67 using GlobalAddressMapTy = StringMap<uint64_t>;
78 std::map<uint64_t, std::string> GlobalAddressReverseMap;
85 std::map<uint64_t, std::string> &getGlobalAddressReverseMap() {
92 uint64_t RemoveMapping(StringRef Name);
249 uint64_t TargetAddress) {
308 void addGlobalMapping(StringRef Name, uint64_t Addr);
322 uint64_t updateGlobalMapping(const GlobalValue *GV, void *Addr);
323 uint64_t updateGlobalMapping(StringRef Name, uint64_t Addr);
323 uint64_t updateGlobalMapping(StringRef Name, uint64_t Addr);
327 uint64_t getAddressToGlobalIfAvailable(StringRef S);
368 virtual uint64_t getGlobalValueAddress(const std::string &Name) {
376 virtual uint64_t getFunctionAddress(const std::string &Name) {
include/llvm/ExecutionEngine/JITEventListener.h 44 using ObjectKey = uint64_t;
include/llvm/ExecutionEngine/JITLink/JITLink.h 129 uint64_t IsDefined : 1;
130 uint64_t IsAbsolute : 1;
143 JITTargetAddress Address, uint64_t Alignment, uint64_t AlignmentOffset)
143 JITTargetAddress Address, uint64_t Alignment, uint64_t AlignmentOffset)
157 JITTargetAddress Address, uint64_t Alignment, uint64_t AlignmentOffset)
157 JITTargetAddress Address, uint64_t Alignment, uint64_t AlignmentOffset)
209 uint64_t getAlignment() const { return 1ull << P2Align; }
212 uint64_t getAlignmentOffset() const { return AlignmentOffset; }
237 static constexpr uint64_t MaxAlignmentOffset = (1ULL << 57) - 1;
239 uint64_t P2Align : 5;
240 uint64_t AlignmentOffset : 57;
487 static constexpr uint64_t MaxOffset = (1ULL << 59) - 1;
492 uint64_t Offset : 59;
493 uint64_t L : 1;
494 uint64_t S : 2;
495 uint64_t IsLive : 1;
496 uint64_t IsCallable : 1;
607 uint64_t getSize() const { return getEnd() - getStart(); }
733 uint64_t Address, uint64_t Alignment,
733 uint64_t Address, uint64_t Alignment,
734 uint64_t AlignmentOffset) {
740 Block &createZeroFillBlock(Section &Parent, uint64_t Size, uint64_t Address,
740 Block &createZeroFillBlock(Section &Parent, uint64_t Size, uint64_t Address,
741 uint64_t Alignment, uint64_t AlignmentOffset) {
741 uint64_t Alignment, uint64_t AlignmentOffset) {
749 Symbol &addExternalSymbol(StringRef Name, uint64_t Size) {
758 uint64_t Size, Linkage L, Scope S, bool IsLive) {
768 JITTargetAddress Address, uint64_t Size,
769 uint64_t Alignment, bool IsLive) {
include/llvm/ExecutionEngine/JITLink/JITLinkMemoryManager.h 36 SegmentRequest(uint64_t Alignment, size_t ContentSize,
37 uint64_t ZeroFillSize)
42 uint64_t getAlignment() const { return Alignment; }
44 uint64_t getZeroFillSize() const { return ZeroFillSize; }
46 uint64_t Alignment = 0;
48 uint64_t ZeroFillSize = 0;
include/llvm/ExecutionEngine/JITSymbol.h 41 using JITTargetAddress = uint64_t;
include/llvm/ExecutionEngine/Orc/Core.h 42 using VModuleKey = uint64_t;
include/llvm/ExecutionEngine/Orc/OrcRemoteTargetClient.h 152 void registerEHFrames(uint8_t *Addr, uint64_t LoadAddr,
218 Alloc(uint64_t Size, unsigned Align)
226 uint64_t getSize() const { return Size; }
243 uint64_t Size;
326 uint64_t Size;
643 uint64_t Size) {
652 JITTargetAddress reserveMem(ResourceIdMgr::ResourceId Id, uint64_t Size,
671 bool writeMem(JITTargetAddress Addr, const char *Src, uint64_t Size) {
include/llvm/ExecutionEngine/Orc/OrcRemoteTargetRPCAPI.h 61 DirectBufferWriter(const char *Src, JITTargetAddress Dst, uint64_t Size)
66 uint64_t getSize() const { return Size; }
71 uint64_t Size;
126 uint64_t Size;
143 using ResourceId = uint64_t;
240 uint64_t Size)> {
249 uint64_t Size, uint32_t Align)> {
include/llvm/ExecutionEngine/Orc/OrcRemoteTargetServer.h 353 uint64_t Size) {
377 uint64_t Size, uint32_t Align) {
include/llvm/ExecutionEngine/Orc/RPCSerialization.h 600 uint64_t Count = 0;
632 uint64_t Count = 0;
675 uint64_t Count = 0;
include/llvm/ExecutionEngine/Orc/RawByteChannel.h 172 uint64_t Count = 0;
include/llvm/ExecutionEngine/Orc/SpeculateAnalyses.h 62 SmallVector<std::pair<const BasicBlock *, uint64_t>, 8>;
include/llvm/ExecutionEngine/Orc/Speculation.h 162 static void speculateForEntryPoint(Speculator *Ptr, uint64_t StubId);
include/llvm/ExecutionEngine/RTDyldMemoryManager.h 74 void registerEHFrames(uint8_t *Addr, uint64_t LoadAddr, size_t Size) override;
79 static uint64_t getSymbolAddressInProcess(const std::string &Name);
85 virtual uint64_t getSymbolAddress(const std::string &Name) {
108 virtual uint64_t getSymbolAddressInLogicalDylib(const std::string &Name) {
include/llvm/ExecutionEngine/RuntimeDyld.h 62 void reassignSectionAddress(unsigned SectionID, uint64_t Addr);
82 uint64_t
139 virtual void registerEHFrames(uint8_t *Addr, uint64_t LoadAddr,
210 void mapSectionAddress(const void *LocalAddress, uint64_t TargetAddress);
217 uint64_t getSectionLoadAddress(unsigned SectionID) const;
include/llvm/ExecutionEngine/RuntimeDyldChecker.h 86 MemoryRegionInfo(uint64_t Size, JITTargetAddress TargetAddress)
103 void setZeroFill(uint64_t Size) {
115 uint64_t getZeroFillLength() const {
131 uint64_t Size = 0;
170 std::pair<uint64_t, std::string> getSectionAddr(StringRef FileName,
176 Optional<uint64_t> getSectionLoadAddress(void *LocalAddress) const;
include/llvm/FuzzMutate/IRMutator.h 42 virtual uint64_t getWeight(size_t CurrentSize, size_t MaxSize,
43 uint64_t CurrentWeight) = 0;
85 uint64_t getWeight(size_t CurrentSize, size_t MaxSize,
86 uint64_t CurrentWeight) override {
97 uint64_t getWeight(size_t CurrentSize, size_t MaxSize,
98 uint64_t CurrentWeight) override;
include/llvm/FuzzMutate/Random.h 36 uint64_t TotalWeight = 0;
41 uint64_t totalWeight() const { return TotalWeight; }
60 ReservoirSampler &sample(const T &Item, uint64_t Weight) {
66 if (uniform<uint64_t>(RandGen, 1, TotalWeight) <= Weight)
83 uint64_t Weight) {
include/llvm/IR/Argument.h 59 uint64_t getDereferenceableBytes() const;
63 uint64_t getDereferenceableOrNullBytes() const;
include/llvm/IR/Attributes.h 91 static Attribute get(LLVMContext &Context, AttrKind Kind, uint64_t Val = 0);
101 uint64_t Bytes);
103 uint64_t Bytes);
138 uint64_t getValueAsInt() const;
162 uint64_t getDereferenceableBytes() const;
166 uint64_t getDereferenceableOrNullBytes() const;
290 uint64_t getDereferenceableBytes() const;
291 uint64_t getDereferenceableOrNullBytes() const;
493 uint64_t Bytes) const;
498 LLVMContext &C, unsigned ArgNo, uint64_t Bytes) const {
505 LLVMContext &C, unsigned Index, uint64_t Bytes) const;
511 LLVMContext &C, unsigned ArgNo, uint64_t Bytes) const {
619 uint64_t getDereferenceableBytes(unsigned Index) const;
623 uint64_t getParamDereferenceableBytes(unsigned ArgNo) const {
629 uint64_t getDereferenceableOrNullBytes(unsigned Index) const;
633 uint64_t getParamDereferenceableOrNullBytes(unsigned ArgNo) const {
711 uint64_t DerefBytes = 0;
712 uint64_t DerefOrNullBytes = 0;
713 uint64_t AllocSizeArgs = 0;
741 AttrBuilder &removeAttributes(AttributeList A, uint64_t WithoutIndex);
771 bool hasAttributes(AttributeList A, uint64_t Index) const;
784 uint64_t getDereferenceableBytes() const { return DerefBytes; }
788 uint64_t getDereferenceableOrNullBytes() const { return DerefOrNullBytes; }
823 AttrBuilder &addDereferenceableAttr(uint64_t Bytes);
827 AttrBuilder &addDereferenceableOrNullAttr(uint64_t Bytes);
838 AttrBuilder &addAllocSizeAttrFromRawRepr(uint64_t RawAllocSizeRepr);
include/llvm/IR/BasicBlock.h 429 Optional<uint64_t> getIrrLoopHeaderWeight() const;
include/llvm/IR/CallSite.h 425 uint64_t getDereferenceableBytes(unsigned i) const {
431 uint64_t getDereferenceableOrNullBytes(unsigned i) const {
include/llvm/IR/ConstantRange.h 228 bool isSizeLargerThan(uint64_t MaxSize) const;
include/llvm/IR/Constants.h 102 static Constant *get(Type *Ty, uint64_t V, bool isSigned = false);
110 static ConstantInt *get(IntegerType *Ty, uint64_t V,
148 inline uint64_t getZExtValue() const {
164 bool equalsInt(uint64_t V) const {
184 static bool isValueValidForType(Type *Ty, uint64_t V);
241 bool uge(uint64_t Num) const {
250 uint64_t getLimitedValue(uint64_t Limit = ~0ULL) const {
250 uint64_t getLimitedValue(uint64_t Limit = ~0ULL) const {
292 static Constant *getNaN(Type *Ty, bool Negative = false, uint64_t Payload = 0);
607 uint64_t getElementAsInteger(unsigned i) const;
644 uint64_t getElementByteSize() const;
721 static Constant *getRaw(StringRef Data, uint64_t NumElements, Type *ElementTy) {
733 static Constant *getFP(LLVMContext &Context, ArrayRef<uint64_t> Elts);
776 static Constant *get(LLVMContext &Context, ArrayRef<uint64_t> Elts);
787 static Constant *getFP(LLVMContext &Context, ArrayRef<uint64_t> Elts);
include/llvm/IR/DIBuilder.h 144 uint64_t DWOId = 0, bool SplitDebugInlining = true,
194 DIBasicType *createBasicType(StringRef Name, uint64_t SizeInBits,
210 DIDerivedType *createPointerType(DIType *PointeeTy, uint64_t SizeInBits,
223 uint64_t SizeInBits, uint32_t AlignInBits = 0,
229 uint64_t SizeInBits = 0,
255 uint64_t BaseOffset, uint32_t VBPtrOffset,
270 uint64_t SizeInBits,
272 uint64_t OffsetInBits,
290 uint64_t SizeInBits,
292 uint64_t OffsetInBits,
308 uint64_t SizeInBits, uint64_t OffsetInBits,
308 uint64_t SizeInBits, uint64_t OffsetInBits,
309 uint64_t StorageOffsetInBits, DINode::DIFlags Flags, DIType *Ty);
339 uint64_t SizeInBits, uint32_t AlignInBits,
340 uint64_t OffsetInBits, DINode::DIFlags Flags,
376 uint64_t SizeInBits, uint32_t AlignInBits, uint64_t OffsetInBits,
376 uint64_t SizeInBits, uint32_t AlignInBits, uint64_t OffsetInBits,
394 uint64_t SizeInBits, uint32_t AlignInBits, DINode::DIFlags Flags,
411 uint64_t SizeInBits, uint32_t AlignInBits,
432 uint64_t SizeInBits, uint32_t AlignInBits,
482 DICompositeType *createArrayType(uint64_t Size, uint32_t AlignInBits,
490 DICompositeType *createVectorType(uint64_t Size, uint32_t AlignInBits,
507 uint64_t SizeInBits, uint32_t AlignInBits, DINodeArray Elements,
535 uint64_t SizeInBits = 0,
542 unsigned RuntimeLang = 0, uint64_t SizeInBits = 0,
637 DIExpression *createExpression(ArrayRef<uint64_t> Addr = None);
642 DIExpression *createConstantValueExpression(uint64_t Val) {
include/llvm/IR/DataLayout.h 254 bool isLegalInteger(uint64_t Width) const {
261 bool isIllegalInteger(uint64_t Width) const { return !isLegalInteger(Width); }
586 uint64_t StructSize;
590 uint64_t MemberOffsets[1]; // variable sized array!
593 uint64_t getSizeInBytes() const { return StructSize; }
595 uint64_t getSizeInBits() const { return 8 * StructSize; }
605 unsigned getElementContainingOffset(uint64_t Offset) const;
607 uint64_t getElementOffset(unsigned Idx) const {
612 uint64_t getElementOffsetInBits(unsigned Idx) const {
659 uint64_t MinBits = EltCnt.Min *
include/llvm/IR/DebugInfoMetadata.h 586 uint64_t SizeInBits;
587 uint64_t OffsetInBits;
592 unsigned Line, uint64_t SizeInBits, uint32_t AlignInBits,
593 uint64_t OffsetInBits, DIFlags Flags, ArrayRef<Metadata *> Ops)
599 void init(unsigned Line, uint64_t SizeInBits, uint32_t AlignInBits,
600 uint64_t OffsetInBits, DIFlags Flags) {
609 void mutate(unsigned Tag, unsigned Line, uint64_t SizeInBits,
610 uint32_t AlignInBits, uint64_t OffsetInBits, DIFlags Flags) {
622 uint64_t getSizeInBits() const { return SizeInBits; }
625 uint64_t getOffsetInBits() const { return OffsetInBits; }
696 uint64_t SizeInBits, uint32_t AlignInBits, unsigned Encoding,
704 StringRef Name, uint64_t SizeInBits,
713 MDString *Name, uint64_t SizeInBits,
765 unsigned Line, uint64_t SizeInBits, uint32_t AlignInBits,
766 uint64_t OffsetInBits, Optional<unsigned> DWARFAddressSpace,
775 unsigned Line, DIScope *Scope, DIType *BaseType, uint64_t SizeInBits,
776 uint32_t AlignInBits, uint64_t OffsetInBits,
786 uint64_t SizeInBits, uint32_t AlignInBits,
787 uint64_t OffsetInBits,
897 unsigned Line, unsigned RuntimeLang, uint64_t SizeInBits,
898 uint32_t AlignInBits, uint64_t OffsetInBits, DIFlags Flags,
907 uint64_t SizeInBits, uint32_t AlignInBits,
908 uint64_t OffsetInBits, DIFlags Flags) {
917 unsigned Line, DIScope *Scope, DIType *BaseType, uint64_t SizeInBits,
918 uint32_t AlignInBits, uint64_t OffsetInBits, DIFlags Flags,
932 uint64_t SizeInBits, uint32_t AlignInBits, uint64_t OffsetInBits,
932 uint64_t SizeInBits, uint32_t AlignInBits, uint64_t OffsetInBits,
984 Metadata *BaseType, uint64_t SizeInBits, uint32_t AlignInBits,
985 uint64_t OffsetInBits, DIFlags Flags, Metadata *Elements,
1003 Metadata *BaseType, uint64_t SizeInBits, uint32_t AlignInBits,
1004 uint64_t OffsetInBits, DIFlags Flags, Metadata *Elements,
1145 uint64_t DWOId;
1153 unsigned EmissionKind, uint64_t DWOId, bool SplitDebugInlining,
1174 uint64_t DWOId, bool SplitDebugInlining, bool DebugInfoForProfiling,
1192 Metadata *Macros, uint64_t DWOId, bool SplitDebugInlining,
1276 uint64_t getDWOId() const { return DWOId; }
1277 void setDWOId(uint64_t DwoId) { DWOId = DwoId; }
2252 Optional<uint64_t> getSizeInBits() const;
2304 std::vector<uint64_t> Elements;
2306 DIExpression(LLVMContext &C, StorageType Storage, ArrayRef<uint64_t> Elements)
2312 ArrayRef<uint64_t> Elements, StorageType Storage,
2324 ArrayRef<uint64_t> getElements() const { return Elements; }
2328 uint64_t getElement(unsigned I) const {
2336 using element_iterator = ArrayRef<uint64_t>::iterator;
2346 const uint64_t *Op = nullptr;
2350 explicit ExprOperand(const uint64_t *Op) : Op(Op) {}
2352 const uint64_t *get() const { return Op; }
2355 uint64_t getOp() const { return *Op; }
2360 uint64_t getArg(unsigned I) const { return Op[I + 1]; }
2370 void appendToVector(SmallVectorImpl<uint64_t> &V) const {
2448 uint64_t SizeInBits;
2449 uint64_t OffsetInBits;
2472 static void appendOffset(SmallVectorImpl<uint64_t> &Ops, int64_t Offset);
2501 SmallVectorImpl<uint64_t> &Ops,
2509 static DIExpression *append(const DIExpression *Expr, ArrayRef<uint64_t> Ops);
2516 ArrayRef<uint64_t> Ops);
2536 uint64_t l1 = A.OffsetInBits;
2537 uint64_t l2 = B.OffsetInBits;
2538 uint64_t r1 = l1 + A.SizeInBits;
2539 uint64_t r2 = l2 + B.SizeInBits;
2590 static const uint64_t MaxVal = std::numeric_limits<uint64_t>::max();
2590 static const uint64_t MaxVal = std::numeric_limits<uint64_t>::max();
include/llvm/IR/DerivedTypes.h 75 uint64_t getBitMask() const {
81 uint64_t getSignBit() const {
382 uint64_t NumElements;
385 SequentialType(TypeID TID, Type *ElType, uint64_t NumElements)
398 uint64_t getNumElements() const { return NumElements; }
409 ArrayType(Type *ElType, uint64_t NumEl);
416 static ArrayType *get(Type *ElementType, uint64_t NumElements);
427 uint64_t Type::getArrayNumElements() const {
543 uint64_t MinimumEltCnt = getNumElements();
include/llvm/IR/DiagnosticInfo.h 185 uint64_t ResourceSize;
188 uint64_t ResourceLimit;
194 uint64_t ResourceSize,
197 uint64_t ResourceLimit = 0)
203 uint64_t getResourceSize() const { return ResourceSize; }
204 uint64_t getResourceLimit() const { return ResourceLimit; }
217 DiagnosticInfoStackSize(const Function &Fn, uint64_t StackSize,
219 uint64_t StackLimit = 0)
223 uint64_t getStackSize() const { return getResourceSize(); }
224 uint64_t getStackLimit() const { return getResourceLimit(); }
472 Optional<uint64_t> getHotness() const { return Hotness; }
473 void setHotness(Optional<uint64_t> H) { Hotness = H; }
514 Optional<uint64_t> Hotness;
include/llvm/IR/Function.h 262 uint64_t Count;
268 ProfileCount(uint64_t Count, ProfileCountType PCT)
271 uint64_t getCount() const { return Count; }
277 ProfileCount &setCount(uint64_t C) {
294 void setEntryCount(uint64_t Count, ProfileCountType Type = PCT_Real,
423 void addDereferenceableAttr(unsigned i, uint64_t Bytes);
427 void addDereferenceableParamAttr(unsigned ArgNo, uint64_t Bytes);
431 void addDereferenceableOrNullAttr(unsigned i, uint64_t Bytes);
435 void addDereferenceableOrNullParamAttr(unsigned ArgNo, uint64_t Bytes);
453 uint64_t getDereferenceableBytes(unsigned i) const {
459 uint64_t getParamDereferenceableBytes(unsigned ArgNo) const {
466 uint64_t getDereferenceableOrNullBytes(unsigned i) const {
473 uint64_t getParamDereferenceableOrNullBytes(unsigned ArgNo) const {
include/llvm/IR/GetElementPtrTypeIterator.h 37 enum : uint64_t { Unbounded = -1ull };
38 uint64_t NumElements = Unbounded;
119 uint64_t getSequentialNumElements() const {
include/llvm/IR/GlobalValue.h 502 using GUID = uint64_t;
include/llvm/IR/IRBuilder.h 363 ConstantInt *getInt64(uint64_t C) {
369 ConstantInt *getIntN(unsigned N, uint64_t C) {
455 CallInst *CreateMemSet(Value *Ptr, Value *Val, uint64_t Size, unsigned Align,
475 uint64_t Size, unsigned Align,
498 unsigned SrcAlign, uint64_t Size,
525 uint64_t Size, uint32_t ElementSize, MDNode *TBAATag = nullptr,
546 uint64_t Size, bool isVolatile = false,
569 uint64_t Size, uint32_t ElementSize, MDNode *TBAATag = nullptr,
661 CallInst *CreateGCStatepointCall(uint64_t ID, uint32_t NumPatchBytes,
670 CallInst *CreateGCStatepointCall(uint64_t ID, uint32_t NumPatchBytes,
681 CallInst *CreateGCStatepointCall(uint64_t ID, uint32_t NumPatchBytes,
690 CreateGCStatepointInvoke(uint64_t ID, uint32_t NumPatchBytes,
699 uint64_t ID, uint32_t NumPatchBytes, Value *ActualInvokee,
709 CreateGCStatepointInvoke(uint64_t ID, uint32_t NumPatchBytes,
1237 Value *CreateShl(Value *LHS, uint64_t RHS, const Twine &Name = "",
1258 Value *CreateLShr(Value *LHS, uint64_t RHS, const Twine &Name = "",
1278 Value *CreateAShr(Value *LHS, uint64_t RHS, const Twine &Name = "",
1297 Value *CreateAnd(Value *LHS, uint64_t RHS, const Twine &Name = "") {
1323 Value *CreateOr(Value *LHS, uint64_t RHS, const Twine &Name = "") {
1344 Value *CreateXor(Value *LHS, uint64_t RHS, const Twine &Name = "") {
1800 Value *CreateConstGEP1_64(Type *Ty, Value *Ptr, uint64_t Idx0,
1810 Value *CreateConstGEP1_64(Value *Ptr, uint64_t Idx0, const Twine &Name = "") {
1814 Value *CreateConstInBoundsGEP1_64(Type *Ty, Value *Ptr, uint64_t Idx0,
1824 Value *CreateConstInBoundsGEP1_64(Value *Ptr, uint64_t Idx0,
1829 Value *CreateConstGEP2_64(Type *Ty, Value *Ptr, uint64_t Idx0, uint64_t Idx1,
1829 Value *CreateConstGEP2_64(Type *Ty, Value *Ptr, uint64_t Idx0, uint64_t Idx1,
1842 Value *CreateConstGEP2_64(Value *Ptr, uint64_t Idx0, uint64_t Idx1,
1842 Value *CreateConstGEP2_64(Value *Ptr, uint64_t Idx0, uint64_t Idx1,
1847 Value *CreateConstInBoundsGEP2_64(Type *Ty, Value *Ptr, uint64_t Idx0,
1848 uint64_t Idx1, const Twine &Name = "") {
1860 Value *CreateConstInBoundsGEP2_64(Value *Ptr, uint64_t Idx0, uint64_t Idx1,
1860 Value *CreateConstInBoundsGEP2_64(Value *Ptr, uint64_t Idx0, uint64_t Idx1,
2339 Value *CreateExtractElement(Value *Vec, uint64_t Idx,
2353 Value *CreateInsertElement(Value *Vec, Value *NewElt, uint64_t Idx,
2502 IntegerType *ExtractedTy, uint64_t Offset,
2508 uint64_t ShAmt = 8 * Offset;
include/llvm/IR/InstrTypes.h 1448 void addDereferenceableAttr(unsigned i, uint64_t Bytes) {
1456 void addDereferenceableOrNullAttr(unsigned i, uint64_t Bytes) {
1596 uint64_t getDereferenceableBytes(unsigned i) const {
1602 uint64_t getDereferenceableOrNullBytes(unsigned i) const {
include/llvm/IR/Instruction.h 317 bool extractProfMetadata(uint64_t &TrueVal, uint64_t &FalseVal) const;
317 bool extractProfMetadata(uint64_t &TrueVal, uint64_t &FalseVal) const;
322 bool extractProfTotalWeight(uint64_t &TotalVal) const;
325 void setProfWeight(uint64_t W);
include/llvm/IR/Instructions.h 102 Optional<uint64_t> getAllocationSizeInBits(const DataLayout &DL) const;
1004 static Type *getIndexedType(Type *Ty, ArrayRef<uint64_t> IdxList);
1677 void updateProfWeight(uint64_t S, uint64_t T);
1677 void updateProfWeight(uint64_t S, uint64_t T);
include/llvm/IR/IntrinsicInst.h 118 Optional<uint64_t> getFragmentSizeInBits() const;
include/llvm/IR/LLVMContext.h 216 uint64_t getDiagnosticsHotnessThreshold() const;
220 void setDiagnosticsHotnessThreshold(uint64_t Threshold);
include/llvm/IR/MDBuilder.h 73 MDNode *createFunctionEntryCount(uint64_t Count, bool Synthetic,
80 MDNode *createMisExpect(uint64_t Index, uint64_t LikelyWeight,
80 MDNode *createMisExpect(uint64_t Index, uint64_t LikelyWeight,
81 uint64_t UnlikelyWeight);
167 uint64_t Offset;
168 uint64_t Size;
170 TBAAStructField(uint64_t Offset, uint64_t Size, MDNode *Type) :
170 TBAAStructField(uint64_t Offset, uint64_t Size, MDNode *Type) :
182 ArrayRef<std::pair<MDNode *, uint64_t>> Fields);
187 uint64_t Offset = 0);
192 uint64_t Offset, bool IsConstant = false);
196 MDNode *createTBAATypeNode(MDNode *Parent, uint64_t Size, Metadata *Id,
205 uint64_t Offset, uint64_t Size,
205 uint64_t Offset, uint64_t Size,
213 MDNode *createIrrLoopHeaderWeight(uint64_t Weight);
include/llvm/IR/Metadata.h 286 uint64_t NextIndex = 0;
287 SmallDenseMap<void *, std::pair<OwnerTy, uint64_t>, 4> UseMap;
include/llvm/IR/ModuleSummaryIndex.h 70 static constexpr uint64_t MaxRelBlockFreq = (1 << 29) - 1;
74 explicit CalleeInfo(HotnessType Hotness, uint64_t RelBF)
88 void updateRelBlockFreq(uint64_t BlockFreq, uint64_t EntryFreq) {
88 void updateRelBlockFreq(uint64_t BlockFreq, uint64_t EntryFreq) {
91 using Scaled64 = ScaledNumber<uint64_t>;
95 uint64_t Sum =
96 SaturatingAdd<uint64_t>(Temp.toInt<uint64_t>(), RelBlockFreq);
96 SaturatingAdd<uint64_t>(Temp.toInt<uint64_t>(), RelBlockFreq);
508 uint64_t Offset;
516 std::vector<uint64_t> Args;
584 uint64_t EntryCount = 0;
593 uint64_t EntryCount, std::vector<ValueInfo> Refs,
627 uint64_t entryCount() const { return EntryCount; }
630 void setEntryCount(uint64_t EC) { EntryCount = EC; }
731 VirtFuncOffset(ValueInfo VI, uint64_t Offset)
735 uint64_t VTableOffset;
819 uint64_t AlignLog2 = 0;
820 uint64_t SizeM1 = 0;
822 uint64_t InlineBits = 0;
848 uint64_t Info = 0;
859 std::map<std::vector<uint64_t>, ByArg> ResByArg;
867 std::map<uint64_t, WholeProgramDevirtResolution> WPDRes;
880 using ModulePathStringTableTy = StringMap<std::pair<uint64_t, ModuleHash>>;
902 TypeIdOffsetVtableInfo(uint64_t Offset, ValueInfo VI)
905 uint64_t AddressPointOffset;
1212 const StringMap<std::pair<uint64_t, ModuleHash>> &modulePaths() const {
1217 StringMap<std::pair<uint64_t, ModuleHash>> &modulePaths() {
1222 uint64_t getModuleId(const StringRef ModPath) const {
include/llvm/IR/ModuleSummaryIndexYAML.h 67 std::map<std::vector<uint64_t>, WholeProgramDevirtResolution::ByArg> &V) {
68 std::vector<uint64_t> Args;
72 uint64_t Arg;
83 std::map<std::vector<uint64_t>, WholeProgramDevirtResolution::ByArg> &V) {
86 for (uint64_t Arg : P.first) {
116 std::map<uint64_t, WholeProgramDevirtResolution> &V) {
117 uint64_t KeyInt;
124 static void output(IO &io, std::map<uint64_t, WholeProgramDevirtResolution> &V) {
140 std::vector<uint64_t> Refs;
141 std::vector<uint64_t> TypeTests;
208 uint64_t KeyInt;
240 std::vector<uint64_t> Refs;
include/llvm/IR/PatternMatch.h 631 uint64_t &VR;
633 bind_const_intval_ty(uint64_t &V) : VR(V) {}
668 inline specific_intval m_SpecificInt(uint64_t V) {
674 inline bind_const_intval_ty m_ConstantInt(uint64_t &V) { return V; }
include/llvm/IR/ProfileSummary.h 33 uint64_t MinCount; ///< The minimum count for this percentile.
34 uint64_t NumCounts; ///< Number of counts >= the minimum count.
36 ProfileSummaryEntry(uint32_t TheCutoff, uint64_t TheMinCount,
37 uint64_t TheNumCounts)
50 uint64_t TotalCount, MaxCount, MaxInternalCount, MaxFunctionCount;
59 uint64_t TotalCount, uint64_t MaxCount,
59 uint64_t TotalCount, uint64_t MaxCount,
60 uint64_t MaxInternalCount, uint64_t MaxFunctionCount,
60 uint64_t MaxInternalCount, uint64_t MaxFunctionCount,
74 uint64_t getMaxFunctionCount() { return MaxFunctionCount; }
76 uint64_t getTotalCount() { return TotalCount; }
77 uint64_t getMaxCount() { return MaxCount; }
78 uint64_t getMaxInternalCount() { return MaxInternalCount; }
include/llvm/IR/Statepoint.h 112 uint64_t getFlags() const {
118 uint64_t getID() const {
126 uint64_t NumPatchBytes =
439 Optional<uint64_t> StatepointID;
441 static const uint64_t DefaultStatepointID = 0xABCDEF00;
442 static const uint64_t DeoptBundleStatepointID = 0xABCDEF0F;
include/llvm/IR/Type.h 366 inline uint64_t getArrayNumElements() const;
include/llvm/IR/Value.h 628 uint64_t getPointerDereferenceableBytes(const DataLayout &DL,
include/llvm/LTO/LTO.h 311 uint64_t Size = 0;
include/llvm/LTO/legacy/ThinLTOCodeGenerator.h 173 void setCacheMaxSizeBytes(uint64_t MaxSizeBytes) {
include/llvm/MC/MCAsmBackend.h 114 uint64_t Value, bool IsResolved,
137 uint64_t Value,
143 virtual bool fixupNeedsRelaxation(const MCFixup &Fixup, uint64_t Value,
168 virtual bool writeNopData(raw_ostream &OS, uint64_t Count) const = 0;
include/llvm/MC/MCAsmLayout.h 75 uint64_t getFragmentOffset(const MCFragment *F) const;
84 uint64_t getSectionAddressSize(const MCSection *Sec) const;
88 uint64_t getSectionFileSize(const MCSection *Sec) const;
93 bool getSymbolOffset(const MCSymbol &S, uint64_t &Val) const;
96 uint64_t getSymbolOffset(const MCSymbol &S) const;
include/llvm/MC/MCAssembler.h 174 uint64_t &Value, bool &WasForced) const;
209 std::tuple<MCValue, uint64_t, bool>
230 uint64_t computeFragmentSize(const MCAsmLayout &Layout,
431 uint64_t Count;
452 uint64_t FSize) const;
462 uint64_t computeBundlePadding(const MCAssembler &Assembler,
463 const MCEncodedFragment *F, uint64_t FOffset,
464 uint64_t FSize);
include/llvm/MC/MCCodePadder.h 61 DenseMap<MCPaddingFragment *, uint64_t> FragmentToMaxWindowSize;
62 uint64_t getMaxWindowSize(MCPaddingFragment *Fragment, MCAsmLayout &Layout);
134 const uint64_t KindMask;
136 const uint64_t WindowSize;
142 MCCodePaddingPolicy(uint64_t Kind, uint64_t WindowSize,
142 MCCodePaddingPolicy(uint64_t Kind, uint64_t WindowSize,
154 static uint64_t getNextFragmentOffset(const MCFragment *Fragment,
164 uint64_t getFragmentInstByte(const MCPaddingFragment *Fragment,
166 uint64_t computeWindowEndAddress(const MCPaddingFragment *Fragment,
167 uint64_t Offset, MCAsmLayout &Layout) const;
201 uint64_t getKindMask() const { return KindMask; }
203 uint64_t getWindowSize() const { return WindowSize; }
include/llvm/MC/MCContext.h 380 void setSymbolValue(MCStreamer &Streamer, StringRef Sym, uint64_t Val);
include/llvm/MC/MCDisassembler/MCDisassembler.h 78 virtual DecodeStatus getInstruction(MCInst &Instr, uint64_t &Size,
79 ArrayRef<uint8_t> Bytes, uint64_t Address,
95 virtual DecodeStatus onSymbolStart(StringRef Name, uint64_t &Size,
96 ArrayRef<uint8_t> Bytes, uint64_t Address,
112 uint64_t Address, bool IsBranch,
113 uint64_t Offset, uint64_t InstSize) const;
113 uint64_t Offset, uint64_t InstSize) const;
115 void tryAddingPcLoadReferenceComment(int64_t Value, uint64_t Address) const;
include/llvm/MC/MCDisassembler/MCExternalSymbolizer.h 48 int64_t Value, uint64_t Address, bool IsBranch,
49 uint64_t Offset, uint64_t InstSize) override;
49 uint64_t Offset, uint64_t InstSize) override;
52 uint64_t Address) override;
include/llvm/MC/MCDisassembler/MCSymbolizer.h 68 int64_t Value, uint64_t Address,
69 bool IsBranch, uint64_t Offset,
70 uint64_t InstSize) = 0;
77 uint64_t Address) = 0;
include/llvm/MC/MCDwarf.h 382 int64_t LineDelta, uint64_t AddrDelta, raw_ostream &OS);
388 int64_t LineDelta, uint64_t AddrDelta,
393 int64_t LineDelta, uint64_t AddrDelta);
630 static void EmitAdvanceLoc(MCObjectStreamer &Streamer, uint64_t AddrDelta);
631 static void EncodeAdvanceLoc(MCContext &Context, uint64_t AddrDelta,
include/llvm/MC/MCELFObjectWriter.h 32 uint64_t Offset; // Where is the relocation.
35 uint64_t Addend; // The addend to use.
37 uint64_t OriginalAddend; // The original value of addend.
39 ELFRelocationEntry(uint64_t Offset, const MCSymbolELF *Symbol, unsigned Type,
40 uint64_t Addend, const MCSymbolELF *OriginalSymbol,
41 uint64_t OriginalAddend)
include/llvm/MC/MCELFStreamer.h 50 void EmitCommonSymbol(MCSymbol *Symbol, uint64_t Size,
57 void EmitLocalCommonSymbol(MCSymbol *Symbol, uint64_t Size,
61 uint64_t Size = 0, unsigned ByteAlignment = 0,
63 void EmitTBSSSymbol(MCSection *Section, MCSymbol *Symbol, uint64_t Size,
73 const MCSymbolRefExpr *To, uint64_t Count) override;
include/llvm/MC/MCExpr.h 31 using SectionAddrMap = DenseMap<const MCSection *, uint64_t>;
include/llvm/MC/MCFragment.h 75 uint64_t Offset;
345 uint64_t PaddingPoliciesMask;
351 uint64_t Size;
370 static const uint64_t PFK_None = UINT64_C(0);
388 uint64_t getPaddingPoliciesMask() const { return PaddingPoliciesMask; }
389 void setPaddingPoliciesMask(uint64_t Value) { PaddingPoliciesMask = Value; }
390 bool hasPaddingPolicy(uint64_t PolicyMask) const {
420 uint64_t getSize() const { return Size; }
421 void setSize(uint64_t Value) { Size = Value; }
431 uint64_t Value;
440 MCFillFragment(uint64_t Value, uint8_t VSize, const MCExpr &NumValues,
445 uint64_t getValue() const { return Value; }
include/llvm/MC/MCInstPrinter.h 104 format_object<uint64_t> formatHex(uint64_t Value) const;
104 format_object<uint64_t> formatHex(uint64_t Value) const;
include/llvm/MC/MCInstrAnalysis.h 152 evaluateBranch(const MCInst &Inst, uint64_t Addr, uint64_t Size,
152 evaluateBranch(const MCInst &Inst, uint64_t Addr, uint64_t Size,
153 uint64_t &Target) const;
157 virtual Optional<uint64_t> evaluateMemoryOperandAddress(const MCInst &Inst,
158 uint64_t Addr,
159 uint64_t Size) const;
162 virtual std::vector<std::pair<uint64_t, uint64_t>>
162 virtual std::vector<std::pair<uint64_t, uint64_t>>
163 findPltEntries(uint64_t PltSectionVA, ArrayRef<uint8_t> PltContents,
164 uint64_t GotPltSectionVA, const Triple &TargetTriple) const {
include/llvm/MC/MCInstrDesc.h 186 uint64_t Flags; // Flags identifying machine instr class
187 uint64_t TSFlags; // Target Specific Flag values
244 uint64_t getFlags() const { return Flags; }
include/llvm/MC/MCLinkerOptimizationHint.h 132 uint64_t getEmitSize(const MachObjectWriter &ObjWriter,
138 mutable uint64_t EmitSize = 0;
160 uint64_t getEmitSize(const MachObjectWriter &ObjWriter,
include/llvm/MC/MCMachObjectWriter.h 76 uint64_t &FixedValue) = 0;
85 uint64_t StringIndex;
123 void writeWithPadding(StringRef Str, uint64_t Size);
149 uint64_t getSectionAddress(const MCSection *Sec) const {
152 uint64_t getSymbolAddress(const MCSymbol &S, const MCAsmLayout &Layout) const;
154 uint64_t getFragmentAddress(const MCFragment *Fragment,
157 uint64_t getPaddingSize(const MCSection *SD, const MCAsmLayout &Layout) const;
182 uint64_t VMAddr, uint64_t VMSize,
182 uint64_t VMAddr, uint64_t VMSize,
183 uint64_t SectionDataStartOffset,
184 uint64_t SectionDataSize, uint32_t MaxProt,
188 uint64_t VMAddr, uint64_t FileOffset, unsigned Flags,
188 uint64_t VMAddr, uint64_t FileOffset, unsigned Flags,
189 uint64_t RelocationsStart, unsigned NumRelocations);
237 unsigned Log2Size, uint64_t &FixedValue);
241 MCValue Target, uint64_t &FixedValue);
245 MCValue Target, uint64_t &FixedValue) override;
271 uint64_t writeObject(MCAssembler &Asm, const MCAsmLayout &Layout) override;
include/llvm/MC/MCObjectFileInfo.h 248 MCSection *getDwarfInfoSection(uint64_t Hash) const {
287 MCSection *getDwarfTypesSection(uint64_t Hash) const {
406 MCSection *getDwarfComdatSection(const char *Name, uint64_t Hash) const;
include/llvm/MC/MCObjectStreamer.h 96 void flushPendingLabels(MCFragment *F, uint64_t FOffset = 0);
174 void emitFill(const MCExpr &NumBytes, uint64_t FillValue,
include/llvm/MC/MCObjectWriter.h 71 uint64_t &FixedValue) = 0;
108 virtual uint64_t writeObject(MCAssembler &Asm, const MCAsmLayout &Layout) = 0;
include/llvm/MC/MCParser/MCTargetAsmParser.h 427 uint64_t &ErrorInfo,
include/llvm/MC/MCSectionWasm.h 39 uint64_t SectionOffset = 0;
76 uint64_t getSectionOffset() const { return SectionOffset; }
77 void setSectionOffset(uint64_t Offset) { SectionOffset = Offset; }
include/llvm/MC/MCStreamer.h 540 virtual void EmitCOFFSecRel32(MCSymbol const *Symbol, uint64_t Offset);
553 virtual void EmitXCOFFLocalCommonSymbol(MCSymbol *Symbol, uint64_t Size,
581 virtual void EmitCommonSymbol(MCSymbol *Symbol, uint64_t Size,
589 virtual void EmitLocalCommonSymbol(MCSymbol *Symbol, uint64_t Size,
600 uint64_t Size = 0, unsigned ByteAlignment = 0,
611 uint64_t Size, unsigned ByteAlignment = 0);
644 virtual void EmitIntValue(uint64_t Value, unsigned Size);
649 virtual void EmitIntValueInHex(uint64_t Value, unsigned Size) {
659 void EmitULEB128IntValue(uint64_t Value, unsigned PadTo = 0);
714 void emitFill(uint64_t NumBytes, uint8_t FillValue);
723 virtual void emitFill(const MCExpr &NumBytes, uint64_t FillValue,
739 void EmitZeros(uint64_t NumBytes);
968 const MCSymbolRefExpr *To, uint64_t Count);
include/llvm/MC/MCSubtargetInfo.h 130 FeatureBitset ToggleFeature(uint64_t FB);
include/llvm/MC/MCSymbol.h 132 uint64_t Offset;
135 uint64_t CommonSize;
151 uint64_t AlignmentPadding;
324 uint64_t getOffset() const {
330 void setOffset(uint64_t Value) {
339 uint64_t getCommonSize() const {
349 void setCommon(uint64_t Size, unsigned Align, bool Target = false) {
374 bool declareCommon(uint64_t Size, unsigned Align, bool Target = false) {
include/llvm/MC/MCWasmStreamer.h 53 void EmitCommonSymbol(MCSymbol *Symbol, uint64_t Size,
58 void EmitLocalCommonSymbol(MCSymbol *Symbol, uint64_t Size,
62 uint64_t Size = 0, unsigned ByteAlignment = 0,
64 void EmitTBSSSymbol(MCSection *Section, MCSymbol *Symbol, uint64_t Size,
include/llvm/MC/MCWinCOFFStreamer.h 55 void EmitCOFFSecRel32(MCSymbol const *Symbol, uint64_t Offset) override;
57 void EmitCommonSymbol(MCSymbol *Symbol, uint64_t Size,
59 void EmitLocalCommonSymbol(MCSymbol *Symbol, uint64_t Size,
61 void EmitZerofill(MCSection *Section, MCSymbol *Symbol, uint64_t Size,
63 void EmitTBSSSymbol(MCSection *Section, MCSymbol *Symbol, uint64_t Size,
include/llvm/MC/MCXCOFFStreamer.h 23 void EmitCommonSymbol(MCSymbol *Symbol, uint64_t Size,
26 uint64_t Size = 0, unsigned ByteAlignment = 0,
29 void EmitXCOFFLocalCommonSymbol(MCSymbol *Symbol, uint64_t Size,
include/llvm/MC/SubtargetFeature.h 44 uint64_t Bits[MAX_SUBTARGET_WORDS] = {};
47 constexpr FeatureBitset(const std::array<uint64_t, MAX_SUBTARGET_WORDS> &B) {
66 uint64_t NewBits = Bits[I / 64] | (uint64_t(1) << (I % 64));
73 uint64_t NewBits = Bits[I / 64] & ~(uint64_t(1) << (I % 64));
80 uint64_t NewBits = Bits[I / 64] ^ (uint64_t(1) << (I % 64));
86 uint64_t Mask = uint64_t(1) << (I % 64);
167 constexpr FeatureBitArray(const std::array<uint64_t, MAX_SUBTARGET_WORDS> &B)
include/llvm/MCA/HWEventListener.h 64 using ResourceRef = std::pair<uint64_t, uint64_t>;
64 using ResourceRef = std::pair<uint64_t, uint64_t>;
145 uint64_t Mask = 0)
155 const uint64_t ResourceMask;
168 using ResourceRef = std::pair<uint64_t, uint64_t>;
168 using ResourceRef = std::pair<uint64_t, uint64_t>;
include/llvm/MCA/HardwareUnits/ResourceManager.h 57 virtual uint64_t select(uint64_t ReadyMask) = 0;
57 virtual uint64_t select(uint64_t ReadyMask) = 0;
63 virtual void used(uint64_t ResourceMask) {}
73 const uint64_t ResourceUnitMask;
96 uint64_t NextInSequenceMask;
118 uint64_t RemovedFromNextInSequence;
121 DefaultResourceStrategy(uint64_t UnitMask)
126 uint64_t select(uint64_t ReadyMask) override;
126 uint64_t select(uint64_t ReadyMask) override;
127 void used(uint64_t Mask) override;
164 const uint64_t ResourceMask;
176 uint64_t ResourceSizeMask;
179 uint64_t ReadyMask;
210 bool isSubResourceReady(uint64_t SubResMask) const {
215 ResourceState(const MCProcResourceDesc &Desc, unsigned Index, uint64_t Mask);
218 uint64_t getResourceMask() const { return ResourceMask; }
219 uint64_t getReadyMask() const { return ReadyMask; }
238 bool containsResource(uint64_t ID) const { return ResourceMask & ID; }
240 void markSubResourceAsUsed(uint64_t ID) {
245 void releaseSubResource(uint64_t ID) {
298 typedef std::pair<uint64_t, uint64_t> ResourceRef;
298 typedef std::pair<uint64_t, uint64_t> ResourceRef;
344 std::vector<uint64_t> Resource2Groups;
347 SmallVector<uint64_t, 8> ProcResID2Mask;
358 uint64_t ProcResUnitMask;
361 uint64_t AvailableProcResUnits;
364 uint64_t ReservedResourceGroups;
368 uint64_t AvailableBuffers;
371 uint64_t ReservedBuffers;
374 ResourceRef selectPipe(uint64_t ResourceID);
379 unsigned getNumUnits(uint64_t ResourceID) const;
384 uint64_t ResourceMask);
401 ResourceStateEvent canBeDispatched(uint64_t ConsumedBuffers) const;
404 unsigned resolveResourceMask(uint64_t Mask) const;
408 void reserveBuffers(uint64_t ConsumedBuffers);
414 void releaseBuffers(uint64_t ConsumedBuffers);
418 void reserveResource(uint64_t ResourceID);
421 void releaseResource(uint64_t ResourceID);
427 uint64_t checkAvailability(const InstrDesc &Desc) const;
429 uint64_t getProcResUnitMask() const { return ProcResUnitMask; }
430 uint64_t getAvailableProcResUnits() const { return AvailableProcResUnits; }
include/llvm/MCA/HardwareUnits/Scheduler.h 121 uint64_t BusyResourceUnits;
234 unsigned getResourceID(uint64_t Mask) const {
257 uint64_t analyzeResourcePressure(SmallVectorImpl<InstRef> &Insts);
include/llvm/MCA/InstrBuilder.h 43 SmallVector<uint64_t, 8> ProcResourceMasks;
include/llvm/MCA/Instruction.h 354 SmallVector<std::pair<uint64_t, ResourceUsage>, 4> Resources;
357 uint64_t UsedBuffers;
360 uint64_t UsedProcResUnits;
363 uint64_t UsedProcResGroups;
475 uint64_t UsedBuffers;
486 uint64_t CriticalResourceMask;
502 uint64_t getUsedBuffers() const { return UsedBuffers; }
503 void setUsedBuffers(uint64_t Mask) { UsedBuffers = Mask; }
551 uint64_t getCriticalResourceMask() const { return CriticalResourceMask; }
552 void setCriticalResourceMask(uint64_t ResourceMask) {
include/llvm/MCA/Stages/InstructionTables.h 31 SmallVector<uint64_t, 8> Masks;
include/llvm/MCA/Support.h 95 MutableArrayRef<uint64_t> Masks);
99 inline unsigned getResourceStateIndex(uint64_t Mask) {
101 return (std::numeric_limits<uint64_t>::digits - countLeadingZeros(Mask)) - 1;
include/llvm/Object/Archive.h 42 uint64_t Size, Error *Err);
49 Expected<StringRef> getName(uint64_t Size) const;
51 Expected<uint64_t> getSize() const;
65 uint64_t getSizeOf() const {
132 Expected<uint64_t> getSize() const;
134 Expected<uint64_t> getRawSize() const;
137 uint64_t getChildOffset() const;
138 uint64_t getDataOffset() const { return getChildOffset() + StartOfFile; }
225 static const uint64_t MaxMemberSize = 9999999999;
include/llvm/Object/Binary.h 164 const uint64_t Size) {
include/llvm/Object/COFF.h 895 Expected<uint64_t> getSymbolAddress(DataRefImpl Symb) const override;
897 uint64_t getSymbolValueImpl(DataRefImpl Symb) const override;
898 uint64_t getCommonSymbolSizeImpl(DataRefImpl Symb) const override;
904 uint64_t getSectionAddress(DataRefImpl Sec) const override;
905 uint64_t getSectionIndex(DataRefImpl Sec) const override;
906 uint64_t getSectionSize(DataRefImpl Sec) const override;
909 uint64_t getSectionAlignment(DataRefImpl Sec) const override;
919 uint64_t getRelocationOffset(DataRefImpl Rel) const override;
921 uint64_t getRelocationType(DataRefImpl Rel) const override;
943 Expected<uint64_t> getStartAddress() const override;
1042 uint64_t getSectionSize(const coff_section *Sec) const;
1046 uint64_t getImageBase() const;
1047 std::error_code getVaPtr(uint64_t VA, uintptr_t &Res) const;
1128 std::error_code getImportAddress(int AddrIndex, uint64_t &Result) const;
include/llvm/Object/COFFModuleDefinition.h 31 uint64_t ImageBase = 0;
32 uint64_t StackReserve = 0;
33 uint64_t StackCommit = 0;
34 uint64_t HeapReserve = 0;
35 uint64_t HeapCommit = 0;
include/llvm/Object/Decompressor.h 42 uint64_t getDecompressedSize() { return DecompressedSize; }
48 static bool isCompressedELFSection(uint64_t Flags, StringRef Name);
60 uint64_t DecompressedSize;
include/llvm/Object/ELF.h 144 std::string getDynamicTagAsString(unsigned Arch, uint64_t Type) const;
145 std::string getDynamicTagAsString(uint64_t Type) const;
168 Expected<const uint8_t *> toMappedAddr(uint64_t VAddr) const;
514 const uint64_t FileSize = Buf.size();
538 const uint64_t SectionTableSize = NumSections * sizeof(Elf_Shdr);
644 uint64_t Syms = SymTable.sh_size / sizeof(Elf_Sym);
include/llvm/Object/ELFObjectFile.h 57 virtual uint64_t getSymbolSize(DataRefImpl Symb) const = 0;
63 virtual uint64_t getSectionFlags(DataRefImpl Sec) const = 0;
64 virtual uint64_t getSectionOffset(DataRefImpl Sec) const = 0;
95 std::vector<std::pair<DataRefImpl, uint64_t>> getPltAddresses() const;
112 uint64_t getFlags() const {
116 uint64_t getOffset() const {
146 uint64_t getSize() const {
228 uint64_t getSymbolSize(DataRefImpl Sym) const override;
260 Expected<uint64_t> getSymbolAddress(DataRefImpl Symb) const override;
261 uint64_t getSymbolValueImpl(DataRefImpl Symb) const override;
263 uint64_t getCommonSymbolSizeImpl(DataRefImpl Symb) const override;
275 uint64_t getSectionAddress(DataRefImpl Sec) const override;
276 uint64_t getSectionIndex(DataRefImpl Sec) const override;
277 uint64_t getSectionSize(DataRefImpl Sec) const override;
280 uint64_t getSectionAlignment(DataRefImpl Sec) const override;
295 uint64_t getRelocationOffset(DataRefImpl Rel) const override;
297 uint64_t getRelocationType(DataRefImpl Rel) const override;
302 uint64_t getSectionFlags(DataRefImpl Sec) const override;
303 uint64_t getSectionOffset(DataRefImpl Sec) const override;
427 Expected<uint64_t> getStartAddress() const override;
483 uint64_t ELFObjectFile<ELFT>::getSectionFlags(DataRefImpl Sec) const {
493 uint64_t ELFObjectFile<ELFT>::getSectionOffset(DataRefImpl Sec) const {
498 uint64_t ELFObjectFile<ELFT>::getSymbolValueImpl(DataRefImpl Symb) const {
500 uint64_t Ret = ESym->st_value;
514 Expected<uint64_t>
516 uint64_t Result = getSymbolValue(Symb);
561 uint64_t ELFObjectFile<ELFT>::getSymbolSize(DataRefImpl Sym) const {
566 uint64_t ELFObjectFile<ELFT>::getCommonSymbolSizeImpl(DataRefImpl Symb) const {
702 uint64_t ELFObjectFile<ELFT>::getSectionAddress(DataRefImpl Sec) const {
707 uint64_t ELFObjectFile<ELFT>::getSectionIndex(DataRefImpl Sec) const {
718 uint64_t ELFObjectFile<ELFT>::getSectionSize(DataRefImpl Sec) const {
735 uint64_t ELFObjectFile<ELFT>::getSectionAlignment(DataRefImpl Sec) const {
887 uint64_t ELFObjectFile<ELFT>::getRelocationOffset(DataRefImpl Rel) const {
896 uint64_t ELFObjectFile<ELFT>::getRelocationType(DataRefImpl Rel) const {
1195 Expected<uint64_t> ELFObjectFile<ELFT>::getStartAddress() const {
include/llvm/Object/ELFTypes.h 56 using uint = typename std::conditional<Is64, uint64_t, uint32_t>::type;
88 using Xword = packed<uint64_t>;
197 uint64_t getValue() const { return st_value; }
352 uint64_t, uint32_t>::type;
408 uint64_t getRInfo(bool isMips64EL) const {
409 uint64_t t = r_info;
419 void setRInfo(uint64_t R, bool IsMips64EL) {
include/llvm/Object/IRSymtab.h 209 uint64_t getCommonSize() const {
include/llvm/Object/MachO.h 77 uint64_t flags() const;
78 uint64_t address() const;
79 uint64_t other() const;
92 uint64_t readULEB128(const uint8_t *&p, const char **error);
94 void pushNode(uint64_t Offset);
102 uint64_t Flags = 0;
103 uint64_t Address = 0;
104 uint64_t Other = 0;
136 const char* checkSegAndOffsets(int32_t SegIndex, uint64_t SegOffset,
141 StringRef sectionName(int32_t SegIndex, uint64_t SegOffset);
142 uint64_t address(uint32_t SegIndex, uint64_t SegOffset);
142 uint64_t address(uint32_t SegIndex, uint64_t SegOffset);
146 uint64_t Address;
147 uint64_t Size;
150 uint64_t OffsetInSegment;
151 uint64_t SegmentStartAddress;
154 const SectionInfo &findSection(int32_t SegIndex, uint64_t SegOffset);
173 uint64_t segmentOffset() const;
177 uint64_t address() const;
188 uint64_t readULEB128(const char **error);
194 uint64_t SegmentOffset = 0;
196 uint64_t RemainingLoopCount = 0;
197 uint64_t AdvanceAmount = 0;
219 uint64_t segmentOffset() const;
228 uint64_t address() const;
239 uint64_t readULEB128(const char **error);
246 uint64_t SegmentOffset = 0;
253 uint64_t RemainingLoopCount = 0;
254 uint64_t AdvanceAmount = 0;
277 uint64_t getNValue(DataRefImpl Sym) const;
286 Expected<uint64_t> getSymbolAddress(DataRefImpl Symb) const override;
288 uint64_t getCommonSymbolSizeImpl(DataRefImpl Symb) const override;
297 uint64_t getSectionAddress(DataRefImpl Sec) const override;
298 uint64_t getSectionIndex(DataRefImpl Sec) const override;
299 uint64_t getSectionSize(DataRefImpl Sec) const override;
300 ArrayRef<uint8_t> getSectionContents(uint32_t Offset, uint64_t Size) const;
303 uint64_t getSectionAlignment(DataRefImpl Sec) const override;
335 uint64_t getRelocationOffset(DataRefImpl Rel) const override;
338 uint64_t getRelocationType(DataRefImpl Rel) const override;
357 uint64_t getSymbolIndex(DataRefImpl Symb) const;
419 const char *BindEntryCheckSegAndOffsets(int32_t SegIndex, uint64_t SegOffset,
433 uint64_t SegOffset,
449 StringRef BindRebaseSectionName(uint32_t SegIndex, uint64_t SegOffset) const {
455 uint64_t BindRebaseAddress(uint32_t SegIndex, uint64_t SegOffset) const {
455 uint64_t BindRebaseAddress(uint32_t SegIndex, uint64_t SegOffset) const {
565 void ReadULEB128s(uint64_t Index, SmallVectorImpl<uint64_t> &Out) const;
565 void ReadULEB128s(uint64_t Index, SmallVectorImpl<uint64_t> &Out) const;
655 uint64_t getSymbolValueImpl(DataRefImpl Symb) const override;
include/llvm/Object/MachOUniversal.h 69 uint64_t getOffset() const {
75 uint64_t getSize() const {
include/llvm/Object/ObjectFile.h 64 uint64_t getOffset() const;
66 uint64_t getType() const;
98 uint64_t getAddress() const;
99 uint64_t getIndex() const;
100 uint64_t getSize() const;
104 uint64_t getAlignment() const;
140 const static uint64_t UndefSection = UINT64_MAX;
142 uint64_t Address = 0;
143 uint64_t SectionIndex = UndefSection;
182 Expected<uint64_t> getAddress() const;
186 uint64_t getValue() const;
190 uint64_t getCommonSize() const;
244 virtual Expected<uint64_t> getSymbolAddress(DataRefImpl Symb) const = 0;
245 virtual uint64_t getSymbolValueImpl(DataRefImpl Symb) const = 0;
247 virtual uint64_t getCommonSymbolSizeImpl(DataRefImpl Symb) const = 0;
257 virtual uint64_t getSectionAddress(DataRefImpl Sec) const = 0;
258 virtual uint64_t getSectionIndex(DataRefImpl Sec) const = 0;
259 virtual uint64_t getSectionSize(DataRefImpl Sec) const = 0;
262 virtual uint64_t getSectionAlignment(DataRefImpl Sec) const = 0;
280 virtual uint64_t getRelocationOffset(DataRefImpl Rel) const = 0;
282 virtual uint64_t getRelocationType(DataRefImpl Rel) const = 0;
286 uint64_t getSymbolValue(DataRefImpl Symb) const;
292 uint64_t getCommonSymbolSize(DataRefImpl Symb) const {
322 virtual Expected<uint64_t> getStartAddress() const {
379 inline Expected<uint64_t> SymbolRef::getAddress() const {
383 inline uint64_t SymbolRef::getValue() const {
391 inline uint64_t SymbolRef::getCommonSize() const {
436 inline uint64_t SectionRef::getAddress() const {
440 inline uint64_t SectionRef::getIndex() const {
444 inline uint64_t SectionRef::getSize() const {
456 inline uint64_t SectionRef::getAlignment() const {
530 inline uint64_t RelocationRef::getOffset() const {
538 inline uint64_t RelocationRef::getType() const {
include/llvm/Object/RelocationResolver.h 34 using RelocationResolver = uint64_t (*)(RelocationRef R, uint64_t S, uint64_t A);
34 using RelocationResolver = uint64_t (*)(RelocationRef R, uint64_t S, uint64_t A);
34 using RelocationResolver = uint64_t (*)(RelocationRef R, uint64_t S, uint64_t A);
36 std::pair<bool (*)(uint64_t), RelocationResolver>
include/llvm/Object/StackMapParser.h 57 uint64_t getFunctionAddress() const {
58 return read<uint64_t>(P);
62 uint64_t getStackSize() const {
63 return read<uint64_t>(P + sizeof(uint64_t));
63 return read<uint64_t>(P + sizeof(uint64_t));
67 uint64_t getRecordCount() const {
68 return read<uint64_t>(P + (2 * sizeof(uint64_t)));
68 return read<uint64_t>(P + (2 * sizeof(uint64_t)));
74 const static int FunctionAccessorSize = 3 * sizeof(uint64_t);
89 uint64_t getValue() const { return read<uint64_t>(P); }
89 uint64_t getValue() const { return read<uint64_t>(P); }
94 const static int ConstantAccessorSize = sizeof(uint64_t);
161 static const int LocationAccessorSize = sizeof(uint64_t) + sizeof(uint32_t);
206 uint64_t getID() const {
207 return read<uint64_t>(P + PatchpointIDOffset);
291 PatchpointIDOffset + sizeof(uint64_t);
296 static const unsigned LocationSize = sizeof(uint64_t) + sizeof(uint32_t);
429 static const unsigned FunctionSize = 3 * sizeof(uint64_t);
430 static const unsigned ConstantSize = sizeof(uint64_t);
include/llvm/Object/SymbolSize.h 20 uint64_t Address;
27 std::vector<std::pair<SymbolRef, uint64_t>>
include/llvm/Object/Wasm.h 164 Expected<uint64_t> getSymbolAddress(DataRefImpl Symb) const override;
165 uint64_t getWasmSymbolValue(const WasmSymbol &Sym) const;
166 uint64_t getSymbolValueImpl(DataRefImpl Symb) const override;
168 uint64_t getCommonSymbolSizeImpl(DataRefImpl Symb) const override;
175 uint64_t getSectionAddress(DataRefImpl Sec) const override;
176 uint64_t getSectionIndex(DataRefImpl Sec) const override;
177 uint64_t getSectionSize(DataRefImpl Sec) const override;
180 uint64_t getSectionAlignment(DataRefImpl Sec) const override;
192 uint64_t getRelocationOffset(DataRefImpl Rel) const override;
194 uint64_t getRelocationType(DataRefImpl Rel) const override;
include/llvm/Object/XCOFFObjectFile.h 226 uint64_t Offset);
242 Expected<uint64_t> getSymbolAddress(DataRefImpl Symb) const override;
243 uint64_t getSymbolValueImpl(DataRefImpl Symb) const override;
244 uint64_t getCommonSymbolSizeImpl(DataRefImpl Symb) const override;
250 uint64_t getSectionAddress(DataRefImpl Sec) const override;
251 uint64_t getSectionIndex(DataRefImpl Sec) const override;
252 uint64_t getSectionSize(DataRefImpl Sec) const override;
255 uint64_t getSectionAlignment(DataRefImpl Sec) const override;
266 uint64_t getRelocationOffset(DataRefImpl Rel) const override;
268 uint64_t getRelocationType(DataRefImpl Rel) const override;
278 Expected<uint64_t> getStartAddress() const override;
302 uint64_t getSymbolTableOffset64() const;
include/llvm/ObjectYAML/DWARFYAML.h 29 uint64_t TotalLength64;
33 uint64_t getLength() const {
37 void setLength(uint64_t Len) {
62 uint64_t Length;
111 uint64_t DirIdx;
112 uint64_t ModTime;
113 uint64_t Length;
118 uint64_t ExtLen;
120 uint64_t Data;
130 uint64_t PrologueLength;
include/llvm/ObjectYAML/MachOYAML.h 34 uint64_t size;
65 uint64_t ZeroPadBytes;
73 uint64_t n_value;
91 uint64_t TerminalSize = 0;
92 uint64_t NodeOffset = 0;
131 uint64_t size;
include/llvm/ProfileData/Coverage/CoverageMapping.h 273 uint64_t ExecutionCount;
275 CountedRegion(const CounterMappingRegion &R, uint64_t ExecutionCount)
283 ArrayRef<uint64_t> CounterValues;
287 ArrayRef<uint64_t> CounterValues = None)
290 void setCounts(ArrayRef<uint64_t> Counts) { CounterValues = Counts; }
314 uint64_t ExecutionCount;
322 void pushRegion(CounterMappingRegion Region, uint64_t Count) {
391 uint64_t Count;
403 CoverageSegment(unsigned Line, unsigned Col, uint64_t Count,
460 uint64_t getTotalExecutionCount() const {
461 uint64_t Count = 0;
517 std::vector<std::pair<std::string, uint64_t>> FuncHashMismatches;
558 ArrayRef<std::pair<std::string, uint64_t>> getHashMismatches() const {
602 uint64_t ExecutionCount;
616 uint64_t getExecutionCount() const { return ExecutionCount; }
697 template <support::endianness Endian> uint64_t getFuncHash() const {
698 return support::endian::byte_swap<uint64_t, Endian>(FuncHash);
728 template <support::endianness Endian> uint64_t getFuncHash() const {
729 return support::endian::byte_swap<uint64_t, Endian>(FuncHash);
738 template <support::endianness Endian> uint64_t getFuncNameRef() const {
739 return support::endian::byte_swap<uint64_t, Endian>(NameRef);
745 uint64_t NameRef = getFuncNameRef<Endian>();
790 using NameRefType = uint64_t;
include/llvm/ProfileData/Coverage/CoverageMappingReader.h 37 uint64_t FunctionHash;
110 Error readULEB128(uint64_t &Result);
111 Error readIntMax(uint64_t &Result, uint64_t MaxPlus1);
111 Error readIntMax(uint64_t &Result, uint64_t MaxPlus1);
112 Error readSize(uint64_t &Result);
178 uint64_t FunctionHash;
184 uint64_t FunctionHash, StringRef CoverageMapping,
include/llvm/ProfileData/GCOV.h 210 bool readInt64(uint64_t &Val) {
235 uint64_t getCursor() const { return Cursor; }
240 uint64_t Cursor = 0;
271 uint64_t Count = 0;
272 uint64_t CyclesCount = 0;
288 uint64_t getEntryCount() const;
289 uint64_t getExitCount() const;
318 uint64_t Count = 0;
333 void addCount(size_t DstEdgeNo, uint64_t N);
334 uint64_t getCount() const { return Counter; }
369 static uint64_t getCycleCount(const Edges &Path);
377 static uint64_t getLineCount(const BlockVector &Blocks);
382 uint64_t Counter = 0;
452 uint64_t Count) const;
include/llvm/ProfileData/InstrProf.h 163 uint64_t Version = INSTR_PROF_INDEX_VERSION);
172 uint64_t Version = INSTR_PROF_INDEX_VERSION);
247 ArrayRef<InstrProfValueData> VDs, uint64_t Sum,
257 uint32_t &ActualNumValueData, uint64_t &TotalC);
397 uint64_t ComputeHash(StringRef K);
408 using AddrHashMap = std::vector<std::pair<uint64_t, uint64_t>>;
408 using AddrHashMap = std::vector<std::pair<uint64_t, uint64_t>>;
412 uint64_t Address = 0;
416 std::vector<std::pair<uint64_t, StringRef>> MD5NameMap;
419 std::vector<std::pair<uint64_t, Function *>> MD5FuncMap;
448 inline Error create(StringRef D, uint64_t BaseAddr);
481 void mapAddress(uint64_t Addr, uint64_t MD5Val) {
481 void mapAddress(uint64_t Addr, uint64_t MD5Val) {
486 uint64_t getFunctionHashFromAddress(uint64_t Address);
486 uint64_t getFunctionHashFromAddress(uint64_t Address);
491 StringRef getFuncName(uint64_t FuncNameAddress, size_t NameSize);
495 inline StringRef getFuncName(uint64_t FuncMD5Hash);
500 inline StringRef getFuncNameOrExternalSymbol(uint64_t FuncMD5Hash);
508 inline Function *getFunction(uint64_t FuncMD5Hash);
513 inline StringRef getOrigFuncName(uint64_t FuncMD5Hash);
519 Error InstrProfSymtab::create(StringRef D, uint64_t BaseAddr) {
550 StringRef InstrProfSymtab::getFuncNameOrExternalSymbol(uint64_t FuncMD5Hash) {
557 StringRef InstrProfSymtab::getFuncName(uint64_t FuncMD5Hash) {
568 Function* InstrProfSymtab::getFunction(uint64_t FuncMD5Hash) {
581 StringRef InstrProfSymtab::getOrigFuncName(uint64_t FuncMD5Hash) {
592 uint64_t NumEntries;
619 uint64_t FuncHash;
628 void setFuncInfo(StringRef Name, uint64_t Hash) {
638 static inline double score(uint64_t Val1, uint64_t Val2, double Sum1,
638 static inline double score(uint64_t Val1, uint64_t Val2, double Sum1,
649 uint64_t ValueCutoff;
674 void merge(InstrProfValueSiteRecord &Input, uint64_t Weight,
677 void scale(uint64_t Weight, function_ref<void(instrprof_error)> Warn);
686 std::vector<uint64_t> Counts;
689 InstrProfRecord(std::vector<uint64_t> Counts) : Counts(std::move(Counts)) {}
729 uint64_t *TotalC = nullptr) const;
734 inline uint64_t getValueForSite(InstrProfValueData Dest[], uint32_t ValueKind,
747 void merge(InstrProfRecord &Other, uint64_t Weight,
752 void scale(uint64_t Weight, function_ref<void(instrprof_error)> Warn);
775 OverlapStats &FuncLevelOverlap, uint64_t ValueCutoff);
828 uint64_t remapValue(uint64_t Value, uint32_t ValueKind,
828 uint64_t remapValue(uint64_t Value, uint32_t ValueKind,
834 uint64_t Weight,
838 void scaleValueProfData(uint32_t ValueKind, uint64_t Weight,
844 uint64_t Hash;
850 NamedInstrProfRecord(StringRef Name, uint64_t Hash,
851 std::vector<uint64_t> Counts)
854 static bool hasCSFlagInHash(uint64_t FuncHash) {
857 static void setCSFlagInHash(uint64_t &FuncHash) {
887 uint64_t *TotalC) const {
888 uint64_t Dummy;
889 uint64_t &TotalCount = (TotalC == nullptr ? Dummy : *TotalC);
902 uint64_t InstrProfRecord::getValueForSite(InstrProfValueData Dest[],
906 uint64_t TotalCount = 0;
948 inline uint64_t ComputeHash(HashT Type, StringRef K) {
956 const uint64_t Magic = 0x8169666f72706cff; // "\xfflprofi\x81"
980 const uint64_t Version = ProfVersion::CurrentVersion;
984 inline uint64_t ComputeHash(StringRef K) { return ComputeHash(HashType, K); }
989 uint64_t Magic;
990 uint64_t Version;
991 uint64_t Unused; // Becomes unused since version 4
992 uint64_t HashType;
993 uint64_t HashOffset;
1001 uint64_t Cutoff; ///< The required percentile of total execution count.
1002 uint64_t
1004 uint64_t NumBlocks; ///< Number of blocks >= the minumum execution count.
1028 uint64_t NumSummaryFields;
1030 uint64_t NumCutoffEntries;
1039 NumSumFields * sizeof(uint64_t);
1042 const uint64_t *getSummaryDataBase() const {
1046 uint64_t *getSummaryDataBase() {
1059 uint64_t get(SummaryFieldKind K) const {
1063 void set(SummaryFieldKind K, uint64_t V) {
1095 const uint64_t Version = INSTR_PROF_RAW_VERSION;
1097 template <class IntPtrT> inline uint64_t getMagic();
1098 template <> inline uint64_t getMagic<uint64_t>() {
1098 template <> inline uint64_t getMagic<uint64_t>() {
1102 template <> inline uint64_t getMagic<uint32_t>() {
include/llvm/ProfileData/InstrProfData.inc 429 uint64_t (*RemapValueData)(uint32_t, uint64_t Value);
429 uint64_t (*RemapValueData)(uint32_t, uint64_t Value);
737 uint64_t Value;
739 uint64_t Count;
include/llvm/ProfileData/InstrProfReader.h 195 uint64_t Version;
196 uint64_t CountersDelta;
197 uint64_t NamesDelta;
200 const uint64_t *CountersStart;
202 uint64_t NamesSize;
251 inline uint8_t getNumPaddingBytes(uint64_t SizeInBytes) {
252 return 7 & (sizeof(uint64_t) - SizeInBytes % sizeof(uint64_t));
252 return 7 & (sizeof(uint64_t) - SizeInBytes % sizeof(uint64_t));
275 return (swap(CounterPtr) - CountersDelta) / sizeof(uint64_t);
278 const uint64_t *getCounter(ptrdiff_t Offset) const {
282 StringRef getName(uint64_t NameRef) const {
288 using RawInstrProfReader64 = RawInstrProfReader<uint64_t>;
315 using hash_value_type = uint64_t;
316 using offset_type = uint64_t;
360 virtual uint64_t getVersion() const = 0;
377 uint64_t FormatVersion;
385 IndexedInstrProf::HashT HashType, uint64_t Version);
401 uint64_t getVersion() const override { return GET_VERSION(FormatVersion); }
459 uint64_t getVersion() const { return Index->getVersion(); }
475 uint64_t FuncHash);
478 Error getFunctionCounts(StringRef FuncName, uint64_t FuncHash,
479 std::vector<uint64_t> &Counts);
483 uint64_t getMaximumFunctionCount(bool UseCS) {
include/llvm/ProfileData/InstrProfWriter.h 35 using ProfilingData = SmallDenseMap<uint64_t, InstrProfRecord>;
53 void addRecord(NamedInstrProfRecord &&I, uint64_t Weight,
70 static void writeRecordInText(StringRef Name, uint64_t Hash,
110 void addRecord(StringRef Name, uint64_t Hash, InstrProfRecord &&I,
111 uint64_t Weight, function_ref<void(Error)> Warn);
include/llvm/ProfileData/ProfileCommon.h 44 std::map<uint64_t, uint32_t, std::greater<uint64_t>> CountFrequencies;
44 std::map<uint64_t, uint32_t, std::greater<uint64_t>> CountFrequencies;
49 uint64_t TotalCount = 0;
50 uint64_t MaxCount = 0;
51 uint64_t MaxFunctionCount = 0;
59 inline void addCount(uint64_t Count);
68 uint64_t MaxInternalBlockCount = 0;
70 inline void addEntryCount(uint64_t Count);
71 inline void addInternalCount(uint64_t Count);
92 void ProfileSummaryBuilder::addCount(uint64_t Count) {
include/llvm/ProfileData/SampleProf.h 96 static inline uint64_t SPMagic(SampleProfileFormat Format = SPF_Binary) {
113 static inline uint64_t SPVersion() { return 103; }
151 uint64_t Flags;
152 uint64_t Offset;
153 uint64_t Size;
158 static inline void addSecFlags(SecHdrTableEntry &Entry, uint64_t Flags) {
162 static inline void removeSecFlags(SecHdrTableEntry &Entry, uint64_t Flags) {
208 using CallTarget = std::pair<StringRef, uint64_t>;
219 using CallTargetMap = StringMap<uint64_t>;
227 sampleprof_error addSamples(uint64_t S, uint64_t Weight = 1) {
227 sampleprof_error addSamples(uint64_t S, uint64_t Weight = 1) {
239 sampleprof_error addCalledTarget(StringRef F, uint64_t S,
240 uint64_t Weight = 1) {
241 uint64_t &TargetSamples = CallTargets[F];
252 uint64_t getSamples() const { return NumSamples; }
269 sampleprof_error merge(const SampleRecord &Other, uint64_t Weight = 1) {
281 uint64_t NumSamples = 0;
307 sampleprof_error addTotalSamples(uint64_t Num, uint64_t Weight = 1) {
307 sampleprof_error addTotalSamples(uint64_t Num, uint64_t Weight = 1) {
315 sampleprof_error addHeadSamples(uint64_t Num, uint64_t Weight = 1) {
315 sampleprof_error addHeadSamples(uint64_t Num, uint64_t Weight = 1) {
324 uint64_t Num, uint64_t Weight = 1) {
324 uint64_t Num, uint64_t Weight = 1) {
331 StringRef FName, uint64_t Num,
332 uint64_t Weight = 1) {
340 ErrorOr<uint64_t> findSamplesAt(uint32_t LineOffset,
391 uint64_t MaxTotalSamples = 0;
404 uint64_t getTotalSamples() const { return TotalSamples; }
411 uint64_t getHeadSamples() const { return TotalHeadSamples; }
415 uint64_t getEntrySamples() const {
423 uint64_t T = 0;
443 sampleprof_error merge(const FunctionSamples &Other, uint64_t Weight = 1) {
467 uint64_t Threshold) const {
561 DenseMap<uint64_t, StringRef> *GUIDToFuncNameMap = nullptr;
566 static uint64_t getGUID(StringRef Name) {
579 uint64_t TotalSamples = 0;
584 uint64_t TotalHeadSamples = 0;
665 std::error_code read(const uint8_t *Data, uint64_t ListSize);
include/llvm/ProfileData/SampleProfReader.h 532 virtual std::error_code verifySPMagic(uint64_t Magic) = 0;
537 virtual std::error_code verifySPMagic(uint64_t Magic) override;
570 const uint64_t SecSize,
572 uint64_t &DecompressBufSize);
582 virtual std::error_code verifySPMagic(uint64_t Magic) override = 0;
583 virtual std::error_code readOneSection(const uint8_t *Start, uint64_t Size,
595 uint64_t getSectionSize(SecType Type);
597 uint64_t getFileSize();
603 virtual std::error_code verifySPMagic(uint64_t Magic) override;
604 virtual std::error_code readOneSection(const uint8_t *Start, uint64_t Size,
612 DenseMap<StringRef, uint64_t> FuncOffsetTable;
640 DenseMap<StringRef, uint64_t> FuncOffsetTable;
645 virtual std::error_code verifySPMagic(uint64_t Magic) override;
include/llvm/ProfileData/SampleProfWriter.h 154 uint64_t markSectionStart(SecType Type);
155 std::error_code addNewSection(SecType Sec, uint64_t SectionStart);
185 uint64_t FileStart;
188 uint64_t SecHdrTableOffset;
230 uint64_t SecLBRProfileStart;
233 MapVector<StringRef, uint64_t> FuncOffsetTable;
278 MapVector<StringRef, uint64_t> FuncOffsetTable;
281 uint64_t TableOffset;
include/llvm/Remarks/BitstreamRemarkContainer.h 26 constexpr uint64_t CurrentContainerVersion = 0;
include/llvm/Remarks/BitstreamRemarkParser.h 36 Optional<uint64_t> ContainerVersion;
40 Optional<uint64_t> RemarkVersion;
59 Optional<uint64_t> RemarkNameIdx;
60 Optional<uint64_t> PassNameIdx;
61 Optional<uint64_t> FunctionNameIdx;
62 Optional<uint64_t> SourceFileNameIdx;
65 Optional<uint64_t> Hotness;
67 Optional<uint64_t> KeyIdx;
68 Optional<uint64_t> ValueIdx;
69 Optional<uint64_t> SourceFileNameIdx;
include/llvm/Remarks/BitstreamRemarkSerializer.h 54 SmallVector<uint64_t, 64> R;
64 uint64_t RecordMetaContainerInfoAbbrevID = 0;
65 uint64_t RecordMetaRemarkVersionAbbrevID = 0;
66 uint64_t RecordMetaStrTabAbbrevID = 0;
67 uint64_t RecordMetaExternalFileAbbrevID = 0;
68 uint64_t RecordRemarkHeaderAbbrevID = 0;
69 uint64_t RecordRemarkDebugLocAbbrevID = 0;
70 uint64_t RecordRemarkHotnessAbbrevID = 0;
71 uint64_t RecordRemarkArgWithDebugLocAbbrevID = 0;
72 uint64_t RecordRemarkArgWithoutDebugLocAbbrevID = 0;
94 void emitMetaRemarkVersion(uint64_t RemarkVersion);
106 void emitMetaBlock(uint64_t ContainerVersion,
107 Optional<uint64_t> RemarkVersion,
include/llvm/Remarks/Remark.h 27 constexpr uint64_t CurrentRemarkVersion = 0;
87 Optional<uint64_t> Hotness;
include/llvm/Support/AMDGPUMetadata.h 261 uint64_t mKernargSegmentSize = 0;
include/llvm/Support/ARMAttributeParser.h 32 uint64_t ParseInteger(const uint8_t *Data, uint32_t &Offset);
include/llvm/Support/Alignment.h 77 explicit Align(uint64_t Value) {
86 uint64_t value() const { return uint64_t(1) << ShiftValue; }
111 inline Align assumeAligned(uint64_t Value) {
134 explicit MaybeAlign(uint64_t Value) {
146 inline bool isAligned(Align Lhs, uint64_t SizeInBytes) {
152 inline bool isAligned(MaybeAlign Lhs, uint64_t SizeInBytes) {
163 inline uint64_t alignTo(uint64_t Size, Align A) {
163 inline uint64_t alignTo(uint64_t Size, Align A) {
164 const uint64_t value = A.value();
179 inline uint64_t alignTo(uint64_t Size, MaybeAlign A) {
179 inline uint64_t alignTo(uint64_t Size, MaybeAlign A) {
193 inline uint64_t offsetToAlignment(uint64_t Value, Align Alignment) {
193 inline uint64_t offsetToAlignment(uint64_t Value, Align Alignment) {
199 inline uint64_t offsetToAlignedAddr(const void *Addr, Align Alignment) {
219 inline Align commonAlignment(Align A, uint64_t Offset) {
231 inline MaybeAlign commonAlignment(MaybeAlign A, uint64_t Offset) {
252 inline bool operator==(Align Lhs, uint64_t Rhs) {
256 inline bool operator!=(Align Lhs, uint64_t Rhs) {
260 inline bool operator<=(Align Lhs, uint64_t Rhs) {
264 inline bool operator>=(Align Lhs, uint64_t Rhs) {
268 inline bool operator<(Align Lhs, uint64_t Rhs) {
272 inline bool operator>(Align Lhs, uint64_t Rhs) {
278 inline bool operator==(MaybeAlign Lhs, uint64_t Rhs) {
281 inline bool operator!=(MaybeAlign Lhs, uint64_t Rhs) {
284 inline bool operator<=(MaybeAlign Lhs, uint64_t Rhs) {
289 inline bool operator>=(MaybeAlign Lhs, uint64_t Rhs) {
294 inline bool operator<(MaybeAlign Lhs, uint64_t Rhs) {
299 inline bool operator>(MaybeAlign Lhs, uint64_t Rhs) {
377 inline Align operator/(Align Lhs, uint64_t Divisor) {
384 inline MaybeAlign operator/(MaybeAlign Lhs, uint64_t Divisor) {
include/llvm/Support/Automaton.h 41 using NfaPath = SmallVector<uint64_t, 4>;
49 uint64_t FromDfaState, ToDfaState;
70 uint64_t State;
85 PathSegment *makePathSegment(uint64_t State, PathSegment *Tail) {
166 using MapTy = std::map<std::pair<uint64_t, ActionT>, std::pair<uint64_t, unsigned>>;
166 using MapTy = std::map<std::pair<uint64_t, ActionT>, std::pair<uint64_t, unsigned>>;
172 uint64_t State = 1;
include/llvm/Support/BinaryStreamReader.h 103 Error readULEB128(uint64_t &Dest);
include/llvm/Support/BinaryStreamWriter.h 87 Error writeULEB128(uint64_t Value);
include/llvm/Support/BlockFrequency.h 25 uint64_t Frequency;
28 BlockFrequency(uint64_t Freq = 0) : Frequency(Freq) { }
31 static uint64_t getMaxFrequency() { return -1ULL; }
35 uint64_t getFrequency() const { return Frequency; }
include/llvm/Support/BranchProbability.h 56 static BranchProbability getBranchProbability(uint64_t Numerator,
57 uint64_t Denominator);
81 uint64_t scale(uint64_t Num) const;
81 uint64_t scale(uint64_t Num) const;
89 uint64_t scaleByInverse(uint64_t Num) const;
89 uint64_t scaleByInverse(uint64_t Num) const;
211 uint64_t Sum = std::accumulate(Begin, End, uint64_t(0),
include/llvm/Support/CachePruning.h 48 uint64_t MaxSizeBytes = 0;
59 uint64_t MaxSizeFiles = 1000000;
include/llvm/Support/CodeGenCoverage.h 29 void setCovered(uint64_t RuleID);
30 bool isCovered(uint64_t RuleID) const;
include/llvm/Support/DataExtractor.h 55 uint64_t Offset;
62 explicit Cursor(uint64_t Offset) : Offset(Offset), Err(Error::success()) {}
71 uint64_t tell() const { return Offset; }
120 const char *getCStr(uint64_t *offset_ptr) const;
142 StringRef getCStrRef(uint64_t *offset_ptr) const;
174 uint64_t getUnsigned(uint64_t *offset_ptr, uint32_t byte_size,
174 uint64_t getUnsigned(uint64_t *offset_ptr, uint32_t byte_size,
180 uint64_t getUnsigned(Cursor &C, uint32_t Size) const {
207 int64_t getSigned(uint64_t *offset_ptr, uint32_t size) const;
226 uint64_t getAddress(uint64_t *offset_ptr) const {
226 uint64_t getAddress(uint64_t *offset_ptr) const {
233 uint64_t getAddress(Cursor &C) const { return getUnsigned(C, AddressSize); }
255 uint8_t getU8(uint64_t *offset_ptr, Error *Err = nullptr) const;
285 uint8_t *getU8(uint64_t *offset_ptr, uint8_t *dst, uint32_t count) const;
329 uint16_t getU16(uint64_t *offset_ptr, Error *Err = nullptr) const;
359 uint16_t *getU16(uint64_t *offset_ptr, uint16_t *dst, uint32_t count) const;
376 uint32_t getU24(uint64_t *offset_ptr) const;
398 uint32_t getU32(uint64_t *offset_ptr, Error *Err = nullptr) const;
428 uint32_t *getU32(uint64_t *offset_ptr, uint32_t *dst, uint32_t count) const;
450 uint64_t getU64(uint64_t *offset_ptr, Error *Err = nullptr) const;
450 uint64_t getU64(uint64_t *offset_ptr, Error *Err = nullptr) const;
455 uint64_t getU64(Cursor &C) const { return getU64(&C.Offset, &C.Err); }
480 uint64_t *getU64(uint64_t *offset_ptr, uint64_t *dst, uint32_t count) const;
480 uint64_t *getU64(uint64_t *offset_ptr, uint64_t *dst, uint32_t count) const;
480 uint64_t *getU64(uint64_t *offset_ptr, uint64_t *dst, uint32_t count) const;
498 int64_t getSLEB128(uint64_t *offset_ptr) const;
522 uint64_t getULEB128(uint64_t *offset_ptr, llvm::Error *Err = nullptr) const;
522 uint64_t getULEB128(uint64_t *offset_ptr, llvm::Error *Err = nullptr) const;
527 uint64_t getULEB128(Cursor &C) const { return getULEB128(&C.Offset, &C.Err); }
531 void skip(Cursor &C, uint64_t Length) const;
544 bool isValidOffset(uint64_t offset) const { return Data.size() > offset; }
551 bool isValidOffsetForDataOfSize(uint64_t offset, uint64_t length) const {
551 bool isValidOffsetForDataOfSize(uint64_t offset, uint64_t length) const {
562 bool isValidOffsetForAddress(uint64_t offset) const {
569 static uint64_t &getOffset(Cursor &C) { return C.Offset; }
include/llvm/Support/Endian.h 119 inline value_type readAtBitAlignment(const void *memory, uint64_t startBit) {
154 uint64_t startBit) {
276 detail::packed_endian_specific_integral<uint64_t, little, unaligned>;
290 detail::packed_endian_specific_integral<uint64_t, little, aligned>;
304 detail::packed_endian_specific_integral<uint64_t, big, unaligned>;
318 detail::packed_endian_specific_integral<uint64_t, big, aligned>;
332 detail::packed_endian_specific_integral<uint64_t, native, unaligned>;
368 inline uint64_t read64(const void *P, endianness E) {
369 return read<uint64_t>(P, E);
378 template <endianness E> inline uint64_t read64(const void *P) {
379 return read<uint64_t, E>(P);
384 inline uint64_t read64le(const void *P) { return read64<little>(P); }
387 inline uint64_t read64be(const void *P) { return read64<big>(P); }
403 inline void write64(void *P, uint64_t V, endianness E) {
404 write<uint64_t>(P, V, E);
413 template <endianness E> inline void write64(void *P, uint64_t V) {
414 write<uint64_t, E>(P, V);
419 inline void write64le(void *P, uint64_t V) { write64<little>(P, V); }
422 inline void write64be(void *P, uint64_t V) { write64<big>(P, V); }
include/llvm/Support/FileSystem.h 81 uint64_t capacity;
82 uint64_t free;
83 uint64_t available;
135 uint64_t Device;
136 uint64_t File;
140 UniqueID(uint64_t Device, uint64_t File) : Device(Device), File(File) {}
140 UniqueID(uint64_t Device, uint64_t File) : Device(Device), File(File) {}
150 uint64_t getDevice() const { return Device; }
151 uint64_t getFile() const { return File; }
225 uint64_t getSize() const { return fs_st_size; }
432 std::error_code resize_file(int FD, uint64_t Size);
696 inline std::error_code file_size(const Twine &Path, uint64_t &Result) {
1014 uint64_t Offset);
1177 std::error_code init(sys::fs::file_t FD, uint64_t Offset, mapmode Mode);
1185 mapped_file_region(sys::fs::file_t fd, mapmode mode, size_t length, uint64_t offset,
include/llvm/Support/Format.h 165 uint64_t HexValue;
174 FormattedNumber(uint64_t HV, int64_t DV, unsigned W, bool H, bool U,
186 inline FormattedNumber format_hex(uint64_t N, unsigned Width,
199 inline FormattedNumber format_hex_no_prefix(uint64_t N, unsigned Width,
219 Optional<uint64_t> FirstByteOffset;
228 FormattedBytes(ArrayRef<uint8_t> B, uint32_t IL, Optional<uint64_t> O,
239 format_bytes(ArrayRef<uint8_t> Bytes, Optional<uint64_t> FirstByteOffset = None,
248 Optional<uint64_t> FirstByteOffset = None,
include/llvm/Support/FormattedStream.h 47 uint64_t current_pos() const override {
include/llvm/Support/LEB128.h 80 inline unsigned encodeULEB128(uint64_t Value, raw_ostream &OS,
104 inline unsigned encodeULEB128(uint64_t Value, uint8_t *p,
128 inline uint64_t decodeULEB128(const uint8_t *p, unsigned *n = nullptr,
132 uint64_t Value = 0;
144 uint64_t Slice = *p & 0x7f;
191 extern unsigned getULEB128Size(uint64_t Value);
include/llvm/Support/LowLevelTypeImpl.h 227 uint64_t IsPointer : 1;
228 uint64_t IsVector : 1;
229 uint64_t RawData : 62;
231 static uint64_t getMask(const BitFieldInfo FieldInfo) {
235 static uint64_t maskAndShift(uint64_t Val, uint64_t Mask, uint8_t Shift) {
235 static uint64_t maskAndShift(uint64_t Val, uint64_t Mask, uint8_t Shift) {
235 static uint64_t maskAndShift(uint64_t Val, uint64_t Mask, uint8_t Shift) {
239 static uint64_t maskAndShift(uint64_t Val, const BitFieldInfo FieldInfo) {
239 static uint64_t maskAndShift(uint64_t Val, const BitFieldInfo FieldInfo) {
242 uint64_t getFieldValue(const BitFieldInfo FieldInfo) const {
269 uint64_t getUniqueRAWLLTData() const {
292 uint64_t Val = Ty.getUniqueRAWLLTData();
293 return DenseMapInfo<uint64_t>::getHashValue(Val);
include/llvm/Support/MD5.h 65 uint64_t low() const {
69 return endian::read<uint64_t, little, unaligned>(Bytes.data());
72 uint64_t high() const {
74 return endian::read<uint64_t, little, unaligned>(Bytes.data() + 8);
76 std::pair<uint64_t, uint64_t> words() const {
76 std::pair<uint64_t, uint64_t> words() const {
109 inline uint64_t MD5Hash(StringRef Str) {
include/llvm/Support/MathExtras.h 320 constexpr inline uint32_t Hi_32(uint64_t Value) {
325 constexpr inline uint32_t Lo_32(uint64_t Value) {
330 constexpr inline uint64_t Make_64(uint32_t High, uint32_t Low) {
368 isUInt(uint64_t X) {
374 isUInt(uint64_t X) {
379 template <> constexpr inline bool isUInt<8>(uint64_t x) {
382 template <> constexpr inline bool isUInt<16>(uint64_t x) {
385 template <> constexpr inline bool isUInt<32>(uint64_t x) {
391 constexpr inline bool isShiftedUInt(uint64_t x) {
402 inline uint64_t maxUIntN(uint64_t N) {
402 inline uint64_t maxUIntN(uint64_t N) {
429 inline bool isUIntN(unsigned N, uint64_t x) {
447 constexpr inline bool isMask_64(uint64_t Value) {
459 constexpr inline bool isShiftedMask_64(uint64_t Value) {
470 constexpr inline bool isPowerOf2_64(uint64_t Value) {
485 inline uint64_t ByteSwap_64(uint64_t Value) {
485 inline uint64_t ByteSwap_64(uint64_t Value) {
591 inline unsigned Log2_64(uint64_t Value) {
604 inline unsigned Log2_64_Ceil(uint64_t Value) {
619 inline uint64_t GreatestCommonDivisor64(uint64_t A, uint64_t B) {
619 inline uint64_t GreatestCommonDivisor64(uint64_t A, uint64_t B) {
619 inline uint64_t GreatestCommonDivisor64(uint64_t A, uint64_t B) {
620 return greatestCommonDivisor<uint64_t>(A, B);
624 inline double BitsToDouble(uint64_t Bits) {
626 static_assert(sizeof(uint64_t) == sizeof(double), "Unexpected type sizes");
642 inline uint64_t DoubleToBits(double Double) {
643 uint64_t Bits;
644 static_assert(sizeof(uint64_t) == sizeof(double), "Unexpected type sizes");
661 constexpr inline uint64_t MinAlign(uint64_t A, uint64_t B) {
661 constexpr inline uint64_t MinAlign(uint64_t A, uint64_t B) {
661 constexpr inline uint64_t MinAlign(uint64_t A, uint64_t B) {
672 inline uint64_t NextPowerOf2(uint64_t A) {
672 inline uint64_t NextPowerOf2(uint64_t A) {
684 inline uint64_t PowerOf2Floor(uint64_t A) {
684 inline uint64_t PowerOf2Floor(uint64_t A) {
691 inline uint64_t PowerOf2Ceil(uint64_t A) {
691 inline uint64_t PowerOf2Ceil(uint64_t A) {
717 inline uint64_t alignTo(uint64_t Value, uint64_t Align, uint64_t Skew = 0) {
717 inline uint64_t alignTo(uint64_t Value, uint64_t Align, uint64_t Skew = 0) {
717 inline uint64_t alignTo(uint64_t Value, uint64_t Align, uint64_t Skew = 0) {
717 inline uint64_t alignTo(uint64_t Value, uint64_t Align, uint64_t Skew = 0) {
725 template <uint64_t Align> constexpr inline uint64_t alignTo(uint64_t Value) {
725 template <uint64_t Align> constexpr inline uint64_t alignTo(uint64_t Value) {
731 inline uint64_t divideCeil(uint64_t Numerator, uint64_t Denominator) {
731 inline uint64_t divideCeil(uint64_t Numerator, uint64_t Denominator) {
731 inline uint64_t divideCeil(uint64_t Numerator, uint64_t Denominator) {
737 inline uint64_t alignDown(uint64_t Value, uint64_t Align, uint64_t Skew = 0) {
737 inline uint64_t alignDown(uint64_t Value, uint64_t Align, uint64_t Skew = 0) {
737 inline uint64_t alignDown(uint64_t Value, uint64_t Align, uint64_t Skew = 0) {
737 inline uint64_t alignDown(uint64_t Value, uint64_t Align, uint64_t Skew = 0) {
761 template <unsigned B> constexpr inline int64_t SignExtend64(uint64_t x) {
769 inline int64_t SignExtend64(uint64_t X, unsigned B) {
include/llvm/Support/MemoryBuffer.h 93 getOpenFileSlice(sys::fs::file_t FD, const Twine &Filename, uint64_t MapSize,
103 getOpenFile(sys::fs::file_t FD, const Twine &Filename, uint64_t FileSize,
131 getFileSlice(const Twine &Filename, uint64_t MapSize, uint64_t Offset,
131 getFileSlice(const Twine &Filename, uint64_t MapSize, uint64_t Offset,
185 getFileSlice(const Twine &Filename, uint64_t MapSize, uint64_t Offset,
185 getFileSlice(const Twine &Filename, uint64_t MapSize, uint64_t Offset,
246 getFileSlice(const Twine &Filename, uint64_t MapSize, uint64_t Offset);
246 getFileSlice(const Twine &Filename, uint64_t MapSize, uint64_t Offset);
include/llvm/Support/NativeFormatting.h 41 void write_hex(raw_ostream &S, uint64_t N, HexPrintStyle Style,
include/llvm/Support/OnDiskHashTable.h 196 uint64_t KeyStart = Out.tell();
198 uint64_t DataStart = Out.tell();
200 uint64_t End = Out.tell();
211 uint64_t N = offsetToAlignment(TableOff, Align(alignof(offset_type)));
include/llvm/Support/ScaledNumber.h 70 inline std::pair<uint64_t, int16_t> getRounded64(uint64_t Digits, int16_t Scale,
70 inline std::pair<uint64_t, int16_t> getRounded64(uint64_t Digits, int16_t Scale,
79 inline std::pair<DigitsT, int16_t> getAdjusted(uint64_t Digits,
94 inline std::pair<uint32_t, int16_t> getAdjusted32(uint64_t Digits,
100 inline std::pair<uint64_t, int16_t> getAdjusted64(uint64_t Digits,
100 inline std::pair<uint64_t, int16_t> getAdjusted64(uint64_t Digits,
102 return getAdjusted<uint64_t>(Digits, Scale);
108 std::pair<uint64_t, int16_t> multiply64(uint64_t LHS, uint64_t RHS);
108 std::pair<uint64_t, int16_t> multiply64(uint64_t LHS, uint64_t RHS);
108 std::pair<uint64_t, int16_t> multiply64(uint64_t LHS, uint64_t RHS);
118 return getAdjusted<DigitsT>(uint64_t(LHS) * RHS);
129 inline std::pair<uint64_t, int16_t> getProduct64(uint64_t LHS, uint64_t RHS) {
129 inline std::pair<uint64_t, int16_t> getProduct64(uint64_t LHS, uint64_t RHS) {
129 inline std::pair<uint64_t, int16_t> getProduct64(uint64_t LHS, uint64_t RHS) {
138 std::pair<uint64_t, int16_t> divide64(uint64_t Dividend, uint64_t Divisor);
138 std::pair<uint64_t, int16_t> divide64(uint64_t Dividend, uint64_t Divisor);
138 std::pair<uint64_t, int16_t> divide64(uint64_t Dividend, uint64_t Divisor);
176 inline std::pair<uint64_t, int16_t> getQuotient64(uint64_t Dividend,
176 inline std::pair<uint64_t, int16_t> getQuotient64(uint64_t Dividend,
177 uint64_t Divisor) {
244 int compareImpl(uint64_t L, uint64_t R, int ScaleDiff);
244 int compareImpl(uint64_t L, uint64_t R, int ScaleDiff);
361 inline std::pair<uint64_t, int16_t> getSum64(uint64_t LDigits, int16_t LScale,
361 inline std::pair<uint64_t, int16_t> getSum64(uint64_t LDigits, int16_t LScale,
362 uint64_t RDigits, int16_t RScale) {
406 inline std::pair<uint64_t, int16_t> getDifference64(uint64_t LDigits,
406 inline std::pair<uint64_t, int16_t> getDifference64(uint64_t LDigits,
408 uint64_t RDigits,
423 static void dump(uint64_t D, int16_t E, int Width);
424 static raw_ostream &print(raw_ostream &OS, uint64_t D, int16_t E, int Width,
426 static std::string toString(uint64_t D, int16_t E, int Width,
429 static int countLeadingZeros64(uint64_t N) { return countLeadingZeros(N); }
430 static uint64_t getHalf(uint64_t N) { return (N >> 1) + (N & 1); }
430 static uint64_t getHalf(uint64_t N) { return (N >> 1) + (N & 1); }
432 static std::pair<uint64_t, bool> splitSigned(int64_t N) {
435 uint64_t Unsigned = N == INT64_MIN ? UINT64_C(1) << 63 : uint64_t(-N);
438 static int64_t joinSigned(uint64_t U, bool IsNeg) {
525 static ScaledNumber get(uint64_t N) { return adjustToWidth(N, 0); }
526 static ScaledNumber getInverse(uint64_t N) {
653 uint64_t scale(uint64_t N) const;
653 uint64_t scale(uint64_t N) const;
654 uint64_t scaleByInverse(uint64_t N) const {
654 uint64_t scaleByInverse(uint64_t N) const {
660 std::pair<uint64_t, bool> Unsigned = splitSigned(N);
664 std::pair<uint64_t, bool> Unsigned = splitSigned(N);
671 int compareTo(uint64_t N) const {
672 return ScaledNumbers::compare<uint64_t>(Digits, Scale, N, 0);
700 static ScaledNumber adjustToWidth(uint64_t N, int32_t Shift) {
770 uint64_t ScaledNumber<DigitsT>::scale(uint64_t N) const {
770 uint64_t ScaledNumber<DigitsT>::scale(uint64_t N) const {
772 return (get(N) * *this).template toInt<uint64_t>();
775 return ScaledNumber<uint64_t>(Digits, Scale).scale(N);
include/llvm/Support/ScopedPrinter.h 55 uint64_t Value;
59 const std::string to_hexString(uint64_t Value, bool UpperCase = true);
151 uint64_t Flag = 1;
152 uint64_t Curr = Value;
162 void printNumber(StringRef Label, uint64_t Value) {
include/llvm/Support/SourceMgr.h 67 std::vector<uint64_t> *>;
include/llvm/Support/SwapByteOrder.h 86 inline uint64_t SwapByteOrder_64(uint64_t value) {
86 inline uint64_t SwapByteOrder_64(uint64_t value) {
137 uint64_t i;
include/llvm/Support/ThreadLocal.h 25 typedef uint64_t ThreadLocalDataTy;
include/llvm/Support/Threading.h 165 uint64_t get_threadid();
include/llvm/Support/TypeSize.h 51 uint64_t MinSize; // The known minimum size.
56 constexpr TypeSize(uint64_t MinSize, bool Scalable)
59 static constexpr TypeSize Fixed(uint64_t Size) {
63 static constexpr TypeSize Scalable(uint64_t MinSize) {
124 uint64_t getFixedSize() const {
132 uint64_t getKnownMinSize() const {
145 operator uint64_t() const {
151 TypeSize operator*(uint64_t RHS) const {
163 friend TypeSize operator*(const uint64_t LHS, const TypeSize &RHS) {
175 TypeSize operator/(uint64_t RHS) const {
193 inline TypeSize alignTo(TypeSize Size, uint64_t Align) {
include/llvm/Support/VirtualFileSystem.h 51 uint64_t Size;
63 uint64_t Size, llvm::sys::fs::file_type Type,
82 uint64_t getSize() const { return Size; }
include/llvm/Support/YAMLTraits.h 1199 static void output(const uint64_t &, void *, raw_ostream &);
1200 static StringRef input(StringRef, void *, uint64_t &);
include/llvm/Support/circular_raw_ostream.h 87 uint64_t current_pos() const override {
include/llvm/Support/raw_os_ostream.h 32 uint64_t current_pos() const override;
include/llvm/Support/raw_ostream.h 111 uint64_t tell() const { return current_pos() + GetNumBytesInBuffer(); }
321 virtual uint64_t current_pos() const = 0;
360 virtual void pwrite_impl(const char *Ptr, size_t Size, uint64_t Offset) = 0;
366 void pwrite(const char *Ptr, size_t Size, uint64_t Offset) {
368 uint64_t Pos = tell();
398 uint64_t pos;
403 void pwrite_impl(const char *Ptr, size_t Size, uint64_t Offset) override;
407 uint64_t current_pos() const override { return pos; }
452 uint64_t seek(uint64_t off);
452 uint64_t seek(uint64_t off);
511 uint64_t current_pos() const override { return OS.size(); }
536 void pwrite_impl(const char *Ptr, size_t Size, uint64_t Offset) override;
539 uint64_t current_pos() const override;
562 void pwrite_impl(const char *Ptr, size_t Size, uint64_t Offset) override;
566 uint64_t current_pos() const override;
include/llvm/Support/raw_sha1_ostream.h 41 uint64_t current_pos() const override { return 0; }
include/llvm/Support/xxhash.h 45 uint64_t xxHash64(llvm::StringRef Data);
46 uint64_t xxHash64(llvm::ArrayRef<uint8_t> Data);
include/llvm/TextAPI/ELF/ELFStub.h 40 uint64_t Size;
include/llvm/Transforms/IPO/Attributor.h 1798 void takeKnownDerefBytesMaximum(uint64_t Bytes) {
1803 void takeAssumedDerefBytesMinimum(uint64_t Bytes) {
include/llvm/Transforms/IPO/GlobalDCE.h 47 DenseMap<Metadata *, SmallSet<std::pair<GlobalVariable *, uint64_t>, 4>>
63 void ScanVTableLoad(Function *Caller, Metadata *TypeId, uint64_t CallOffset);
include/llvm/Transforms/IPO/LowerTypeTests.h 35 std::set<uint64_t> Bits;
38 uint64_t ByteOffset;
41 uint64_t BitSize;
56 bool containsGlobalOffset(uint64_t Offset) const;
62 SmallVector<uint64_t, 16> Offsets;
63 uint64_t Min = std::numeric_limits<uint64_t>::max();
63 uint64_t Min = std::numeric_limits<uint64_t>::max();
64 uint64_t Max = 0;
68 void addOffset(uint64_t Offset) {
129 std::vector<std::vector<uint64_t>> Fragments;
132 std::vector<uint64_t> FragmentMap;
134 GlobalLayoutBuilder(uint64_t NumObjects)
140 void addFragment(const std::set<uint64_t> &F);
181 uint64_t BitAllocs[BitsPerByte];
192 void allocate(const std::set<uint64_t> &Bits, uint64_t BitSize,
192 void allocate(const std::set<uint64_t> &Bits, uint64_t BitSize,
193 uint64_t &AllocByteOffset, uint8_t &AllocMask);
include/llvm/Transforms/IPO/WholeProgramDevirt.h 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) {
55 void setLE(uint64_t Pos, uint64_t Val, uint8_t Size) {
67 void setBE(uint64_t Pos, uint64_t Val, uint8_t Size) {
67 void setBE(uint64_t Pos, uint64_t Val, uint8_t Size) {
78 void setBit(uint64_t Pos, bool b) {
93 uint64_t ObjectSize = 0;
111 uint64_t Offset;
135 uint64_t RetVal;
147 uint64_t minBeforeBytes() const { return TM->Offset; }
154 uint64_t minAfterBytes() const { return TM->Bits->ObjectSize - TM->Offset; }
158 uint64_t allocatedBeforeBytes() const {
164 uint64_t allocatedAfterBytes() const {
169 void setBeforeBit(uint64_t Pos) {
175 void setAfterBit(uint64_t Pos) {
183 void setBeforeBytes(uint64_t Pos, uint8_t Size) {
192 void setAfterBytes(uint64_t Pos, uint8_t Size) {
204 uint64_t findLowestOffset(ArrayRef<VirtualCallTarget> Targets, bool IsAfter,
205 uint64_t Size);
211 uint64_t AllocBefore, unsigned BitWidth,
212 int64_t &OffsetByte, uint64_t &OffsetBit);
218 uint64_t AllocAfter, unsigned BitWidth,
219 int64_t &OffsetByte, uint64_t &OffsetBit);
236 uint64_t ByteOffset;
include/llvm/Transforms/Instrumentation.h 122 Instruction *promoteIndirectCall(Instruction *Inst, Function *F, uint64_t Count,
123 uint64_t TotalCount,
188 static inline uint64_t calculateCountScale(uint64_t MaxCount) {
188 static inline uint64_t calculateCountScale(uint64_t MaxCount) {
198 static inline uint32_t scaleBranchCount(uint64_t Count, uint64_t Scale) {
198 static inline uint32_t scaleBranchCount(uint64_t Count, uint64_t Scale) {
199 uint64_t Scaled = Count / Scale;
include/llvm/Transforms/Instrumentation/CGProfile.h 26 MapVector<std::pair<Function *, Function *>, uint64_t> &Counts) const;
include/llvm/Transforms/Instrumentation/PGOInstrumentation.h 93 void setProfMetadata(Module *M, Instruction *TI, ArrayRef<uint64_t> EdgeCounts,
94 uint64_t MaxCount);
96 void setIrrLoopHeaderMetadata(Module *M, Instruction *TI, uint64_t Count);
include/llvm/Transforms/Scalar/MemCpyOptimizer.h 65 uint64_t cpyLen, unsigned cpyAlign, CallInst *C);
include/llvm/Transforms/Utils/ASanStackFrameLayout.h 33 uint64_t Size; // Size of the variable in bytes.
include/llvm/Transforms/Utils/FunctionComparator.h 62 using ValueNumberMap = ValueMap<GlobalValue *, uint64_t, Config>;
66 uint64_t NextNumber = 0;
71 uint64_t getNumber(GlobalValue* Global) {
104 using FunctionHash = uint64_t;
322 int cmpNumbers(uint64_t L, uint64_t R) const;
322 int cmpNumbers(uint64_t L, uint64_t R) const;
include/llvm/Transforms/Utils/SimplifyLibCalls.h 229 Value *emitStrLenMemCpy(Value *Src, Value *Dst, uint64_t Len, IRBuilder<> &B);
include/llvm/Transforms/Vectorize/LoopVectorizationLegality.h 299 uint64_t getMaxSafeRegisterWidth() const {
include/llvm/XRay/BlockIndexer.h 29 uint64_t ProcessID;
36 using Index = DenseMap<std::pair<uint64_t, int32_t>, std::vector<Block>>;
include/llvm/XRay/FDRRecordProducer.h 30 uint64_t &OffsetPtr;
39 uint64_t &OP)
include/llvm/XRay/FDRRecords.h 111 uint64_t Size = 0;
119 explicit BufferExtents(uint64_t S)
124 uint64_t size() const { return Size; }
134 uint64_t Seconds = 0;
143 explicit WallclockRecord(uint64_t S, uint32_t N)
148 uint64_t seconds() const { return Seconds; }
160 uint64_t TSC = 0;
168 NewCPUIDRecord(uint16_t C, uint64_t T)
175 uint64_t tsc() const { return TSC; }
185 uint64_t BaseTSC = 0;
193 explicit TSCWrapRecord(uint64_t B)
197 uint64_t tsc() const { return BaseTSC; }
208 uint64_t TSC = 0;
218 explicit CustomEventRecord(uint64_t S, uint64_t T, uint16_t C, std::string D)
218 explicit CustomEventRecord(uint64_t S, uint64_t T, uint16_t C, std::string D)
224 uint64_t tsc() const { return TSC; }
292 uint64_t Arg;
300 explicit CallArgRecord(uint64_t A)
304 uint64_t arg() const { return Arg; }
420 uint64_t &OffsetPtr;
426 explicit RecordInitializer(DataExtractor &DE, uint64_t &OP, uint16_t V)
429 explicit RecordInitializer(DataExtractor &DE, uint64_t &OP)
include/llvm/XRay/FDRTraceExpander.h 28 uint64_t BaseTSC = 0;
include/llvm/XRay/FileHeaderReader.h 27 uint64_t &OffsetPtr);
include/llvm/XRay/InstrumentationMap.h 43 uint64_t Address;
46 uint64_t Function;
74 using FunctionAddressMap = std::unordered_map<int32_t, uint64_t>;
75 using FunctionAddressReverseMap = std::unordered_map<uint64_t, int32_t>;
90 Optional<int32_t> getFunctionId(uint64_t Addr) const;
93 Optional<uint64_t> getFunctionAddr(int32_t FuncId) const;
include/llvm/XRay/Profile.h 53 using ThreadID = uint64_t;
58 uint64_t CallCount;
59 uint64_t CumulativeLocalTime;
include/llvm/XRay/XRayRecord.h 45 uint64_t CycleFrequency = 0;
86 uint64_t TSC;
95 std::vector<uint64_t> CallArgs;
include/llvm/XRay/YAMLXRayRecord.h 28 uint64_t CycleFrequency;
37 uint64_t TSC;
40 std::vector<uint64_t> CallArgs;
kythe_builtins/include/unwind.h 73 typedef uint64_t _Unwind_Exception_Class;
lib/Analysis/BasicAliasAnalysis.cpp 180 static uint64_t getObjectSize(const Value *V, const DataLayout &DL,
184 uint64_t Size;
195 static bool isObjectSmallerThan(const Value *V, uint64_t Size,
230 uint64_t ObjectSize = getObjectSize(V, DL, TLI, NullIsValidLoc,
239 static uint64_t getMinimalExtentFrom(const Value &V,
247 uint64_t DerefBytes = V.getPointerDereferenceableBytes(DL, CanBeNull);
257 static bool isObjectSize(const Value *V, uint64_t Size, const DataLayout &DL,
259 uint64_t ObjectSize = getObjectSize(V, DL, TLI, NullIsValidLoc);
1106 const uint64_t V1Size = MaybeV1Size.getValue();
1107 const uint64_t V2Size = MaybeV2Size.getValue();
1159 const uint64_t ElementSize =
1222 const uint64_t StructSize = SL->getSizeInBytes();
1223 const uint64_t V1Off = SL->getElementOffset(C1->getZExtValue());
1224 const uint64_t V2Off = SL->getElementOffset(C2->getZExtValue());
1278 const uint64_t ObjectAccessSize = MaybeObjectAccessSize.getValue();
1985 const uint64_t V1Size = MaybeV1Size.getValue();
1986 const uint64_t V2Size = MaybeV2Size.getValue();
lib/Analysis/BlockFrequencyInfo.cpp 205 Optional<uint64_t>
214 Optional<uint64_t>
215 BlockFrequencyInfo::getProfileCountFromFreq(uint64_t Freq) const {
226 void BlockFrequencyInfo::setBlockFreq(const BasicBlock *BB, uint64_t Freq) {
232 const BasicBlock *ReferenceBB, uint64_t Freq,
278 uint64_t BlockFrequencyInfo::getEntryFreq() const {
lib/Analysis/BlockFrequencyInfoImpl.cpp 43 ScaledNumber<uint64_t> BlockMass::toScaled() const {
123 void Distribution::add(const BlockNode &Node, uint64_t Amount,
126 uint64_t NewTotal = Total + Amount;
206 static uint64_t shiftRightAndRound(uint64_t N, int Shift) {
206 static uint64_t shiftRightAndRound(uint64_t N, int Shift) {
294 uint64_t Weight) {
488 BFI.Freqs[Index].Integer = std::max(UINT64_C(1), Scaled.toInt<uint64_t>());
558 Optional<uint64_t>
566 Optional<uint64_t>
568 uint64_t Freq,
599 uint64_t Freq) {
lib/Analysis/BranchProbabilityInfo.cpp 275 uint64_t WeightSum = 0;
298 uint64_t ScalingFactor =
lib/Analysis/CFLAndersAliasAnalysis.cpp 565 const uint64_t LHSSize = MaybeLHSSize.getValue();
566 const uint64_t RHSSize = MaybeRHSSize.getValue();
lib/Analysis/CFLGraph.h 317 uint64_t Offset = UnknownOffset;
lib/Analysis/ConstantFolding.cpp 378 bool ReadDataFromGlobal(Constant *C, uint64_t ByteOffset, unsigned char *CurPtr,
393 uint64_t Val = CI->getZExtValue();
425 uint64_t CurEltOffset = SL->getElementOffset(Index);
431 uint64_t EltSize = DL.getTypeAllocSize(CS->getOperand(Index)->getType());
445 uint64_t NextEltOffset = SL->getElementOffset(Index);
462 uint64_t EltSize = DL.getTypeAllocSize(EltTy);
463 uint64_t Index = ByteOffset / EltSize;
464 uint64_t Offset = ByteOffset - Index * EltSize;
465 uint64_t NumElts;
476 uint64_t BytesWritten = EltSize - Offset;
1631 uint64_t UIntVal;
lib/Analysis/DemandedBits.cpp 161 uint64_t ShiftAmt = SA->urem(BitWidth);
186 uint64_t ShiftAmt = ShiftAmtC->getLimitedValue(BitWidth - 1);
203 uint64_t ShiftAmt = ShiftAmtC->getLimitedValue(BitWidth - 1);
217 uint64_t ShiftAmt = ShiftAmtC->getLimitedValue(BitWidth - 1);
lib/Analysis/IVDescriptors.cpp 118 uint64_t MaxBitWidth = DL.getTypeSizeInBits(Exit->getType());
lib/Analysis/IVUsers.cpp 188 uint64_t Width = SE->getTypeSizeInBits(I->getType());
lib/Analysis/IndirectCallPromotionAnalysis.cpp 59 bool ICallPromotionAnalysis::isPromotionProfitable(uint64_t Count,
60 uint64_t TotalCount,
61 uint64_t RemainingCount) {
70 const Instruction *Inst, uint32_t NumVals, uint64_t TotalCount) {
77 uint64_t RemainingCount = TotalCount;
79 uint64_t Count = ValueDataRef[I].Count;
95 const Instruction *I, uint32_t &NumVals, uint64_t &TotalCount,
lib/Analysis/InlineCost.cpp 152 uint64_t AllocatedSize = 0;
lib/Analysis/InstructionSimplify.cpp 2387 uint64_t LHSSize, RHSSize;
4017 uint64_t C;
4018 uint64_t TyAllocSize = Q.DL.getTypeAllocSize(Ty);
4151 uint64_t NumElements = cast<VectorType>(Vec->getType())->getNumElements();
4889 uint64_t OffsetInt = OffsetConstInt->getSExtValue();
lib/Analysis/Lint.cpp 97 uint64_t Size, unsigned Align,
415 Value *Ptr, uint64_t Size, unsigned Align,
466 uint64_t BaseSize = MemoryLocation::UnknownSize;
lib/Analysis/Loads.cpp 280 const uint64_t LoadSize = Size.getZExtValue();
lib/Analysis/LoopAccessAnalysis.cpp 1289 bool MemoryDepChecker::couldPreventStoreLoadForward(uint64_t Distance,
1290 uint64_t TypeByteSize) {
1303 const uint64_t NumItersForStoreLoadThroughMemory = 8 * TypeByteSize;
1305 uint64_t MaxVFWithoutSLForwardIssues = std::min(
1309 for (uint64_t VF = 2 * TypeByteSize; VF <= MaxVFWithoutSLForwardIssues;
1352 const SCEV &Dist, uint64_t Stride,
1353 uint64_t TypeByteSize) {
1372 const uint64_t ByteStride = Stride * TypeByteSize;
1378 uint64_t DistTypeSize = DL.getTypeAllocSize(Dist.getType());
1379 uint64_t ProductTypeSize = DL.getTypeAllocSize(Product->getType());
1410 static bool areStridedAccessesIndependent(uint64_t Distance, uint64_t Stride,
1410 static bool areStridedAccessesIndependent(uint64_t Distance, uint64_t Stride,
1411 uint64_t TypeByteSize) {
1420 uint64_t ScaledDist = Distance / TypeByteSize;
1495 uint64_t TypeByteSize = DL.getTypeAllocSize(ATy);
1496 uint64_t Stride = std::abs(StrideAPtr);
1587 uint64_t MinDistanceNeeded =
1626 uint64_t MaxVF = MaxSafeDepDistBytes / (TypeByteSize * Stride);
1629 uint64_t MaxVFInBits = MaxVF * TypeByteSize * 8;
2318 uint64_t StrideTypeSize = DL.getTypeAllocSize(StrideExpr->getType());
2319 uint64_t BETypeSize = DL.getTypeAllocSize(BETakenCount->getType());
lib/Analysis/LoopUnrollAnalyzer.cpp 128 uint64_t Index = static_cast<uint64_t>(SimplifiedAddrOpV) / ElemSize;
lib/Analysis/MemoryBuiltins.cpp 491 bool llvm::getObjectSize(const Value *Ptr, uint64_t &Size, const DataLayout &DL,
527 uint64_t Size;
563 APInt ObjectSizeOffsetVisitor::align(APInt Size, uint64_t Alignment) {
lib/Analysis/ModuleSummaryAnalysis.cpp 125 static CalleeInfo::HotnessType getHotness(uint64_t ProfileCount,
145 std::vector<uint64_t> Args;
359 uint64_t BBFreq = BFI->getBlockFreq(&BB).getFrequency();
360 uint64_t EntryFreq = BFI->getEntryFreq();
384 uint64_t TotalCount;
486 static void findFuncPointers(const Constant *I, uint64_t StartingOffset,
518 uint64_t EltSize = DL.getTypeAllocSize(EltTy);
538 uint64_t PrevOffset = 0;
557 uint64_t Offset =
lib/Analysis/OptimizationRemarkEmitter.cpp 58 Optional<uint64_t> OptimizationRemarkEmitter::computeHotness(const Value *V) {
lib/Analysis/ProfileSummaryInfo.cpp 69 uint64_t Percentile) {
102 Optional<uint64_t>
115 uint64_t TotalCount;
152 uint64_t TotalCallCount = 0;
181 uint64_t TotalCallCount = 0;
206 uint64_t TotalCallCount = 0;
261 Optional<uint64_t> ProfileSummaryInfo::computeThreshold(int PercentileCutoff) {
271 uint64_t CountThreshold = Entry.MinCount;
288 bool ProfileSummaryInfo::isHotCount(uint64_t C) {
294 bool ProfileSummaryInfo::isColdCount(uint64_t C) {
300 bool ProfileSummaryInfo::isHotCountNthPercentile(int PercentileCutoff, uint64_t C) {
305 uint64_t ProfileSummaryInfo::getOrCompHotCountThreshold() {
311 uint64_t ProfileSummaryInfo::getOrCompColdCountThreshold() {
lib/Analysis/ScalarEvolution.cpp 436 ScalarEvolution::getConstant(Type *Ty, uint64_t V, bool isSigned) {
2572 uint64_t BitWidth = getTypeSizeInBits(Ty);
2852 static uint64_t umul_ov(uint64_t i, uint64_t j, bool &Overflow) {
2852 static uint64_t umul_ov(uint64_t i, uint64_t j, bool &Overflow) {
2852 static uint64_t umul_ov(uint64_t i, uint64_t j, bool &Overflow) {
2853 uint64_t k = i*j;
2861 static uint64_t Choose(uint64_t n, uint64_t k, bool &Overflow) {
2861 static uint64_t Choose(uint64_t n, uint64_t k, bool &Overflow) {
2861 static uint64_t Choose(uint64_t n, uint64_t k, bool &Overflow) {
2876 uint64_t r = 1;
2877 for (uint64_t i = 1; i <= k; ++i) {
3112 uint64_t Coeff1 = Choose(x, 2*x - y, Overflow);
3116 uint64_t Coeff2 = Choose(2*x - y, x-z, Overflow);
3117 uint64_t Coeff;
3773 uint64_t ScalarEvolution::getTypeSizeInBits(Type *Ty) const {
6398 uint64_t BitWidth = getTypeSizeInBits(OuterTy);
6409 uint64_t AShrAmt = CI->getZExtValue();
6427 uint64_t ShlAmt = ShlAmtCI->getZExtValue();
lib/Analysis/ScalarEvolutionExpander.cpp 475 uint64_t FullOffset = C->getValue()->getZExtValue();
785 uint64_t Exponent = 0;
786 const uint64_t MaxExponent = UINT64_MAX >> 1;
803 for (uint64_t BinExp = 2; BinExp <= Exponent; BinExp <<= 1) {
lib/Analysis/StackSafetyAnalysis.cpp 101 uint64_t Size = 0;
104 AllocaInfo(unsigned PointerSize, const AllocaInst *AI, uint64_t Size)
130 uint64_t getStaticAllocaAllocationSize(const AllocaInst *AI) {
132 uint64_t Size = DL.getTypeAllocSize(AI->getAllocatedType());
212 uint64_t AccessSize);
218 ConstantRange getRange(uint64_t Lower, uint64_t Upper) const {
218 ConstantRange getRange(uint64_t Lower, uint64_t Upper) const {
247 uint64_t AccessSize) {
lib/Analysis/TypeBasedAliasAnalysis.cpp 229 uint64_t getOffset() const {
233 uint64_t getSize() const {
303 TBAAStructTypeNode getField(uint64_t &Offset) const {
317 uint64_t Cur = Node->getNumOperands() == 2
336 uint64_t Cur = mdconst::extract<ConstantInt>(Node->getOperand(Idx + 1))
348 uint64_t Cur = mdconst::extract<ConstantInt>(Node->getOperand(TheIdx + 1))
554 uint64_t AccessSize = UINT64_MAX;
608 uint64_t OffsetInBase = BaseTag.getOffset();
lib/Analysis/TypeMetadataUtils.cpp 25 bool *HasNonCallUses, Value *FPtr, uint64_t Offset,
131 Constant *llvm::getPointerAtOffset(Constant *I, uint64_t Offset, Module &M) {
151 uint64_t ElemSize = DL.getTypeAllocSize(VTableTy->getElementType());
lib/Analysis/VFABIDemangling.cpp 268 uint64_t Val;
lib/Analysis/ValueTracking.cpp 632 uint64_t C;
926 uint64_t ShiftAmtKZ = Known.Zero.zextOrTrunc(64).getZExtValue();
927 uint64_t ShiftAmtKO = Known.One.zextOrTrunc(64).getZExtValue();
1324 uint64_t Offset = SL->getElementOffset(Idx);
1335 uint64_t TypeSize = Q.DL.getTypeAllocSize(IndexedTy);
1523 uint64_t ShiftAmt = SA->urem(BitWidth);
1869 uint64_t ElementOffset = SL->getElementOffset(ElementIdx);
2722 uint64_t BitToSet = Op1Int.getLimitedValue(Op1Int.getBitWidth() - 1);
3199 const uint64_t Size = DL.getTypeStoreSize(V->getType());
3476 unsigned ElementSize, uint64_t Offset) {
3493 uint64_t StartIdx = 0;
3518 uint64_t SizeInBytes = DL.getTypeStoreSize(GVTy);
3519 uint64_t Length = SizeInBytes / (ElementSize / 8);
3538 uint64_t NumElts = ArrayTy->getArrayNumElements();
3552 uint64_t Offset, bool TrimAtNul) {
3591 static uint64_t GetStringLengthH(const Value *V,
3604 uint64_t LenSoFar = ~0ULL;
3606 uint64_t Len = GetStringLengthH(IncValue, PHIs, CharSize);
3622 uint64_t Len1 = GetStringLengthH(SI->getTrueValue(), PHIs, CharSize);
3624 uint64_t Len2 = GetStringLengthH(SI->getFalseValue(), PHIs, CharSize);
3652 uint64_t llvm::GetStringLength(const Value *V, unsigned CharSize) {
3657 uint64_t Len = GetStringLengthH(V, PHIs, CharSize);
5738 uint64_t Size = DL.getTypeAllocSize(GTI.getIndexedType());
lib/Analysis/VectorUtils.cpp 367 MapVector<Instruction *, uint64_t>
378 DenseMap<Value *, uint64_t> DBits;
380 MapVector<Instruction *, uint64_t> MinBWs;
428 uint64_t V = DB.getDemandedBits(I).getZExtValue();
472 uint64_t LeaderDemandedBits = 0;
476 uint64_t MinBW = (sizeof(LeaderDemandedBits) * 8) -
836 uint64_t Size = DL.getTypeAllocSize(PtrTy->getElementType());
lib/AsmParser/LLLexer.cpp 45 uint64_t LLLexer::atoull(const char *Buffer, const char *End) {
46 uint64_t Result = 0;
48 uint64_t OldRes = Result;
59 uint64_t LLLexer::HexIntToVal(const char *Buffer, const char *End) {
60 uint64_t Result = 0;
62 uint64_t OldRes = Result;
75 uint64_t Pair[2]) {
96 uint64_t Pair[2]) {
344 uint64_t Val = atoull(TokStart + 1, CurPtr);
478 uint64_t NumBits = atoull(StartChar, CurPtr);
1009 uint64_t Pair[2];
1065 uint64_t Val = atoull(TokStart, CurPtr);
lib/AsmParser/LLLexer.h 97 uint64_t atoull(const char *Buffer, const char *End);
98 uint64_t HexIntToVal(const char *Buffer, const char *End);
99 void HexToIntPair(const char *Buffer, const char *End, uint64_t Pair[2]);
100 void FP80HexToIntPair(const char *Buffer, const char *End, uint64_t Pair[2]);
lib/AsmParser/LLParser.cpp 1506 uint64_t Val64 = Lex.getAPSIntVal().getLimitedValue(0xFFFFFFFFULL+1);
1516 bool LLParser::ParseUInt64(uint64_t &Val) {
1621 uint64_t Bytes;
1628 uint64_t Bytes;
1710 uint64_t Bytes;
1717 uint64_t Bytes;
2097 uint64_t &Bytes) {
2795 uint64_t Size = Lex.getAPSIntVal().getZExtValue();
3803 struct MDUnsignedField : public MDFieldImpl<uint64_t> {
3804 uint64_t Max;
3806 MDUnsignedField(uint64_t Default = 0, uint64_t Max = UINT64_MAX)
3806 MDUnsignedField(uint64_t Default = 0, uint64_t Max = UINT64_MAX)
3933 uint64_t getMDUnsignedValue() const {
4946 SmallVector<uint64_t, 8> Elements;
7573 uint64_t Offset;
7714 std::map<uint64_t, WholeProgramDevirtResolution> &WPDResMap) {
7721 uint64_t Offset;
7802 std::map<std::vector<uint64_t>, WholeProgramDevirtResolution::ByArg>
7810 std::vector<uint64_t> Args;
7880 bool LLParser::ParseArgs(std::vector<uint64_t> &Args) {
7887 uint64_t Val;
8420 uint64_t Offset;
lib/AsmParser/LLParser.h 258 bool ParseUInt64(uint64_t &Val);
259 bool ParseUInt64(uint64_t &Val, LocTy &Loc) {
285 bool ParseOptionalDerefAttrBytes(lltok::Kind AttrKind, uint64_t &Bytes);
379 std::map<uint64_t, WholeProgramDevirtResolution> &WPDResMap);
382 std::map<std::vector<uint64_t>, WholeProgramDevirtResolution::ByArg>
384 bool ParseArgs(std::vector<uint64_t> &Args);
lib/BinaryFormat/MsgPackDocumentYAML.cpp 76 StringRef Err = yaml::ScalarTraits<uint64_t>::input(S, nullptr, getUInt());
191 return ScalarTraits<uint64_t>::mustQuote(ScalarStr);
lib/BinaryFormat/MsgPackReader.cpp 69 return readUInt<uint64_t>(Obj);
85 Obj.Float = BitsToDouble(endian::read<uint64_t, Endianness>(Current));
lib/BinaryFormat/MsgPackWriter.cpp 60 void Writer::write(uint64_t u) {
lib/Bitcode/Reader/BitcodeAnalyzer.cpp 402 static void printSize(raw_ostream &OS, uint64_t Bits) {
502 ArrayRef<uint64_t> Record,
615 uint64_t BufferSizeBits = Stream.getBitcodeBytes().size() * CHAR_BIT;
728 uint64_t BlockBitStart = Stream.GetCurrentBitNo();
761 uint64_t BlockEntryPos = Stream.getCurrentByteNo();
778 SmallVector<uint64_t, 64> Record;
781 uint64_t MetadataIndexOffset = 0;
788 uint64_t RecordStartBit = Stream.GetCurrentBitNo();
800 uint64_t BlockBitEnd = Stream.GetCurrentBitNo();
813 uint64_t SubBlockBitStart = Stream.GetCurrentBitNo();
817 uint64_t SubBlockBitEnd = Stream.GetCurrentBitNo();
840 uint64_t CurrentRecordPos = Stream.GetCurrentBitNo();
lib/Bitcode/Reader/BitcodeReader.cpp 151 static bool convertToString(ArrayRef<uint64_t> Record, unsigned Idx,
178 SmallVector<uint64_t, 64> Record;
262 SmallVector<uint64_t, 64> Record;
343 SmallVector<uint64_t, 64> Record;
434 Expected<unsigned> parseVersionRecord(ArrayRef<uint64_t> Record);
439 std::pair<StringRef, ArrayRef<uint64_t>>
440 readNameFromStrtab(ArrayRef<uint64_t> Record);
461 BitcodeReaderBase::parseVersionRecord(ArrayRef<uint64_t> Record) {
471 std::pair<StringRef, ArrayRef<uint64_t>>
472 BitcodeReaderBase::readNameFromStrtab(ArrayRef<uint64_t> Record) {
487 uint64_t NextUnreadBit = 0;
489 uint64_t LastFunctionBlockBit = 0;
491 uint64_t VSTOffset = 0;
538 DenseMap<Function*, uint64_t> DeferredFunctionInfo;
543 std::vector<uint64_t> DeferredMetadataInfo;
584 static uint64_t decodeSignRotatedValue(uint64_t V);
584 static uint64_t decodeSignRotatedValue(uint64_t V);
652 bool getValueTypePair(SmallVectorImpl<uint64_t> &Record, unsigned &Slot,
679 bool popValue(SmallVectorImpl<uint64_t> &Record, unsigned &Slot,
689 bool getValue(SmallVectorImpl<uint64_t> &Record, unsigned Slot,
697 Value *getValue(SmallVectorImpl<uint64_t> &Record, unsigned Slot,
708 Value *getValueSigned(SmallVectorImpl<uint64_t> &Record, unsigned Slot,
725 Error parseAlignmentValue(uint64_t Exponent, MaybeAlign &Alignment);
726 Error parseAttrKind(uint64_t Code, Attribute::AttrKind *Kind);
727 Error parseModule(uint64_t ResumeBit, bool ShouldLazyLoadMetadata = false);
729 Error parseComdatRecord(ArrayRef<uint64_t> Record);
730 Error parseGlobalVarRecord(ArrayRef<uint64_t> Record);
731 Error parseFunctionRecord(ArrayRef<uint64_t> Record);
733 ArrayRef<uint64_t> Record);
742 Expected<Value *> recordValue(SmallVectorImpl<uint64_t> &Record,
745 ArrayRef<uint64_t> Record);
746 Error parseValueSymbolTable(uint64_t Offset = 0);
760 DenseMap<Function *, uint64_t>::iterator DeferredFunctionInfoIterator);
780 uint64_t VSTOffset = 0;
797 DenseMap<uint64_t, StringRef> ModuleIdMap;
818 void setValueGUID(uint64_t ValueID, StringRef ValueName,
822 uint64_t Offset,
824 std::vector<ValueInfo> makeRefList(ArrayRef<uint64_t> Record);
825 std::vector<FunctionSummary::EdgeTy> makeCallList(ArrayRef<uint64_t> Record,
831 void parseTypeIdCompatibleVtableSummaryRecord(ArrayRef<uint64_t> Record);
832 void parseTypeIdCompatibleVtableInfo(ArrayRef<uint64_t> Record, size_t &Slot,
956 static FunctionSummary::FFlags getDecodedFFlags(uint64_t RawFlags) {
967 static GlobalValueSummary::GVFlags getDecodedGVSummaryFlags(uint64_t RawFlags,
968 uint64_t Version) {
986 static GlobalVarSummary::GVarFlags getDecodedGVarFlags(uint64_t RawFlags) {
1215 static uint64_t getRawAttributeMask(Attribute::AttrKind Val) {
1306 static void addRawAttributeValue(AttrBuilder &B, uint64_t Val) {
1318 if (uint64_t A = (Val & getRawAttributeMask(I))) {
1333 uint64_t EncodedAttrs) {
1355 SmallVector<uint64_t, 64> Record;
1411 static Attribute::AttrKind getAttrFromCode(uint64_t Code) {
1546 Error BitcodeReader::parseAlignmentValue(uint64_t Exponent,
1556 Error BitcodeReader::parseAttrKind(uint64_t Code, Attribute::AttrKind *Kind) {
1570 SmallVector<uint64_t, 64> Record;
1602 uint64_t GrpID = Record[0];
1603 uint64_t Idx = Record[1]; // Index of the object this attribute refers to.
1681 SmallVector<uint64_t, 64> Record;
1759 uint64_t NumBits = Record[0];
1928 SmallVector<uint64_t, 64> Record;
1970 SmallVector<uint64_t, 64> Record;
2009 Expected<Value *> BitcodeReader::recordValue(SmallVectorImpl<uint64_t> &Record,
2037 static Expected<uint64_t> jumpToValueSymbolTable(uint64_t Offset,
2037 static Expected<uint64_t> jumpToValueSymbolTable(uint64_t Offset,
2041 uint64_t CurrentBit = Stream.GetCurrentBitNo();
2054 ArrayRef<uint64_t> Record) {
2058 uint64_t FuncWordOffset = Record[1] - 1;
2059 uint64_t FuncBitOffset = FuncWordOffset * 32;
2076 SmallVector<uint64_t, 64> Record;
2108 Error BitcodeReader::parseValueSymbolTable(uint64_t Offset) {
2109 uint64_t CurrentBit;
2114 Expected<uint64_t> MaybeCurrentBit = jumpToValueSymbolTable(Offset, Stream);
2147 SmallVector<uint64_t, 64> Record;
2219 uint64_t BitcodeReader::decodeSignRotatedValue(uint64_t V) {
2219 uint64_t BitcodeReader::decodeSignRotatedValue(uint64_t V) {
2315 static APInt readWideAPInt(ArrayRef<uint64_t> Vals, unsigned TypeBits) {
2316 SmallVector<uint64_t, 8> Words(Vals.size());
2327 SmallVector<uint64_t, 64> Record;
2413 uint64_t Rearrange[2];
2490 SmallVector<uint64_t, 16> Elts(Record.begin(), Record.end());
2508 SmallVector<uint64_t, 16> Elts(Record.begin(), Record.end());
2591 uint64_t Op = Record[OpNum++];
2834 SmallVector<uint64_t, 64> Record;
2904 uint64_t CurBit = Stream.GetCurrentBitNo();
2914 for (uint64_t BitPos : DeferredMetadataInfo) {
2948 uint64_t CurBit = Stream.GetCurrentBitNo();
3016 SmallVector<uint64_t, 64> Record;
3054 Error BitcodeReader::parseComdatRecord(ArrayRef<uint64_t> Record) {
3086 Error BitcodeReader::parseGlobalVarRecord(ArrayRef<uint64_t> Record) {
3113 uint64_t RawLinkage = Record[3];
3192 Error BitcodeReader::parseFunctionRecord(ArrayRef<uint64_t> Record) {
3229 uint64_t RawLinkage = Record[3];
3319 unsigned BitCode, ArrayRef<uint64_t> Record) {
3402 Error BitcodeReader::parseModule(uint64_t ResumeBit,
3410 SmallVector<uint64_t, 64> Record;
3731 SmallVector<uint64_t, 64> Record;
4011 uint64_t Index = Record[OpNum];
4053 uint64_t Index = Record[OpNum];
4735 uint64_t AlignRecord = Record[3];
4736 const uint64_t InAllocaMask = uint64_t(1) << 5;
4737 const uint64_t ExplicitTypeMask = uint64_t(1) << 6;
4738 const uint64_t SwiftErrorMask = uint64_t(1) << 7;
4739 const uint64_t FlagMask = InAllocaMask | ExplicitTypeMask |
5194 DenseMap<Function *, uint64_t>::iterator DeferredFunctionInfoIterator) {
5227 DenseMap<Function*, uint64_t>::iterator DFII = DeferredFunctionInfo.find(F);
5371 uint64_t ValueID, StringRef ValueName, GlobalValue::LinkageTypes Linkage,
5397 uint64_t Offset,
5404 Expected<uint64_t> MaybeCurrentBit = jumpToValueSymbolTable(Offset, Stream);
5407 uint64_t CurrentBit = MaybeCurrentBit.get();
5412 SmallVector<uint64_t, 64> Record;
5493 SmallVector<uint64_t, 64> Record;
5607 ArrayRef<uint64_t> GVRecord;
5611 uint64_t RawLinkage = GVRecord[3];
5629 ModuleSummaryIndexBitcodeReader::makeRefList(ArrayRef<uint64_t> Record) {
5632 for (uint64_t RefValueId : Record)
5638 ModuleSummaryIndexBitcodeReader::makeCallList(ArrayRef<uint64_t> Record,
5645 uint64_t RelBF = 0;
5661 parseWholeProgramDevirtResolutionByArg(ArrayRef<uint64_t> Record, size_t &Slot,
5663 uint64_t ArgNum = Record[Slot++];
5675 static void parseWholeProgramDevirtResolution(ArrayRef<uint64_t> Record,
5678 uint64_t Id = Record[Slot++];
5686 uint64_t ResByArgNum = Record[Slot++];
5687 for (uint64_t I = 0; I != ResByArgNum; ++I)
5691 static void parseTypeIdSummaryRecord(ArrayRef<uint64_t> Record,
5711 ArrayRef<uint64_t> Record, size_t &Slot,
5713 uint64_t Offset = Record[Slot++];
5719 ArrayRef<uint64_t> Record) {
5748 SmallVector<uint64_t, 64> Record;
5765 const uint64_t Version = Record[0];
5818 uint64_t Flags = Record[0];
5846 uint64_t ValueID = Record[0];
5864 uint64_t RawFlags = Record[1];
5866 uint64_t RawFunFlags = 0;
5924 uint64_t RawFlags = Record[1];
5949 uint64_t RawFlags = Record[1];
5973 uint64_t RawFlags = Record[1];
5984 uint64_t Offset = Record[++I];
6003 uint64_t ModuleId = Record[1];
6004 uint64_t RawFlags = Record[2];
6006 uint64_t RawFunFlags = 0;
6007 uint64_t EntryCount = 0;
6069 uint64_t ModuleId = Record[1];
6070 uint64_t RawFlags = Record[2];
6089 uint64_t ModuleId = Record[1];
6090 uint64_t RawFlags = Record[2];
6112 uint64_t OriginalName = Record[0];
6184 SmallVector<uint64_t, 64> Record;
6215 uint64_t ModuleId = Record[0];
6300 SmallVector<uint64_t, 1> Record;
6333 uint64_t BCBegin = Stream.getCurrentByteNo();
6352 uint64_t IdentificationBit = -1ull;
6371 uint64_t ModuleBit = Stream.GetCurrentBitNo() - BCBegin * 8;
6496 StringRef ModulePath, uint64_t ModuleId) {
6526 SmallVector<uint64_t, 64> Record;
6556 uint64_t Flags = Record[0];
6695 uint64_t ModuleId) {
lib/Bitcode/Reader/MetadataLoader.cpp 106 static int64_t unrotateSign(uint64_t U) { return (U & 1) ? ~(U >> 1) : U >> 1; }
442 std::vector<uint64_t> GlobalMetadataBitPosIndex;
472 Error parseOneMetadata(SmallVectorImpl<uint64_t> &Record, unsigned Code,
475 Error parseMetadataStrings(ArrayRef<uint64_t> Record, StringRef Blob,
478 ArrayRef<uint64_t> Record);
479 Error parseMetadataKindRecord(SmallVectorImpl<uint64_t> &Record);
539 SmallVector<uint64_t, 8> Ops;
548 Error upgradeDIExpression(uint64_t FromVersion,
549 MutableArrayRef<uint64_t> &Expr,
550 SmallVectorImpl<uint64_t> &Buffer) {
597 ArrayRef<uint64_t> Args = SubExpr.slice(1, HistoricSize-1);
686 SmallVector<uint64_t, 64> Record;
705 uint64_t CurrentPos = IndexCursor.GetCurrentBitNo();
903 SmallVector<uint64_t, 64> Record;
994 SmallVector<uint64_t, 64> Record;
1052 SmallVectorImpl<uint64_t> &Record, unsigned Code,
1346 uint64_t SizeInBits = Record[7];
1350 uint64_t OffsetInBits = 0;
1820 uint64_t Version = Record[0] >> 1;
1823 SmallVector<uint64_t, 6> Buffer;
1924 ArrayRef<uint64_t> Record, StringRef Blob,
1962 GlobalObject &GO, ArrayRef<uint64_t> Record) {
1982 SmallVector<uint64_t, 64> Record;
2068 SmallVectorImpl<uint64_t> &Record) {
2086 SmallVector<uint64_t, 64> Record;
lib/Bitcode/Writer/BitcodeWriter.cpp 173 uint64_t VSTOffsetPlaceholder = 0;
209 void writePerModuleFunctionSummaryRecord(SmallVector<uint64_t, 64> &NameVals,
216 SmallVector<uint64_t, 64> &NameVals,
258 uint64_t BitcodeStartBit;
277 uint64_t bitcodeStartBit() { return BitcodeStartBit; }
288 SmallVectorImpl<uint64_t> &Record);
289 void writeMDTuple(const MDTuple *N, SmallVectorImpl<uint64_t> &Record,
292 void writeDILocation(const DILocation *N, SmallVectorImpl<uint64_t> &Record,
296 SmallVectorImpl<uint64_t> &Record, unsigned &Abbrev);
297 void writeDISubrange(const DISubrange *N, SmallVectorImpl<uint64_t> &Record,
300 SmallVectorImpl<uint64_t> &Record, unsigned Abbrev);
301 void writeDIBasicType(const DIBasicType *N, SmallVectorImpl<uint64_t> &Record,
304 SmallVectorImpl<uint64_t> &Record, unsigned Abbrev);
306 SmallVectorImpl<uint64_t> &Record, unsigned Abbrev);
308 SmallVectorImpl<uint64_t> &Record,
310 void writeDIFile(const DIFile *N, SmallVectorImpl<uint64_t> &Record,
313 SmallVectorImpl<uint64_t> &Record, unsigned Abbrev);
315 SmallVectorImpl<uint64_t> &Record, unsigned Abbrev);
317 SmallVectorImpl<uint64_t> &Record, unsigned Abbrev);
319 SmallVectorImpl<uint64_t> &Record,
322 SmallVectorImpl<uint64_t> &Record, unsigned Abbrev);
323 void writeDINamespace(const DINamespace *N, SmallVectorImpl<uint64_t> &Record,
325 void writeDIMacro(const DIMacro *N, SmallVectorImpl<uint64_t> &Record,
327 void writeDIMacroFile(const DIMacroFile *N, SmallVectorImpl<uint64_t> &Record,
329 void writeDIModule(const DIModule *N, SmallVectorImpl<uint64_t> &Record,
332 SmallVectorImpl<uint64_t> &Record,
335 SmallVectorImpl<uint64_t> &Record,
338 SmallVectorImpl<uint64_t> &Record,
341 SmallVectorImpl<uint64_t> &Record, unsigned Abbrev);
343 SmallVectorImpl<uint64_t> &Record, unsigned Abbrev);
345 SmallVectorImpl<uint64_t> &Record, unsigned Abbrev);
347 SmallVectorImpl<uint64_t> &Record,
350 SmallVectorImpl<uint64_t> &Record, unsigned Abbrev);
352 SmallVectorImpl<uint64_t> &Record,
355 void writeNamedMetadata(SmallVectorImpl<uint64_t> &Record);
358 SmallVectorImpl<uint64_t> &Record);
360 SmallVectorImpl<uint64_t> &Record,
362 std::vector<uint64_t> *IndexPos = nullptr);
367 void pushGlobalMetadataAttachment(SmallVectorImpl<uint64_t> &Record,
380 SmallVectorImpl<uint64_t> &Vals);
385 DenseMap<const Function *, uint64_t> &FunctionToBitcodeIndex);
390 DenseMap<const Function *, uint64_t> &FunctionToBitcodeIndex);
598 static uint64_t getAttrKindEncoding(Attribute::AttrKind Kind) {
744 SmallVector<uint64_t, 64> Record;
793 SmallVector<uint64_t, 64> Record;
814 SmallVector<uint64_t, 64> TypeVals;
816 uint64_t NumBits = VE.computeBitsRequiredForTypeIndicies();
1001 static uint64_t getEncodedFFlags(FunctionSummary::FFlags Flags) {
1002 uint64_t RawFlags = 0;
1012 static uint64_t getEncodedGVSummaryFlags(GlobalValueSummary::GVFlags Flags) {
1013 uint64_t RawFlags = 0;
1028 static uint64_t getEncodedGVarFlags(GlobalVarSummary::GVarFlags Flags) {
1029 uint64_t RawFlags = Flags.MaybeReadOnly | (Flags.MaybeWriteOnly << 1);
1122 uint64_t Vals[] = {bitc::MODULE_CODE_VSTOFFSET, 0};
1389 static uint64_t getOptimizationFlags(const Value *V) {
1390 uint64_t Flags = 0;
1421 const ValueAsMetadata *MD, SmallVectorImpl<uint64_t> &Record) {
1431 SmallVectorImpl<uint64_t> &Record,
1460 SmallVectorImpl<uint64_t> &Record,
1491 SmallVectorImpl<uint64_t> &Record,
1507 static uint64_t rotateSign(int64_t I) {
1508 uint64_t U = I;
1513 SmallVectorImpl<uint64_t> &Record,
1515 const uint64_t Version = 1 << 1;
1525 SmallVectorImpl<uint64_t> &Record,
1536 SmallVectorImpl<uint64_t> &Record,
1551 SmallVectorImpl<uint64_t> &Record,
1578 const DICompositeType *N, SmallVectorImpl<uint64_t> &Record,
1604 const DISubroutineType *N, SmallVectorImpl<uint64_t> &Record,
1617 SmallVectorImpl<uint64_t> &Record,
1640 SmallVectorImpl<uint64_t> &Record,
1668 SmallVectorImpl<uint64_t> &Record,
1670 const uint64_t HasUnitFlag = 1 << 1;
1671 const uint64_t HasSPFlagsFlag = 1 << 2;
1696 SmallVectorImpl<uint64_t> &Record,
1709 const DILexicalBlockFile *N, SmallVectorImpl<uint64_t> &Record,
1721 SmallVectorImpl<uint64_t> &Record,
1735 SmallVectorImpl<uint64_t> &Record,
1746 SmallVectorImpl<uint64_t> &Record,
1759 SmallVectorImpl<uint64_t> &Record,
1772 SmallVectorImpl<uint64_t> &Record,
1783 const DITemplateTypeParameter *N, SmallVectorImpl<uint64_t> &Record,
1794 const DITemplateValueParameter *N, SmallVectorImpl<uint64_t> &Record,
1807 const DIGlobalVariable *N, SmallVectorImpl<uint64_t> &Record,
1809 const uint64_t Version = 2 << 1;
1828 const DILocalVariable *N, SmallVectorImpl<uint64_t> &Record,
1843 const uint64_t HasAlignmentFlag = 1 << 1;
1859 const DILabel *N, SmallVectorImpl<uint64_t> &Record,
1872 SmallVectorImpl<uint64_t> &Record,
1875 const uint64_t Version = 3 << 1;
1884 const DIGlobalVariableExpression *N, SmallVectorImpl<uint64_t> &Record,
1895 SmallVectorImpl<uint64_t> &Record,
1911 const DIImportedEntity *N, SmallVectorImpl<uint64_t> &Record,
1934 SmallVectorImpl<uint64_t> &Record) {
1968 ArrayRef<const Metadata *> Strings, SmallVectorImpl<uint64_t> &Record) {
2005 ArrayRef<const Metadata *> MDs, SmallVectorImpl<uint64_t> &Record,
2006 std::vector<unsigned> *MDAbbrevs, std::vector<uint64_t> *IndexPos) {
2043 SmallVector<uint64_t, 64> Record;
2076 uint64_t Vals[] = {0, 0};
2083 uint64_t IndexOffsetRecordBitPos = Stream.GetCurrentBitNo();
2086 std::vector<uint64_t> IndexPos;
2101 uint64_t PreviousValue = IndexOffsetRecordBitPos;
2116 SmallVector<uint64_t, 4> Record;
2138 SmallVector<uint64_t, 64> Record;
2145 SmallVectorImpl<uint64_t> &Record, const GlobalObject &GO) {
2158 SmallVector<uint64_t, 64> Record;
2191 SmallVector<uint64_t, 64> Record;
2229 SmallVector<uint64_t, 64> Record;
2249 SmallVector<uint64_t, 64> Record;
2259 static void emitSignedInt64(SmallVectorImpl<uint64_t> &Vals, uint64_t V) {
2259 static void emitSignedInt64(SmallVectorImpl<uint64_t> &Vals, uint64_t V) {
2305 SmallVector<uint64_t, 64> Record;
2347 uint64_t V = IV->getSExtValue();
2357 const uint64_t *RawWords = IV->getValue().getRawData();
2372 const uint64_t *p = api.getRawData();
2377 const uint64_t *p = api.getRawData();
2442 uint64_t Flags = getOptimizationFlags(CE);
2452 uint64_t Flags = getOptimizationFlags(CE);
2593 SmallVectorImpl<uint64_t> &Vals) {
2621 uint64_t Flags = getOptimizationFlags(&I);
2634 uint64_t Flags = getOptimizationFlags(&I);
2672 uint64_t Flags = getOptimizationFlags(&I);
2701 uint64_t Flags = getOptimizationFlags(&I);
2877 SmallVector<uint64_t, 128> Vals64;
2884 uint64_t Flags = getOptimizationFlags(&I);
3045 DenseMap<const Function *, uint64_t> &FunctionToBitcodeIndex) {
3048 uint64_t VSTOffset = Stream.GetCurrentBitNo();
3066 uint64_t Record[2];
3075 uint64_t BitcodeIndex = FunctionToBitcodeIndex[&F] - bitcodeStartBit();
3098 SmallVector<uint64_t, 64> NameVals;
3141 SmallVector<uint64_t, 64> Record(Order.Shuffle.begin(), Order.Shuffle.end());
3168 DenseMap<const Function *, uint64_t> &FunctionToBitcodeIndex) {
3515 SmallVector<uint64_t, 64> Record;
3579 SmallVector<uint64_t, 64> &NameVals, const std::vector<uint64_t> &args,
3579 SmallVector<uint64_t, 64> &NameVals, const std::vector<uint64_t> &args,
3591 SmallVector<uint64_t, 64> &NameVals, StringTableBuilder &StrtabBuilder,
3592 uint64_t Id, const WholeProgramDevirtResolution &Wpd) {
3604 static void writeTypeIdSummaryRecord(SmallVector<uint64_t, 64> &NameVals,
3624 SmallVector<uint64_t, 64> &NameVals, StringTableBuilder &StrtabBuilder,
3638 SmallVector<uint64_t, 64> &NameVals, GlobalValueSummary *Summary,
3681 const GlobalVariable &V, SmallVector<uint64_t, 64> &NameVals,
3726 static const uint64_t INDEX_VERSION = 7;
3744 uint64_t Flags = 0;
3831 SmallVector<uint64_t, 64> NameVals;
3891 uint64_t Flags = 0;
3969 SmallVector<uint64_t, 64> NameVals;
4265 DenseMap<const Function *, uint64_t> FunctionToBitcodeIndex;
lib/Bitcode/Writer/ValueEnumerator.cpp 1039 uint64_t ValueEnumerator::computeBitsRequiredForTypeIndicies() const {
lib/Bitcode/Writer/ValueEnumerator.h 238 uint64_t computeBitsRequiredForTypeIndicies() const;
lib/Bitstream/Reader/BitstreamReader.cpp 67 static Expected<uint64_t> readAbbreviatedField(BitstreamCursor &Cursor,
108 if (Expected<uint64_t> Res =
135 if (Expected<uint64_t> Res = ReadVBR64(6))
153 Expected<uint64_t> MaybeCode = readAbbreviatedField(*this, CodeOp);
196 if (Expected<uint64_t> Res =
236 SmallVectorImpl<uint64_t> &Vals,
249 if (Expected<uint64_t> MaybeVal = ReadVBR64(6))
268 if (Expected<uint64_t> MaybeCode = readAbbreviatedField(*this, CodeOp))
283 if (Expected<uint64_t> MaybeVal = readAbbreviatedField(*this, Op))
319 if (Expected<uint64_t> MaybeVal =
387 Expected<uint64_t> MaybeOp = ReadVBR64(8);
400 Expected<uint64_t> MaybeData = ReadVBR64(5);
403 uint64_t Data = MaybeData.get();
438 SmallVector<uint64_t, 64> Record;
lib/CodeGen/Analysis.cpp 86 SmallVectorImpl<uint64_t> *Offsets,
87 uint64_t StartingOffset) {
102 uint64_t EltSize = DL.getTypeAllocSize(EltTy);
121 SmallVectorImpl<uint64_t> *Offsets,
122 uint64_t StartingOffset) {
129 SmallVectorImpl<uint64_t> *Offsets,
130 uint64_t StartingOffset) {
142 uint64_t EltSize = DL.getTypeAllocSize(EltTy);
lib/CodeGen/AsmPrinter/AccelTable.cpp 249 uint64_t PrevHash = std::numeric_limits<uint64_t>::max();
249 uint64_t PrevHash = std::numeric_limits<uint64_t>::max();
266 uint64_t PrevHash = std::numeric_limits<uint64_t>::max();
266 uint64_t PrevHash = std::numeric_limits<uint64_t>::max();
319 uint64_t PrevHash = std::numeric_limits<uint64_t>::max();
319 uint64_t PrevHash = std::numeric_limits<uint64_t>::max();
332 uint64_t PrevHash = std::numeric_limits<uint64_t>::max();
332 uint64_t PrevHash = std::numeric_limits<uint64_t>::max();
336 if (PrevHash != std::numeric_limits<uint64_t>::max() &&
lib/CodeGen/AsmPrinter/AsmPrinter.cpp 500 uint64_t Size = DL.getTypeAllocSize(GV->getValueType());
1001 uint64_t StackSize = FrameInfo.getStackSize();
1349 uint64_t Size = DL.getTypeAllocSize(GA->getValueType());
2108 void AsmPrinter::emitInt64(uint64_t Value) const {
2123 void AsmPrinter::EmitLabelPlusOffset(const MCSymbol *Label, uint64_t Offset,
2320 uint64_t Offset = 0);
2342 uint64_t Size = DL.getTypeAllocSizeInBits(V->getType());
2380 uint64_t Bytes = DL.getTypeAllocSize(CDS->getType());
2416 const Constant *BaseCV, uint64_t Offset) {
2422 uint64_t Bytes = DL.getTypeAllocSize(CA->getType());
2447 const Constant *BaseCV, uint64_t Offset) {
2451 uint64_t SizeSoFar = 0;
2459 uint64_t FieldSize = DL.getTypeAllocSize(Field->getType());
2460 uint64_t PadSize = ((i == e-1 ? Size : Layout->getElementOffset(i+1))
2490 unsigned TrailingBytes = NumBytes % sizeof(uint64_t);
2491 const uint64_t *p = API.getRawData();
2502 AP.OutStreamer->EmitIntValue(p[Chunk], sizeof(uint64_t));
2505 for (Chunk = 0; Chunk < NumBytes / sizeof(uint64_t); ++Chunk)
2506 AP.OutStreamer->EmitIntValue(p[Chunk], sizeof(uint64_t));
2528 uint64_t ExtraBits = 0;
2558 const uint64_t *RawData = Realigned.getRawData();
2560 uint64_t Val = DL.isBigEndian() ? RawData[e - i - 1] : RawData[i];
2568 uint64_t Size = AP.getDataLayout().getTypeAllocSize(CI->getType());
2582 uint64_t Offset) {
2670 uint64_t Offset) {
2671 uint64_t Size = DL.getTypeAllocSize(CV->getType());
2750 uint64_t Size = DL.getTypeAllocSize(CV->getType());
lib/CodeGen/AsmPrinter/AsmPrinterDwarf.cpp 46 void AsmPrinter::EmitULEB128(uint64_t Value, const char *Desc, unsigned PadTo) const {
182 void AsmPrinter::EmitDwarfOffset(const MCSymbol *Label, uint64_t Offset) const {
196 void AsmPrinter::EmitCallSiteValue(uint64_t Value,
lib/CodeGen/AsmPrinter/ByteStreamer.h 33 virtual void EmitSLEB128(uint64_t DWord, const Twine &Comment = "") = 0;
34 virtual void EmitULEB128(uint64_t DWord, const Twine &Comment = "", unsigned PadTo = 0) = 0;
47 void EmitSLEB128(uint64_t DWord, const Twine &Comment) override {
51 void EmitULEB128(uint64_t DWord, const Twine &Comment, unsigned PadTo) override {
65 void EmitSLEB128(uint64_t DWord, const Twine &Comment) override {
68 void EmitULEB128(uint64_t DWord, const Twine &Comment, unsigned PadTo) override {
93 void EmitSLEB128(uint64_t DWord, const Twine &Comment) override {
105 void EmitULEB128(uint64_t DWord, const Twine &Comment, unsigned PadTo) override {
lib/CodeGen/AsmPrinter/CodeViewDebug.cpp 106 void EmitIntValue(uint64_t Value, unsigned Size) {
1565 uint64_t ElementSize = getBaseTypeSize(ElementType) / 8;
1592 uint64_t ArraySize =
2093 uint64_t BaseOffset;
2139 uint64_t Offset = DDTy->getOffsetInBits();
2259 uint64_t SizeInBytes = Ty->getSizeInBits() / 8;
2298 uint64_t SizeInBytes = Ty->getSizeInBits() / 8;
2376 uint64_t MemberOffsetInBits =
2379 uint64_t StartBitOffset = MemberOffsetInBits;
2389 uint64_t MemberOffsetInBytes = MemberOffsetInBits / 8;
3105 uint64_t Val = DIE->getElement(1);
lib/CodeGen/AsmPrinter/CodeViewDebug.h 458 void setSymbolSize(const MCSymbol *, uint64_t) override {}
lib/CodeGen/AsmPrinter/DIE.cpp 513 uint64_t Offset = CU->ExprRefedBaseTypes[Index].Die->getOffset();
lib/CodeGen/AsmPrinter/DIEHash.cpp 54 void DIEHash::addULEB128(uint64_t Value) {
383 uint64_t DIEHash::computeCUSignature(StringRef DWOName, const DIE &Die) {
406 uint64_t DIEHash::computeTypeSignature(const DIE &Die) {
lib/CodeGen/AsmPrinter/DIEHash.h 38 uint64_t computeCUSignature(StringRef DWOName, const DIE &Die);
41 uint64_t computeTypeSignature(const DIE &Die);
60 void addULEB128(uint64_t Value);
lib/CodeGen/AsmPrinter/DebugHandlerBase.cpp 143 uint64_t DebugHandlerBase::getBaseTypeSize(const DIType *Ty) {
lib/CodeGen/AsmPrinter/DwarfCompileUnit.cpp 645 SmallVector<uint64_t, 8> Ops;
lib/CodeGen/AsmPrinter/DwarfCompileUnit.h 83 uint64_t DWOId = 0;
277 DD->getDwarfVersion() >= 5 && DD->useSplitDwarf() ? sizeof(uint64_t)
355 uint64_t getDWOId() const { return DWOId; }
356 void setDWOId(uint64_t DwoId) { DWOId = DwoId; }
lib/CodeGen/AsmPrinter/DwarfDebug.cpp 182 void DebugLocDwarfExpression::emitUnsigned(uint64_t Value) {
190 void DebugLocDwarfExpression::emitBaseTypeRef(uint64_t Idx) {
1087 uint64_t ID =
2151 uint64_t Offset = 0;
2162 uint64_t Offset = CU->ExprRefedBaseTypes[Op.getRawOperand(I)].Die->getOffset();
2174 for (uint64_t J = Offset; J < Op.getOperandEndOffset(I); ++J)
2625 uint64_t Size = SymSize[Span.Start];
2865 uint64_t DwarfDebug::makeTypeSignature(StringRef Identifier) {
2903 uint64_t Signature = makeTypeSignature(Identifier);
lib/CodeGen/AsmPrinter/DwarfDebug.h 306 DenseMap<const MCSymbol *, uint64_t> SymSize;
339 DenseMap<const MDNode *, uint64_t> TypeSignatures;
616 static uint64_t makeTypeSignature(StringRef Identifier);
641 void setSymbolSize(const MCSymbol *Sym, uint64_t Size) override {
lib/CodeGen/AsmPrinter/DwarfExpression.cpp 28 void DwarfExpression::emitConstu(uint64_t Value) {
31 else if (Value == std::numeric_limits<uint64_t>::max()) {
194 void DwarfExpression::addUnsignedConstant(uint64_t Value) {
205 const uint64_t *Data = Value.getRawData();
286 uint64_t Offset = Op->getArg(0);
287 uint64_t IntMax = static_cast<uint64_t>(std::numeric_limits<int>::max());
298 uint64_t Offset = Op->getArg(0);
299 uint64_t IntMax = static_cast<uint64_t>(std::numeric_limits<int>::max());
376 uint64_t OpNum = Op->getOp();
531 uint64_t Mask = (1ULL << (uint64_t)SubRegisterSizeInBits) - 1ULL;
550 uint64_t FragmentOffset = Expr->getFragmentInfo()->OffsetInBits;
lib/CodeGen/AsmPrinter/DwarfExpression.h 49 DIExpressionCursor(ArrayRef<uint64_t> Expr)
123 uint64_t OffsetInBits = 0;
185 virtual void emitUnsigned(uint64_t Value) = 0;
189 virtual void emitBaseTypeRef(uint64_t Idx) = 0;
208 void emitConstu(uint64_t Value);
285 void addUnsignedConstant(uint64_t Value);
362 void emitUnsigned(uint64_t Value) override;
364 void emitBaseTypeRef(uint64_t Idx) override;
391 void emitUnsigned(uint64_t Value) override;
393 void emitBaseTypeRef(uint64_t Idx) override;
lib/CodeGen/AsmPrinter/DwarfUnit.cpp 61 void DIEDwarfExpression::emitUnsigned(uint64_t Value) {
69 void DIEDwarfExpression::emitBaseTypeRef(uint64_t Idx) {
233 Optional<dwarf::Form> Form, uint64_t Integer) {
242 uint64_t Integer) {
304 uint64_t Integer) {
370 void DwarfUnit::addDIETypeSignature(DIE &Die, uint64_t Signature) {
549 void DwarfUnit::addConstantValue(DIE &Die, uint64_t Val, const DIType *Ty) {
553 void DwarfUnit::addConstantValue(DIE &Die, bool Unsigned, uint64_t Val) {
575 const uint64_t *Ptr64 = Val.getRawData();
779 uint64_t Size = BTy->getSizeInBits() >> 3;
791 uint64_t Size = DTy->getSizeInBits() >> 3;
877 uint64_t Size = CTy->getSizeInBits() >> 3;
1356 const uint64_t ActualSize = CTy->getSizeInBits();
1361 const uint64_t ElementSize = BaseTy->getSizeInBits();
1476 uint64_t Size = DT->getSizeInBits();
1477 uint64_t FieldSize = DD->getBaseTypeSize(DT);
1479 uint64_t OffsetInBytes;
1488 uint64_t Offset = DT->getOffsetInBits();
1495 uint64_t StartBitOffset = Offset - (Offset & AlignMask);
1500 uint64_t HiMark = (Offset + FieldSize) & AlignMask;
1501 uint64_t FieldOffset = (HiMark - FieldSize);
lib/CodeGen/AsmPrinter/DwarfUnit.h 137 Optional<dwarf::Form> Form, uint64_t Integer);
139 void addUInt(DIEValueList &Block, dwarf::Form Form, uint64_t Integer);
164 void addSectionOffset(DIE &Die, dwarf::Attribute Attribute, uint64_t Integer);
181 void addDIETypeSignature(DIE &Die, uint64_t Signature);
203 void addConstantValue(DIE &Die, uint64_t Val, const DIType *Ty);
204 void addConstantValue(DIE &Die, bool Unsigned, uint64_t Val);
344 uint64_t TypeSignature;
358 void setTypeSignature(uint64_t Signature) { TypeSignature = Signature; }
364 return DwarfUnit::getHeaderSize() + sizeof(uint64_t) + // Type Signature
lib/CodeGen/AsmPrinter/EHStreamer.h 129 void setSymbolSize(const MCSymbol *Sym, uint64_t Size) override {}
lib/CodeGen/AsmPrinter/OcamlGCPrinter.cpp 142 uint64_t FrameSize = FI.getFrameSize();
lib/CodeGen/AsmPrinter/WinCFGuard.h 32 void setSymbolSize(const MCSymbol *Sym, uint64_t Size) override {}
lib/CodeGen/BranchFolding.cpp 586 uint64_t
lib/CodeGen/BranchFolding.h 147 uint64_t getEntryFreq() const;
lib/CodeGen/BranchRelaxation.cpp 102 uint64_t computeBlockSize(const MachineBasicBlock &MBB) const;
168 uint64_t BranchRelaxation::computeBlockSize(const MachineBasicBlock &MBB) const {
169 uint64_t Size = 0;
lib/CodeGen/CodeGenPrepare.cpp 1809 uint64_t Offset2 = Offset.getLimitedValue();
4141 uint64_t TypeSize = DL.getTypeAllocSize(GTI.getIndexedType());
5757 uint64_t ShiftAmt = ShlC->getLimitedValue(BitWidth - 1);
5850 uint64_t TrueWeight, FalseWeight;
5852 uint64_t Max = std::max(TrueWeight, FalseWeight);
5853 uint64_t Sum = TrueWeight + FalseWeight;
6376 uint64_t ScalarCost =
6378 uint64_t VectorCost = StoreExtractCombineCost;
7155 static void scaleWeights(uint64_t &NewTrue, uint64_t &NewFalse) {
7155 static void scaleWeights(uint64_t &NewTrue, uint64_t &NewFalse) {
7156 uint64_t NewMax = (NewTrue > NewFalse) ? NewTrue : NewFalse;
7288 uint64_t TrueWeight, FalseWeight;
7290 uint64_t NewTrueWeight = TrueWeight;
7291 uint64_t NewFalseWeight = TrueWeight + 2 * FalseWeight;
7321 uint64_t TrueWeight, FalseWeight;
7323 uint64_t NewTrueWeight = 2 * TrueWeight + FalseWeight;
7324 uint64_t NewFalseWeight = FalseWeight;
lib/CodeGen/ExpandMemCmp.cpp 63 const uint64_t Size;
65 uint64_t NumLoadsNonOneByte;
66 const uint64_t NumLoadsPerBlockForZeroCmp;
77 LoadEntry(unsigned LoadSize, uint64_t Offset)
84 uint64_t Offset;
103 uint64_t OffsetBytes);
114 MemCmpExpansion(CallInst *CI, uint64_t Size,
119 uint64_t getNumLoads() const { return LoadSequence.size(); }
129 uint64_t Offset = 0;
132 const uint64_t NumLoadsForThisSize = Size / LoadSize;
141 for (uint64_t I = 0; I < NumLoadsForThisSize; ++I) {
165 const uint64_t NumNonOverlappingLoads = Size / MaxLoadSize;
181 uint64_t Offset = 0;
182 for (uint64_t I = 0; I < NumNonOverlappingLoads; ++I) {
203 CallInst *const CI, uint64_t Size,
264 uint64_t OffsetBytes) {
736 const uint64_t SizeVal = SizeCast->getZExtValue();
lib/CodeGen/GlobalISel/CSEInfo.cpp 285 uint64_t Val = Ty.getUniqueRAWLLTData();
lib/CodeGen/GlobalISel/CallLowering.cpp 136 SmallVector<uint64_t, 8> Offsets;
159 SmallVector<uint64_t, 8> Offsets;
lib/CodeGen/GlobalISel/CombinerHelper.cpp 814 std::vector<LLT> &MemOps, unsigned Limit, uint64_t Size, unsigned DstAlign,
lib/CodeGen/GlobalISel/GISelKnownBits.cpp 320 uint64_t Shift = RHSKnown.getConstant().getZExtValue();
lib/CodeGen/GlobalISel/IRTranslator.cpp 870 ArrayRef<uint64_t> Offsets = *VMap.getOffsets(LI);
912 ArrayRef<uint64_t> Offsets = *VMap.getOffsets(*SI.getValueOperand());
942 static uint64_t getOffsetFromIndices(const User &U, const DataLayout &DL) {
969 uint64_t Offset = getOffsetFromIndices(U, *DL);
971 ArrayRef<uint64_t> Offsets = *VMap.getOffsets(*Src);
984 uint64_t Offset = getOffsetFromIndices(U, *DL);
986 ArrayRef<uint64_t> DstOffsets = *VMap.getOffsets(U);
1071 uint64_t ElementSize = DL->getTypeAllocSize(GTI.getIndexedType());
1661 uint64_t Size = Info.memVT.getStoreSize();
2081 SmallVectorImpl<uint64_t> *Offsets) {
lib/CodeGen/GlobalISel/LegalizerHelper.cpp 602 uint64_t SizeOp0 = MRI.getType(MI.getOperand(0).getReg()).getSizeInBits();
603 uint64_t NarrowSize = NarrowTy.getSizeInBits();
688 uint64_t SizeOp1 = SrcTy.getSizeInBits();
707 uint64_t SizeOp1 = MRI.getType(MI.getOperand(1).getReg()).getSizeInBits();
951 uint64_t SrcSize = MRI.getType(MI.getOperand(2).getReg()).getSizeInBits();
2067 uint64_t LargeSplitSize = PowerOf2Floor(DstTy.getSizeInBits());
2068 uint64_t SmallSplitSize = DstTy.getSizeInBits() - LargeSplitSize;
2149 uint64_t LargeSplitSize = PowerOf2Floor(SrcTy.getSizeInBits());
2150 uint64_t SmallSplitSize = SrcTy.getSizeInBits() - LargeSplitSize;
3453 uint64_t NarrowSize = NarrowTy.getSizeInBits();
3463 SmallVector<uint64_t, 2> Indexes;
3467 uint64_t OpStart = MI.getOperand(2).getImm();
3468 uint64_t OpSize = MRI.getType(OpReg).getSizeInBits();
3484 uint64_t SegSize;
3519 uint64_t SizeOp0 = MRI.getType(MI.getOperand(0).getReg()).getSizeInBits();
3520 uint64_t NarrowSize = NarrowTy.getSizeInBits();
3530 SmallVector<uint64_t, 2> Indexes;
3534 uint64_t OpStart = MI.getOperand(3).getImm();
3535 uint64_t OpSize = MRI.getType(OpReg).getSizeInBits();
3553 uint64_t SegSize;
4233 uint64_t Offset = MI.getOperand(3).getImm();
lib/CodeGen/GlobalISel/MachineIRBuilder.cpp 234 const LLT &ValueTy, uint64_t Value) {
512 uint64_t Index) {
536 ArrayRef<uint64_t> Indices) {
lib/CodeGen/GlobalISel/RegBankSelect.cpp 236 uint64_t RegBankSelect::getRepairCost(
526 uint64_t RepairCost = getRepairCost(MO, ValMapping);
533 const uint64_t PercentageForBias = 5;
534 uint64_t Bias = (RepairCost * PercentageForBias + 99) / 100;
549 uint64_t CostForInsertPt = RepairCost;
555 uint64_t PtCost = InsertPt->frequency(*this) * CostForInsertPt;
880 uint64_t RegBankSelect::InstrInsertPoint::frequency(const Pass &P) const {
890 uint64_t RegBankSelect::MBBInsertPoint::frequency(const Pass &P) const {
911 uint64_t RegBankSelect::EdgeInsertPoint::frequency(const Pass &P) const {
940 bool RegBankSelect::MappingCost::addLocalCost(uint64_t Cost) {
950 bool RegBankSelect::MappingCost::addNonLocalCost(uint64_t Cost) {
992 uint64_t ThisLocalAdjust;
993 uint64_t OtherLocalAdjust;
1017 uint64_t ThisNonLocalAdjust = 0;
1018 uint64_t OtherNonLocalAdjust = 0;
1024 uint64_t ThisScaledCost = ThisLocalAdjust * LocalFreq;
1028 uint64_t OtherScaledCost = OtherLocalAdjust * Cost.LocalFreq;
lib/CodeGen/GlobalISel/Utils.cpp 415 uint64_t Imm,
lib/CodeGen/GlobalMerge.cpp 452 uint64_t MergedSize = 0;
lib/CodeGen/InterleavedLoadCombinePass.cpp 198 Polynomial(unsigned BitWidth, uint64_t A, unsigned ErrorMSBs = 0)
555 Polynomial operator-(uint64_t C) const {
562 Polynomial operator+(uint64_t C) const {
lib/CodeGen/IntrinsicLowering.cpp 160 static const uint64_t MaskValues[6] = {
lib/CodeGen/LiveDebugValues.cpp 214 uint64_t RegNo;
216 uint64_t Hash;
225 static_assert((sizeof(Loc) == sizeof(uint64_t)),
570 std::numeric_limits<uint64_t>::max(),
571 std::numeric_limits<uint64_t>::min()};
lib/CodeGen/MIRParser/MIParser.cpp 484 bool getUint64(uint64_t &Result);
1507 static bool verifyScalarSize(uint64_t Size) {
1511 static bool verifyVectorElementCount(uint64_t NumElts) {
1515 static bool verifyAddrSpace(uint64_t AddrSpace) {
1536 uint64_t AS = APSInt(Token.range().drop_front()).getZExtValue();
1553 uint64_t NumElements = Token.integerValue().getZExtValue();
1576 uint64_t AS = APSInt(Token.range().drop_front()).getZExtValue();
1633 const uint64_t Limit = uint64_t(std::numeric_limits<unsigned>::max()) + 1;
1634 uint64_t Val64 = Token.integerValue().getLimitedValue(Limit);
1850 SmallVector<uint64_t, 8> Elements;
2631 bool MIParser::getUint64(uint64_t &Result) {
2872 uint64_t Size;
lib/CodeGen/MachineBlockFrequencyInfo.cpp 231 Optional<uint64_t> MachineBlockFrequencyInfo::getBlockProfileCount(
237 Optional<uint64_t>
238 MachineBlockFrequencyInfo::getProfileCountFromFreq(uint64_t Freq) const {
269 uint64_t MachineBlockFrequencyInfo::getEntryFreq() const {
lib/CodeGen/MachineBlockPlacement.cpp 725 uint64_t EntryFreq) {
773 uint64_t EntryFreq = MBFI->getEntryFreq();
lib/CodeGen/MachineFrameInfo.cpp 50 int MachineFrameInfo::CreateStackObject(uint64_t Size, Align Alignment,
65 int MachineFrameInfo::CreateSpillStackObject(uint64_t Size, Align Alignment) {
82 int MachineFrameInfo::CreateFixedObject(uint64_t Size, int64_t SPOffset,
101 int MachineFrameInfo::CreateFixedSpillStackObject(uint64_t Size,
lib/CodeGen/MachineFunction.cpp 401 MachinePointerInfo PtrInfo, MachineMemOperand::Flags f, uint64_t s,
412 int64_t Offset, uint64_t Size) {
1032 uint64_t StoreSize = DL.getTypeStoreSize(A->getType());
lib/CodeGen/MachineInstr.cpp 568 bool MachineInstr::hasPropertyInBundle(uint64_t Mask, QueryType Type) const {
1233 uint64_t WidthA = MMOa->getSize();
1234 uint64_t WidthB = MMOb->getSize();
lib/CodeGen/MachineOperand.cpp 525 void MachineOperand::printSubRegIdx(raw_ostream &OS, uint64_t Index,
1017 uint64_t s, uint64_t a,
1017 uint64_t s, uint64_t a,
1065 uint64_t MachineMemOperand::getAlignment() const {
lib/CodeGen/MachineOptimizationRemarkEmitter.cpp 33 Optional<uint64_t>
lib/CodeGen/MachinePipeliner.cpp 2259 uint64_t AccessSizeS = (*SI->memoperands_begin())->getSize();
2260 uint64_t AccessSizeD = (*DI->memoperands_begin())->getSize();
2891 const MCSchedModel &SM, SmallVectorImpl<uint64_t> &Masks) {
lib/CodeGen/MachineSink.cpp 612 uint64_t LHSFreq = MBFI ? MBFI->getBlockFreq(L).getFrequency() : 0;
613 uint64_t RHSFreq = MBFI ? MBFI->getBlockFreq(R).getFrequency() : 0;
lib/CodeGen/PrologEpilogInserter.cpp 274 uint64_t StackSize = MFI.getStackSize();
1233 SmallVector<uint64_t, 2> Ops = {dwarf::DW_OP_deref_size, Size};
lib/CodeGen/RegAllocGreedy.cpp 2853 uint64_t ActualEntry = MBFI->getEntryFreq();
2858 uint64_t FixedEntry = 1 << 14;
lib/CodeGen/SafeStack.cpp 163 uint64_t getStaticAllocaAllocationSize(const AllocaInst* AI);
195 bool IsSafeStackAlloca(const Value *AllocaPtr, uint64_t AllocaSize);
198 const Value *AllocaPtr, uint64_t AllocaSize);
199 bool IsAccessSafe(Value *Addr, uint64_t Size, const Value *AllocaPtr,
200 uint64_t AllocaSize);
219 uint64_t SafeStack::getStaticAllocaAllocationSize(const AllocaInst* AI) {
220 uint64_t Size = DL.getTypeAllocSize(AI->getAllocatedType());
230 bool SafeStack::IsAccessSafe(Value *Addr, uint64_t AccessSize,
231 const Value *AllocaPtr, uint64_t AllocaSize) {
235 uint64_t BitWidth = SE.getTypeSizeInBits(Expr->getType());
261 uint64_t AllocaSize) {
279 bool SafeStack::IsSafeStackAlloca(const Value *AllocaPtr, uint64_t AllocaSize) {
387 uint64_t Size = getStaticAllocaAllocationSize(AI);
416 uint64_t Size =
511 uint64_t Size = DL.getTypeStoreSize(Ty);
523 uint64_t Size = getStaticAllocaAllocationSize(AI);
568 uint64_t Size = DL.getTypeStoreSize(Ty);
652 uint64_t TySize = DL.getTypeAllocSize(Ty);
lib/CodeGen/SelectionDAG/DAGCombiner.cpp 6361 uint64_t BitShift = ShiftOp->getZExtValue();
6364 uint64_t ByteShift = BitShift / 8;
6378 uint64_t NarrowByteWidth = NarrowBitWidth / 8;
6397 uint64_t NarrowByteWidth = NarrowBitWidth / 8;
6982 uint64_t ShiftAmt = ShiftC->getLimitedValue();
7245 uint64_t RotAmt = Cst->getAPIntValue().urem(Bitsize);
7381 uint64_t InnerBitwidth = InnerVT.getScalarSizeInBits();
7447 uint64_t C1 = N0C1->getZExtValue();
7448 uint64_t C2 = N1C->getZExtValue();
7468 uint64_t c1 = N0C1->getZExtValue();
7469 uint64_t c2 = N1C->getZExtValue();
7784 uint64_t c1 = N001C->getZExtValue();
7785 uint64_t c2 = N1C->getZExtValue();
7788 uint64_t InnerShiftSize = InnerShiftVT.getScalarSizeInBits();
7824 uint64_t ShiftAmt = N1C->getZExtValue();
7961 uint64_t RotAmt = Cst->getAPIntValue().urem(BitWidth);
10196 uint64_t ShiftAmt = N01->getZExtValue();
10197 uint64_t MemoryWidth = LN0->getMemoryVT().getSizeInBits();
10308 uint64_t PtrOff = ShAmt / 8;
14304 uint64_t Offset = getOffsetFromBase();
14357 uint64_t getOffsetFromBase() const {
14361 uint64_t Offset = Shift / 8;
14726 uint64_t NotMask = ~cast<ConstantSDNode>(V->getOperand(1))->getSExtValue();
14921 uint64_t PtrOff = ShAmt / 8;
16097 uint64_t Val = CFP->getValueAPF().bitcastToAPInt().getZExtValue();
18028 uint64_t SubIdx = IndexC->getZExtValue() / SubVT.getVectorNumElements();
19310 uint64_t InsIdx = cast<ConstantSDNode>(N2)->getZExtValue();
lib/CodeGen/SelectionDAG/FastISel.cpp 631 uint64_t Imm = CI->getSExtValue();
683 uint64_t TotalOffs = 0;
685 uint64_t MaxOffs = 2048;
691 uint64_t Field = cast<ConstantInt>(Idx)->getZExtValue();
711 uint64_t IdxN = CI->getValue().sextOrTrunc(64).getSExtValue();
731 uint64_t ElementSize = DL.getTypeAllocSize(Ty);
961 uint64_t CalleeConstAddr =
966 uint64_t CalleeConstAddr =
1955 unsigned FastISel::fastEmit_i(MVT, MVT, unsigned, uint64_t /*Imm*/) {
1965 bool /*Op0IsKill*/, uint64_t /*Imm*/) {
1974 bool Op0IsKill, uint64_t Imm, MVT ImmType) {
2121 bool Op0IsKill, uint64_t Imm) {
2143 bool Op0IsKill, uint64_t Imm1,
2144 uint64_t Imm2) {
2188 bool Op1IsKill, uint64_t Imm) {
2212 const TargetRegisterClass *RC, uint64_t Imm) {
lib/CodeGen/SelectionDAG/FunctionLoweringInfo.cpp 147 uint64_t TySize = MF->getDataLayout().getTypeAllocSize(Ty);
lib/CodeGen/SelectionDAG/LegalizeDAG.cpp 2417 uint64_t FF;
lib/CodeGen/SelectionDAG/LegalizeFloatTypes.cpp 145 uint64_t words[2] = { CN->getValueAPF().bitcastToAPInt().getRawData()[1],
1588 static const uint64_t TwoE32[] = { 0x41f0000000000000LL, 0 };
1589 static const uint64_t TwoE64[] = { 0x43f0000000000000LL, 0 };
1590 static const uint64_t TwoE128[] = { 0x47f0000000000000LL, 0 };
1591 ArrayRef<uint64_t> Parts;
2153 uint64_t IdxVal = cast<ConstantSDNode>(Idx)->getZExtValue();
2172 uint64_t LoElts = Lo.getValueType().getVectorNumElements();
lib/CodeGen/SelectionDAG/LegalizeIntegerTypes.cpp 2877 uint64_t Scale = N->getConstantOperandVal(2);
2957 uint64_t Part0 = Scale / NVTSize; // Part holding lowest bit needed.
3999 const uint64_t F32TwoE32 = 0x4F800000ULL;
4000 const uint64_t F32TwoE64 = 0x5F800000ULL;
4001 const uint64_t F32TwoE128 = 0x7F800000ULL;
lib/CodeGen/SelectionDAG/LegalizeVectorOps.cpp 1226 uint64_t HWMask = (BW == 64) ? 0x00000000FFFFFFFF : 0x0000FFFF;
lib/CodeGen/SelectionDAG/LegalizeVectorTypes.cpp 1158 uint64_t IdxVal = cast<ConstantSDNode>(Idx)->getZExtValue();
2206 uint64_t LoElts = Lo.getValueType().getVectorNumElements();
2207 uint64_t IdxVal = cast<ConstantSDNode>(Idx)->getZExtValue();
2226 uint64_t IdxVal = cast<ConstantSDNode>(Idx)->getZExtValue();
2231 uint64_t LoElts = Lo.getValueType().getVectorNumElements();
3675 uint64_t IdxVal = cast<ConstantSDNode>(Idx)->getZExtValue();
lib/CodeGen/SelectionDAG/SelectionDAG.cpp 1183 SDValue SelectionDAG::getConstant(uint64_t Val, const SDLoc &DL, EVT VT,
1290 SDValue SelectionDAG::getIntPtrConstant(uint64_t Val, const SDLoc &DL,
1295 SDValue SelectionDAG::getShiftAmountConstant(uint64_t Val, EVT VT,
2296 uint64_t Idx = SubIdx->getZExtValue();
2566 uint64_t Idx = SubIdx->getZExtValue();
2599 uint64_t Idx = SubIdx->getZExtValue();
3829 uint64_t Idx = SubIdx->getZExtValue();
3861 uint64_t Idx = SubIdx->getZExtValue();
5719 uint64_t SrcDelta = 0;
5771 uint64_t Size, unsigned Alignment,
5837 uint64_t SrcOff = 0, DstOff = 0;
5956 uint64_t Size, unsigned Align,
6006 uint64_t SrcOff = 0, DstOff = 0;
6066 uint64_t Size, unsigned Align, bool isVol,
6106 uint64_t DstOff = 0;
6567 MachineMemOperand::Flags Flags, uint64_t Size, const AAMDNodes &AAInfo) {
8097 uint64_t Offset = N.getConstantOperandVal(1);
lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp 1801 SmallVector<uint64_t, 4> Offsets;
3863 uint64_t Offset = DL->getStructLayout(StTy)->getElementOffset(Field);
3955 uint64_t TySize = DL.getTypeAllocSize(Ty);
4035 SmallVector<uint64_t, 4> Offsets;
4131 SmallVector<uint64_t, 4> Offsets;
4170 SmallVector<uint64_t, 4> Offsets;
4207 SmallVector<uint64_t, 4> Offsets;
7860 uint64_t TySize = DL.getTypeAllocSize(Ty);
8992 SmallVector<uint64_t, 4> Offsets;
8999 SmallVector<uint64_t, 4> OldOffsets;
9005 uint64_t Offset = OldOffsets[i];
9028 uint64_t TySize = DL.getTypeAllocSize(CLI.RetTy);
lib/CodeGen/SelectionDAG/SelectionDAGBuilder.h 593 uint64_t StatepointFlags = -1;
lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp 2264 LLVM_ATTRIBUTE_ALWAYS_INLINE static inline uint64_t
2265 GetVBR(uint64_t Val, const unsigned char *MatcherTable, unsigned &Idx) {
2270 uint64_t NextBits;
lib/CodeGen/SelectionDAG/StatepointLowering.cpp 65 SelectionDAGBuilder &Builder, uint64_t Value) {
758 uint64_t Flags = SI.StatepointFlags;
lib/CodeGen/SelectionDAG/TargetLowering.cpp 173 unsigned Limit, uint64_t Size,
921 uint64_t Idx = SubIdx->getZExtValue();
1761 uint64_t ShVal = ShAmt->getZExtValue();
2299 uint64_t Idx = SubIdx->getZExtValue();
4060 uint64_t Offset = 0;
lib/CodeGen/ShrinkWrap.cpp 137 uint64_t EntryFreq;
lib/CodeGen/SpillPlacement.cpp 256 uint64_t Freq = Entry.getFrequency();
257 uint64_t Scaled = (Freq >> 13) + bool(Freq & (1 << 12));
lib/CodeGen/StackMaps.cpp 297 void StackMaps::recordStackMapOpers(const MachineInstr &MI, uint64_t ID,
354 uint64_t FrameSize = HasDynamicFrameSize ? UINT64_MAX : MFI.getStackSize();
lib/CodeGen/SwitchLoweringUtils.cpp 20 uint64_t SwitchCG::getJumpTableRange(const CaseClusterVector &Clusters,
33 uint64_t
38 uint64_t NumCases =
77 uint64_t Range = getJumpTableRange(Clusters,0, N - 1);
78 uint64_t NumCases = getJumpTableNumCases(TotalCases, 0, N - 1);
211 uint64_t Gap = (Low - PreviousHigh).getLimitedValue() - 1;
212 for (uint64_t J = 0; J < Gap; J++)
215 uint64_t ClusterSize = (High - Low).getLimitedValue() + 1;
216 for (uint64_t J = 0; J < ClusterSize; ++J)
425 uint64_t Lo = (Clusters[i].Low->getValue() - LowBound).getZExtValue();
426 uint64_t Hi = (Clusters[i].High->getValue() - LowBound).getZExtValue();
lib/CodeGen/TargetLoweringBase.cpp 477 RTLIB::Libcall RTLIB::getMEMCPY_ELEMENT_UNORDERED_ATOMIC(uint64_t ElementSize) {
494 RTLIB::Libcall RTLIB::getMEMMOVE_ELEMENT_UNORDERED_ATOMIC(uint64_t ElementSize) {
511 RTLIB::Libcall RTLIB::getMEMSET_ELEMENT_UNORDERED_ATOMIC(uint64_t ElementSize) {
lib/CodeGen/TargetLoweringObjectFileImpl.cpp 345 uint64_t Count = cast<ConstantAsMetadata>(E->getOperand(2))
lib/DebugInfo/CodeView/CodeViewRecordIO.cpp 173 Error CodeViewRecordIO::mapEncodedInteger(uint64_t &Value,
300 void CodeViewRecordIO::emitEncodedUnsignedInteger(const uint64_t &Value,
350 Error CodeViewRecordIO::writeEncodedUnsignedInteger(const uint64_t &Value) {
lib/DebugInfo/CodeView/RecordSerialization.cpp 93 uint64_t N;
115 uint64_t &Num) {
lib/DebugInfo/DWARF/DWARFAbbreviationDeclaration.cpp 41 uint64_t* OffsetPtr) {
43 const uint64_t Offset = *OffsetPtr;
151 const uint64_t DIEOffset, const dwarf::Attribute Attr,
161 uint64_t Offset = DIEOffset + CodeByteSize;
lib/DebugInfo/DWARF/DWARFAcceleratorTable.cpp 45 uint64_t Offset = 0;
114 std::pair<uint64_t, dwarf::Tag>
115 AppleAcceleratorTable::readAtoms(uint64_t *HashDataOffset) {
116 uint64_t DieOffset = dwarf::DW_INVALID_OFFSET;
147 Optional<uint64_t> AppleAcceleratorTable::HeaderData::extractOffset(
166 uint64_t *DataOffset) const {
168 uint64_t NameOffset = *DataOffset;
173 uint64_t StringOffset = AccelSection.getRelocatedValue(4, DataOffset);
189 if (Optional<uint64_t> Val = Atom.getAsUnsignedConstant()) {
226 uint64_t Offset = sizeof(Hdr) + Hdr.HeaderDataLength;
227 uint64_t HashesBase = Offset + Hdr.BucketCount * 4;
228 uint64_t OffsetsBase = HashesBase + Hdr.HashCount * 4;
240 uint64_t HashOffset = HashesBase + HashIdx*4;
241 uint64_t OffsetsOffset = OffsetsBase + HashIdx*4;
247 uint64_t DataOffset = AccelSection.getU32(&OffsetsOffset);
268 const AppleAcceleratorTable &AccelTable, uint64_t *Offset) {
287 Optional<uint64_t> AppleAcceleratorTable::Entry::getDIESectionOffset() const {
291 Optional<uint64_t> AppleAcceleratorTable::Entry::getCUOffset() const {
299 if (Optional<uint64_t> Value = Tag->getAsUnsignedConstant())
305 const AppleAcceleratorTable &AccelTable, uint64_t Offset)
336 uint64_t BucketBase = sizeof(Hdr) + Hdr.HeaderDataLength;
337 uint64_t HashesBase = BucketBase + Hdr.BucketCount * 4;
338 uint64_t OffsetsBase = HashesBase + Hdr.HashCount * 4;
340 uint64_t BucketOffset = BucketBase + Bucket * 4;
345 uint64_t HashOffset = HashesBase + HashIdx * 4;
346 uint64_t OffsetsOffset = OffsetsBase + HashIdx * 4;
353 uint64_t DataOffset = AccelSection.getU32(&OffsetsOffset);
354 uint64_t StringOffset = AccelSection.getRelocatedValue(4, &DataOffset);
380 uint64_t *Offset) {
440 DWARFDebugNames::NameIndex::extractAttributeEncoding(uint64_t *Offset) {
452 DWARFDebugNames::NameIndex::extractAttributeEncodings(uint64_t *Offset) {
466 DWARFDebugNames::NameIndex::extractAbbrev(uint64_t *Offset) {
485 uint64_t Offset = Base;
541 Optional<uint64_t> DWARFDebugNames::Entry::getDIEUnitOffset() const {
547 Optional<uint64_t> DWARFDebugNames::Entry::getCUIndex() const {
557 Optional<uint64_t> DWARFDebugNames::Entry::getCUOffset() const {
558 Optional<uint64_t> Index = getCUIndex();
580 uint64_t DWARFDebugNames::NameIndex::getCUOffset(uint32_t CU) const {
582 uint64_t Offset = CUsBase + 4 * CU;
586 uint64_t DWARFDebugNames::NameIndex::getLocalTUOffset(uint32_t TU) const {
588 uint64_t Offset = CUsBase + 4 * (Hdr.CompUnitCount + TU);
592 uint64_t DWARFDebugNames::NameIndex::getForeignTUSignature(uint32_t TU) const {
594 uint64_t Offset =
600 DWARFDebugNames::NameIndex::getEntry(uint64_t *Offset) const {
628 uint64_t StringOffsetOffset = StringOffsetsBase + 4 * (Index - 1);
629 uint64_t EntryOffsetOffset = EntryOffsetsBase + 4 * (Index - 1);
632 uint64_t StringOffset = AS.getRelocatedValue(4, &StringOffsetOffset);
633 uint64_t EntryOffset = AS.getU32(&EntryOffsetOffset);
641 uint64_t BucketOffset = BucketsBase + 4 * Bucket;
647 uint64_t HashOffset = HashesBase + 4 * (Index - 1);
656 uint64_t *Offset) const {
657 uint64_t EntryId = *Offset;
680 uint64_t EntryOffset = NTE.getEntryOffset();
760 uint64_t Offset = 0;
782 Optional<uint64_t>
826 Optional<uint64_t> Offset = findEntryOffsetInCurrentIndex();
881 DWARFDebugNames::getCUNameIndex(uint64_t CUOffset) {
lib/DebugInfo/DWARF/DWARFContext.cpp 140 uint64_t SectionSize = StringOffsetsSection.Data.size();
141 uint64_t Offset = 0;
152 uint64_t ContributionHeader = Contribution->Base;
185 uint64_t StringOffset =
221 uint64_t offset = 0;
222 uint64_t size = StringOffsetsSection.Data.size();
232 uint64_t StringOffset = strOffsetExt.getU32(&offset);
246 uint64_t Offset = 0;
249 uint64_t TableOffset = Offset;
270 uint64_t Offset = 0;
273 uint64_t TableOffset = Offset;
276 uint64_t Length = Rnglists.length();
291 Optional<uint64_t> DumpOffset) {
292 uint64_t Offset = 0;
306 uint64_t EndOffset = Header.length() + Header.getHeaderOffset();
315 std::array<Optional<uint64_t>, DIDT_ID_Count> DumpOffsets) {
317 uint64_t DumpType = DumpOpts.DumpType;
417 uint64_t offset = 0;
476 uint64_t offset = 0;
477 uint64_t strOffset = 0;
486 uint64_t offset = 0;
487 uint64_t strDWOOffset = 0;
496 uint64_t offset = 0;
497 uint64_t strOffset = 0;
518 uint64_t offset = 0;
611 DWARFCompileUnit *DWARFContext::getDWOCompileUnitForHash(uint64_t Hash) {
628 if (Optional<uint64_t> DWOId =
641 DWARFDie DWARFContext::getDIEForOffset(uint64_t Offset) {
858 uint64_t stmtOffset = *Offset + U->getLineTableOffset();
898 DWARFCompileUnit *DWARFContext::getCompileUnitForOffset(uint64_t Offset) {
904 DWARFCompileUnit *DWARFContext::getCompileUnitForAddress(uint64_t Address) {
906 uint64_t CUOffset = getDebugAranges()->findAddress(Address);
911 DWARFContext::DIEsForAddress DWARFContext::getDIEsForAddress(uint64_t Address) {
946 uint64_t Address,
973 static Optional<uint64_t> getTypeSize(DWARFDie Type, uint64_t PointerSize) {
973 static Optional<uint64_t> getTypeSize(DWARFDie Type, uint64_t PointerSize) {
975 if (Optional<uint64_t> Size = SizeAttr->getAsUnsignedConstant())
1001 Optional<uint64_t> BaseSize = getTypeSize(BaseType, PointerSize);
1004 uint64_t Size = *BaseSize;
1010 if (Optional<uint64_t> ElemCount =
1281 uint64_t Address;
1282 uint64_t SectionIndex;
1304 Expected<uint64_t> SymAddrOrErr = Sym->getAddress();
1333 if (uint64_t SectionLoadAddress = L->getSectionLoadAddress(*RSec))
1645 bool (*Supports)(uint64_t);
1704 uint64_t Pos) const override {
lib/DebugInfo/DWARF/DWARFDataExtractor.cpp 15 uint64_t DWARFDataExtractor::getRelocatedValue(uint32_t Size, uint64_t *Off,
15 uint64_t DWARFDataExtractor::getRelocatedValue(uint32_t Size, uint64_t *Off,
16 uint64_t *SecNdx,
23 uint64_t A = getUnsigned(Off, Size, Err);
28 uint64_t R = E->Resolver(E->Reloc, E->SymbolValue, A);
34 Optional<uint64_t>
35 DWARFDataExtractor::getEncodedPointer(uint64_t *Offset, uint8_t Encoding,
36 uint64_t PCRelOffset) const {
40 uint64_t Result = 0;
41 uint64_t OldOffset = *Offset;
lib/DebugInfo/DWARF/DWARFDebugAbbrev.cpp 29 uint64_t *OffsetPtr) {
31 const uint64_t BeginOffset = *OffsetPtr;
85 uint64_t Offset = 0;
90 uint64_t CUAbbrOffset = Offset;
114 DWARFDebugAbbrev::getAbbreviationDeclarationSet(uint64_t CUAbbrOffset) const {
127 uint64_t Offset = CUAbbrOffset;
lib/DebugInfo/DWARF/DWARFDebugAddr.cpp 22 uint64_t *OffsetPtr,
62 uint64_t End = HeaderOffset + getLength();
154 for (uint64_t Addr : Addrs)
160 Expected<uint64_t> DWARFDebugAddrTable::getAddrEntry(uint32_t Index) const {
lib/DebugInfo/DWARF/DWARFDebugArangeSet.cpp 33 DWARFDebugArangeSet::extract(DataExtractor data, uint64_t *offset_ptr) {
lib/DebugInfo/DWARF/DWARFDebugAranges.cpp 26 uint64_t Offset = 0;
30 uint64_t CUOffset = Set.getCompileUnitDIEOffset();
32 uint64_t LowPC = Desc.Address;
33 uint64_t HighPC = Desc.getEndAddress();
54 uint64_t CUOffset = CU->getOffset();
74 void DWARFDebugAranges::appendRange(uint64_t CUOffset, uint64_t LowPC,
74 void DWARFDebugAranges::appendRange(uint64_t CUOffset, uint64_t LowPC,
75 uint64_t HighPC) {
83 std::multiset<uint64_t> ValidCUs; // Maintain the set of CUs describing
86 uint64_t PrevAddress = -1ULL;
116 uint32_t DWARFDebugAranges::findAddress(uint64_t Address) const {
lib/DebugInfo/DWARF/DWARFDebugFrame.cpp 37 Error CFIProgram::parse(DWARFDataExtractor Data, uint64_t *Offset,
38 uint64_t EndOffset) {
47 uint64_t Op1 = Opcode & DWARF_CFI_PRIMARY_OPERAND_MASK;
219 unsigned OperandIdx, uint64_t Operand) const {
328 bool IsEH, uint64_t EHFrameAddress)
334 uint64_t Offset, int Length) {
347 static void LLVM_ATTRIBUTE_NORETURN ReportError(uint64_t StartOffset,
357 uint64_t Offset = 0;
358 DenseMap<uint64_t, CIE *> CIEs;
361 uint64_t StartOffset = Offset;
364 uint64_t Length = Data.getRelocatedValue(4, &Offset);
365 uint64_t Id;
379 uint64_t StartStructureOffset = Offset;
380 uint64_t EndStructureOffset = Offset + Length;
395 uint64_t CodeAlignmentFactor = Data.getULEB128(&Offset);
397 uint64_t ReturnAddressRegister =
404 Optional<uint64_t> Personality;
407 Optional<uint64_t> AugmentationLength;
408 uint64_t StartAugmentationOffset;
409 uint64_t EndAugmentationOffset;
473 uint64_t CIEPointer = Id;
474 uint64_t InitialLocation = 0;
475 uint64_t AddressRange = 0;
476 Optional<uint64_t> LSDAAddress;
498 uint64_t AugmentationLength = Data.getULEB128(&Offset);
500 uint64_t EndAugmentationOffset = Offset + AugmentationLength;
534 FrameEntry *DWARFDebugFrame::getEntryAtOffset(uint64_t Offset) const {
544 Optional<uint64_t> Offset) const {
lib/DebugInfo/DWARF/DWARFDebugInfoEntry.cpp 22 uint64_t *OffsetPtr) {
24 const uint64_t UEndOffset = U.getNextUnitOffset();
28 bool DWARFDebugInfoEntry::extractFast(const DWARFUnit &U, uint64_t *OffsetPtr,
30 uint64_t UEndOffset, uint32_t D) {
35 uint64_t AbbrCode = DebugInfoData.getULEB128(OffsetPtr);
lib/DebugInfo/DWARF/DWARFDebugLine.cpp 68 bool DWARFDebugLine::Prologue::hasFileAtIndex(uint64_t FileIndex) const {
78 DWARFDebugLine::Prologue::getFileNameEntry(uint64_t Index) const {
158 uint64_t *OffsetPtr, uint64_t EndPrologueOffset,
158 uint64_t *OffsetPtr, uint64_t EndPrologueOffset,
227 uint64_t *OffsetPtr, uint64_t EndPrologueOffset,
227 uint64_t *OffsetPtr, uint64_t EndPrologueOffset,
327 uint64_t *OffsetPtr,
330 const uint64_t PrologueOffset = *OffsetPtr;
360 const uint64_t EndPrologueOffset = PrologueLength + *OffsetPtr;
504 DWARFDebugLine::getLineTable(uint64_t Offset) const {
512 DWARFDataExtractor &DebugLineData, uint64_t Offset, const DWARFContext &Ctx,
532 DWARFDataExtractor &DebugLineData, uint64_t *OffsetPtr,
535 const uint64_t DebugLineOffset = *OffsetPtr;
551 const uint64_t EndOffset =
575 uint64_t Len = DebugLineData.getULEB128(OffsetPtr);
576 uint64_t ExtOffset = *OffsetPtr;
713 uint64_t AddrOffset =
771 uint64_t AddrOffset =
827 uint64_t Value = DebugLineData.getULEB128(OffsetPtr);
870 uint64_t AddrOffset =
962 object::SectionedAddress Address, uint64_t Size,
978 object::SectionedAddress Address, uint64_t Size,
982 uint64_t EndAddr = Address.Address + Size;
1025 Optional<StringRef> DWARFDebugLine::LineTable::getSourceByIndex(uint64_t FileIndex,
1044 uint64_t FileIndex, StringRef CompDir, FileLineInfoKind Kind,
1137 uint64_t OldOffset = Offset;
1151 uint64_t OldOffset = Offset;
1158 DWARFUnit *DWARFDebugLine::SectionParser::prepareToParse(uint64_t Offset) {
1167 void DWARFDebugLine::SectionParser::moveToNextTable(uint64_t OldOffset,
lib/DebugInfo/DWARF/DWARFDebugLoc.cpp 38 void DWARFDebugLoc::LocationList::dump(raw_ostream &OS, uint64_t BaseAddress,
58 DWARFDebugLoc::getLocationListAtOffset(uint64_t Offset) const {
67 Optional<uint64_t> Offset) const {
89 uint64_t *Offset) {
131 uint64_t Offset = 0;
144 uint64_t *Offset, unsigned Version) {
203 void DWARFDebugLoclists::parse(DataExtractor data, uint64_t Offset, uint64_t EndOffset, uint16_t Version) {
203 void DWARFDebugLoclists::parse(DataExtractor data, uint64_t Offset, uint64_t EndOffset, uint16_t Version) {
218 DWARFDebugLoclists::getLocationListAtOffset(uint64_t Offset) const {
226 void DWARFDebugLoclists::Entry::dump(raw_ostream &OS, uint64_t &BaseAddr,
299 void DWARFDebugLoclists::LocationList::dump(raw_ostream &OS, uint64_t BaseAddr,
318 void DWARFDebugLoclists::dump(raw_ostream &OS, uint64_t BaseAddr,
320 Optional<uint64_t> Offset) const {
lib/DebugInfo/DWARF/DWARFDebugMacro.cpp 56 uint64_t Offset = 0;
lib/DebugInfo/DWARF/DWARFDebugPubTable.cpp 26 uint64_t Offset = 0;
lib/DebugInfo/DWARF/DWARFDebugRangeList.cpp 26 uint64_t *offset_ptr) {
41 uint64_t prev_offset = *offset_ptr;
lib/DebugInfo/DWARF/DWARFDebugRnglists.cpp 19 Error RangeListEntry::extract(DWARFDataExtractor Data, uint64_t End,
20 uint64_t *OffsetPtr) {
35 uint64_t PreviousOffset = *OffsetPtr - 1;
51 uint64_t PreviousOffset = *OffsetPtr - 1;
63 uint64_t PreviousOffset = *OffsetPtr - 1;
94 uint64_t PreviousOffset = *OffsetPtr - 1;
175 uint64_t &CurrentBase, DIDumpOptions DumpOpts,
235 uint64_t Start = 0;
lib/DebugInfo/DWARF/DWARFDie.cpp 40 static void dumpApplePropertyAttribute(raw_ostream &OS, uint64_t Val) {
43 uint64_t Shift = countTrailingZeros(Val);
45 uint64_t Bit = 1ULL << Shift;
97 uint64_t BaseAddr = 0;
112 uint64_t Offset = *FormValue.getAsSectionOffset();
148 Optional<uint64_t> Bound;
151 Optional<uint64_t> LB;
152 Optional<uint64_t> Count;
153 Optional<uint64_t> UB;
163 if (Optional<uint64_t> LC = LV->getAsUnsignedConstant())
266 uint64_t *OffsetPtr, dwarf::Attribute Attr,
297 } else if (Optional<uint64_t> Val = FormValue.getAsUnsignedConstant())
308 uint64_t LowPC, HighPC, Index;
334 if (Optional<uint64_t> OptVal = FormValue.getAsUnsignedConstant())
440 Optional<uint64_t> DWARFDie::getRangesBaseAttribute() const {
444 Optional<uint64_t> DWARFDie::getHighPC(uint64_t LowPC) const {
444 Optional<uint64_t> DWARFDie::getHighPC(uint64_t LowPC) const {
458 bool DWARFDie::getLowAndHighPC(uint64_t &LowPC, uint64_t &HighPC,
458 bool DWARFDie::getLowAndHighPC(uint64_t &LowPC, uint64_t &HighPC,
459 uint64_t &SectionIndex) const {
477 uint64_t LowPC, HighPC, Index;
506 bool DWARFDie::addressRangeContainsAddress(const uint64_t Address) const {
540 uint64_t DWARFDie::getDeclLine() const {
570 const uint64_t Offset = getOffset();
571 uint64_t offset = Offset;
687 uint64_t ParseOffset = AttrValue.Offset;
lib/DebugInfo/DWARF/DWARFExpression.cpp 122 uint8_t AddressSize, uint64_t Offset) {
206 uint64_t Operands[2],
211 uint64_t DwarfRegNum;
273 uint64_t Offset = Operands[Operand];
292 uint64_t FailOffset = Op.getEndOffset();
lib/DebugInfo/DWARF/DWARFFormValue.cpp 84 DWARFFormValue DWARFFormValue::createFromUValue(dwarf::Form F, uint64_t V) {
101 uint64_t *OffsetPtr) {
109 uint64_t *OffsetPtr,
118 uint64_t size = DebugInfoData.getULEB128(OffsetPtr);
237 uint64_t *OffsetPtr, dwarf::FormParams FP,
375 uint64_t SectionIndex) {
389 uint64_t UValue = Value.uval;
593 uint64_t Offset = Value.uval;
605 Optional<uint64_t> StrOffset = U->getStringOffsetSectionItem(Offset);
622 Optional<uint64_t> DWARFFormValue::getAsAddress() const {
644 Optional<uint64_t> DWARFFormValue::getAsReference() const {
671 Optional<uint64_t> DWARFFormValue::getAsSectionOffset() const {
677 Optional<uint64_t> DWARFFormValue::getAsUnsignedConstant() const {
710 Optional<uint64_t> DWARFFormValue::getAsCStringOffset() const {
716 Optional<uint64_t> DWARFFormValue::getAsReferenceUVal() const {
lib/DebugInfo/DWARF/DWARFGdbIndex.cpp 115 uint64_t Offset = 0;
134 uint64_t CuOffset = Data.getU64(&Offset);
135 uint64_t CuLength = Data.getU64(&Offset);
144 uint64_t CuOffset = Data.getU64(&Offset);
145 uint64_t TypeOffset = Data.getU64(&Offset);
146 uint64_t Signature = Data.getU64(&Offset);
153 uint64_t LowAddress = Data.getU64(&Offset);
154 uint64_t HighAddress = Data.getU64(&Offset);
lib/DebugInfo/DWARF/DWARFListTable.cpp 19 uint64_t *OffsetPtr) {
40 uint64_t FullLength =
49 uint64_t End = HeaderOffset + FullLength;
112 uint64_t DWARFListTableHeader::length() const {
lib/DebugInfo/DWARF/DWARFUnit.cpp 104 uint64_t Offset = 0;
129 DWARFUnit *DWARFUnitVector::getUnitForOffset(uint64_t Offset) const {
212 uint64_t Offset = AddrOffsetSectionBase + Index * getAddressByteSize();
217 uint64_t Section;
218 uint64_t Address = DA.getRelocatedAddress(&Offset, &Section);
222 Optional<uint64_t> DWARFUnit::getStringOffsetSectionItem(uint32_t Index) const {
226 uint64_t Offset = getStringOffsetsBase() + Index * ItemSize;
236 uint64_t *offset_ptr,
309 parseRngListTableHeader(DWARFDataExtractor &DA, uint64_t Offset,
315 uint64_t HeaderSize = DWARFListTableHeader::getHeaderSize(Format);
328 Error DWARFUnit::extractRangeList(uint64_t RangeListOffset,
334 uint64_t ActualRangeListOffset = RangeSectionBase + RangeListOffset;
359 uint64_t DIEOffset = getOffset() + getHeaderSize();
360 uint64_t NextCUOffset = getNextUnitOffset();
427 if (Optional<uint64_t> DWOId = toUnsigned(UnitDie.find(DW_AT_GNU_dwo_id)))
555 DWARFUnit::findRnglistFromOffset(uint64_t Offset) {
633 DWARFDie DWARFUnit::getSubroutineForAddress(uint64_t Address) {
648 DWARFUnit::getInlinedChainForAddress(uint64_t Address,
783 uint64_t ValidationSize = alignTo(Size, EntrySize);
794 parseDWARF64StringOffsetsTableHeader(DWARFDataExtractor &DA, uint64_t Offset) {
801 uint64_t Size = DA.getU64(&Offset);
812 parseDWARF32StringOffsetsTableHeader(DWARFDataExtractor &DA, uint64_t Offset) {
831 uint64_t Offset) {
858 uint64_t Offset;
877 uint64_t Offset = 0;
lib/DebugInfo/DWARF/DWARFUnitIndex.cpp 21 uint64_t *OffsetPtr) {
48 uint64_t Offset = 0;
188 const DWARFUnitIndex::Entry *DWARFUnitIndex::getFromHash(uint64_t S) const {
189 uint64_t Mask = Header.NumBuckets - 1;
lib/DebugInfo/DWARF/DWARFVerifier.cpp 101 uint64_t *Offset, unsigned UnitIndex,
103 uint64_t AbbrOffset, Length;
114 uint64_t OffsetStart = *Offset;
278 uint64_t OffsetStart = 0, Offset = 0, UnitIdx = 0;
543 Optional<uint64_t> RefVal = AttrValue.Value.getAsReference();
567 Optional<uint64_t> RefVal = AttrValue.Value.getAsReference();
611 uint64_t Offset =
621 uint64_t StringOffset = *DieCU->getStringOffsetSectionItem(Index);
643 for (const std::pair<uint64_t, std::set<uint64_t>> &Pair :
643 for (const std::pair<uint64_t, std::set<uint64_t>> &Pair :
658 std::map<uint64_t, DWARFDie> StmtListToDie;
667 const uint64_t LineTableOffset = *StmtSectionOffset;
747 uint64_t PrevAddress = 0;
834 uint64_t BucketsOffset =
836 uint64_t HashesBase = BucketsOffset + NumBuckets * 4;
837 uint64_t OffsetsBase = HashesBase + NumHashes * 4;
857 uint64_t HashOffset = HashesBase + 4 * HashIdx;
858 uint64_t DataOffset = OffsetsBase + 4 * HashIdx;
860 uint64_t HashDataOffset = AccelSectionData.getU32(&DataOffset);
862 sizeof(uint64_t))) {
869 uint64_t StrpOffset;
870 uint64_t StringOffset;
872 uint64_t Offset;
917 DenseMap<uint64_t, uint64_t> CUMap;
917 DenseMap<uint64_t, uint64_t> CUMap;
918 const uint64_t NotIndexed = std::numeric_limits<uint64_t>::max();
918 const uint64_t NotIndexed = std::numeric_limits<uint64_t>::max();
933 uint64_t Offset = NI.getCUOffset(CU);
1214 uint64_t EntryID = NTE.getEntryOffset();
1215 uint64_t NextEntryID = EntryID;
1227 uint64_t CUOffset = NI.getCUOffset(CUIndex);
1228 uint64_t DIEOffset = CUOffset + *EntryOr->getDIEUnitOffset();
1300 } else if (Optional<uint64_t> Offset = Location->getAsSectionOffset()) {
1404 uint64_t DieUnitOffset = Die.getOffset() - Die.getDwarfUnit()->getOffset();
lib/DebugInfo/GSYM/FileWriter.cpp 27 void FileWriter::writeULEB(uint64_t U) {
48 void FileWriter::writeU64(uint64_t U) {
49 const uint64_t Swapped = support::endian::byte_swap(U, ByteOrder);
53 void FileWriter::fixup32(uint32_t U, uint64_t Offset) {
67 uint64_t FileWriter::tell() {
lib/DebugInfo/GSYM/FunctionInfo.cpp 33 uint64_t BaseAddr) {
36 uint64_t Offset = 0;
95 llvm::Expected<uint64_t> FunctionInfo::encode(FileWriter &O) const {
101 const uint64_t FuncInfoOffset = O.tell();
lib/DebugInfo/GSYM/GsymCreator.cpp 65 const uint64_t MinAddr = Funcs.front().startAddress();
66 const uint64_t MaxAddr = Funcs.back().startAddress();
67 const uint64_t AddrDelta = MaxAddr - MinAddr;
101 uint64_t AddrOffset = FuncInfo.startAddress() - Hdr.BaseAddress;
139 if (Expected<uint64_t> OffsetOrErr = FuncInfo.encode(O))
149 uint64_t Offset = 0;
lib/DebugInfo/GSYM/GsymReader.cpp 142 uint64_t Offset = alignTo(sizeof(Header), Hdr->AddrOffSize);
210 Optional<uint64_t> GsymReader::getAddress(size_t Index) const {
215 case 8: return addressForIndex<uint64_t>(Index);
220 Optional<uint64_t> GsymReader::getAddressInfoOffset(size_t Index) const {
227 Expected<uint64_t>
228 GsymReader::getAddressIndex(const uint64_t Addr) const {
232 const uint64_t AddrOffset = Addr - Hdr->BaseAddress;
237 case 8: return getAddressOffsetIndex<uint64_t>(AddrOffset);
245 llvm::Expected<FunctionInfo> GsymReader::getFunctionInfo(uint64_t Addr) const {
246 Expected<uint64_t> AddressIndex = getAddressIndex(Addr);
253 if (Optional<uint64_t> OptAddr = getAddress(*AddressIndex)) {
lib/DebugInfo/GSYM/Header.cpp 65 uint64_t Offset = 0;
lib/DebugInfo/GSYM/InlineInfo.cpp 39 static bool getInlineStackHelper(const InlineInfo &II, uint64_t Addr,
56 llvm::Optional<InlineInfo::InlineArray> InlineInfo::getInlineStack(uint64_t Addr) const {
73 static llvm::Expected<InlineInfo> decode(DataExtractor &Data, uint64_t &Offset,
74 uint64_t BaseAddr) {
117 uint64_t BaseAddr) {
118 uint64_t Offset = 0;
122 llvm::Error InlineInfo::encode(FileWriter &O, uint64_t BaseAddr) const {
139 const uint64_t ChildBaseAddr = Ranges[0].Start;
lib/DebugInfo/GSYM/LineTable.cpp 35 int64_t LineDelta, uint64_t AddrDelta,
54 static llvm::Error parse(DataExtractor &Data, uint64_t BaseAddr,
56 uint64_t Offset = 0;
109 uint64_t AddrDelta = (AdjustedOp / LineRange);
122 llvm::Error LineTable::encode(FileWriter &Out, uint64_t BaseAddr) const {
210 const uint64_t AddrDelta = Curr.Addr - Prev.Addr;
252 uint64_t BaseAddr) {
266 LineEntry LineTable::lookup(DataExtractor &Data, uint64_t BaseAddr, uint64_t Addr) {
266 LineEntry LineTable::lookup(DataExtractor &Data, uint64_t BaseAddr, uint64_t Addr) {
lib/DebugInfo/GSYM/Range.cpp 38 bool AddressRanges::contains(uint64_t Addr) const {
70 void AddressRange::encode(FileWriter &O, uint64_t BaseAddr) const {
76 void AddressRange::decode(DataExtractor &Data, uint64_t BaseAddr,
77 uint64_t &Offset) {
78 const uint64_t AddrOffset = Data.getULEB128(&Offset);
79 const uint64_t Size = Data.getULEB128(&Offset);
80 const uint64_t StartAddr = BaseAddr + AddrOffset;
85 void AddressRanges::encode(FileWriter &O, uint64_t BaseAddr) const {
93 void AddressRanges::decode(DataExtractor &Data, uint64_t BaseAddr,
94 uint64_t &Offset) {
96 uint64_t NumRanges = Data.getULEB128(&Offset);
lib/DebugInfo/MSF/MSFBuilder.cpp 346 uint64_t FileSize = Layout.SB->BlockSize * Layout.SB->NumBlocks;
lib/DebugInfo/MSF/MSFCommon.cpp 36 uint64_t NumDirectoryBlocks =
lib/DebugInfo/PDB/Native/NativeEnumInjectedSources.cpp 46 uint64_t getCodeByteSize() const override { return Entry.FileSize; }
lib/DebugInfo/PDB/Native/NativeRawSymbol.cpp 50 PDB_NameSearchFlags Flags, uint64_t VA) const {
72 NativeRawSymbol::findInlineFramesByVA(uint64_t VA) const {
93 NativeRawSymbol::findInlineeLinesByVA(uint64_t VA, uint32_t Length) const {
302 uint64_t NativeRawSymbol::getTargetVirtualAddress() const {
392 uint64_t NativeRawSymbol::getLength() const {
396 uint64_t NativeRawSymbol::getLiveRangeLength() const {
400 uint64_t NativeRawSymbol::getVirtualAddress() const {
lib/DebugInfo/PDB/Native/NativeSession.cpp 83 uint64_t NativeSession::getLoadAddress() const { return 0; }
85 bool NativeSession::setLoadAddress(uint64_t Address) { return false; }
96 bool NativeSession::addressForVA(uint64_t VA, uint32_t &Section,
107 NativeSession::findSymbolByAddress(uint64_t Address, PDB_SymType Type) const {
129 NativeSession::findLineNumbersByAddress(uint64_t Address,
lib/DebugInfo/PDB/Native/NativeSymbolEnumerator.cpp 98 uint64_t U = Record.Value.getZExtValue();
113 uint64_t U = Record.Value.getZExtValue();
lib/DebugInfo/PDB/Native/NativeTypeArray.cpp 66 uint64_t NativeTypeArray::getLength() const { return Record.Size; }
lib/DebugInfo/PDB/Native/NativeTypeBuiltin.cpp 18 uint64_t L)
38 uint64_t NativeTypeBuiltin::getLength() const { return Length; }
lib/DebugInfo/PDB/Native/NativeTypeEnum.cpp 293 uint64_t NativeTypeEnum::getLength() const {
lib/DebugInfo/PDB/Native/NativeTypePointer.cpp 78 uint64_t NativeTypePointer::getLength() const {
lib/DebugInfo/PDB/Native/NativeTypeUDT.cpp 99 uint64_t NativeTypeUDT::getLength() const {
lib/DebugInfo/PDB/Native/PDBFile.cpp 79 uint64_t PDBFile::getBlockMapOffset() const {
106 uint64_t StreamBlockOffset = msf::blockToOffset(BlockIndex, getBlockSize());
203 uint64_t NumExpectedStreamBlocks =
218 uint64_t BlockEndOffset =
lib/DebugInfo/PDB/Native/PDBFileBuilder.cpp 324 uint64_t InfoStreamFileOffset =
335 uint64_t Digest =
lib/DebugInfo/PDB/PDBContext.cpp 26 ErrorOr<uint64_t> ImageBase = Object.getImageBase();
99 std::string PDBContext::getFunctionName(uint64_t Address,
lib/DebugInfo/Symbolize/SymbolizableObjectFile.cpp 52 uint64_t OpdAddress = 0;
72 std::vector<std::pair<SymbolRef, uint64_t>> Symbols =
147 uint64_t ImageBase = CoffObj->getImageBase();
152 uint64_t SymbolStart = ImageBase + Export.Offset;
153 uint64_t SymbolSize = NextOffset - Export.Offset;
161 uint64_t SymbolSize,
163 uint64_t OpdAddress) {
175 Expected<uint64_t> SymbolAddressOrErr = Symbol.getAddress();
178 uint64_t SymbolAddress = *SymbolAddressOrErr;
191 uint64_t OpdOffset = SymbolAddress - OpdAddress;
216 uint64_t SymbolizableObjectFile::getModulePreferredBase() const {
223 uint64_t Address,
225 uint64_t &Addr,
226 uint64_t &Size) const {
265 uint64_t Start, Size;
290 uint64_t Start, Size;
318 uint64_t SymbolizableObjectFile::getModuleSectionIndexForAddress(
319 uint64_t Address) const {
lib/DebugInfo/Symbolize/SymbolizableObjectFile.h 52 uint64_t getModulePreferredBase() const override;
58 bool getNameFromSymbolTable(object::SymbolRef::Type Type, uint64_t Address,
59 std::string &Name, uint64_t &Addr,
60 uint64_t &Size) const;
64 uint64_t SymbolSize,
66 uint64_t OpdAddress = 0);
70 uint64_t getModuleSectionIndexForAddress(uint64_t Address) const;
70 uint64_t getModuleSectionIndexForAddress(uint64_t Address) const;
77 uint64_t Addr;
80 uint64_t Size;
lib/DebugInfo/Symbolize/Symbolize.cpp 262 uint64_t Offset = 0;
lib/Demangle/MicrosoftDemangle.cpp 893 std::pair<uint64_t, bool> Demangler::demangleNumber(StringView &MangledName) {
897 uint64_t Ret = MangledName[0] - '0' + 1;
902 uint64_t Ret = 0;
920 uint64_t Demangler::demangleUnsigned(StringView &MangledName) {
922 uint64_t Number = 0;
931 uint64_t Number = 0;
1209 uint64_t NumBytes) {
1278 uint64_t StringByteSize;
1436 uint64_t Number = 0;
2074 uint64_t Rank = 0;
2086 for (uint64_t I = 0; I < Rank; ++I) {
2087 uint64_t D = 0;
2284 uint64_t Value = 0;
lib/ExecutionEngine/ExecutionEngine.cpp 174 uint64_t ExecutionEngineState::RemoveMapping(StringRef Name) {
176 uint64_t OldVal;
211 void ExecutionEngine::addGlobalMapping(StringRef Name, uint64_t Addr) {
217 uint64_t &CurVal = EEState.getGlobalAddressMap()[Name];
244 uint64_t ExecutionEngine::updateGlobalMapping(const GlobalValue *GV,
250 uint64_t ExecutionEngine::updateGlobalMapping(StringRef Name, uint64_t Addr) {
250 uint64_t ExecutionEngine::updateGlobalMapping(StringRef Name, uint64_t Addr) {
260 uint64_t &CurVal = Map[Name];
261 uint64_t OldVal = CurVal;
277 uint64_t ExecutionEngine::getAddressToGlobalIfAvailable(StringRef S) {
279 uint64_t Address = 0;
309 uint64_t Addr = I->second;
315 std::map<uint64_t, std::string>::iterator I =
726 uint64_t v;
1094 uint64_t y[2];
lib/ExecutionEngine/ExecutionEngineBindings.cpp 303 uint64_t LLVMGetGlobalValueAddress(LLVMExecutionEngineRef EE, const char *Name) {
307 uint64_t LLVMGetFunctionAddress(LLVMExecutionEngineRef EE, const char *Name) {
lib/ExecutionEngine/GDBRegistrationListener.cpp 35 uint64_t symfile_size;
lib/ExecutionEngine/Interpreter/Execution.cpp 1052 uint64_t Total = 0;
1178 static unsigned getShiftAmount(uint64_t orgShiftAmount,
1201 uint64_t shiftAmount = Src2.AggregateVal[i].IntVal.getZExtValue();
1208 uint64_t shiftAmount = Src2.IntVal.getZExtValue();
1228 uint64_t shiftAmount = Src2.AggregateVal[i].IntVal.getZExtValue();
1235 uint64_t shiftAmount = Src2.IntVal.getZExtValue();
1255 uint64_t shiftAmount = Src2.AggregateVal[i].IntVal.getZExtValue();
1262 uint64_t shiftAmount = Src2.IntVal.getZExtValue();
lib/ExecutionEngine/JITLink/EHFrameSupport.cpp 53 uint64_t ExtendedLengthField;
137 static_assert(sizeof(JITTargetAddress) == sizeof(uint64_t),
186 uint64_t CodeAlignmentFactor = 0;
210 uint64_t AugmentationDataLength = 0;
328 uint64_t AugmentationDataSize;
lib/ExecutionEngine/JITLink/JITLinkGeneric.cpp 192 uint64_t SegAlign = 1;
202 uint64_t SegZeroFillStart = SegContentSize;
203 uint64_t SegZeroFillEnd = SegZeroFillStart;
lib/ExecutionEngine/JITLink/JITLinkGeneric.h 85 uint64_t Delta = (B.getAlignmentOffset() - Addr) % B.getAlignment();
91 uint64_t PAddr = static_cast<uint64_t>(reinterpret_cast<uintptr_t>(P));
92 uint64_t Delta = (B.getAlignmentOffset() - PAddr) % B.getAlignment();
lib/ExecutionEngine/JITLink/JITLinkMemoryManager.cpp 113 uint64_t SegmentSize = alignTo(Seg.getContentSize() + Seg.getZeroFillSize(),
lib/ExecutionEngine/JITLink/MachOLinkGraphBuilder.cpp 209 uint64_t Value;
284 Section &GraphSec, uint64_t Address, const char *Data, uint64_t Size,
284 Section &GraphSec, uint64_t Address, const char *Data, uint64_t Size,
lib/ExecutionEngine/JITLink/MachOLinkGraphBuilder.h 38 uint64_t CIEAlignment, uint64_t FDEAlignment,
38 uint64_t CIEAlignment, uint64_t FDEAlignment,
96 uint64_t CIEAlignment;
97 uint64_t FDEAlignment;
106 NormalizedSymbol(Optional<StringRef> Name, uint64_t Value, uint8_t Type,
120 uint64_t Value = 0;
137 uint64_t Address = 0;
138 uint64_t Size = 0;
139 uint64_t Alignment = 0;
188 Expected<NormalizedSymbol &> findSymbolByIndex(uint64_t Index) {
237 void addSectionStartSymAndBlock(Section &GraphSec, uint64_t Address,
238 const char *Data, uint64_t Size,
lib/ExecutionEngine/JITLink/MachO_arm64.cpp 117 std::tuple<MachOARM64RelocationKind, Symbol *, uint64_t>;
156 uint64_t FixupValue = 0;
181 uint64_t Addend;
248 uint64_t Addend = 0;
569 uint64_t Value = E.getTarget().getAddress() + E.getAddend();
576 uint64_t Value = E.getTarget().getAddress() + E.getAddend();
583 uint64_t TargetPage =
585 uint64_t PCPage = B.getAddress() & ~static_cast<uint64_t>(4096 - 1);
602 uint64_t TargetOffset = E.getTarget().getAddress() & 0xfff;
672 uint64_t NullValue = 0;
lib/ExecutionEngine/JITLink/MachO_x86_64.cpp 119 using PairRelocInfo = std::tuple<MachOX86RelocationKind, Symbol *, uint64_t>;
158 uint64_t FixupValue = 0;
183 uint64_t Addend;
256 uint64_t Addend = 0;
500 uint64_t Value = E.getTarget().getAddress() + E.getAddend();
548 uint64_t Value = E.getTarget().getAddress() + E.getAddend();
561 uint64_t NullValue = 0;
lib/ExecutionEngine/MCJIT/MCJIT.cpp 316 uint64_t MCJIT::getSymbolAddress(const std::string &Name,
390 uint64_t MCJIT::getGlobalValueAddress(const std::string &Name) {
392 uint64_t Result = getSymbolAddress(Name, false);
398 uint64_t MCJIT::getFunctionAddress(const std::string &Name) {
400 uint64_t Result = getSymbolAddress(Name, true);
652 uint64_t Key =
662 uint64_t Key =
lib/ExecutionEngine/MCJIT/MCJIT.h 281 uint64_t TargetAddress) override {
290 uint64_t getGlobalValueAddress(const std::string &Name) override;
291 uint64_t getFunctionAddress(const std::string &Name) override;
322 uint64_t getSymbolAddress(const std::string &Name,
lib/ExecutionEngine/Orc/OrcABISupport.cpp 170 uint64_t *Stub = reinterpret_cast<uint64_t *>(StubsBlock.base());
171 uint64_t PtrOffsetField = static_cast<uint64_t>(NumPages * PageSize)
199 uint64_t *Trampolines = reinterpret_cast<uint64_t *>(TrampolineMem);
200 uint64_t CallIndirPCRel = 0xf1c40000000015ff;
252 uint64_t *Stub = reinterpret_cast<uint64_t *>(StubsBlock.base());
253 uint64_t PtrOffsetField = static_cast<uint64_t>(NumPages * PageSize - 6)
465 uint64_t CallRelImm = 0xF1C4C400000000e8;
466 uint64_t Resolver = reinterpret_cast<uint64_t>(ResolverAddr);
467 uint64_t ResolverRel =
470 uint64_t *Trampolines = reinterpret_cast<uint64_t *>(TrampolineMem);
520 uint64_t *Stub = reinterpret_cast<uint64_t *>(StubsBlock.base());
521 uint64_t PtrAddr = reinterpret_cast<uint64_t>(PtrsBlock.base());
626 uint64_t CallMgrAddr = reinterpret_cast<uint64_t>(CallbackMgr);
633 uint64_t ReentryAddr = reinterpret_cast<uint64_t>(ReentryFn);
646 uint64_t ResolveAddr = reinterpret_cast<uint64_t>(ResolverAddr);
707 uint64_t PtrAddr = reinterpret_cast<uint64_t>(Stub) + NumPages * PageSize;
821 uint64_t CallMgrAddr = reinterpret_cast<uint64_t>(CallbackMgr);
845 uint64_t ReentryAddr = reinterpret_cast<uint64_t>(ReentryFn);
879 uint64_t ResolveAddr = reinterpret_cast<uint64_t>(ResolverAddr);
881 uint64_t HeighestAddr = ((ResolveAddr + 0x800080008000) >> 48);
882 uint64_t HeigherAddr = ((ResolveAddr + 0x80008000) >> 32);
883 uint64_t HiAddr = ((ResolveAddr + 0x8000) >> 16);
953 uint64_t PtrAddr = reinterpret_cast<uint64_t>(PtrsBlock.base());
956 uint64_t HeighestAddr = ((PtrAddr + 0x800080008000) >> 48);
957 uint64_t HeigherAddr = ((PtrAddr + 0x80008000) >> 32);
958 uint64_t HiAddr = ((PtrAddr + 0x8000) >> 16);
lib/ExecutionEngine/Orc/OrcCBindingsStack.h 496 uint64_t Key = static_cast<uint64_t>(
503 uint64_t Key = static_cast<uint64_t>(
lib/ExecutionEngine/Orc/OrcMCJITReplacement.h 99 void registerEHFrames(uint8_t *Addr, uint64_t LoadAddr,
325 uint64_t getSymbolAddress(StringRef Name) {
339 uint64_t TargetAddress) override {
345 uint64_t getGlobalValueAddress(const std::string &Name) override {
349 uint64_t getFunctionAddress(const std::string &Name) override {
354 uint64_t FAddr = getSymbolAddress(F->getName());
360 uint64_t Addr = getSymbolAddress(Name);
lib/ExecutionEngine/Orc/SpeculateAnalyses.cpp 91 SmallVector<std::pair<const BasicBlock *, uint64_t>, 8> BBFreqs;
257 ArrayRef<std::pair<const BasicBlock *, uint64_t>> HotBlocksRef(BBFreqs);
lib/ExecutionEngine/Orc/Speculation.cpp 40 void Speculator::speculateForEntryPoint(Speculator *Ptr, uint64_t StubId) {
lib/ExecutionEngine/RuntimeDyld/RTDyldMemoryManager.cpp 137 void RTDyldMemoryManager::registerEHFrames(uint8_t *Addr, uint64_t LoadAddr,
228 uint64_t
292 uint64_t Addr = getSymbolAddress(Name);
lib/ExecutionEngine/RuntimeDyld/RuntimeDyld.cpp 95 uint64_t LoadAddr = S.getLoadAddress();
150 uint64_t Addr = Sections[Idx].getLoadAddress();
159 uint64_t TargetAddress) {
171 uint64_t &Result) {
172 Expected<uint64_t> AddressOrErr = Sym.getAddress();
191 uint64_t CodeSize = 0, RODataSize = 0, RWDataSize = 0;
208 uint64_t CommonSize = 0;
282 uint64_t Size = I->getCommonSize();
292 uint64_t Addr = 0;
320 uint64_t SectOffset;
390 uint64_t StubAddr = KV.second;
446 static uint64_t
447 computeAllocationSizeForSections(std::vector<uint64_t> &SectionSizes,
448 uint64_t Alignment) {
449 uint64_t TotalSize = 0;
451 uint64_t AlignedSize =
516 uint64_t &CodeSize,
518 uint64_t &RODataSize,
520 uint64_t &RWDataSize,
523 std::vector<uint64_t> CodeSectionSizes;
524 std::vector<uint64_t> ROSectionSizes;
525 std::vector<uint64_t> RWSectionSizes;
537 uint64_t DataSize = Section.getSize();
538 uint64_t Alignment64 = Section.getAlignment();
548 uint64_t StubBufSize = computeSectionStubBufSize(Obj, Section);
550 uint64_t PaddingSize = 0;
556 uint64_t SectionSize = DataSize + PaddingSize + StubBufSize;
591 uint64_t CommonSize = 0;
598 uint64_t Size = I->getCommonSize();
670 uint64_t DataSize = Section.getSize();
671 uint64_t Alignment64 = Section.getAlignment();
682 uint64_t RuntimeDyldImpl::readBytesUnaligned(uint8_t *Src,
684 uint64_t Result = 0;
696 void RuntimeDyldImpl::writeBytesUnaligned(uint64_t Value, uint8_t *Dst,
719 uint64_t CommonSize,
730 uint64_t Offset = 0;
742 uint64_t Size = Sym.getCommonSize();
750 uint64_t AlignOffset =
776 uint64_t Alignment64 = Section.getAlignment();
785 uint64_t DataSize = Section.getSize();
1040 uint64_t Addr) {
1060 uint64_t Value) {
1084 uint64_t Addr = 0;
1242 uint64_t RuntimeDyld::LoadedObjectInfo::getSectionLoadAddress(
1360 void RuntimeDyld::reassignSectionAddress(unsigned SectionID, uint64_t Addr) {
1365 uint64_t TargetAddress) {
1389 uint64_t RuntimeDyld::getSectionLoadAddress(unsigned SectionID) const {
lib/ExecutionEngine/RuntimeDyld/RuntimeDyldCOFF.cpp 73 uint64_t RuntimeDyldCOFF::getSymbolOffset(const SymbolRef &Sym) {
lib/ExecutionEngine/RuntimeDyld/RuntimeDyldCOFF.h 41 uint64_t getSymbolOffset(const SymbolRef &Sym);
lib/ExecutionEngine/RuntimeDyld/RuntimeDyldChecker.cpp 100 EvalResult(uint64_t Value) : Value(Value), ErrorMsg("") {}
103 uint64_t getValue() const { return Value; }
108 uint64_t Value;
250 uint64_t Size;
308 uint64_t InstSize;
314 uint64_t SymbolAddr = PCtx.IsInsideLoad
317 uint64_t NextPC = SymbolAddr + InstSize;
353 uint64_t StubAddr;
390 uint64_t StubAddr;
436 uint64_t Value = PCtx.IsInsideLoad ? Checker.getSymbolLocalAddr(Symbol)
471 uint64_t Value;
511 uint64_t ReadSize = ReadSizeExpr.getValue();
527 uint64_t LoadAddr = LoadAddrExprResult.getValue();
618 uint64_t Mask = ((uint64_t)1 << (HighBit - LowBit + 1)) - 1;
619 uint64_t SlicedValue = (SubExprResult.getValue() >> LowBit) & Mask;
664 bool decodeInst(StringRef Symbol, MCInst &Inst, uint64_t &Size) const {
737 uint64_t RuntimeDyldCheckerImpl::getSymbolLocalAddr(StringRef Symbol) const {
751 uint64_t RuntimeDyldCheckerImpl::getSymbolRemoteAddr(StringRef Symbol) const {
761 uint64_t RuntimeDyldCheckerImpl::readMemoryAtAddr(uint64_t SrcAddr,
761 uint64_t RuntimeDyldCheckerImpl::readMemoryAtAddr(uint64_t SrcAddr,
775 return support::endian::read<uint64_t>(Ptr, Endianness);
789 std::pair<uint64_t, std::string> RuntimeDyldCheckerImpl::getSectionAddr(
806 uint64_t Addr = 0;
819 std::pair<uint64_t, std::string> RuntimeDyldCheckerImpl::getStubOrGOTAddrFor(
836 uint64_t Addr = 0;
871 std::pair<uint64_t, std::string>
lib/ExecutionEngine/RuntimeDyld/RuntimeDyldCheckerImpl.h 46 uint64_t getSymbolLocalAddr(StringRef Symbol) const;
47 uint64_t getSymbolRemoteAddr(StringRef Symbol) const;
48 uint64_t readMemoryAtAddr(uint64_t Addr, unsigned Size) const;
48 uint64_t readMemoryAtAddr(uint64_t Addr, unsigned Size) const;
52 std::pair<uint64_t, std::string> getSectionAddr(StringRef FileName,
56 std::pair<uint64_t, std::string>
60 Optional<uint64_t> getSectionLoadAddress(void *LocalAddr) const;
lib/ExecutionEngine/RuntimeDyld/RuntimeDyldELF.cpp 33 static void or32AArch64Imm(void *L, uint64_t Imm) {
41 static void write32AArch64Addr(void *L, uint64_t Imm) {
44 uint64_t Mask = (0x3 << 29) | (0x1FFFFC << 3);
50 static uint64_t getBits(uint64_t Val, int Start, int End) {
50 static uint64_t getBits(uint64_t Val, int Start, int End) {
51 uint64_t Mask = ((uint64_t)1 << (End + 1 - Start)) - 1;
75 void updateSectionAddress(const SectionRef &Sec, uint64_t Addr);
77 void updateSymbolAddress(const SymbolRef &SymRef, uint64_t Addr);
113 uint64_t Addr) {
125 uint64_t Addr) {
174 if (uint64_t SecLoadAddr = L.getSectionLoadAddress(*SI)) {
232 uint64_t EHFrameLoadAddr = Sections[EHFrameSID].getLoadAddress();
267 uint64_t Offset, uint64_t Value,
267 uint64_t Offset, uint64_t Value,
269 uint64_t SymOffset) {
297 uint64_t FinalAddress = Section.getLoadAddressWithOffset(Offset);
305 uint64_t FinalAddress = Section.getLoadAddressWithOffset(Offset);
314 uint64_t FinalAddress = Section.getLoadAddressWithOffset(Offset);
324 uint64_t GOTBase = 0;
340 uint64_t Offset, uint32_t Value,
368 uint64_t Offset, uint64_t Value,
368 uint64_t Offset, uint64_t Value,
372 uint64_t FinalAddress = Section.getLoadAddressWithOffset(Offset);
388 uint64_t Result = Value + Addend;
394 uint64_t Result = Value + Addend;
403 uint64_t Result = Value + Addend - FinalAddress;
416 uint64_t BranchImm = Value + Addend - FinalAddress;
437 uint64_t Result =
488 uint64_t Offset, uint32_t Value,
631 uint64_t TypeFunc = i->getType();
637 uint64_t TargetSymbolOffset = i->getOffset();
650 uint64_t TypeTOC = i->getType();
685 static inline uint16_t applyPPClo(uint64_t value) { return value & 0xffff; }
687 static inline uint16_t applyPPChi(uint64_t value) {
691 static inline uint16_t applyPPCha (uint64_t value) {
695 static inline uint16_t applyPPChigher(uint64_t value) {
699 static inline uint16_t applyPPChighera (uint64_t value) {
703 static inline uint16_t applyPPChighest(uint64_t value) {
707 static inline uint16_t applyPPChighesta (uint64_t value) {
712 uint64_t Offset, uint64_t Value,
712 uint64_t Offset, uint64_t Value,
732 uint64_t Offset, uint64_t Value,
732 uint64_t Offset, uint64_t Value,
778 uint64_t FinalAddress = Section.getLoadAddressWithOffset(Offset);
779 uint64_t Delta = Value - FinalAddress + Addend;
783 uint64_t FinalAddress = Section.getLoadAddressWithOffset(Offset);
784 uint64_t Delta = Value - FinalAddress + Addend;
788 uint64_t FinalAddress = Section.getLoadAddressWithOffset(Offset);
789 uint64_t Delta = Value - FinalAddress + Addend;
799 uint64_t FinalAddress = Section.getLoadAddressWithOffset(Offset);
808 uint64_t FinalAddress = Section.getLoadAddressWithOffset(Offset);
815 uint64_t FinalAddress = Section.getLoadAddressWithOffset(Offset);
816 uint64_t Delta = Value - FinalAddress + Addend;
826 uint64_t Offset, uint64_t Value,
826 uint64_t Offset, uint64_t Value,
880 uint64_t Offset, uint64_t Value,
880 uint64_t Offset, uint64_t Value,
928 uint64_t Value) {
935 uint64_t Offset, uint64_t Value,
935 uint64_t Offset, uint64_t Value,
937 uint64_t SymOffset, SID SectionID) {
976 void *RuntimeDyldELF::computePlaceholderAddress(unsigned SectionID, uint64_t Offset) const {
980 void RuntimeDyldELF::processSimpleRelocation(unsigned SectionID, uint64_t Offset, unsigned RelType, RelocationValueRef Value) {
1023 uint64_t Address;
1038 uint64_t Offset = RelI->getOffset();
1039 uint64_t SourceAddress = Sections[SectionID].getLoadAddressWithOffset(Offset);
1061 uint64_t Offset = RelI->getOffset();
1113 uint64_t RelType = RelI->getType();
1201 uint64_t Offset = RelI->getOffset();
1211 uint64_t GOTOffset = findOrAllocGOTEntry(Value, ELF::R_AARCH64_ABS64);
1216 uint64_t GOTOffset = findOrAllocGOTEntry(Value, ELF::R_AARCH64_ABS64);
1363 StringMap<uint64_t>::iterator i = GOTSymbolOffsets.find(TargetName);
1510 uint64_t StubRelocOffset = StubTargetAddr - Section.getAddress();
1695 uint64_t GOTOffset = allocateGOTEntries(1);
1718 uint64_t GOTOffset = allocateGOTEntries(1);
1731 uint64_t GOTOffset = allocateGOTEntries(1);
1781 Result = sizeof(uint64_t);
1795 Result = sizeof(uint64_t);
1805 uint64_t RuntimeDyldELF::allocateGOTEntries(unsigned no) {
1812 uint64_t StartOffset = CurrentGOTIndex * getGOTEntrySize();
1817 uint64_t RuntimeDyldELF::findOrAllocGOTEntry(const RelocationValueRef &Value,
1821 uint64_t GOTOffset = allocateGOTEntries(1);
1838 uint64_t Offset,
1839 uint64_t GOTOffset,
1846 RelocationEntry RuntimeDyldELF::computeGOTOffsetRE(uint64_t GOTOffset,
1847 uint64_t SymbolOffset,
lib/ExecutionEngine/RuntimeDyld/RuntimeDyldELF.h 28 void resolveRelocation(const SectionEntry &Section, uint64_t Offset,
29 uint64_t Value, uint32_t Type, int64_t Addend,
30 uint64_t SymOffset = 0, SID SectionID = 0);
32 void resolveX86_64Relocation(const SectionEntry &Section, uint64_t Offset,
33 uint64_t Value, uint32_t Type, int64_t Addend,
34 uint64_t SymOffset);
36 void resolveX86Relocation(const SectionEntry &Section, uint64_t Offset,
39 void resolveAArch64Relocation(const SectionEntry &Section, uint64_t Offset,
40 uint64_t Value, uint32_t Type, int64_t Addend);
48 void resolveARMRelocation(const SectionEntry &Section, uint64_t Offset,
51 void resolvePPC32Relocation(const SectionEntry &Section, uint64_t Offset,
52 uint64_t Value, uint32_t Type, int64_t Addend);
54 void resolvePPC64Relocation(const SectionEntry &Section, uint64_t Offset,
55 uint64_t Value, uint32_t Type, int64_t Addend);
57 void resolveSystemZRelocation(const SectionEntry &Section, uint64_t Offset,
58 uint64_t Value, uint32_t Type, int64_t Addend);
60 void resolveBPFRelocation(const SectionEntry &Section, uint64_t Offset,
61 uint64_t Value, uint32_t Type, int64_t Addend);
104 uint64_t allocateGOTEntries(unsigned no);
107 uint64_t findOrAllocGOTEntry(const RelocationValueRef &Value,
112 void resolveGOTOffsetRelocation(unsigned SectionID, uint64_t Offset,
113 uint64_t GOTOffset, uint32_t Type);
117 RelocationEntry computeGOTOffsetRE(uint64_t GOTOffset, uint64_t SymbolOffset,
117 RelocationEntry computeGOTOffsetRE(uint64_t GOTOffset, uint64_t SymbolOffset,
121 void *computePlaceholderAddress(unsigned SectionID, uint64_t Offset) const;
125 void processSimpleRelocation(unsigned SectionID, uint64_t Offset, unsigned RelType, RelocationValueRef Value);
146 StringMap<uint64_t> GOTSymbolOffsets;
158 std::map<RelocationValueRef, uint64_t> GOTOffsetMap;
175 void resolveRelocation(const RelocationEntry &RE, uint64_t Value) override;
lib/ExecutionEngine/RuntimeDyld/RuntimeDyldImpl.h 60 uint64_t LoadAddress;
97 uint64_t getLoadAddress() const { return LoadAddress; }
98 void setLoadAddress(uint64_t LA) { LoadAddress = LA; }
101 uint64_t getLoadAddressWithOffset(unsigned OffsetBytes) const {
124 uint64_t Offset;
141 uint64_t SymOffset;
154 RelocationEntry(unsigned id, uint64_t offset, uint32_t type, int64_t addend)
158 RelocationEntry(unsigned id, uint64_t offset, uint32_t type, int64_t addend,
159 uint64_t symoffset)
164 RelocationEntry(unsigned id, uint64_t offset, uint32_t type, int64_t addend,
169 RelocationEntry(unsigned id, uint64_t offset, uint32_t type, int64_t addend,
170 unsigned SectionA, uint64_t SectionAOffset, unsigned SectionB,
171 uint64_t SectionBOffset, bool IsPCRel, unsigned Size)
179 RelocationEntry(unsigned id, uint64_t offset, uint32_t type, int64_t addend,
180 unsigned SectionA, uint64_t SectionAOffset, unsigned SectionB,
181 uint64_t SectionBOffset, bool IsPCRel, unsigned Size,
194 uint64_t Offset;
224 SymbolTableEntry(unsigned SectionID, uint64_t Offset, JITSymbolFlags Flags)
228 uint64_t getOffset() const { return Offset; }
229 void setOffset(uint64_t NewOffset) { Offset = NewOffset; }
234 uint64_t Offset = 0;
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;
370 virtual uint64_t modifyAddressBasedOnFlags(uint64_t Addr,
370 virtual uint64_t modifyAddressBasedOnFlags(uint64_t Addr,
379 CommonSymbolList &CommonSymbols, uint64_t CommonSize,
411 void resolveRelocationList(const RelocationList &Relocs, uint64_t Value);
416 virtual void resolveRelocation(const RelocationEntry &RE, uint64_t Value) = 0;
436 uint64_t &CodeSize, uint32_t &CodeAlign,
437 uint64_t &RODataSize, uint32_t &RODataAlign,
438 uint64_t &RWDataSize, uint32_t &RWDataAlign);
479 uint64_t getSectionLoadAddress(unsigned SectionID) const {
519 uint64_t SectionAddr = 0;
522 uint64_t TargetAddr = SectionAddr + SymEntry.getOffset();
537 uint64_t SectionAddr = 0;
555 void reassignSectionAddress(unsigned SectionID, uint64_t Addr);
557 void mapSectionAddress(const void *LocalAddress, uint64_t TargetAddress);
lib/ExecutionEngine/RuntimeDyld/RuntimeDyldMachO.cpp 68 uint64_t Offset = RelI->getOffset();
76 uint64_t SectionBaseAddr = TargetSI->getAddress();
133 uint64_t Addr = Sec.getAddress();
149 uint64_t Value) const {
152 uint64_t FinalAddress = Section.getLoadAddress() + RE.Offset;
164 uint64_t Addr) {
169 uint64_t SAddr = SI->getAddress();
170 uint64_t SSize = SI->getSize();
lib/ExecutionEngine/RuntimeDyld/RuntimeDyldMachO.h 30 uint64_t Offset;
74 uint64_t Offset = RI->getOffset();
109 void dumpRelocationToResolve(const RelocationEntry &RE, uint64_t Value) const;
113 uint64_t Addr);
lib/ExecutionEngine/RuntimeDyld/Targets/RuntimeDyldCOFFI386.h 57 uint64_t RelType = RelI->getType();
58 uint64_t Offset = RelI->getOffset();
61 uint64_t Addend = 0;
131 void resolveRelocation(const RelocationEntry &RE, uint64_t Value) override {
141 uint64_t Result =
158 uint64_t Result =
172 uint64_t Result = RE.Sections.SectionA == static_cast<uint32_t>(-1)
lib/ExecutionEngine/RuntimeDyld/Targets/RuntimeDyldCOFFThumb.h 79 uint64_t RelType = RelI->getType();
80 uint64_t Offset = RelI->getOffset();
83 uint64_t Addend = 0;
174 void resolveRelocation(const RelocationEntry &RE, uint64_t Value) override {
186 uint64_t Result =
203 uint64_t Result = Sections[RE.Sections.SectionA].getLoadAddress() -
235 uint64_t Result =
264 uint64_t Value =
279 uint64_t Value =
294 uint64_t Value =
lib/ExecutionEngine/RuntimeDyld/Targets/RuntimeDyldCOFFX86_64.h 32 uint64_t ImageBase;
35 uint64_t getImageBase() {
37 ImageBase = std::numeric_limits<uint64_t>::max();
50 void write32BitOffset(uint8_t *Target, int64_t Addend, uint64_t Delta) {
51 uint64_t Result = Addend + Delta;
86 void resolveRelocation(const RelocationEntry &RE, uint64_t Value) override {
98 uint64_t FinalAddress = Section.getLoadAddressWithOffset(RE.Offset);
101 uint64_t Delta = 4 + (RE.RelType - COFF::IMAGE_REL_AMD64_REL32);
103 uint64_t Result = Value + RE.Addend;
114 const uint64_t ImageBase = getImageBase();
143 std::tuple<uint64_t, uint64_t, uint64_t>
143 std::tuple<uint64_t, uint64_t, uint64_t>
143 std::tuple<uint64_t, uint64_t, uint64_t>
145 uint64_t Offset, uint64_t RelType, uint64_t Addend,
145 uint64_t Offset, uint64_t RelType, uint64_t Addend,
145 uint64_t Offset, uint64_t RelType, uint64_t Addend,
208 uint64_t RelType = RelI->getType();
209 uint64_t Offset = RelI->getOffset();
210 uint64_t Addend = 0;
263 uint64_t TargetOffset = getSymbolOffset(*Symbol);
274 uint64_t EHFrameLoadAddr = Sections[EHFrameSID].getLoadAddress();
lib/ExecutionEngine/RuntimeDyld/Targets/RuntimeDyldELFMips.cpp 15 uint64_t Value) {
29 uint64_t RuntimeDyldELFMips::evaluateRelocation(const RelocationEntry &RE,
30 uint64_t Value,
31 uint64_t Addend) {
42 uint64_t Value) {
54 uint64_t Offset, uint64_t Value,
54 uint64_t Offset, uint64_t Value,
109 const SectionEntry &Section, uint64_t Offset, uint64_t Value, uint32_t Type,
109 const SectionEntry &Section, uint64_t Offset, uint64_t Value, uint32_t Type,
110 int64_t Addend, uint64_t SymOffset, SID SectionID) {
136 uint64_t GOTAddr = getSectionLoadAddress(SectionToGOTMap[SectionID]);
155 uint64_t GOTEntry = readBytesUnaligned(LocalGOTAddr, getGOTEntrySize());
174 uint64_t GOTAddr = getSectionLoadAddress(SectionToGOTMap[SectionID]);
178 uint64_t FinalAddress = Section.getLoadAddressWithOffset(Offset);
182 uint64_t FinalAddress = Section.getLoadAddressWithOffset(Offset);
186 uint64_t FinalAddress = Section.getLoadAddressWithOffset(Offset);
190 uint64_t FinalAddress = Section.getLoadAddressWithOffset(Offset);
194 uint64_t FinalAddress = Section.getLoadAddressWithOffset(Offset);
198 uint64_t FinalAddress = Section.getLoadAddressWithOffset(Offset);
202 uint64_t FinalAddress = Section.getLoadAddressWithOffset(Offset);
206 uint64_t FinalAddress = Section.getLoadAddressWithOffset(Offset);
266 const SectionEntry &Section, uint64_t Offset, uint64_t Value, uint32_t Type,
266 const SectionEntry &Section, uint64_t Offset, uint64_t Value, uint32_t Type,
267 int64_t Addend, uint64_t SymOffset, SID SectionID) {
275 const SectionEntry &Section, uint64_t Offset, uint64_t Value, uint32_t Type,
275 const SectionEntry &Section, uint64_t Offset, uint64_t Value, uint32_t Type,
276 int64_t Addend, uint64_t SymOffset, SID SectionID) {
304 uint64_t Offset,
lib/ExecutionEngine/RuntimeDyld/Targets/RuntimeDyldELFMips.h 22 typedef uint64_t TargetPtrT;
28 void resolveRelocation(const RelocationEntry &RE, uint64_t Value) override;
31 void resolveMIPSO32Relocation(const SectionEntry &Section, uint64_t Offset,
33 void resolveMIPSN32Relocation(const SectionEntry &Section, uint64_t Offset,
34 uint64_t Value, uint32_t Type, int64_t Addend,
35 uint64_t SymOffset, SID SectionID);
36 void resolveMIPSN64Relocation(const SectionEntry &Section, uint64_t Offset,
37 uint64_t Value, uint32_t Type, int64_t Addend,
38 uint64_t SymOffset, SID SectionID);
44 uint64_t evaluateRelocation(const RelocationEntry &RE, uint64_t Value,
44 uint64_t evaluateRelocation(const RelocationEntry &RE, uint64_t Value,
45 uint64_t Addend);
50 void applyRelocation(const RelocationEntry &RE, uint64_t Value);
52 int64_t evaluateMIPS32Relocation(const SectionEntry &Section, uint64_t Offset,
53 uint64_t Value, uint32_t Type);
55 uint64_t Offset, uint64_t Value,
55 uint64_t Offset, uint64_t Value,
57 uint64_t SymOffset, SID SectionID);
lib/ExecutionEngine/RuntimeDyld/Targets/RuntimeDyldMachOAArch64.h 23 typedef uint64_t TargetPtrT;
355 void resolveRelocation(const RelocationEntry &RE, uint64_t Value) override {
383 uint64_t Result =
392 uint64_t FinalAddress = Section.getLoadAddressWithOffset(RE.Offset);
401 uint64_t FinalAddress = Section.getLoadAddressWithOffset(RE.Offset);
418 uint64_t SectionABase = Sections[RE.Sections.SectionA].getLoadAddress();
419 uint64_t SectionBBase = Sections[RE.Sections.SectionB].getLoadAddress();
489 uint64_t Offset = RelI->getOffset();
498 uint64_t SectionBOffset = SubtrahendI->second.getOffset();
508 uint64_t SectionAOffset = MinuendI->second.getOffset();
lib/ExecutionEngine/RuntimeDyld/Targets/RuntimeDyldMachOARM.h 44 uint64_t modifyAddressBasedOnFlags(uint64_t Addr,
44 uint64_t modifyAddressBasedOnFlags(uint64_t Addr,
51 bool isAddrTargetThumb(unsigned SectionID, uint64_t Offset) {
203 void resolveRelocation(const RelocationEntry &RE, uint64_t Value) override {
211 uint64_t FinalAddress = Section.getLoadAddressWithOffset(RE.Offset);
248 uint64_t FinalValue = Value & 0xffffff;
260 uint64_t SectionABase = Sections[RE.Sections.SectionA].getLoadAddress();
261 uint64_t SectionBBase = Sections[RE.Sections.SectionB].getLoadAddress();
363 uint64_t Offset = RelI->getOffset();
381 uint64_t SectionABase = SAI->getAddress();
382 uint64_t SectionAOffset = AddrA - SectionABase;
395 uint64_t SectionBBase = SBI->getAddress();
396 uint64_t SectionBOffset = AddrB - SectionBBase;
lib/ExecutionEngine/RuntimeDyld/Targets/RuntimeDyldMachOI386.h 98 void resolveRelocation(const RelocationEntry &RE, uint64_t Value) override {
105 uint64_t FinalAddress = Section.getLoadAddressWithOffset(RE.Offset);
115 uint64_t SectionABase = Sections[RE.Sections.SectionA].getLoadAddress();
116 uint64_t SectionBBase = Sections[RE.Sections.SectionB].getLoadAddress();
158 uint64_t Offset = RelI->getOffset();
161 uint64_t Addend = readBytesUnaligned(LocalAddress, NumBytes);
170 uint64_t SectionABase = SAI->getAddress();
171 uint64_t SectionAOffset = AddrA - SectionABase;
184 uint64_t SectionBBase = SBI->getAddress();
185 uint64_t SectionBOffset = AddrB - SectionBBase;
lib/ExecutionEngine/RuntimeDyld/Targets/RuntimeDyldMachOX86_64.h 23 typedef uint64_t TargetPtrT;
86 void resolveRelocation(const RelocationEntry &RE, uint64_t Value) override {
96 uint64_t FinalAddress = Section.getLoadAddressWithOffset(RE.Offset);
112 uint64_t SectionABase = Sections[RE.Sections.SectionA].getLoadAddress();
113 uint64_t SectionBBase = Sections[RE.Sections.SectionB].getLoadAddress();
167 uint64_t Offset = RelI->getOffset();
174 uint64_t SectionBOffset = 0;
202 uint64_t SectionAOffset = 0;
lib/FuzzMutate/IRMutator.cpp 139 uint64_t InstDeleterIRStrategy::getWeight(size_t CurrentSize, size_t MaxSize,
140 uint64_t CurrentWeight) {
lib/FuzzMutate/OpDescriptor.cpp 17 uint64_t W = IntTy->getBitWidth();
lib/FuzzMutate/Operations.cpp 182 static uint64_t getAggregateNumElements(Type *T) {
199 uint64_t N = getAggregateNumElements(Cur[0]->getType());
lib/IR/AbstractCallSite.cpp 86 uint64_t CBCalleeIdx =
lib/IR/AsmWriter.cpp 1026 std::map<uint64_t, StringRef> ModuleIdToPathMap;
1337 static_assert(sizeof(double) == sizeof(uint64_t),
2423 void printArgs(const std::vector<uint64_t> &Args);
2828 void AssemblyWriter::printArgs(const std::vector<uint64_t> &Args) {
lib/IR/AttributeImpl.h 67 uint64_t getValueAsInt() const;
89 uint64_t Val) {
130 uint64_t Val;
135 IntAttributeImpl(Attribute::AttrKind Kind, uint64_t Val)
144 uint64_t getValue() const { return Val; }
213 uint64_t getDereferenceableBytes() const;
214 uint64_t getDereferenceableOrNullBytes() const;
lib/IR/Attributes.cpp 59 static uint64_t packAllocSizeArgs(unsigned ElemSizeArg,
70 unpackAllocSizeArgs(uint64_t Num) {
81 uint64_t Val) {
156 uint64_t Bytes) {
162 uint64_t Bytes) {
206 uint64_t Attribute::getValueAsInt() const {
256 uint64_t Attribute::getDereferenceableBytes() const {
263 uint64_t Attribute::getDereferenceableOrNullBytes() const {
524 uint64_t AttributeImpl::getValueAsInt() const {
678 uint64_t AttributeSet::getDereferenceableBytes() const {
682 uint64_t AttributeSet::getDereferenceableOrNullBytes() const {
859 uint64_t AttributeSetNode::getDereferenceableBytes() const {
866 uint64_t AttributeSetNode::getDereferenceableOrNullBytes() const {
1260 uint64_t Bytes) const {
1268 uint64_t Bytes) const {
1367 uint64_t AttributeList::getDereferenceableBytes(unsigned Index) const {
1371 uint64_t AttributeList::getDereferenceableOrNullBytes(unsigned Index) const {
1504 AttrBuilder &AttrBuilder::removeAttributes(AttributeList A, uint64_t Index) {
1543 AttrBuilder &AttrBuilder::addDereferenceableAttr(uint64_t Bytes) {
1551 AttrBuilder &AttrBuilder::addDereferenceableOrNullAttr(uint64_t Bytes) {
1565 AttrBuilder &AttrBuilder::addAllocSizeAttrFromRawRepr(uint64_t RawArgs) {
1659 bool AttrBuilder::hasAttributes(AttributeList AL, uint64_t Index) const {
1791 uint64_t CalleeStackProbeSize;
1796 uint64_t CallerStackProbeSize;
1822 uint64_t CallerVectorWidth;
1826 uint64_t CalleeVectorWidth;
lib/IR/BasicBlock.cpp 479 Optional<uint64_t> BasicBlock::getIrrLoopHeaderWeight() const {
lib/IR/ConstantFold.cpp 843 uint64_t IdxVal = CIdx->getZExtValue();
2148 static bool isIndexInRangeOfArrayType(uint64_t NumElements,
2398 uint64_t NumElements = STy->getArrayNumElements();
lib/IR/ConstantRange.cpp 339 ConstantRange::isSizeLargerThan(uint64_t MaxSize) const {
lib/IR/Constants.cpp 653 Constant *ConstantInt::get(Type *Ty, uint64_t V, bool isSigned) {
663 ConstantInt *ConstantInt::get(IntegerType *Ty, uint64_t V, bool isSigned) {
757 Constant *ConstantFP::getNaN(Type *Ty, bool Negative, uint64_t Payload) {
980 return getIntSequenceIfElementsMatch<SequenceTy, uint64_t>(V);
987 return getFPSequenceIfElementsMatch<SequenceTy, uint64_t>(V);
1298 bool ConstantInt::isValueValidForType(Type *Ty, uint64_t Val) {
2463 uint64_t ConstantDataSequential::getElementByteSize() const {
2573 ArrayRef<uint64_t> Elts) {
2610 Constant *ConstantDataVector::get(LLVMContext &Context, ArrayRef<uint64_t> Elts){
2644 ArrayRef<uint64_t> Elts) {
2667 SmallVector<uint64_t, 16> Elts(NumElts, CI->getZExtValue());
2683 SmallVector<uint64_t, 16> Elts(
2692 uint64_t ConstantDataSequential::getElementAsInteger(unsigned Elt) const {
lib/IR/Core.cpp 142 uint64_t Val) {
159 uint64_t LLVMGetEnumAttributeValue(LLVMAttributeRef A) {
1305 const uint64_t Words[]) {
lib/IR/DIBuilder.cpp 140 DICompileUnit::DebugEmissionKind Kind, uint64_t DWOId,
259 DIBasicType *DIBuilder::createBasicType(StringRef Name, uint64_t SizeInBits,
274 uint64_t SizeInBits,
287 uint64_t SizeInBits,
297 uint64_t SizeInBits,
322 uint64_t BaseOffset,
335 uint64_t SizeInBits,
337 uint64_t OffsetInBits,
352 uint64_t SizeInBits, uint32_t AlignInBits, uint64_t OffsetInBits,
352 uint64_t SizeInBits, uint32_t AlignInBits, uint64_t OffsetInBits,
362 uint64_t SizeInBits, uint64_t OffsetInBits, uint64_t StorageOffsetInBits,
362 uint64_t SizeInBits, uint64_t OffsetInBits, uint64_t StorageOffsetInBits,
362 uint64_t SizeInBits, uint64_t OffsetInBits, uint64_t StorageOffsetInBits,
387 uint64_t SizeInBits, uint32_t AlignInBits,
388 uint64_t OffsetInBits, DINode::DIFlags Flags,
445 uint64_t SizeInBits, uint32_t AlignInBits, uint64_t OffsetInBits,
445 uint64_t SizeInBits, uint32_t AlignInBits, uint64_t OffsetInBits,
462 uint64_t SizeInBits, uint32_t AlignInBits, DINode::DIFlags Flags,
475 uint64_t SizeInBits, uint32_t AlignInBits, DINode::DIFlags Flags,
487 uint64_t SizeInBits, uint32_t AlignInBits, DINode::DIFlags Flags,
505 uint64_t SizeInBits, uint32_t AlignInBits, DINodeArray Elements,
517 DICompositeType *DIBuilder::createArrayType(uint64_t Size,
527 DICompositeType *DIBuilder::createVectorType(uint64_t Size,
576 uint64_t SizeInBits, uint32_t AlignInBits,
590 unsigned RuntimeLang, uint64_t SizeInBits, uint32_t AlignInBits,
734 DIExpression *DIBuilder::createExpression(ArrayRef<uint64_t> Addr) {
740 SmallVector<uint64_t, 8> Addr(Signed.begin(), Signed.end());
lib/IR/DataLayout.cpp 80 unsigned StructLayout::getElementContainingOffset(uint64_t Offset) const {
81 const uint64_t *SI =
389 uint64_t Alignment = inBytes(getInt(Tok));
408 uint64_t Alignment = inBytes(getInt(Tok));
625 safe_malloc(sizeof(StructLayout)+(NumElts-1) * sizeof(uint64_t));
lib/IR/DebugInfo.cpp 963 uint64_t SizeInBits, uint32_t AlignInBits, LLVMMetadataRef *Elements,
975 uint64_t SizeInBits, uint32_t AlignInBits, LLVMDIFlags Flags,
988 LLVMDIBuilderCreateArrayType(LLVMDIBuilderRef Builder, uint64_t Size,
999 LLVMDIBuilderCreateVectorType(LLVMDIBuilderRef Builder, uint64_t Size,
1011 size_t NameLen, uint64_t SizeInBits,
1021 uint64_t SizeInBits, uint32_t AlignInBits, unsigned AddressSpace,
1031 uint64_t SizeInBits, uint32_t AlignInBits, LLVMDIFlags Flags,
1046 size_t NameLen, LLVMMetadataRef File, unsigned LineNo, uint64_t SizeInBits,
1047 uint32_t AlignInBits, uint64_t OffsetInBits, LLVMDIFlags Flags,
1077 uint64_t SizeInBits, uint32_t AlignInBits,
1078 uint64_t OffsetInBits, LLVMDIFlags Flags,
1121 uint64_t BaseOffset, uint32_t VBPtrOffset,
1132 unsigned RuntimeLang, uint64_t SizeInBits, uint32_t AlignInBits,
1144 unsigned RuntimeLang, uint64_t SizeInBits, uint32_t AlignInBits,
1177 uint64_t SizeInBits,
1191 uint64_t SizeInBits,
1192 uint64_t OffsetInBits,
1193 uint64_t StorageOffsetInBits,
1204 LLVMMetadataRef File, unsigned LineNumber, uint64_t SizeInBits,
1205 uint32_t AlignInBits, uint64_t OffsetInBits, LLVMDIFlags Flags,
1234 uint64_t LLVMDITypeGetSizeInBits(LLVMMetadataRef DType) {
1238 uint64_t LLVMDITypeGetOffsetInBits(LLVMMetadataRef DType) {
lib/IR/DebugInfoMetadata.cpp 119 uint64_t RemainingWork = 0U;
342 MDString *Name, uint64_t SizeInBits,
369 unsigned Line, Metadata *Scope, Metadata *BaseType, uint64_t SizeInBits,
370 uint32_t AlignInBits, uint64_t OffsetInBits,
386 unsigned Line, Metadata *Scope, Metadata *BaseType, uint64_t SizeInBits,
387 uint32_t AlignInBits, uint64_t OffsetInBits, DIFlags Flags,
409 uint64_t SizeInBits, uint32_t AlignInBits, uint64_t OffsetInBits,
409 uint64_t SizeInBits, uint32_t AlignInBits, uint64_t OffsetInBits,
444 uint64_t SizeInBits, uint32_t AlignInBits, uint64_t OffsetInBits,
444 uint64_t SizeInBits, uint32_t AlignInBits, uint64_t OffsetInBits,
519 uint64_t DWOId, bool SplitDebugInlining, bool DebugInfoForProfiling,
788 Optional<uint64_t> DIVariable::getSizeInBits() const {
794 if (uint64_t Size = T->getSizeInBits())
824 ArrayRef<uint64_t> Elements,
831 uint64_t Op = getOp();
860 uint64_t Op = I->getOp();
977 void DIExpression::appendOffset(SmallVectorImpl<uint64_t> &Ops,
1034 SmallVector<uint64_t, 8> Ops;
1049 SmallVectorImpl<uint64_t> &Ops,
1082 ArrayRef<uint64_t> Ops) {
1086 SmallVector<uint64_t, 16> NewOps;
1104 ArrayRef<uint64_t> Ops) {
1119 ArrayRef<uint64_t> ExprOpsBeforeFragment =
1127 SmallVector<uint64_t, 16> NewOps;
1138 SmallVector<uint64_t, 8> Ops;
1154 uint64_t FragmentOffsetInBits = Op.getArg(0);
1155 uint64_t FragmentSizeInBits = Op.getArg(1);
lib/IR/Function.cpp 121 uint64_t Argument::getDereferenceableBytes() const {
127 uint64_t Argument::getDereferenceableOrNullBytes() const {
453 void Function::addDereferenceableAttr(unsigned i, uint64_t Bytes) {
459 void Function::addDereferenceableParamAttr(unsigned ArgNo, uint64_t Bytes) {
465 void Function::addDereferenceableOrNullAttr(unsigned i, uint64_t Bytes) {
472 uint64_t Bytes) {
1542 void Function::setEntryCount(uint64_t Count, Function::ProfileCountType Type,
1553 uint64_t Count = CI->getValue().getZExtValue();
1562 uint64_t Count = CI->getValue().getZExtValue();
lib/IR/IRBuilder.cpp 580 getStatepointArgs(IRBuilderBase &B, uint64_t ID, uint32_t NumPatchBytes,
602 IRBuilderBase *Builder, uint64_t ID, uint32_t NumPatchBytes,
625 uint64_t ID, uint32_t NumPatchBytes, Value *ActualCallee,
634 uint64_t ID, uint32_t NumPatchBytes, Value *ActualCallee, uint32_t Flags,
643 uint64_t ID, uint32_t NumPatchBytes, Value *ActualCallee,
653 IRBuilderBase *Builder, uint64_t ID, uint32_t NumPatchBytes,
675 uint64_t ID, uint32_t NumPatchBytes, Value *ActualInvokee,
686 uint64_t ID, uint32_t NumPatchBytes, Value *ActualInvokee,
696 uint64_t ID, uint32_t NumPatchBytes, Value *ActualInvokee,
lib/IR/Instruction.cpp 747 void Instruction::setProfWeight(uint64_t W) {
lib/IR/Instructions.cpp 53 Optional<uint64_t>
55 uint64_t Size = DL.getTypeAllocSizeInBits(getAllocatedType());
466 void CallInst::updateProfWeight(uint64_t S, uint64_t T) {
466 void CallInst::updateProfWeight(uint64_t S, uint64_t T) {
1657 Type *GetElementPtrInst::getIndexedType(Type *Ty, ArrayRef<uint64_t> IdxList) {
lib/IR/IntrinsicInst.cpp 53 Optional<uint64_t> DbgVariableIntrinsic::getFragmentSizeInBits() const {
lib/IR/LLVMContext.cpp 138 void LLVMContext::setDiagnosticsHotnessThreshold(uint64_t Threshold) {
141 uint64_t LLVMContext::getDiagnosticsHotnessThreshold() const {
lib/IR/LLVMContextImpl.h 379 uint64_t SizeInBits;
384 MDNodeKeyImpl(unsigned Tag, MDString *Name, uint64_t SizeInBits,
412 uint64_t SizeInBits;
413 uint64_t OffsetInBits;
420 Metadata *Scope, Metadata *BaseType, uint64_t SizeInBits,
421 uint32_t AlignInBits, uint64_t OffsetInBits,
502 uint64_t SizeInBits;
503 uint64_t OffsetInBits;
514 Metadata *Scope, Metadata *BaseType, uint64_t SizeInBits,
515 uint32_t AlignInBits, uint64_t OffsetInBits, unsigned Flags,
1002 ArrayRef<uint64_t> Elements;
1004 MDNodeKeyImpl(ArrayRef<uint64_t> Elements) : Elements(Elements) {}
1254 uint64_t DiagnosticsHotnessThreshold = 0;
1336 DenseMap<std::pair<Type *, uint64_t>, ArrayType*> ArrayTypes;
lib/IR/MDBuilder.cpp 60 uint64_t Count, bool Synthetic,
130 uint64_t NewCBCalleeIdx =
142 uint64_t OldCBCalleeIdx =
215 StringRef Name, ArrayRef<std::pair<MDNode *, uint64_t>> Fields) {
229 uint64_t Offset) {
238 uint64_t Offset, bool IsConstant) {
248 MDNode *MDBuilder::createTBAATypeNode(MDNode *Parent, uint64_t Size,
265 uint64_t Offset, uint64_t Size,
265 uint64_t Offset, uint64_t Size,
282 uint64_t Offset = mdconst::extract<ConstantInt>(OffsetNode)->getZExtValue();
301 uint64_t Size = mdconst::extract<ConstantInt>(SizeNode)->getZExtValue();
305 MDNode *MDBuilder::createIrrLoopHeaderWeight(uint64_t Weight) {
313 MDNode *MDBuilder::createMisExpect(uint64_t Index, uint64_t LikleyWeight,
313 MDNode *MDBuilder::createMisExpect(uint64_t Index, uint64_t LikleyWeight,
314 uint64_t UnlikleyWeight) {
lib/IR/Metadata.cpp 237 using UseTy = std::pair<void *, std::pair<OwnerTy, uint64_t>>;
290 using UseTy = std::pair<void *, std::pair<OwnerTy, uint64_t>>;
484 OpSize = alignTo(OpSize, alignof(uint64_t));
495 OpSize = alignTo(OpSize, alignof(uint64_t));
1311 bool Instruction::extractProfMetadata(uint64_t &TrueVal,
1312 uint64_t &FalseVal) const {
1336 bool Instruction::extractProfTotalWeight(uint64_t &TotalVal) const {
1477 ArrayRef<uint64_t> OrigElements;
1480 std::vector<uint64_t> Elements(OrigElements.size() + 2);
1509 uint64_t Val = cast<ConstantInt>(
lib/IR/Module.cpp 279 uint64_t Val = Behavior->getLimitedValue();
lib/IR/ModuleSummaryIndex.cpp 84 ModuleSummaryIndex::getGlobalValueSummary(uint64_t ValueGUID,
228 uint64_t SrcMod;
368 DenseMap<GlobalValue::GUID, std::vector<uint64_t>> NodeMap;
lib/IR/ProfileSummary.cpp 27 uint64_t Val) {
84 static bool getVal(MDTuple *MD, const char *Key, uint64_t &Val) {
161 uint64_t NumCounts, TotalCount, NumFunctions, MaxFunctionCount, MaxCount,
lib/IR/Statepoint.cpp 65 uint64_t StatepointID;
lib/IR/Type.cpp 584 ArrayType::ArrayType(Type *ElType, uint64_t NumEl)
587 ArrayType *ArrayType::get(Type *ElementType, uint64_t NumElements) {
lib/IR/Value.cpp 608 uint64_t Value::getPointerDereferenceableBytes(const DataLayout &DL,
612 uint64_t DerefBytes = 0;
lib/IR/Verifier.cpp 1982 const uint64_t Flags
4208 uint64_t Align = CI->getZExtValue();
4380 uint64_t Length = LengthCI->getZExtValue();
4381 uint64_t ElementSize = AMI->getElementSizeInBytes();
4391 uint64_t DstAlignment = AMI->getDestAlignment();
4395 uint64_t SrcAlignment = AMT->getSourceAlignment();
4836 uint64_t NumSrcElem = 0;
lib/LTO/LTO.cpp 260 for (uint64_t Arg : ByArg.first)
lib/LTO/SummaryBasedOptimizations.cpp 48 using Scaled64 = ScaledNumber<uint64_t>;
69 SaturatingAdd(F->entryCount(), New.template toInt<uint64_t>()));
lib/LTO/ThinLTOCodeGenerator.cpp 568 uint64_t NextModuleId = 0;
lib/Linker/IRMover.cpp 866 uint64_t DstNumElements = 0;
914 uint64_t NewSize = DstNumElements + SrcElements.size();
lib/Linker/LinkModules.cpp 194 uint64_t DstSize = DstDL.getTypeAllocSize(DstGV->getValueType());
195 uint64_t SrcSize = SrcDL.getTypeAllocSize(SrcGV->getValueType());
295 uint64_t DestSize = DL.getTypeAllocSize(Dest.getValueType());
296 uint64_t SrcSize = DL.getTypeAllocSize(Src.getValueType());
lib/MC/ELFObjectWriter.cpp 96 void writeSymbol(uint32_t name, uint8_t info, uint64_t value, uint64_t size,
96 void writeSymbol(uint32_t name, uint8_t info, uint64_t value, uint64_t size,
112 static uint64_t SymbolValue(const MCSymbol &Sym, const MCAsmLayout &Layout);
161 bool maybeWriteCompression(uint64_t Size,
171 void WriteWord(uint64_t Word) {
173 W.write<uint64_t>(Word);
189 std::map<const MCSectionELF *, std::pair<uint64_t, uint64_t>>;
189 std::map<const MCSectionELF *, std::pair<uint64_t, uint64_t>>;
218 void WriteSecHdrEntry(uint32_t Name, uint32_t Type, uint64_t Flags,
219 uint64_t Address, uint64_t Offset, uint64_t Size,
219 uint64_t Address, uint64_t Offset, uint64_t Size,
219 uint64_t Address, uint64_t Offset, uint64_t Size,
220 uint32_t Link, uint32_t Info, uint64_t Alignment,
221 uint64_t EntrySize);
225 uint64_t writeObject(MCAssembler &Asm, const MCAsmLayout &Layout);
227 uint32_t GroupSymbolIndex, uint64_t Offset, uint64_t Size,
227 uint32_t GroupSymbolIndex, uint64_t Offset, uint64_t Size,
246 const MCSymbolELF *Sym, uint64_t C,
272 MCValue Target, uint64_t &FixedValue) override;
295 uint64_t writeObject(MCAssembler &Asm, const MCAsmLayout &Layout) override {
328 uint64_t writeObject(MCAssembler &Asm, const MCAsmLayout &Layout) override {
329 uint64_t Size = ELFWriter(*this, OS, IsLittleEndian, ELFWriter::NonDwoOnly)
340 uint64_t Padding = offsetToAlignment(W.OS.tell(), Align(Alignment));
364 void SymbolTableWriter::writeSymbol(uint32_t name, uint8_t info, uint64_t value,
365 uint64_t size, uint8_t other,
465 uint64_t ELFWriter::SymbolValue(const MCSymbol &Sym,
470 uint64_t Res;
553 uint64_t Value = SymbolValue(*MSD.Symbol, Layout);
554 uint64_t Size = 0;
645 uint64_t SecStart = W.OS.tell();
781 uint64_t SecEnd = W.OS.tell();
833 uint64_t Size, SmallVectorImpl<char> &CompressedContents, bool ZLibStyle,
836 uint64_t HdrSize =
922 void ELFWriter::WriteSecHdrEntry(uint32_t Name, uint32_t Type, uint64_t Flags,
923 uint64_t Address, uint64_t Offset,
923 uint64_t Address, uint64_t Offset,
924 uint64_t Size, uint32_t Link, uint32_t Info,
925 uint64_t Alignment, uint64_t EntrySize) {
925 uint64_t Alignment, uint64_t EntrySize) {
1010 uint32_t GroupSymbolIndex, uint64_t Offset,
1011 uint64_t Size, const MCSectionELF &Section) {
1012 uint64_t sh_link = 0;
1013 uint64_t sh_info = 0;
1067 uint64_t FirstSectionSize =
1079 const std::pair<uint64_t, uint64_t> &Offsets =
1079 const std::pair<uint64_t, uint64_t> &Offsets =
1081 uint64_t Size;
1092 uint64_t ELFWriter::writeObject(MCAssembler &Asm, const MCAsmLayout &Layout) {
1093 uint64_t StartOffset = W.OS.tell();
1122 uint64_t SecStart = W.OS.tell();
1127 uint64_t SecEnd = W.OS.tell();
1169 uint64_t SecStart = W.OS.tell();
1179 uint64_t SecEnd = W.OS.tell();
1203 uint64_t SecStart = W.OS.tell();
1208 uint64_t SecEnd = W.OS.tell();
1213 uint64_t SecStart = W.OS.tell();
1215 uint64_t SecEnd = W.OS.tell();
1221 uint64_t SecStart = W.OS.tell();
1225 W.write<uint64_t>(CGPE.Count);
1227 uint64_t SecEnd = W.OS.tell();
1232 uint64_t SecStart = W.OS.tell();
1234 uint64_t SecEnd = W.OS.tell();
1238 uint64_t NaturalAlignment = is64Bit() ? 8 : 4;
1241 const uint64_t SectionHeaderOffset = W.OS.tell();
1254 uint64_t Val =
1255 support::endian::byte_swap<uint64_t>(SectionHeaderOffset, W.Endian);
1340 uint64_t C,
1446 uint64_t &FixedValue) {
1451 uint64_t C = Target.getConstant();
1452 uint64_t FixupOffset = Layout.getFragmentOffset(Fragment) + Fixup.getOffset();
1500 uint64_t Addend = 0;
lib/MC/MCAsmBackend.cpp 109 const MCFixup &Fixup, bool Resolved, uint64_t Value,
lib/MC/MCAsmStreamer.cpp 165 void EmitCOFFSecRel32(MCSymbol const *Symbol, uint64_t Offset) override;
167 void EmitXCOFFLocalCommonSymbol(MCSymbol *Symbol, uint64_t Size,
170 void EmitCommonSymbol(MCSymbol *Symbol, uint64_t Size,
178 void EmitLocalCommonSymbol(MCSymbol *Symbol, uint64_t Size,
182 uint64_t Size = 0, unsigned ByteAlignment = 0,
185 void EmitTBSSSymbol(MCSection *Section, MCSymbol *Symbol, uint64_t Size,
194 void EmitIntValue(uint64_t Value, unsigned Size) override;
195 void EmitIntValueInHex(uint64_t Value, unsigned Size) override;
210 void emitFill(const MCExpr &NumBytes, uint64_t FillValue,
331 const MCSymbolRefExpr *To, uint64_t Count) override;
747 void MCAsmStreamer::EmitCOFFSecRel32(MCSymbol const *Symbol, uint64_t Offset) {
768 void MCAsmStreamer::EmitXCOFFLocalCommonSymbol(MCSymbol *Symbol, uint64_t Size,
792 void MCAsmStreamer::EmitCommonSymbol(MCSymbol *Symbol, uint64_t Size,
807 void MCAsmStreamer::EmitLocalCommonSymbol(MCSymbol *Symbol, uint64_t Size,
830 uint64_t Size, unsigned ByteAlignment,
859 uint64_t Size, unsigned ByteAlignment) {
963 void MCAsmStreamer::EmitIntValue(uint64_t Value, unsigned Size) {
967 void MCAsmStreamer::EmitIntValueInHex(uint64_t Value, unsigned Size) {
1004 uint64_t ValueToEmit = IntValue >> (ByteOffset * 8);
1008 uint64_t Shift = 64 - EmissionSize * 8;
1093 void MCAsmStreamer::emitFill(const MCExpr &NumBytes, uint64_t FillValue,
1829 uint64_t Count) {
lib/MC/MCAssembler.cpp 201 MCValue &Target, uint64_t &Value,
287 uint64_t MCAssembler::computeFragmentSize(const MCAsmLayout &Layout,
353 uint64_t FragmentOffset = Layout.getFragmentOffset(&OF);
356 uint64_t Val;
438 uint64_t FSize = Assembler.computeFragmentSize(*this, *EF);
443 uint64_t RequiredBundlePadding =
464 uint64_t FSize) const {
500 uint64_t FragmentSize = Asm.computeFragmentSize(Layout, F);
509 uint64_t Start = OS.tell();
520 uint64_t Count = FragmentSize / AF.getValueSize();
543 for (uint64_t i = 0; i != Count; ++i) {
554 support::endian::write<uint64_t>(OS, AF.getValue(), Endian);
579 uint64_t V = FF.getValue();
599 for (uint64_t I = 0, E = FragmentSize / ChunkSize; I != E; ++I)
632 for (uint64_t i = 0, e = FragmentSize; i != e; ++i)
712 uint64_t Start = OS.tell();
721 std::tuple<MCValue, uint64_t, bool>
726 uint64_t FixedValue;
851 uint64_t FixedValue;
877 uint64_t Value;
941 uint64_t OldSize = PF.getSize();
944 uint64_t NewSize = PF.getSize();
953 uint64_t OldSize = LF.getContents().size();
975 uint64_t OldSize = DF.getContents().size();
1016 uint64_t OldSize = DF.getContents().size();
lib/MC/MCCodePadder.cpp 46 uint64_t PoliciesMask = MCPaddingFragment::PFK_None;
87 uint64_t PoliciesMask = MCPaddingFragment::PFK_None;
183 uint64_t MCCodePadder::getMaxWindowSize(MCPaddingFragment *Fragment,
190 uint64_t JurisdictionMask = MCPaddingFragment::PFK_None;
194 uint64_t MaxFragmentSize = UINT64_C(0);
211 uint64_t OldSize = Fragment->getSize();
213 uint64_t MaxWindowSize = getMaxWindowSize(Fragment, Layout);
218 uint64_t SectionAlignment = Fragment->getParent()->getAlignment();
223 uint64_t OptimalSize = UINT64_C(0);
225 uint64_t MaxFragmentSize = MaxWindowSize - UINT16_C(1);
226 for (uint64_t Size = UINT64_C(0); Size <= MaxFragmentSize; ++Size) {
237 for (uint64_t Offset = UINT64_C(0); Offset < MaxWindowSize;
267 uint64_t MCCodePaddingPolicy::getNextFragmentOffset(const MCFragment *Fragment,
276 uint64_t
279 uint64_t InstByte = getNextFragmentOffset(Fragment, Layout);
285 uint64_t
287 uint64_t Offset,
289 uint64_t InstByte = getFragmentInstByte(Fragment, Layout);
301 uint64_t FragmentWindowEndAddress =
333 uint64_t WindowEndAddress =
lib/MC/MCContext.cpp 272 uint64_t Val) {
lib/MC/MCDisassembler/Disassembler.cpp 253 uint64_t BytesSize, uint64_t PC, char *OutString,
253 uint64_t BytesSize, uint64_t PC, char *OutString,
259 uint64_t Size;
302 int LLVMSetDisasmOptions(LLVMDisasmContextRef DCR, uint64_t Options){
lib/MC/MCDisassembler/Disassembler.h 76 uint64_t Options;
116 uint64_t getOptions() const { return Options; }
117 void addOptions(uint64_t Options) { this->Options |= Options; }
lib/MC/MCDisassembler/MCDisassembler.cpp 20 StringRef Name, uint64_t &Size, ArrayRef<uint8_t> Bytes, uint64_t Address,
20 StringRef Name, uint64_t &Size, ArrayRef<uint8_t> Bytes, uint64_t Address,
27 uint64_t Address, bool IsBranch,
28 uint64_t Offset,
29 uint64_t InstSize) const {
38 uint64_t Address) const {
lib/MC/MCDisassembler/MCExternalSymbolizer.cpp 37 uint64_t Address,
39 uint64_t Offset,
40 uint64_t InstSize) {
62 uint64_t ReferenceType;
158 uint64_t Address) {
160 uint64_t ReferenceType = LLVMDisassembler_ReferenceType_In_PCrel_Load;
lib/MC/MCDwarf.cpp 71 static inline uint64_t ScaleAddrDelta(MCContext &Context, uint64_t AddrDelta) {
71 static inline uint64_t ScaleAddrDelta(MCContext &Context, uint64_t AddrDelta) {
412 uint64_t Entries = 2;
645 int64_t LineDelta, uint64_t AddrDelta) {
655 static uint64_t SpecialAddr(MCDwarfLineTableParams Params, uint64_t op) {
655 static uint64_t SpecialAddr(MCDwarfLineTableParams Params, uint64_t op) {
661 int64_t LineDelta, uint64_t AddrDelta,
663 uint64_t Temp, Opcode;
667 uint64_t MaxSpecialAddrDelta = SpecialAddr(Params, 255);
744 int64_t LineDelta, uint64_t AddrDelta,
792 static void EmitAbbrev(MCStreamer *MCOS, uint64_t Name, uint64_t Form) {
792 static void EmitAbbrev(MCStreamer *MCOS, uint64_t Name, uint64_t Form) {
1891 uint64_t AddrDelta) {
1900 uint64_t AddrDelta, raw_ostream &OS,
lib/MC/MCELFStreamer.cpp 57 uint64_t FSize = EF->getContents().size();
62 uint64_t RequiredBundlePadding = computeBundlePadding(
288 void MCELFStreamer::EmitCommonSymbol(MCSymbol *S, uint64_t Size,
334 void MCELFStreamer::EmitLocalCommonSymbol(MCSymbol *S, uint64_t Size,
364 uint64_t Count) {
691 uint64_t Size, unsigned ByteAlignment,
697 uint64_t Size, unsigned ByteAlignment) {
lib/MC/MCFragment.cpp 77 uint64_t MCAsmLayout::getFragmentOffset(const MCFragment *F) const {
85 bool ReportError, uint64_t &Val) {
97 bool ReportError, uint64_t &Val) {
107 uint64_t Offset = Target.getConstant();
111 uint64_t ValA;
119 uint64_t ValB;
129 bool MCAsmLayout::getSymbolOffset(const MCSymbol &S, uint64_t &Val) const {
133 uint64_t MCAsmLayout::getSymbolOffset(const MCSymbol &S) const {
134 uint64_t Val;
175 uint64_t MCAsmLayout::getSectionAddressSize(const MCSection *Sec) const {
181 uint64_t MCAsmLayout::getSectionFileSize(const MCSection *Sec) const {
190 uint64_t llvm::computeBundlePadding(const MCAssembler &Assembler,
192 uint64_t FOffset, uint64_t FSize) {
192 uint64_t FOffset, uint64_t FSize) {
193 uint64_t BundleSize = Assembler.getBundleAlignSize();
196 uint64_t BundleMask = BundleSize - 1;
197 uint64_t OffsetInBundle = FOffset & BundleMask;
198 uint64_t EndOfFragment = OffsetInBundle + FSize;
lib/MC/MCInstPrinter.cpp 69 static bool needsLeadingZero(uint64_t Value)
73 uint64_t digit = (Value >> 60) & 0xf;
109 format_object<uint64_t> MCInstPrinter::formatHex(uint64_t Value) const {
109 format_object<uint64_t> MCInstPrinter::formatHex(uint64_t Value) const {
lib/MC/MCInstrAnalysis.cpp 26 bool MCInstrAnalysis::evaluateBranch(const MCInst &Inst, uint64_t Addr,
27 uint64_t Size, uint64_t &Target) const {
27 uint64_t Size, uint64_t &Target) const {
37 Optional<uint64_t>
38 MCInstrAnalysis::evaluateMemoryOperandAddress(const MCInst &Inst, uint64_t Addr,
39 uint64_t Size) const {
lib/MC/MCLinkerOptimizationHint.cpp 42 uint64_t MCLOHDirective::getEmitSize(const MachObjectWriter &ObjWriter,
45 uint64_t Count = 0;
49 uint64_t current_pos() const override { return Count; }
lib/MC/MCMachOStreamer.cpp 98 void EmitCommonSymbol(MCSymbol *Symbol, uint64_t Size,
101 void EmitLocalCommonSymbol(MCSymbol *Symbol, uint64_t Size,
104 uint64_t Size = 0, unsigned ByteAlignment = 0,
106 void EmitTBSSSymbol(MCSection *Section, MCSymbol *Symbol, uint64_t Size,
405 void MCMachOStreamer::EmitCommonSymbol(MCSymbol *Symbol, uint64_t Size,
415 void MCMachOStreamer::EmitLocalCommonSymbol(MCSymbol *Symbol, uint64_t Size,
423 uint64_t Size, unsigned ByteAlignment,
451 uint64_t Size, unsigned ByteAlignment) {
lib/MC/MCNullStreamer.cpp 33 void EmitCommonSymbol(MCSymbol *Symbol, uint64_t Size,
36 uint64_t Size = 0, unsigned ByteAlignment = 0,
lib/MC/MCObjectFileInfo.cpp 839 uint64_t Hash) const {
lib/MC/MCObjectStreamer.cpp 45 void MCObjectStreamer::flushPendingLabels(MCFragment *F, uint64_t FOffset) {
84 static Optional<uint64_t>
100 if (Optional<uint64_t> Diff = absoluteSymbolDiff(getAssembler(), Hi, Lo)) {
109 if (Optional<uint64_t> Diff = absoluteSymbolDiff(getAssembler(), Hi, Lo)) {
666 void MCObjectStreamer::emitFill(const MCExpr &NumBytes, uint64_t FillValue,
689 for (uint64_t i = 0, e = IntNumValues; i != e; ++i) {
lib/MC/MCParser/AsmParser.cpp 1219 uint64_t IntVal = RealVal.bitcastToAPInt().getZExtValue();
2272 uint64_t ErrorInfo;
3057 uint64_t IntValue = MCE->getValue();
3071 static bool parseHexOcta(AsmParser &Asm, uint64_t &hi, uint64_t &lo) {
3071 static bool parseHexOcta(AsmParser &Asm, uint64_t &hi, uint64_t &lo) {
3097 uint64_t hi, lo;
3392 uint64_t MD5Hi, MD5Lo;
3767 uint64_t IsStmt = 0;
4758 uint64_t IntValue = MCE->getValue();
4761 for (uint64_t i = 0, e = NumValues; i != e; ++i)
4764 for (uint64_t i = 0, e = NumValues; i != e; ++i)
4800 for (uint64_t i = 0, e = NumValues; i != e; ++i)
4824 for (uint64_t i = 0, e = NumValues; i != e; ++i)
5694 uint64_t IntValue = MCE->getValue();
5710 uint64_t IntValue = MCE->getValue();
lib/MC/MCStreamer.cpp 131 void MCStreamer::EmitIntValue(uint64_t Value, unsigned Size) {
146 void MCStreamer::EmitULEB128IntValue(uint64_t Value, unsigned PadTo) {
203 void MCStreamer::emitFill(uint64_t NumBytes, uint8_t FillValue) {
208 void MCStreamer::EmitZeros(uint64_t NumBytes) {
763 const MCSymbolRefExpr *To, uint64_t Count) {
932 void MCStreamer::EmitCOFFSecRel32(MCSymbol const *Symbol, uint64_t Offset) {}
1066 void MCStreamer::EmitXCOFFLocalCommonSymbol(MCSymbol *Symbol, uint64_t Size,
1073 void MCStreamer::EmitLocalCommonSymbol(MCSymbol *Symbol, uint64_t Size,
1076 uint64_t Size, unsigned ByteAlignment) {}
1086 void MCStreamer::emitFill(const MCExpr &NumBytes, uint64_t Value, SMLoc Loc) {}
lib/MC/MCSubtargetInfo.cpp 221 FeatureBitset MCSubtargetInfo::ToggleFeature(uint64_t FB) {
lib/MC/MCWasmStreamer.cpp 137 void MCWasmStreamer::EmitCommonSymbol(MCSymbol *S, uint64_t Size,
146 void MCWasmStreamer::EmitLocalCommonSymbol(MCSymbol *S, uint64_t Size,
221 uint64_t Size, unsigned ByteAlignment,
227 uint64_t Size, unsigned ByteAlignment) {
lib/MC/MCWinCOFFStreamer.cpp 229 uint64_t Offset) {
265 void MCWinCOFFStreamer::EmitCommonSymbol(MCSymbol *S, uint64_t Size,
297 void MCWinCOFFStreamer::EmitLocalCommonSymbol(MCSymbol *S, uint64_t Size,
312 uint64_t Size, unsigned ByteAlignment,
318 uint64_t Size, unsigned ByteAlignment) {
lib/MC/MCXCOFFStreamer.cpp 46 void MCXCOFFStreamer::EmitCommonSymbol(MCSymbol *Symbol, uint64_t Size,
65 uint64_t Size, unsigned ByteAlignment,
98 uint64_t Size,
lib/MC/MachObjectWriter.cpp 81 uint64_t MachObjectWriter::getFragmentAddress(const MCFragment *Fragment,
87 uint64_t MachObjectWriter::getSymbolAddress(const MCSymbol &S,
108 uint64_t Address = Target.getConstant();
120 uint64_t MachObjectWriter::getPaddingSize(const MCSection *Sec,
122 uint64_t EndAddr = getSectionAddress(Sec) + Layout.getSectionAddressSize(Sec);
145 uint64_t Start = W.OS.tell();
164 void MachObjectWriter::writeWithPadding(StringRef Str, uint64_t Size) {
175 StringRef Name, unsigned NumSections, uint64_t VMAddr, uint64_t VMSize,
175 StringRef Name, unsigned NumSections, uint64_t VMAddr, uint64_t VMSize,
176 uint64_t SectionDataStartOffset, uint64_t SectionDataSize, uint32_t MaxProt,
176 uint64_t SectionDataStartOffset, uint64_t SectionDataSize, uint32_t MaxProt,
181 uint64_t Start = W.OS.tell();
194 W.write<uint64_t>(VMAddr); // vmaddr
195 W.write<uint64_t>(VMSize); // vmsize
196 W.write<uint64_t>(SectionDataStartOffset); // file offset
197 W.write<uint64_t>(SectionDataSize); // file size
215 const MCSection &Sec, uint64_t VMAddr,
216 uint64_t FileOffset, unsigned Flags,
217 uint64_t RelocationsStart,
219 uint64_t SectionSize = Layout.getSectionAddressSize(&Sec);
231 uint64_t Start = W.OS.tell();
237 W.write<uint64_t>(VMAddr); // address
238 W.write<uint64_t>(SectionSize); // size
265 uint64_t Start = W.OS.tell();
288 uint64_t Start = W.OS.tell();
345 uint64_t Address = 0;
402 W.write<uint64_t>(Address);
410 uint64_t Start = W.OS.tell();
434 uint64_t Start = W.OS.tell();
440 uint64_t BytesWritten = sizeof(MachO::linker_option_command);
466 uint64_t &FixedValue) {
644 uint64_t StartAddress = 0;
754 uint64_t MachObjectWriter::writeObject(MCAssembler &Asm,
756 uint64_t StartOffset = W.OS.tell();
769 uint64_t LoadCommandsSize = is64Bit() ?
790 uint64_t LOHRawSize = Asm.getLOHContainer().getEmitSize(*this, Layout);
791 uint64_t LOHSize = alignTo(LOHRawSize, is64Bit() ? 8 : 4);
814 uint64_t SectionDataStart = (is64Bit() ? sizeof(MachO::mach_header_64) :
816 uint64_t SectionDataSize = 0;
817 uint64_t SectionDataFileSize = 0;
818 uint64_t VMSize = 0;
820 uint64_t Address = getSectionAddress(&Sec);
821 uint64_t Size = Layout.getSectionAddressSize(&Sec);
822 uint64_t FileSize = Layout.getSectionFileSize(&Sec);
850 uint64_t RelocTableEnd = SectionDataStart + SectionDataFileSize;
855 uint64_t SectionStart = SectionDataStart + getSectionAddress(&Sec);
899 uint64_t DataInCodeTableEnd = RelocTableEnd + NumDataRegions * 8;
901 uint64_t DataRegionsOffset = RelocTableEnd;
902 uint64_t DataRegionsSize = NumDataRegions * 8;
908 uint64_t LOHTableEnd = DataInCodeTableEnd + LOHSize;
924 uint64_t IndirectSymbolSize = NumIndirectSymbols * 4;
925 uint64_t IndirectSymbolOffset = 0;
932 uint64_t SymbolTableOffset = LOHTableEnd + IndirectSymbolSize;
935 uint64_t StringTableOffset =
956 uint64_t Pad = getPaddingSize(&Sec, Layout);
979 uint64_t Start = getSymbolAddress(*Data->Start, Layout);
980 uint64_t End;
lib/MC/WasmObjectWriter.cpp 50 uint64_t SizeOffset;
52 uint64_t PayloadOffset;
54 uint64_t ContentsOffset;
125 uint64_t InitialValue;
138 uint64_t Offset; // Where is the relocation.
144 WasmRelocationEntry(uint64_t Offset, const MCSymbolWasm *Symbol,
188 uint64_t Offset) {
198 uint64_t Offset) {
206 static void writeI32(raw_pwrite_stream &Stream, uint32_t X, uint64_t Offset) {
298 MCValue Target, uint64_t &FixedValue) override;
303 uint64_t writeObject(MCAssembler &Asm, const MCAsmLayout &Layout) override;
338 uint64_t ContentsOffset);
385 uint64_t Size = W.OS.tell();
429 uint64_t &FixedValue) {
435 uint64_t C = Target.getConstant();
436 uint64_t FixupOffset = Layout.getFragmentOffset(Fragment) + Fixup.getOffset();
601 uint64_t Size =
602 std::min<uint64_t>(alignTo(DataBytes.size(), Align->getAlignment()),
639 ArrayRef<WasmRelocationEntry> Relocations, uint64_t ContentsOffset) {
642 uint64_t Offset = ContentsOffset +
908 uint64_t Offset =
1105 uint64_t WasmObjectWriter::writeObject(MCAssembler &Asm,
1107 uint64_t StartOffset = W.OS.tell();
lib/MC/WinCOFFObjectWriter.cpp 205 MCValue Target, uint64_t &FixedValue) override;
216 uint64_t writeObject(MCAssembler &Asm, const MCAsmLayout &Layout) override;
326 static uint64_t getSymbolValue(const MCSymbol &Symbol,
331 uint64_t Res;
421 enum : uint64_t { MaxBase64Offset = 0xFFFFFFFFFULL }; // 64^6, including 0
426 static void encodeBase64StringEntry(char *Buffer, uint64_t Value) {
451 uint64_t StringTableEntry = Strings.getOffset(S.Name);
700 uint64_t &FixedValue) {
952 uint64_t WinCOFFObjectWriter::writeObject(MCAssembler &Asm,
954 uint64_t StartOffset = W.OS.tell();
lib/MC/XCOFFObjectWriter.cpp 178 const MCFixup &, MCValue, uint64_t &) override;
180 uint64_t writeObject(MCAssembler &, const MCAsmLayout &) override;
186 uint64_t);
320 MCValue, uint64_t &) {
352 uint64_t XCOFFObjectWriter::writeObject(MCAssembler &Asm,
363 uint64_t StartOffset = W.OS.tell();
395 int16_t SectionIndex, uint64_t SymbolOffset) {
611 uint64_t RawPointer = sizeof(XCOFF::FileHeader32) + auxiliaryHeaderSize() +
lib/MCA/HardwareUnits/ResourceManager.cpp 26 static uint64_t selectImpl(uint64_t CandidateMask,
26 static uint64_t selectImpl(uint64_t CandidateMask,
27 uint64_t &NextInSequenceMask) {
34 uint64_t DefaultResourceStrategy::select(uint64_t ReadyMask) {
34 uint64_t DefaultResourceStrategy::select(uint64_t ReadyMask) {
36 uint64_t CandidateMask = ReadyMask & NextInSequenceMask;
51 void DefaultResourceStrategy::used(uint64_t Mask) {
66 uint64_t Mask)
128 uint64_t Mask = ProcResID2Mask[I];
136 uint64_t Mask = ProcResID2Mask[I];
144 uint64_t GroupMaskIdx = 1ULL << Index;
148 uint64_t Unit = Mask & (-Mask);
159 uint64_t ResourceMask) {
166 unsigned ResourceManager::resolveResourceMask(uint64_t Mask) const {
170 unsigned ResourceManager::getNumUnits(uint64_t ResourceID) const {
177 ResourceRef ResourceManager::selectPipe(uint64_t ResourceID) {
188 uint64_t SubResourceID = Strategies[Index]->select(RS.getReadyMask());
212 uint64_t Users = Resource2Groups[RSID];
235 uint64_t Users = Resource2Groups[RSID];
245 ResourceManager::canBeDispatched(uint64_t ConsumedBuffers) const {
253 void ResourceManager::reserveBuffers(uint64_t ConsumedBuffers) {
255 uint64_t CurrentBuffer = ConsumedBuffers & (-ConsumedBuffers);
270 void ResourceManager::releaseBuffers(uint64_t ConsumedBuffers) {
273 uint64_t CurrentBuffer = ConsumedBuffers & (-ConsumedBuffers);
282 uint64_t ResourceManager::checkAvailability(const InstrDesc &Desc) const {
283 uint64_t BusyResourceMask = 0;
284 for (const std::pair<uint64_t, const ResourceUsage> &E : Desc.Resources) {
300 for (const std::pair<uint64_t, ResourceUsage> &R : Desc.Resources) {
343 void ResourceManager::reserveResource(uint64_t ResourceID) {
352 void ResourceManager::releaseResource(uint64_t ResourceID) {
lib/MCA/HardwareUnits/Scheduler.cpp 199 uint64_t BusyResourceMask = Resources->checkAvailability(IS.getDesc());
243 uint64_t Scheduler::analyzeResourcePressure(SmallVectorImpl<InstRef> &Insts) {
lib/MCA/InstrBuilder.cpp 41 ArrayRef<uint64_t> ProcResourceMasks) {
45 using ResourcePlusCycles = std::pair<uint64_t, ResourceUsage>;
58 DenseMap<uint64_t, unsigned> SuperResources;
79 uint64_t Mask = ProcResourceMasks[PRE->ProcResourceIdx];
91 uint64_t Super = ProcResourceMasks[PR.SuperIdx];
110 uint64_t UsedResourceUnits = 0;
111 uint64_t UsedResourceGroups = 0;
123 uint64_t NormalizedMask = A.first;
162 uint64_t Mask = RPC.first ^ PowerOf2Floor(RPC.first);
169 for (const std::pair<uint64_t, unsigned> &SR : SuperResources) {
175 uint64_t Mask = ProcResourceMasks[I];
lib/MCA/Stages/ExecuteStage.cpp 132 uint64_t Mask = HWS.analyzeResourcePressure(Insts);
274 uint64_t UsedBuffers = IR.getInstruction()->getDesc().UsedBuffers;
280 uint64_t CurrentBufferMask = UsedBuffers & (-UsedBuffers);
lib/MCA/Stages/InstructionTables.cpp 27 for (const std::pair<uint64_t, ResourceUsage> Resource : Desc.Resources) {
lib/MCA/Support.cpp 40 MutableArrayRef<uint64_t> Masks) {
64 uint64_t OtherMask = Masks[Desc.SubUnitsIdxBegin[U]];
lib/Object/Archive.cpp 55 uint64_t Size, Error *Err)
69 uint64_t Offset = RawHeaderPtr - Parent->getData().data();
89 uint64_t Offset = RawHeaderPtr - Parent->getData().data();
105 uint64_t Offset = reinterpret_cast<const char *>(ArMemHdr) -
128 Expected<StringRef> ArchiveMemberHeader::getName(uint64_t Size) const {
134 uint64_t ArchiveOffset = reinterpret_cast<const char *>(ArMemHdr) -
161 uint64_t ArchiveOffset = reinterpret_cast<const char *>(ArMemHdr) -
171 uint64_t ArchiveOffset = reinterpret_cast<const char *>(ArMemHdr) -
193 uint64_t NameLength;
199 uint64_t ArchiveOffset = reinterpret_cast<const char *>(ArMemHdr) -
207 uint64_t ArchiveOffset = reinterpret_cast<const char *>(ArMemHdr) -
226 Expected<uint64_t> ArchiveMemberHeader::getSize() const {
227 uint64_t Ret;
235 uint64_t Offset = reinterpret_cast<const char *>(ArMemHdr) -
253 uint64_t Offset = reinterpret_cast<const char *>(ArMemHdr) -
273 uint64_t Offset = reinterpret_cast<const char *>(ArMemHdr) -
293 uint64_t Offset = reinterpret_cast<const char *>(ArMemHdr) -
312 uint64_t Offset = reinterpret_cast<const char *>(ArMemHdr) -
349 uint64_t Size = Header.getSizeOf();
358 Expected<uint64_t> MemberSize = getRawSize();
377 uint64_t NameSize;
383 uint64_t Offset = Start - Parent->getData().data();
394 Expected<uint64_t> Archive::Child::getSize() const {
404 Expected<uint64_t> Archive::Child::getRawSize() const {
475 uint64_t Offset = Data.data() - Parent->getData().data();
488 uint64_t Archive::Child::getChildOffset() const {
491 uint64_t offset = c - a;
496 Expected<uint64_t> RawSizeOrErr = getRawSize();
499 uint64_t RawSize = RawSizeOrErr.get();
803 Offsets += sizeof(uint64_t);
806 uint64_t Offset = 0;
908 uint64_t symbol_count = read64be(buf);
909 buf += sizeof(uint64_t) + (symbol_count * (sizeof(uint64_t)));
909 buf += sizeof(uint64_t) + (symbol_count * (sizeof(uint64_t)));
933 uint64_t ranlib_count = 0;
936 uint64_t ran_strx = 0;
938 buf += sizeof(uint64_t) + (ranlib_count * (2 * (sizeof(uint64_t))));
938 buf += sizeof(uint64_t) + (ranlib_count * (2 * (sizeof(uint64_t))));
940 buf += sizeof(uint64_t);
lib/Object/ArchiveWriter.cpp 117 uint64_t OldPos = OS.tell();
175 printBSDMemberHeader(raw_ostream &Out, uint64_t Pos, StringRef Name,
178 uint64_t PosAfterHeader = Pos + 60 + Name.size();
209 printMemberHeader(raw_ostream &Out, uint64_t Pos, raw_ostream &StringTable,
210 StringMap<uint64_t> &MemberNames, object::Archive::Kind Kind,
220 uint64_t NamePos;
277 uint64_t Val) {
279 print<uint64_t>(Out, Kind, Val);
297 unsigned OffsetSize = is64BitKind(Kind) ? sizeof(uint64_t) : sizeof(uint32_t);
324 uint64_t Pos = Out.tell() + Size;
396 uint64_t Pos = 0;
404 StringMap<uint64_t> MemberNames;
480 uint64_t Size = Buf.getBufferSize() + MemberPadding;
573 uint64_t MaxOffset = 0;
574 uint64_t LastOffset = MaxOffset;
lib/Object/COFFModuleDefinition.cpp 169 Error readAsInt(uint64_t *I) {
300 Error parseNumbers(uint64_t *Reserve, uint64_t *Commit) {
300 Error parseNumbers(uint64_t *Reserve, uint64_t *Commit) {
315 Error parseName(std::string *Out, uint64_t *Baseaddr) {
lib/Object/COFFObjectFile.cpp 46 static bool checkSize(MemoryBufferRef M, std::error_code &EC, uint64_t Size) {
59 const uint64_t Size = sizeof(T)) {
74 uint64_t Value = 0;
157 uint64_t COFFObjectFile::getSymbolValueImpl(DataRefImpl Ref) const {
168 Expected<uint64_t> COFFObjectFile::getSymbolAddress(DataRefImpl Ref) const {
169 uint64_t Result = getSymbolValue(Ref);
243 uint64_t COFFObjectFile::getCommonSymbolSizeImpl(DataRefImpl Ref) const {
277 uint64_t COFFObjectFile::getSectionAddress(DataRefImpl Ref) const {
279 uint64_t Result = Sec->VirtualAddress;
287 uint64_t COFFObjectFile::getSectionIndex(DataRefImpl Sec) const {
291 uint64_t COFFObjectFile::getSectionSize(DataRefImpl Ref) const {
304 uint64_t COFFObjectFile::getSectionAlignment(DataRefImpl Ref) const {
364 uint64_t NumRelocs = getNumberOfRelocations(Sec, M, Base);
439 uint64_t COFFObjectFile::getImageBase() const {
449 std::error_code COFFObjectFile::getVaPtr(uint64_t Addr, uintptr_t &Res) const {
450 uint64_t ImageBase = getImageBase();
451 uint64_t Rva = Addr - ImageBase;
678 uint64_t CurPtr = 0;
739 uint64_t DataDirSize;
913 Expected<uint64_t> COFFObjectFile::getStartAddress() const {
1083 uint64_t COFFObjectFile::getSectionSize(const coff_section *Sec) const {
1125 uint64_t COFFObjectFile::getRelocationOffset(DataRefImpl Rel) const {
1144 uint64_t COFFObjectFile::getRelocationType(DataRefImpl Rel) const {
1442 getImportAddress(int AddrIndex, uint64_t &Result) const {
1832 uint64_t Offset = Entry.DataRVA + Sym->getValue();
1849 uint64_t VA = Entry.DataRVA + Obj->getImageBase();
1853 uint64_t Offset = VA - S.getAddress();
lib/Object/Decompressor.cpp 54 uint64_t HdrSize = Is64Bit ? sizeof(Elf64_Chdr) : sizeof(Elf32_Chdr);
59 uint64_t Offset = 0;
91 bool Decompressor::isCompressedELFSection(uint64_t Flags, StringRef Name) {
lib/Object/ELF.cpp 374 uint64_t NumRelocs = ReadSLEB();
375 uint64_t Offset = ReadSLEB();
376 uint64_t Addend = 0;
384 uint64_t NumRelocsInGroup = ReadSLEB();
389 uint64_t GroupFlags = ReadSLEB();
395 uint64_t GroupOffsetDelta;
399 uint64_t GroupRInfo;
409 for (uint64_t I = 0; I != NumRelocsInGroup; ++I) {
432 uint64_t Type) const {
495 std::string ELFFile<ELFT>::getDynamicTagAsString(uint64_t Type) const {
557 Expected<const uint8_t *> ELFFile<ELFT>::toMappedAddr(uint64_t VAddr) const {
579 uint64_t Delta = VAddr - Phdr.p_vaddr;
lib/Object/ELFObjectFile.cpp 382 std::vector<std::pair<DataRefImpl, uint64_t>>
389 uint64_t JumpSlotReloc = 0;
435 DenseMap<uint64_t, uint64_t> GotToPlt;
435 DenseMap<uint64_t, uint64_t> GotToPlt;
440 std::vector<std::pair<DataRefImpl, uint64_t>> Result;
lib/Object/MachOObjectFile.cpp 235 uint64_t Offset;
236 uint64_t Size;
241 uint64_t Offset, uint64_t Size,
241 uint64_t Offset, uint64_t Size,
276 uint32_t LoadCommandIndex, const char *CmdName, uint64_t SizeOfHeaders,
285 uint64_t FileSize = Obj.getData().size();
314 uint64_t BigSize = s.offset;
342 uint64_t BigEnd = S.vmaddr;
380 uint64_t BigSize = S.fileoff;
414 uint64_t FileSize = Obj.getData().size();
419 uint64_t SymtabSize = Symtab.nsyms;
428 uint64_t BigSize = SymtabSize;
473 uint64_t FileSize = Obj.getData().size();
478 uint64_t BigSize = Dysymtab.ntoc;
497 uint64_t sizeof_modtab;
607 uint64_t FileSize = Obj.getData().size();
612 uint64_t BigSize = LinkData.dataoff;
645 uint64_t FileSize = Obj.getData().size();
650 uint64_t BigSize = DyldInfo.rebase_off;
832 uint64_t FileSize = Obj.getData().size();
837 uint64_t BigSize = Nt.offset;
908 uint64_t cryptoff, uint64_t cryptsize,
908 uint64_t cryptoff, uint64_t cryptsize,
913 uint64_t FileSize = Obj.getData().size();
918 uint64_t BigSize = cryptoff;
1202 uint64_t FileSize = Obj.getData().size();
1207 uint64_t BigSize = Hints.nhints;
1260 uint64_t SizeOfHeaders;
1629 uint64_t BigSize = Dysymtab.ilocalsym;
1687 uint64_t NValue = 0;
1769 uint64_t MachOObjectFile::getNValue(DataRefImpl Sym) const {
1786 uint64_t NValue = getNValue(Symb);
1794 uint64_t MachOObjectFile::getSymbolValueImpl(DataRefImpl Sym) const {
1798 Expected<uint64_t> MachOObjectFile::getSymbolAddress(DataRefImpl Sym) const {
1811 uint64_t MachOObjectFile::getCommonSymbolSizeImpl(DataRefImpl DRI) const {
1909 uint64_t MachOObjectFile::getSectionAddress(DataRefImpl Sec) const {
1915 uint64_t MachOObjectFile::getSectionIndex(DataRefImpl Sec) const {
1919 uint64_t MachOObjectFile::getSectionSize(DataRefImpl Sec) const {
1925 uint64_t SectSize;
1940 uint64_t FileSize = getData().size();
1949 uint64_t Size) const {
1956 uint64_t Size;
1971 uint64_t MachOObjectFile::getSectionAlignment(DataRefImpl Sec) const {
2115 uint64_t MachOObjectFile::getRelocationOffset(DataRefImpl Rel) const {
2138 uint64_t Offset = S.symoff + SymbolIdx * SymbolTableEntrySize;
2149 uint64_t MachOObjectFile::getRelocationType(DataRefImpl Rel) const {
2157 uint64_t RType = getRelocationType(Rel);
2512 uint64_t MachOObjectFile::getSymbolIndex(DataRefImpl Symb) const {
2520 uint64_t Index = (Symb.p - DRIstart.p) / SymbolTableEntrySize;
2814 uint64_t ExportEntry::readULEB128(const uint8_t *&Ptr, const char **error) {
2816 uint64_t Result = decodeULEB128(Ptr, &Count, Trie.end(), error);
2827 uint64_t ExportEntry::flags() const {
2831 uint64_t ExportEntry::address() const {
2835 uint64_t ExportEntry::other() const {
2853 void ExportEntry::pushNode(uint64_t offset) {
2858 uint64_t ExportInfoSize = readULEB128(State.Current, &error);
2886 uint64_t Kind = State.Flags & MachO::EXPORT_SYMBOL_FLAGS_KIND_MASK;
3007 uint64_t childNodeIndex = readULEB128(Top.Current, &error);
3378 uint64_t MachORebaseEntry::readULEB128(const char **error) {
3380 uint64_t Result = decodeULEB128(Ptr, &Count, Opcodes.end(), error);
3389 uint64_t MachORebaseEntry::segmentOffset() const { return SegmentOffset; }
3417 uint64_t MachORebaseEntry::address() const {
3924 uint64_t MachOBindEntry::readULEB128(const char **error) {
3926 uint64_t Result = decodeULEB128(Ptr, &Count, Opcodes.end(), error);
3944 uint64_t MachOBindEntry::segmentOffset() const { return SegmentOffset; }
3980 uint64_t MachOBindEntry::address() const {
3999 uint64_t CurSegAddress;
4032 uint64_t SegOffset,
4075 int32_t SegIndex, uint64_t SegOffset) {
4091 uint64_t SegOffset) {
4097 uint64_t BindRebaseSegInfo::address(uint32_t SegIndex, uint64_t OffsetInSeg) {
4097 uint64_t BindRebaseSegInfo::address(uint32_t SegIndex, uint64_t OffsetInSeg) {
4447 uint64_t Offset = DLC.indirectsymoff + Index * sizeof(uint32_t);
4454 uint64_t Offset = DataOffset + Index * sizeof(MachO::data_in_code_entry);
4619 void MachOObjectFile::ReadULEB128s(uint64_t Index,
4620 SmallVectorImpl<uint64_t> &Out) const {
4623 uint64_t offset = Index;
4624 uint64_t data = 0;
4625 while (uint64_t delta = extractor.getULEB128(&offset)) {
lib/Object/MachOUniversal.cpp 149 uint64_t bigSize = A.getOffset();
lib/Object/Object.cpp 260 uint64_t LLVMGetSectionSize(LLVMSectionIteratorRef SI) {
271 uint64_t LLVMGetSectionAddress(LLVMSectionIteratorRef SI) {
313 uint64_t LLVMGetSymbolAddress(LLVMSymbolIteratorRef SI) {
314 Expected<uint64_t> Ret = (*unwrap(SI))->getAddress();
325 uint64_t LLVMGetSymbolSize(LLVMSymbolIteratorRef SI) {
330 uint64_t LLVMGetRelocationOffset(LLVMRelocationIteratorRef RI) {
339 uint64_t LLVMGetRelocationType(LLVMRelocationIteratorRef RI) {
lib/Object/ObjectFile.cpp 50 uint64_t ObjectFile::getSymbolValue(DataRefImpl Ref) const {
lib/Object/RecordStreamer.cpp 109 uint64_t Size, unsigned ByteAlignment,
114 void RecordStreamer::EmitCommonSymbol(MCSymbol *Symbol, uint64_t Size,
lib/Object/RecordStreamer.h 53 void EmitZerofill(MCSection *Section, MCSymbol *Symbol, uint64_t Size,
55 void EmitCommonSymbol(MCSymbol *Symbol, uint64_t Size,
lib/Object/RelocationResolver.cpp 26 static bool supportsX86_64(uint64_t Type) {
42 static uint64_t resolveX86_64(RelocationRef R, uint64_t S, uint64_t A) {
42 static uint64_t resolveX86_64(RelocationRef R, uint64_t S, uint64_t A) {
42 static uint64_t resolveX86_64(RelocationRef R, uint64_t S, uint64_t A) {
61 static bool supportsAArch64(uint64_t Type) {
71 static uint64_t resolveAArch64(RelocationRef R, uint64_t S, uint64_t A) {
71 static uint64_t resolveAArch64(RelocationRef R, uint64_t S, uint64_t A) {
71 static uint64_t resolveAArch64(RelocationRef R, uint64_t S, uint64_t A) {
82 static bool supportsBPF(uint64_t Type) {
92 static uint64_t resolveBPF(RelocationRef R, uint64_t S, uint64_t A) {
92 static uint64_t resolveBPF(RelocationRef R, uint64_t S, uint64_t A) {
92 static uint64_t resolveBPF(RelocationRef R, uint64_t S, uint64_t A) {
103 static bool supportsMips64(uint64_t Type) {
114 static uint64_t resolveMips64(RelocationRef R, uint64_t S, uint64_t A) {
114 static uint64_t resolveMips64(RelocationRef R, uint64_t S, uint64_t A) {
114 static uint64_t resolveMips64(RelocationRef R, uint64_t S, uint64_t A) {
127 static bool supportsPPC64(uint64_t Type) {
137 static uint64_t resolvePPC64(RelocationRef R, uint64_t S, uint64_t A) {
137 static uint64_t resolvePPC64(RelocationRef R, uint64_t S, uint64_t A) {
137 static uint64_t resolvePPC64(RelocationRef R, uint64_t S, uint64_t A) {
148 static bool supportsSystemZ(uint64_t Type) {
158 static uint64_t resolveSystemZ(RelocationRef R, uint64_t S, uint64_t A) {
158 static uint64_t resolveSystemZ(RelocationRef R, uint64_t S, uint64_t A) {
158 static uint64_t resolveSystemZ(RelocationRef R, uint64_t S, uint64_t A) {
169 static bool supportsSparc64(uint64_t Type) {
181 static uint64_t resolveSparc64(RelocationRef R, uint64_t S, uint64_t A) {
181 static uint64_t resolveSparc64(RelocationRef R, uint64_t S, uint64_t A) {
181 static uint64_t resolveSparc64(RelocationRef R, uint64_t S, uint64_t A) {
193 static bool supportsAmdgpu(uint64_t Type) {
203 static uint64_t resolveAmdgpu(RelocationRef R, uint64_t S, uint64_t A) {
203 static uint64_t resolveAmdgpu(RelocationRef R, uint64_t S, uint64_t A) {
203 static uint64_t resolveAmdgpu(RelocationRef R, uint64_t S, uint64_t A) {
213 static bool supportsX86(uint64_t Type) {
224 static uint64_t resolveX86(RelocationRef R, uint64_t S, uint64_t A) {
224 static uint64_t resolveX86(RelocationRef R, uint64_t S, uint64_t A) {
224 static uint64_t resolveX86(RelocationRef R, uint64_t S, uint64_t A) {
237 static bool supportsPPC32(uint64_t Type) {
241 static uint64_t resolvePPC32(RelocationRef R, uint64_t S, uint64_t A) {
241 static uint64_t resolvePPC32(RelocationRef R, uint64_t S, uint64_t A) {
241 static uint64_t resolvePPC32(RelocationRef R, uint64_t S, uint64_t A) {
247 static bool supportsARM(uint64_t Type) {
251 static uint64_t resolveARM(RelocationRef R, uint64_t S, uint64_t A) {
251 static uint64_t resolveARM(RelocationRef R, uint64_t S, uint64_t A) {
251 static uint64_t resolveARM(RelocationRef R, uint64_t S, uint64_t A) {
257 static bool supportsAVR(uint64_t Type) {
267 static uint64_t resolveAVR(RelocationRef R, uint64_t S, uint64_t A) {
267 static uint64_t resolveAVR(RelocationRef R, uint64_t S, uint64_t A) {
267 static uint64_t resolveAVR(RelocationRef R, uint64_t S, uint64_t A) {
278 static bool supportsLanai(uint64_t Type) {
282 static uint64_t resolveLanai(RelocationRef R, uint64_t S, uint64_t A) {
282 static uint64_t resolveLanai(RelocationRef R, uint64_t S, uint64_t A) {
282 static uint64_t resolveLanai(RelocationRef R, uint64_t S, uint64_t A) {
288 static bool supportsMips32(uint64_t Type) {
298 static uint64_t resolveMips32(RelocationRef R, uint64_t S, uint64_t A) {
298 static uint64_t resolveMips32(RelocationRef R, uint64_t S, uint64_t A) {
298 static uint64_t resolveMips32(RelocationRef R, uint64_t S, uint64_t A) {
308 static bool supportsSparc32(uint64_t Type) {
318 static uint64_t resolveSparc32(RelocationRef R, uint64_t S, uint64_t A) {
318 static uint64_t resolveSparc32(RelocationRef R, uint64_t S, uint64_t A) {
318 static uint64_t resolveSparc32(RelocationRef R, uint64_t S, uint64_t A) {
325 static bool supportsHexagon(uint64_t Type) {
329 static uint64_t resolveHexagon(RelocationRef R, uint64_t S, uint64_t A) {
329 static uint64_t resolveHexagon(RelocationRef R, uint64_t S, uint64_t A) {
329 static uint64_t resolveHexagon(RelocationRef R, uint64_t S, uint64_t A) {
335 static bool supportsRISCV(uint64_t Type) {
356 static uint64_t resolveRISCV(RelocationRef R, uint64_t S, uint64_t A) {
356 static uint64_t resolveRISCV(RelocationRef R, uint64_t S, uint64_t A) {
356 static uint64_t resolveRISCV(RelocationRef R, uint64_t S, uint64_t A) {
390 static bool supportsCOFFX86(uint64_t Type) {
400 static uint64_t resolveCOFFX86(RelocationRef R, uint64_t S, uint64_t A) {
400 static uint64_t resolveCOFFX86(RelocationRef R, uint64_t S, uint64_t A) {
400 static uint64_t resolveCOFFX86(RelocationRef R, uint64_t S, uint64_t A) {
410 static bool supportsCOFFX86_64(uint64_t Type) {
420 static uint64_t resolveCOFFX86_64(RelocationRef R, uint64_t S, uint64_t A) {
420 static uint64_t resolveCOFFX86_64(RelocationRef R, uint64_t S, uint64_t A) {
420 static uint64_t resolveCOFFX86_64(RelocationRef R, uint64_t S, uint64_t A) {
431 static bool supportsCOFFARM(uint64_t Type) {
441 static uint64_t resolveCOFFARM(RelocationRef R, uint64_t S, uint64_t A) {
441 static uint64_t resolveCOFFARM(RelocationRef R, uint64_t S, uint64_t A) {
441 static uint64_t resolveCOFFARM(RelocationRef R, uint64_t S, uint64_t A) {
451 static bool supportsCOFFARM64(uint64_t Type) {
461 static uint64_t resolveCOFFARM64(RelocationRef R, uint64_t S, uint64_t A) {
461 static uint64_t resolveCOFFARM64(RelocationRef R, uint64_t S, uint64_t A) {
461 static uint64_t resolveCOFFARM64(RelocationRef R, uint64_t S, uint64_t A) {
472 static bool supportsMachOX86_64(uint64_t Type) {
476 static uint64_t resolveMachOX86_64(RelocationRef R, uint64_t S, uint64_t A) {
476 static uint64_t resolveMachOX86_64(RelocationRef R, uint64_t S, uint64_t A) {
476 static uint64_t resolveMachOX86_64(RelocationRef R, uint64_t S, uint64_t A) {
482 static bool supportsWasm32(uint64_t Type) {
501 static uint64_t resolveWasm32(RelocationRef R, uint64_t S, uint64_t A) {
501 static uint64_t resolveWasm32(RelocationRef R, uint64_t S, uint64_t A) {
501 static uint64_t resolveWasm32(RelocationRef R, uint64_t S, uint64_t A) {
521 std::pair<bool (*)(uint64_t), RelocationResolver>
lib/Object/SymbolSize.cpp 39 std::vector<std::pair<SymbolRef, uint64_t>>
41 std::vector<std::pair<SymbolRef, uint64_t>> Ret;
58 uint64_t Value = Sym.getValue();
63 uint64_t Address = Sec.getAddress();
64 uint64_t Size = Sec.getSize();
85 uint64_t Size = Addresses[NextI].Address - P.Address;
lib/Object/WasmObjectFile.cpp 103 static uint64_t readULEB128(WasmObjectFile::ReadContext &Ctx) {
106 uint64_t Result = decodeULEB128(Ctx.Ptr, &Count, Ctx.End, &Error);
126 uint64_t Result = decodeSLEB128(Ctx.Ptr, &Count, Ctx.End, &Error);
148 uint64_t Result = readULEB128(Ctx);
345 llvm::DenseSet<uint64_t> Seen;
826 uint64_t Size = 5;
1294 Expected<uint64_t> WasmObjectFile::getSymbolAddress(DataRefImpl Symb) const {
1303 uint64_t WasmObjectFile::getWasmSymbolValue(const WasmSymbol &Sym) const {
1323 uint64_t WasmObjectFile::getSymbolValueImpl(DataRefImpl Symb) const {
1332 uint64_t WasmObjectFile::getCommonSymbolSizeImpl(DataRefImpl Symb) const {
1416 uint64_t WasmObjectFile::getSectionAddress(DataRefImpl Sec) const { return 0; }
1418 uint64_t WasmObjectFile::getSectionIndex(DataRefImpl Sec) const {
1422 uint64_t WasmObjectFile::getSectionSize(DataRefImpl Sec) const {
1435 uint64_t WasmObjectFile::getSectionAlignment(DataRefImpl Sec) const {
1474 uint64_t WasmObjectFile::getRelocationOffset(DataRefImpl Ref) const {
1489 uint64_t WasmObjectFile::getRelocationType(DataRefImpl Ref) const {
lib/Object/WindowsResource.cpp 49 const uint32_t SECTION_ALIGNMENT = sizeof(uint64_t);
623 uint64_t CurrentOffset = 0;
627 uint64_t FileSize;
699 SectionTwoSize += alignTo(Entry.size(), sizeof(uint64_t));
793 CurrentOffset += alignTo(RawDataEntry.size(), sizeof(uint64_t));
lib/Object/XCOFFObjectFile.cpp 26 const uint64_t Size = sizeof(T)) {
178 Expected<uint64_t> XCOFFObjectFile::getSymbolAddress(DataRefImpl Symb) const {
179 uint64_t Result = 0;
184 uint64_t XCOFFObjectFile::getSymbolValueImpl(DataRefImpl Symb) const {
189 uint64_t XCOFFObjectFile::getCommonSymbolSizeImpl(DataRefImpl Symb) const {
190 uint64_t Result = 0;
225 uint64_t XCOFFObjectFile::getSectionAddress(DataRefImpl Sec) const {
234 uint64_t XCOFFObjectFile::getSectionIndex(DataRefImpl Sec) const {
243 uint64_t XCOFFObjectFile::getSectionSize(DataRefImpl Sec) const {
257 uint64_t XCOFFObjectFile::getSectionAlignment(DataRefImpl Sec) const {
258 uint64_t Result = 0;
304 uint64_t XCOFFObjectFile::getRelocationOffset(DataRefImpl Rel) const {
306 uint64_t Result = 0;
315 uint64_t XCOFFObjectFile::getRelocationType(DataRefImpl Rel) const {
317 uint64_t Result = 0;
382 Expected<uint64_t> XCOFFObjectFile::getStartAddress() const {
471 uint64_t XCOFFObjectFile::getSymbolTableOffset64() const {
597 XCOFFObjectFile::parseStringTable(const XCOFFObjectFile *Obj, uint64_t Offset) {
630 uint64_t CurOffset = 0;
666 uint64_t SymbolTableSize = (uint64_t)(sizeof(XCOFFSymbolEntry)) *
lib/ObjectYAML/DWARFEmitter.cpp 44 static void writeVariableSizedInteger(uint64_t Integer, size_t Size,
170 void onValue(const uint64_t U, const bool LEB = false) override {
215 uint64_t SizeOfPrologueLength = LineTable.Length.isDWARF64() ? 8 : 4;
311 uint64_t Length;
330 virtual void onValue(const uint64_t U, const bool LEB = false) {
lib/ObjectYAML/DWARFVisitor.cpp 17 void DWARFYAML::VisitorImpl<T>::onVariableSizeValue(uint64_t U, unsigned Size) {
lib/ObjectYAML/DWARFVisitor.h 60 virtual void onValue(const uint64_t U, const bool LEB = false) {}
74 void onVariableSizeValue(uint64_t U, unsigned Size);
lib/ObjectYAML/ELFEmitter.cpp 35 const uint64_t InitialOffset;
40 ContiguousBlobAccumulator(uint64_t InitialOffset_)
50 uint64_t padToAlignment(unsigned Align) {
53 uint64_t CurrentOffset = InitialOffset + OS.tell();
54 uint64_t AlignedOffset = alignTo(CurrentOffset, Align);
276 uint64_t SHOff;
473 static uint64_t writeContent(raw_ostream &OS,
679 uint64_t FileOffset = PHeader.p_offset, MemOffset = PHeader.p_offset;
681 uint64_t End = SHeader->sh_offset + SHeader->sh_size;
689 PHeader.p_filesz = YamlPhdr.FileSize ? uint64_t(*YamlPhdr.FileSize)
691 PHeader.p_memsz = YamlPhdr.MemSize ? uint64_t(*YamlPhdr.MemSize)
881 uint64_t AuxCnt = 0;
924 uint64_t AuxCnt = 0;
1038 uint64_t Val =
1051 uint64_t Offset = OS.tell();
lib/ObjectYAML/MachOEmitter.cpp 60 uint64_t fileStart;
263 uint64_t segOff = is64Bit ? LC.Data.segment_command_64_data.fileoff
312 uint64_t segSize = is64Bit ? LC.Data.segment_command_64_data.filesize
389 typedef std::pair<uint64_t, writeHandler> writeOperation;
482 uint64_t fileStart;
lib/ObjectYAML/WasmEmitter.cpp 90 static int writeUint64(raw_ostream &OS, uint64_t Value) {
lib/ProfileData/Coverage/CoverageMapping.cpp 220 std::vector<uint64_t> Counts;
lib/ProfileData/Coverage/CoverageMappingReader.cpp 58 Error RawCoverageReader::readULEB128(uint64_t &Result) {
69 Error RawCoverageReader::readIntMax(uint64_t &Result, uint64_t MaxPlus1) {
69 Error RawCoverageReader::readIntMax(uint64_t &Result, uint64_t MaxPlus1) {
77 Error RawCoverageReader::readSize(uint64_t &Result) {
87 uint64_t Length;
96 uint64_t NumFilenames;
138 uint64_t EncodedCounter;
156 uint64_t NumRegions;
165 uint64_t EncodedCounterAndRegion;
170 uint64_t ExpandedFileID = 0;
198 uint64_t LineStartDelta, ColumnStart, NumLines, ColumnEnd;
255 uint64_t NumFileMappings;
259 uint64_t FilenameIndex;
271 uint64_t NumExpressions;
322 uint64_t NumFileMappings;
328 uint64_t FilenameIndex;
332 uint64_t NumExpressions;
337 uint64_t NumRegions;
342 uint64_t EncodedCounterAndRegion;
366 StringRef InstrProfSymtab::getFuncName(uint64_t Pointer, size_t Size) {
376 static Expected<bool> isCoverageMappingDummy(uint64_t Hash, StringRef Mapping) {
427 uint64_t FuncHash = CFR->template getFuncHash<Endian>();
608 readCoverageMappingData<uint64_t, support::endianness::little>(
613 if (Error E = readCoverageMappingData<uint64_t, support::endianness::big>(
631 uint64_t ProfileNamesSize = decodeULEB128(Data.bytes_begin(), &N);
638 uint64_t Address = decodeULEB128(Data.bytes_begin(), &N);
lib/ProfileData/GCOV.cpp 259 uint64_t EndPos = Buff.getCursor() + HeaderLength * sizeof(uint32_t);
328 uint64_t ArcCount;
341 uint64_t GCOVFunction::getEntryCount() const {
347 uint64_t GCOVFunction::getExitCount() const {
388 void GCOVBlock::addCount(size_t DstEdgeNo, uint64_t N) {
447 uint64_t GCOVBlock::getCycleCount(const Edges &Path) {
448 uint64_t CycleCount = std::numeric_limits<uint64_t>::max();
448 uint64_t CycleCount = std::numeric_limits<uint64_t>::max();
537 uint64_t GCOVBlock::getLineCount(const BlockVector &Blocks) {
538 uint64_t Count = 0;
568 static uint32_t safeDiv(uint64_t Numerator, uint64_t Divisor) {
568 static uint32_t safeDiv(uint64_t Numerator, uint64_t Divisor) {
577 static uint32_t branchDiv(uint64_t Numerator, uint64_t Divisor) {
577 static uint32_t branchDiv(uint64_t Numerator, uint64_t Divisor) {
593 formatBranchInfo(const GCOV::Options &Options, uint64_t Count, uint64_t Total)
593 formatBranchInfo(const GCOV::Options &Options, uint64_t Count, uint64_t Total)
606 uint64_t Count;
607 uint64_t Total;
794 const uint64_t LineCount = GCOVBlock::getLineCount(Blocks);
837 uint64_t EntryCount = Func->getEntryCount();
863 SmallVector<uint64_t, 16> BranchCounts;
864 uint64_t TotalCounts = 0;
885 for (uint64_t N : BranchCounts)
892 uint64_t Count) const {
lib/ProfileData/InstrProf.cpp 218 uint64_t Version LLVM_ATTRIBUTE_UNUSED) {
253 std::string getPGOFuncName(const Function &F, bool InLTO, uint64_t Version) {
364 uint64_t InstrProfSymtab::getFunctionHashFromAddress(uint64_t Address) {
364 uint64_t InstrProfSymtab::getFunctionHashFromAddress(uint64_t Address) {
441 uint64_t UncompressedSize = decodeULEB128(P, &N);
443 uint64_t CompressedSize = decodeULEB128(P, &N);
482 uint64_t FuncSum = 0;
489 uint64_t KindSum = 0;
552 uint64_t ValueCutoff) {
579 uint64_t MaxCount = 0;
602 uint64_t Weight,
624 void InstrProfValueSiteRecord::scale(uint64_t Weight,
637 uint32_t ValueKind, InstrProfRecord &Src, uint64_t Weight,
655 void InstrProfRecord::merge(InstrProfRecord &Other, uint64_t Weight,
677 uint32_t ValueKind, uint64_t Weight,
683 void InstrProfRecord::scale(uint64_t Weight,
696 uint64_t InstrProfRecord::remapValue(uint64_t Value, uint32_t ValueKind,
696 uint64_t InstrProfRecord::remapValue(uint64_t Value, uint32_t ValueKind,
793 for (uint64_t VSite = 0; VSite < NumValueSites; ++VSite) {
819 sys::swapByteOrder<uint64_t>(VD[I].Value);
820 sys::swapByteOrder<uint64_t>(VD[I].Count);
859 if (TotalSize % sizeof(uint64_t))
939 uint64_t Sum = 0;
949 uint64_t Sum, InstrProfValueKind ValueKind,
980 uint32_t &ActualNumValueData, uint64_t &TotalC) {
1136 uint64_t ProfileVersion = (INSTR_PROF_RAW_VERSION | VARIANT_MASK_IR_PROF);
lib/ProfileData/InstrProfReader.cpp 65 if (uint64_t(Buffer->getBufferSize()) > std::numeric_limits<uint64_t>::max())
116 if (uint64_t(Buffer->getBufferSize()) > std::numeric_limits<uint64_t>::max())
143 size_t count = std::min(Buffer.getBufferSize(), sizeof(uint64_t));
219 uint64_t TakenCount, Value;
267 uint64_t NumCounters;
278 for (uint64_t I = 0; I < NumCounters; ++I) {
281 uint64_t Count;
296 if (DataBuffer.getBufferSize() < sizeof(uint64_t))
298 uint64_t Magic =
330 if (reinterpret_cast<size_t>(CurrentPos) % alignof(uint64_t))
333 uint64_t Magic = *reinterpret_cast<const uint64_t *>(CurrentPos);
374 ptrdiff_t NamesOffset = CountersOffset + sizeof(uint64_t) * CountersSize;
433 for (uint64_t Count : RawCounts)
532 if (N % sizeof(uint64_t))
536 std::vector<uint64_t> CounterBuffer;
541 if (D + sizeof(uint64_t) >= End)
543 uint64_t Hash = endian::readNext<uint64_t, little, unaligned>(D);
543 uint64_t Hash = endian::readNext<uint64_t, little, unaligned>(D);
546 uint64_t CountsSize = N / sizeof(uint64_t) - 1;
546 uint64_t CountsSize = N / sizeof(uint64_t) - 1;
549 if (D + sizeof(uint64_t) > End)
551 CountsSize = endian::readNext<uint64_t, little, unaligned>(D);
554 if (D + CountsSize * sizeof(uint64_t) > End)
559 for (uint64_t J = 0; J < CountsSize; ++J)
560 CounterBuffer.push_back(endian::readNext<uint64_t, little, unaligned>(D));
606 uint64_t Version) {
737 uint64_t Magic =
738 endian::read<uint64_t, little, aligned>(DataBuffer.getBufferStart());
752 uint64_t NFields =
753 endian::byte_swap<uint64_t, little>(SummaryInLE->NumSummaryFields);
754 uint64_t NEntries =
755 endian::byte_swap<uint64_t, little>(SummaryInLE->NumCutoffEntries);
761 const uint64_t *Src = reinterpret_cast<const uint64_t *>(SummaryInLE);
762 uint64_t *Dst = reinterpret_cast<uint64_t *>(SummaryData.get());
763 for (unsigned I = 0; I < SummarySize / sizeof(uint64_t); I++)
764 Dst[I] = endian::byte_swap<uint64_t, little>(Src[I]);
810 uint64_t Magic = endian::byte_swap<uint64_t, little>(Header->Magic);
810 uint64_t Magic = endian::byte_swap<uint64_t, little>(Header->Magic);
815 uint64_t FormatVersion = endian::byte_swap<uint64_t, little>(Header->Version);
815 uint64_t FormatVersion = endian::byte_swap<uint64_t, little>(Header->Version);
828 endian::byte_swap<uint64_t, little>(Header->HashType));
832 uint64_t HashOffset = endian::byte_swap<uint64_t, little>(Header->HashOffset);
832 uint64_t HashOffset = endian::byte_swap<uint64_t, little>(Header->HashOffset);
869 uint64_t FuncHash) {
885 uint64_t FuncHash,
886 std::vector<uint64_t> &Counts) {
911 uint64_t NumFuncs = 0;
lib/ProfileData/InstrProfWriter.cpp 39 uint64_t Pos; // Where to patch.
40 uint64_t *D; // Pointer to an array of source data.
55 uint64_t tell() { return OS.tell(); }
56 void write(uint64_t V) { LE.write<uint64_t>(V); }
56 void write(uint64_t V) { LE.write<uint64_t>(V); }
76 uint64_t Bytes = endian::byte_swap<uint64_t, little>(P[K].D[I]);
76 uint64_t Bytes = endian::byte_swap<uint64_t, little>(P[K].D[I]);
77 Data.replace(P[K].Pos + I * sizeof(uint64_t), sizeof(uint64_t),
77 Data.replace(P[K].Pos + I * sizeof(uint64_t), sizeof(uint64_t),
78 (const char *)&Bytes, sizeof(uint64_t));
99 using hash_value_type = uint64_t;
100 using offset_type = uint64_t;
124 M += sizeof(uint64_t); // The function hash
125 M += sizeof(uint64_t); // The size of the Counts vector
126 M += ProfRecord.Counts.size() * sizeof(uint64_t);
151 LE.write<uint64_t>(ProfileData.first); // Function hash
152 LE.write<uint64_t>(ProfRecord.Counts.size());
153 for (uint64_t I : ProfRecord.Counts)
154 LE.write<uint64_t>(I);
183 void InstrProfWriter::addRecord(NamedInstrProfRecord &&I, uint64_t Weight,
216 uint64_t ValueCutoff = FuncFilter.ValueCutoff;
224 void InstrProfWriter::addRecord(StringRef Name, uint64_t Hash,
225 InstrProfRecord &&I, uint64_t Weight,
314 int N = sizeof(IndexedInstrProf::Header) / sizeof(uint64_t);
323 uint64_t HashTableStartFieldOffset = OS.tell();
331 uint64_t SummaryOffset = OS.tell();
332 for (unsigned I = 0; I < SummarySize / sizeof(uint64_t); I++)
334 uint64_t CSSummaryOffset = 0;
335 uint64_t CSSummarySize = 0;
338 CSSummarySize = SummarySize / sizeof(uint64_t);
344 uint64_t HashTableStart = Generator.Emit(OS.OS, *InfoObj);
370 (int)(SummarySize / sizeof(uint64_t))},
398 void InstrProfWriter::writeRecordInText(StringRef Name, uint64_t Hash,
406 for (uint64_t Count : Func.Counts)
446 using FuncPair = detail::DenseMapPair<uint64_t, InstrProfRecord>;
lib/ProfileData/ProfileSummaryBuilder.cpp 70 uint64_t CurrSum = 0, Count = 0;
79 uint64_t DesiredCount = Temp.getZExtValue();
108 void InstrProfSummaryBuilder::addEntryCount(uint64_t Count) {
115 void InstrProfSummaryBuilder::addInternalCount(uint64_t Count) {
lib/ProfileData/SampleProf.cpp 202 uint64_t ListSize) {
204 uint64_t Size = 0;
lib/ProfileData/SampleProfReader.cpp 70 uint64_t &NumSamples, uint64_t &NumHeadSamples) {
70 uint64_t &NumSamples, uint64_t &NumHeadSamples) {
98 uint64_t &NumSamples, uint32_t &LineOffset,
100 DenseMap<StringRef, uint64_t> &TargetCountMap) {
151 uint64_t count, n4;
165 uint64_t n5 = AfterColon.find_first_of(':');
216 uint64_t NumSamples, NumHeadSamples;
231 uint64_t NumSamples;
233 DenseMap<StringRef, uint64_t> TargetCountMap;
280 uint64_t NumSamples, NumHeadSamples;
292 uint64_t Val = decodeULEB128(Data, &NumBytesRead);
367 auto NumSamples = readNumber<uint64_t>();
378 auto LineOffset = readNumber<uint64_t>();
386 auto Discriminator = readNumber<uint64_t>();
390 auto NumSamples = readNumber<uint64_t>();
403 auto CalledFunctionSamples = readNumber<uint64_t>();
420 auto LineOffset = readNumber<uint64_t>();
424 auto Discriminator = readNumber<uint64_t>();
445 auto NumHeadSamples = readNumber<uint64_t>();
475 uint64_t Size, SecType Type) {
513 auto Size = readNumber<uint64_t>();
523 auto Offset = readNumber<uint64_t>();
576 const uint8_t *SecStart, const uint64_t SecSize,
577 const uint8_t *&DecompressBuf, uint64_t &DecompressBufSize) {
580 auto DecompressSize = readNumber<uint64_t>();
585 auto CompressSize = readNumber<uint64_t>();
614 uint64_t SecSize = Entry.Size;
623 uint64_t DecompressBufSize;
647 std::vector<uint64_t> OffsetsToUse;
674 std::error_code SampleProfileReaderRawBinary::verifySPMagic(uint64_t Magic) {
680 std::error_code SampleProfileReaderExtBinary::verifySPMagic(uint64_t Magic) {
687 SampleProfileReaderCompactBinary::verifySPMagic(uint64_t Magic) {
709 auto Size = readNumber<uint64_t>();
714 auto FID = readNumber<uint64_t>();
724 auto Type = readUnencodedNumber<uint64_t>();
729 auto Flags = readUnencodedNumber<uint64_t>();
734 auto Offset = readUnencodedNumber<uint64_t>();
739 auto Size = readUnencodedNumber<uint64_t>();
749 auto EntryNum = readUnencodedNumber<uint64_t>();
775 uint64_t SampleProfileReaderExtBinaryBase::getSectionSize(SecType Type) {
783 uint64_t SampleProfileReaderExtBinaryBase::getFileSize() {
789 uint64_t FileSize = 0;
797 uint64_t TotalSecsSize = 0;
803 uint64_t HeaderSize = SecHdrTable.front().Offset;
815 auto Magic = readNumber<uint64_t>();
822 auto Version = readNumber<uint64_t>();
854 auto TableOffset = readUnencodedNumber<uint64_t>();
864 auto Size = readNumber<uint64_t>();
874 auto Offset = readNumber<uint64_t>();
894 auto Cutoff = readNumber<uint64_t>();
898 auto MinBlockCount = readNumber<uint64_t>();
902 auto NumBlocks = readNumber<uint64_t>();
911 auto TotalCount = readNumber<uint64_t>();
915 auto MaxBlockCount = readNumber<uint64_t>();
919 auto MaxFunctionCount = readNumber<uint64_t>();
923 auto NumBlocks = readNumber<uint64_t>();
927 auto NumFunctions = readNumber<uint64_t>();
931 auto NumSummaryEntries = readNumber<uint64_t>();
951 uint64_t Magic = decodeULEB128(Data);
958 uint64_t Magic = decodeULEB128(Data);
965 uint64_t Magic = decodeULEB128(Data);
981 } else if (sizeof(T) <= sizeof(uint64_t)) {
982 uint64_t Val;
1071 uint64_t HeadCount = 0;
1123 uint64_t Count;
1157 uint64_t TargetIdx;
1162 uint64_t TargetCount;
lib/ProfileData/SampleProfWriter.cpp 86 uint64_t SampleProfileWriterExtBinaryBase::markSectionStart(SecType Type) {
87 uint64_t SectionStart = OutputStream->tell();
118 uint64_t SectionStart) {
148 uint64_t Offset = OutputStream->tell();
171 uint64_t SectionStart = markSectionStart(SecProfSummary);
332 uint64_t FuncOffsetTableStart = OS.tell();
423 uint64_t Saved = OutputStream->tell();
515 uint64_t CalleeSamples = J.second;
523 uint64_t NumCallsites = 0;
551 uint64_t Offset = OutputStream->tell();
lib/Remarks/BitstreamRemarkParser.cpp 46 SmallVector<uint64_t, 2> Record;
93 SmallVector<uint64_t, 5> Record;
251 uint64_t PreviousBitNo = Stream.GetCurrentBitNo();
368 if (Optional<uint64_t> Version = MetaHelper.ContainerVersion)
403 Optional<uint64_t> RemarkVersion) {
444 uint64_t PreviousContainerVersion = ContainerVersion;
lib/Remarks/BitstreamRemarkParser.h 37 uint64_t ContainerVersion;
38 uint64_t RemarkVersion;
lib/Remarks/BitstreamRemarkSerializer.cpp 23 static void push(SmallVectorImpl<uint64_t> &R, StringRef Str) {
29 SmallVectorImpl<uint64_t> &R, StringRef Str) {
37 SmallVectorImpl<uint64_t> &R, StringRef Str) {
75 uint64_t RemarkVersion) {
234 uint64_t ContainerVersion, Optional<uint64_t> RemarkVersion,
234 uint64_t ContainerVersion, Optional<uint64_t> RemarkVersion,
289 if (Optional<uint64_t> Hotness = Remark.Hotness) {
lib/Remarks/Remark.cpp 100 extern "C" uint64_t LLVMRemarkEntryGetHotness(LLVMRemarkEntryRef Remark) {
101 if (const Optional<uint64_t> &Hotness = unwrap(Remark)->Hotness)
lib/Remarks/RemarkParser.cpp 131 uint64_t Size) {
137 uint64_t Size) {
lib/Remarks/YAMLRemarkParser.cpp 71 static Expected<uint64_t> parseVersion(StringRef &Buf) {
72 if (Buf.size() < sizeof(uint64_t))
76 uint64_t Version =
77 support::endian::read<uint64_t, support::little, support::unaligned>(
84 Buf = Buf.drop_front(sizeof(uint64_t));
88 static Expected<uint64_t> parseStrTabSize(StringRef &Buf) {
89 if (Buf.size() < sizeof(uint64_t))
92 uint64_t StrTabSize =
93 support::endian::read<uint64_t, support::little, support::unaligned>(
95 Buf = Buf.drop_front(sizeof(uint64_t));
100 uint64_t StrTabSize) {
122 Expected<uint64_t> Version = parseVersion(Buf);
126 Expected<uint64_t> StrTabSize = parseStrTabSize(Buf);
lib/Remarks/YAMLRemarkSerializer.cpp 25 Optional<uint64_t> Hotness,
223 uint64_t StrTabSize = StrTab ? (*StrTab)->SerializedSize : 0;
lib/Support/APFloat.cpp 2839 uint64_t myexponent, mysignificand;
2858 uint64_t words[2];
2869 uint64_t words[2];
2918 uint64_t myexponent, mysignificand, mysignificand2;
2939 uint64_t words[2];
2952 uint64_t myexponent, mysignificand;
3078 uint64_t i1 = api.getRawData()[0];
3079 uint64_t i2 = api.getRawData()[1];
3080 uint64_t myexponent = (i2 & 0x7fff);
3081 uint64_t mysignificand = i1;
3112 uint64_t i1 = api.getRawData()[0];
3113 uint64_t i2 = api.getRawData()[1];
3136 uint64_t i1 = api.getRawData()[0];
3137 uint64_t i2 = api.getRawData()[1];
3138 uint64_t myexponent = (i2 >> 48) & 0x7fff;
3139 uint64_t mysignificand = i1;
3140 uint64_t mysignificand2 = i2 & 0xffffffffffffLL;
3174 uint64_t i = *api.getRawData();
3175 uint64_t myexponent = (i >> 52) & 0x7ff;
3176 uint64_t mysignificand = i & 0xfffffffffffffLL;
4311 uint64_t Data[] = {
4552 SmallVector<uint64_t, 4> parts(result.getNumWords());
lib/Support/APInt.cpp 37 inline static uint64_t* getClearedMemory(unsigned numWords) {
38 uint64_t *result = new uint64_t[numWords];
38 uint64_t *result = new uint64_t[numWords];
39 memset(result, 0, numWords * sizeof(uint64_t));
45 inline static uint64_t* getMemory(unsigned numWords) {
46 return new uint64_t[numWords];
77 void APInt::initSlowCase(uint64_t val, bool isSigned) {
91 void APInt::initFromArray(ArrayRef<uint64_t> bigVal) {
108 APInt::APInt(unsigned numBits, ArrayRef<uint64_t> bigVal)
113 APInt::APInt(unsigned numBits, unsigned numWords, const uint64_t bigVal[])
202 APInt& APInt::operator+=(uint64_t RHS) {
222 APInt& APInt::operator-=(uint64_t RHS) {
261 APInt& APInt::operator*=(uint64_t RHS) {
308 uint64_t loMask = WORDTYPE_MAX << whichBit(loBit);
314 uint64_t hiMask = WORDTYPE_MAX >> (APINT_BITS_PER_WORD - hiShiftAmt);
358 uint64_t mask = WORDTYPE_MAX >> (APINT_BITS_PER_WORD - subBitWidth);
370 uint64_t mask = WORDTYPE_MAX >> (APINT_BITS_PER_WORD - subBitWidth);
386 uint64_t mask = WORDTYPE_MAX >> (APINT_BITS_PER_WORD - remainingBits);
404 void APInt::insertBits(uint64_t subBits, unsigned bitPosition, unsigned numBits) {
405 uint64_t maskBits = maskTrailingOnes<uint64_t>(numBits);
405 uint64_t maskBits = maskTrailingOnes<uint64_t>(numBits);
457 uint64_t *DestPtr = Result.isSingleWord() ? &Result.U.VAL : Result.U.pVal;
459 uint64_t w0 = U.pVal[loWord + word];
460 uint64_t w1 =
468 uint64_t APInt::extractBitsAsZExtValue(unsigned numBits,
475 uint64_t maskBits = maskTrailingOnes<uint64_t>(numBits);
475 uint64_t maskBits = maskTrailingOnes<uint64_t>(numBits);
487 uint64_t retBits = U.pVal[loWord] >> loBit;
590 uint64_t V = U.pVal[i];
701 return APInt(BitWidth, llvm::reverseBits<uint64_t>(U.VAL));
770 uint64_t I = bit_cast<uint64_t>(Double);
770 uint64_t I = bit_cast<uint64_t>(Double);
783 uint64_t mantissa = (I & (~0ULL >> 12)) | 1ULL << 52;
832 uint64_t exp = n;
845 uint64_t mantissa;
853 uint64_t hibits = Tmp.U.pVal[hiWord] << (52 - n % APINT_BITS_PER_WORD);
854 uint64_t lobits = Tmp.U.pVal[hiWord-1] >> (11 + n % APINT_BITS_PER_WORD);
859 uint64_t sign = isNeg ? (1ULL << (APINT_BITS_PER_WORD - 1)) : 0;
860 uint64_t I = sign | (exp << 52) | mantissa;
1302 const uint64_t b = uint64_t(1) << 32;
1361 uint64_t dividend = Make_64(u[j+n], u[j+n-1]);
1363 uint64_t qp = dividend / v[n-1];
1364 uint64_t rp = dividend % v[n-1];
1383 uint64_t p = uint64_t(qp) * uint64_t(v[i]);
1491 uint64_t tmp = LHS[i];
1500 uint64_t tmp = RHS[i];
1532 uint64_t partial_dividend = Make_64(remainder, U[i]);
1614 APInt APInt::udiv(uint64_t RHS) const {
1707 uint64_t APInt::urem(uint64_t RHS) const {
1707 uint64_t APInt::urem(uint64_t RHS) const {
1734 uint64_t Remainder;
1769 uint64_t QuotVal = LHS.U.VAL / RHS.U.VAL;
1770 uint64_t RemVal = LHS.U.VAL % RHS.U.VAL;
1815 uint64_t lhsValue = LHS.U.pVal[0];
1816 uint64_t rhsValue = RHS.U.pVal[0];
1832 void APInt::udivrem(const APInt &LHS, uint64_t RHS, APInt &Quotient,
1833 uint64_t &Remainder) {
1839 uint64_t QuotVal = LHS.U.VAL / RHS;
1880 uint64_t lhsValue = LHS.U.pVal[0];
1913 uint64_t R = Remainder;
2186 uint64_t N;
2245 uint64_t Digit;
3053 while (StoreBytes > sizeof(uint64_t)) {
3054 StoreBytes -= sizeof(uint64_t);
3056 memcpy(Dst + StoreBytes, Src, sizeof(uint64_t));
3057 Src += sizeof(uint64_t);
3060 memcpy(Dst, Src + sizeof(uint64_t) - StoreBytes, StoreBytes);
3080 while (LoadBytes > sizeof(uint64_t)) {
3081 LoadBytes -= sizeof(uint64_t);
3083 memcpy(Dst, Src + LoadBytes, sizeof(uint64_t));
3084 Dst += sizeof(uint64_t);
3087 memcpy(Dst + sizeof(uint64_t) - LoadBytes, Src, LoadBytes);
lib/Support/ARMAttributeParser.cpp 74 uint64_t ARMAttributeParser::ParseInteger(const uint8_t *Data,
77 uint64_t Value = decodeULEB128(Data + Offset, &Length);
93 uint64_t Value = ParseInteger(Data, Offset);
141 uint64_t Value = ParseInteger(Data, Offset);
149 uint64_t Encoded = ParseInteger(Data, Offset);
168 uint64_t Value = ParseInteger(Data, Offset);
178 uint64_t Value = ParseInteger(Data, Offset);
191 uint64_t Value = ParseInteger(Data, Offset);
201 uint64_t Value = ParseInteger(Data, Offset);
213 uint64_t Value = ParseInteger(Data, Offset);
225 uint64_t Value = ParseInteger(Data, Offset);
238 uint64_t Value = ParseInteger(Data, Offset);
248 uint64_t Value = ParseInteger(Data, Offset);
260 uint64_t Value = ParseInteger(Data, Offset);
272 uint64_t Value = ParseInteger(Data, Offset);
284 uint64_t Value = ParseInteger(Data, Offset);
296 uint64_t Value = ParseInteger(Data, Offset);
306 uint64_t Value = ParseInteger(Data, Offset);
318 uint64_t Value = ParseInteger(Data, Offset);
328 uint64_t Value = ParseInteger(Data, Offset);
339 uint64_t Value = ParseInteger(Data, Offset);
351 uint64_t Value = ParseInteger(Data, Offset);
363 uint64_t Value = ParseInteger(Data, Offset);
384 uint64_t Value = ParseInteger(Data, Offset);
404 uint64_t Value = ParseInteger(Data, Offset);
416 uint64_t Value = ParseInteger(Data, Offset);
428 uint64_t Value = ParseInteger(Data, Offset);
438 uint64_t Value = ParseInteger(Data, Offset);
452 uint64_t Value = ParseInteger(Data, Offset);
466 uint64_t Value = ParseInteger(Data, Offset);
474 uint64_t Integer = ParseInteger(Data, Offset);
500 uint64_t Value = ParseInteger(Data, Offset);
510 uint64_t Value = ParseInteger(Data, Offset);
520 uint64_t Value = ParseInteger(Data, Offset);
530 uint64_t Value = ParseInteger(Data, Offset);
542 uint64_t Value = ParseInteger(Data, Offset);
552 uint64_t Value = ParseInteger(Data, Offset);
562 uint64_t Value = ParseInteger(Data, Offset);
575 uint64_t Value = ParseInteger(Data, Offset);
583 uint64_t Value = ParseInteger(Data, Offset);
591 uint64_t Value = decodeULEB128(Data + Offset, &Length);
603 uint64_t Tag = decodeULEB128(Data + Offset, &Length);
699 uint64_t Offset = 1;
lib/Support/BinaryStreamReader.cpp 44 Error BinaryStreamReader::readULEB128(uint64_t &Dest) {
lib/Support/BinaryStreamWriter.cpp 35 Error BinaryStreamWriter::writeULEB128(uint64_t Value) {
lib/Support/BlockFrequency.cpp 41 uint64_t Before = Freq.Frequency;
lib/Support/BranchProbability.cpp 45 uint64_t Prob64 =
52 BranchProbability::getBranchProbability(uint64_t Numerator,
53 uint64_t Denominator) {
68 static uint64_t scale(uint64_t Num, uint32_t N, uint32_t D) {
68 static uint64_t scale(uint64_t Num, uint32_t N, uint32_t D) {
79 uint64_t ProductHigh = (Num >> 32) * N;
80 uint64_t ProductLow = (Num & UINT32_MAX) * N;
91 uint64_t Rem = (uint64_t(Upper32) << 32) | Mid32;
92 uint64_t UpperQ = Rem / D;
99 uint64_t LowerQ = Rem / D;
100 uint64_t Q = (UpperQ << 32) + LowerQ;
106 uint64_t BranchProbability::scale(uint64_t Num) const {
106 uint64_t BranchProbability::scale(uint64_t Num) const {
110 uint64_t BranchProbability::scaleByInverse(uint64_t Num) const {
110 uint64_t BranchProbability::scaleByInverse(uint64_t Num) const {
lib/Support/CachePruning.cpp 32 uint64_t Size;
57 uint64_t Num;
100 uint64_t Size;
110 uint64_t Mult = 1;
125 uint64_t Size;
205 uint64_t TotalSize = 0;
278 auto TotalSizeTarget = std::min<uint64_t>(
lib/Support/CodeGenCoverage.cpp 34 void CodeGenCoverage::setCovered(uint64_t RuleID) {
40 bool CodeGenCoverage::isCovered(uint64_t RuleID) const {
67 uint64_t RuleID = support::endian::read64(CurPtr, support::native);
110 uint64_t Zero = 0;
111 uint64_t InvZero = ~0ull;
114 for (uint64_t I : RuleCoverage.set_bits())
115 CoverageFile->os().write((const char *)&I, sizeof(uint64_t));
116 CoverageFile->os().write((const char *)&InvZero, sizeof(uint64_t));
lib/Support/DataExtractor.cpp 27 static T getU(uint64_t *offset_ptr, const DataExtractor *de,
34 uint64_t offset = *offset_ptr;
49 static T *getUs(uint64_t *offset_ptr, T *dst, uint32_t count,
56 uint64_t offset = *offset_ptr;
72 uint8_t DataExtractor::getU8(uint64_t *offset_ptr, llvm::Error *Err) const {
77 DataExtractor::getU8(uint64_t *offset_ptr, uint8_t *dst, uint32_t count) const {
87 uint16_t DataExtractor::getU16(uint64_t *offset_ptr, llvm::Error *Err) const {
91 uint16_t *DataExtractor::getU16(uint64_t *offset_ptr, uint16_t *dst,
97 uint32_t DataExtractor::getU24(uint64_t *offset_ptr) const {
104 uint32_t DataExtractor::getU32(uint64_t *offset_ptr, llvm::Error *Err) const {
108 uint32_t *DataExtractor::getU32(uint64_t *offset_ptr, uint32_t *dst,
114 uint64_t DataExtractor::getU64(uint64_t *offset_ptr, llvm::Error *Err) const {
114 uint64_t DataExtractor::getU64(uint64_t *offset_ptr, llvm::Error *Err) const {
115 return getU<uint64_t>(offset_ptr, this, IsLittleEndian, Data.data(), Err);
118 uint64_t *DataExtractor::getU64(uint64_t *offset_ptr, uint64_t *dst,
118 uint64_t *DataExtractor::getU64(uint64_t *offset_ptr, uint64_t *dst,
118 uint64_t *DataExtractor::getU64(uint64_t *offset_ptr, uint64_t *dst,
120 return getUs<uint64_t>(offset_ptr, dst, count, this, IsLittleEndian,
124 uint64_t DataExtractor::getUnsigned(uint64_t *offset_ptr, uint32_t byte_size,
124 uint64_t DataExtractor::getUnsigned(uint64_t *offset_ptr, uint32_t byte_size,
140 DataExtractor::getSigned(uint64_t *offset_ptr, uint32_t byte_size) const {
154 const char *DataExtractor::getCStr(uint64_t *offset_ptr) const {
155 uint64_t offset = *offset_ptr;
164 StringRef DataExtractor::getCStrRef(uint64_t *offset_ptr) const {
165 uint64_t Start = *offset_ptr;
174 uint64_t DataExtractor::getULEB128(uint64_t *offset_ptr,
174 uint64_t DataExtractor::getULEB128(uint64_t *offset_ptr,
183 uint64_t result = decodeULEB128(
195 int64_t DataExtractor::getSLEB128(uint64_t *offset_ptr) const {
209 void DataExtractor::skip(Cursor &C, uint64_t Length) const {
lib/Support/FileCheck.cpp 28 Expected<uint64_t> FileCheckNumericVariableUse::eval() const {
29 Optional<uint64_t> Value = NumericVariable->getValue();
36 Expected<uint64_t> FileCheckASTBinop::eval() const {
37 Expected<uint64_t> LeftOp = LeftOperand->eval();
38 Expected<uint64_t> RightOp = RightOperand->eval();
55 Expected<uint64_t> EvaluatedValue = ExpressionAST->eval();
207 uint64_t LiteralValue;
215 static uint64_t add(uint64_t LeftOp, uint64_t RightOp) {
215 static uint64_t add(uint64_t LeftOp, uint64_t RightOp) {
215 static uint64_t add(uint64_t LeftOp, uint64_t RightOp) {
219 static uint64_t sub(uint64_t LeftOp, uint64_t RightOp) {
219 static uint64_t sub(uint64_t LeftOp, uint64_t RightOp) {
219 static uint64_t sub(uint64_t LeftOp, uint64_t RightOp) {
689 uint64_t Val;
1847 Expected<uint64_t> Value = ExpressionAST->eval();
lib/Support/FileCheckImpl.h 40 virtual Expected<uint64_t> eval() const = 0;
47 uint64_t Value;
51 FileCheckExpressionLiteral(uint64_t Val) : Value(Val) {}
54 Expected<uint64_t> eval() const { return Value; }
88 Optional<uint64_t> Value;
106 Optional<uint64_t> getValue() const { return Value; }
109 void setValue(uint64_t NewValue) { Value = NewValue; }
136 Expected<uint64_t> eval() const;
140 using binop_eval_t = uint64_t (*)(uint64_t, uint64_t);
140 using binop_eval_t = uint64_t (*)(uint64_t, uint64_t);
140 using binop_eval_t = uint64_t (*)(uint64_t, uint64_t);
167 Expected<uint64_t> eval() const;
lib/Support/FileUtilities.cpp 208 uint64_t A_size = F1.getBufferSize();
209 uint64_t B_size = F2.getBufferSize();
lib/Support/Hashing.cpp 22 uint64_t llvm::hashing::detail::fixed_seed_override = 0;
26 void llvm::set_fixed_execution_hash_seed(uint64_t fixed_value) {
lib/Support/Host.cpp 368 uint64_t insns;
369 uint64_t license;
372 uint64_t log_buf;
lib/Support/LEB128.cpp 19 unsigned getULEB128Size(uint64_t Value) {
lib/Support/MemoryBuffer.cpp 108 getFileAux(const Twine &Filename, int64_t FileSize, uint64_t MapSize,
109 uint64_t Offset, bool RequiresNullTerminator, bool IsVolatile);
154 MemoryBuffer::getFileSlice(const Twine &FilePath, uint64_t MapSize,
155 uint64_t Offset, bool IsVolatile) {
172 static uint64_t getLegalMapOffset(uint64_t Offset) {
172 static uint64_t getLegalMapOffset(uint64_t Offset) {
176 static uint64_t getLegalMapSize(uint64_t Len, uint64_t Offset) {
176 static uint64_t getLegalMapSize(uint64_t Len, uint64_t Offset) {
176 static uint64_t getLegalMapSize(uint64_t Len, uint64_t Offset) {
180 const char *getStart(uint64_t Len, uint64_t Offset) {
180 const char *getStart(uint64_t Len, uint64_t Offset) {
185 MemoryBufferMMapFile(bool RequiresNullTerminator, sys::fs::file_t FD, uint64_t Len,
186 uint64_t Offset, std::error_code &EC)
239 getOpenFileImpl(sys::fs::file_t FD, const Twine &Filename, uint64_t FileSize,
240 uint64_t MapSize, int64_t Offset, bool RequiresNullTerminator,
245 getFileAux(const Twine &Filename, int64_t FileSize, uint64_t MapSize,
246 uint64_t Offset, bool RequiresNullTerminator, bool IsVolatile) {
267 WritableMemoryBuffer::getFileSlice(const Twine &Filename, uint64_t MapSize,
268 uint64_t Offset, bool IsVolatile) {
364 getReadWriteFile(const Twine &Filename, uint64_t FileSize, uint64_t MapSize,
364 getReadWriteFile(const Twine &Filename, uint64_t FileSize, uint64_t MapSize,
365 uint64_t Offset) {
411 WriteThroughMemoryBuffer::getFileSlice(const Twine &Filename, uint64_t MapSize,
412 uint64_t Offset) {
418 getOpenFileImpl(sys::fs::file_t FD, const Twine &Filename, uint64_t FileSize,
419 uint64_t MapSize, int64_t Offset, bool RequiresNullTerminator,
482 MemoryBuffer::getOpenFile(sys::fs::file_t FD, const Twine &Filename, uint64_t FileSize,
489 MemoryBuffer::getOpenFileSlice(sys::fs::file_t FD, const Twine &Filename, uint64_t MapSize,
lib/Support/NativeFormatting.cpp 133 void llvm::write_hex(raw_ostream &S, uint64_t N, HexPrintStyle Style,
lib/Support/RandomNumberGenerator.cpp 29 static cl::opt<uint64_t> Seed("rng-seed", cl::value_desc("seed"), cl::Hidden,
lib/Support/ScaledNumber.cpp 22 std::pair<uint64_t, int16_t> ScaledNumbers::multiply64(uint64_t LHS,
22 std::pair<uint64_t, int16_t> ScaledNumbers::multiply64(uint64_t LHS,
23 uint64_t RHS) {
27 uint64_t UL = getU(LHS), LL = getL(LHS), UR = getU(RHS), LR = getL(RHS);
30 uint64_t P1 = UL * UR, P2 = UL * LR, P3 = LL * UR, P4 = LL * LR;
33 uint64_t Upper = P1, Lower = P4;
35 uint64_t NewLower = Lower + (getL(N) << 32);
55 static uint64_t getHalf(uint64_t N) { return (N >> 1) + (N & 1); }
55 static uint64_t getHalf(uint64_t N) { return (N >> 1) + (N & 1); }
63 uint64_t Dividend64 = Dividend;
69 uint64_t Quotient = Dividend64 / Divisor;
70 uint64_t Remainder = Dividend64 % Divisor;
80 std::pair<uint64_t, int16_t> ScaledNumbers::divide64(uint64_t Dividend,
80 std::pair<uint64_t, int16_t> ScaledNumbers::divide64(uint64_t Dividend,
81 uint64_t Divisor) {
103 uint64_t Quotient = Dividend / Divisor;
124 int ScaledNumbers::compareImpl(uint64_t L, uint64_t R, int ScaleDiff) {
124 int ScaledNumbers::compareImpl(uint64_t L, uint64_t R, int ScaleDiff) {
128 uint64_t L_adjusted = L >> ScaleDiff;
142 static void appendNumber(std::string &Str, uint64_t N) {
162 static std::string toStringAPFloat(uint64_t D, int E, unsigned Precision) {
184 uint64_t RawBits[2] = {D, AdjustedE};
201 std::string ScaledNumberBase::toString(uint64_t D, int16_t E, int Width,
207 uint64_t Above0 = 0;
208 uint64_t Below0 = 0;
209 uint64_t Extra = 0;
253 uint64_t Error = UINT64_C(1) << (64 - Width);
315 raw_ostream &ScaledNumberBase::print(raw_ostream &OS, uint64_t D, int16_t E,
320 void ScaledNumberBase::dump(uint64_t D, int16_t E, int Width) {
lib/Support/ScopedPrinter.cpp 15 const std::string to_hexString(uint64_t Value, bool UpperCase) {
lib/Support/SourceMgr.cpp 119 delete OffsetCache.get<std::vector<uint64_t>*>();
142 LineNo = SB.getLineNumber<uint64_t>(Ptr);
lib/Support/TarWriter.cpp 83 uint64_t Pos = OS.tell();
196 uint64_t Pos = OS.tell();
lib/Support/Unix/Path.inc 508 std::error_code resize_file(int FD, uint64_t Size) {
745 std::error_code mapped_file_region::init(int FD, uint64_t Offset,
778 uint64_t offset, std::error_code &ec)
1011 uint64_t Offset) {
lib/Support/Unix/Threading.inc 95 uint64_t llvm::get_threadid() {
lib/Support/VirtualFileSystem.cpp 72 uint32_t User, uint32_t Group, uint64_t Size, file_type Type,
1872 return UniqueID(std::numeric_limits<uint64_t>::max(), ID);
lib/Support/YAMLTraits.cpp 939 void ScalarTraits<uint64_t>::output(const uint64_t &Val, void *,
945 uint64_t &Val) {
1078 uint64_t Num = Val;
lib/Support/raw_os_ostream.cpp 29 uint64_t raw_os_ostream::current_pos() const { return OS.tellp(); }
lib/Support/raw_ostream.cpp 410 uint64_t OffsetWidth = 0;
416 uint64_t MaxOffset = *FB.FirstByteOffset + Lines * FB.NumPerLine;
420 OffsetWidth = std::max<uint64_t>(4, llvm::alignTo(Power, 4) / 4);
432 uint64_t Offset = FB.FirstByteOffset.getValue();
752 uint64_t raw_fd_ostream::seek(uint64_t off) {
752 uint64_t raw_fd_ostream::seek(uint64_t off) {
768 uint64_t Offset) {
769 uint64_t Pos = tell();
910 uint64_t raw_svector_ostream::current_pos() const { return OS.size(); }
917 uint64_t Offset) {
937 uint64_t raw_null_ostream::current_pos() const {
942 uint64_t Offset) {}
lib/Support/xxhash.cpp 47 static uint64_t rotl64(uint64_t X, size_t R) {
47 static uint64_t rotl64(uint64_t X, size_t R) {
51 static const uint64_t PRIME64_1 = 11400714785074694791ULL;
52 static const uint64_t PRIME64_2 = 14029467366897019727ULL;
53 static const uint64_t PRIME64_3 = 1609587929392839161ULL;
54 static const uint64_t PRIME64_4 = 9650029242287828579ULL;
55 static const uint64_t PRIME64_5 = 2870177450012600261ULL;
57 static uint64_t round(uint64_t Acc, uint64_t Input) {
57 static uint64_t round(uint64_t Acc, uint64_t Input) {
57 static uint64_t round(uint64_t Acc, uint64_t Input) {
64 static uint64_t mergeRound(uint64_t Acc, uint64_t Val) {
64 static uint64_t mergeRound(uint64_t Acc, uint64_t Val) {
64 static uint64_t mergeRound(uint64_t Acc, uint64_t Val) {
71 uint64_t llvm::xxHash64(StringRef Data) {
73 uint64_t Seed = 0;
76 uint64_t H64;
80 uint64_t V1 = Seed + PRIME64_1 + PRIME64_2;
81 uint64_t V2 = Seed + PRIME64_2;
82 uint64_t V3 = Seed + 0;
83 uint64_t V4 = Seed - PRIME64_1;
109 uint64_t const K1 = round(0, endian::read64le(P));
136 uint64_t llvm::xxHash64(ArrayRef<uint8_t> Data) {
lib/TableGen/TGParser.cpp 818 uint64_t Val = Lex.getCurIntVal();
lib/Target/AArch64/AArch64CallLowering.cpp 60 Register getStackAddress(uint64_t Size, int64_t Offset,
88 void assignValueToAddress(Register ValVReg, Register Addr, uint64_t Size,
104 uint64_t StackUsed;
141 Register getStackAddress(uint64_t Size, int64_t Offset,
176 void assignValueToAddress(Register ValVReg, Register Addr, uint64_t Size,
211 uint64_t StackSize;
229 SmallVector<uint64_t, 4> Offsets;
449 uint64_t StackOffset = Handler.StackUsed;
1017 uint64_t CalleePopBytes =
lib/Target/AArch64/AArch64ExpandImm.cpp 23 static uint64_t getChunk(uint64_t Imm, unsigned ChunkIdx) {
23 static uint64_t getChunk(uint64_t Imm, unsigned ChunkIdx) {
31 static bool canUseOrr(uint64_t Chunk, uint64_t &Encoding) {
31 static bool canUseOrr(uint64_t Chunk, uint64_t &Encoding) {
44 static bool tryToreplicateChunks(uint64_t UImm,
46 using CountMap = DenseMap<uint64_t, unsigned>;
57 const uint64_t ChunkVal = Chunk->first;
60 uint64_t Encoding = 0;
72 uint64_t Imm16 = 0;
108 static bool isStartChunk(uint64_t Chunk) {
109 if (Chunk == 0 || Chunk == std::numeric_limits<uint64_t>::max())
118 static bool isEndChunk(uint64_t Chunk) {
119 if (Chunk == 0 || Chunk == std::numeric_limits<uint64_t>::max())
126 static uint64_t updateImm(uint64_t Imm, unsigned Idx, bool Clear) {
126 static uint64_t updateImm(uint64_t Imm, unsigned Idx, bool Clear) {
127 const uint64_t Mask = 0xFFFF;
152 static bool trySequenceOfOnes(uint64_t UImm,
155 const uint64_t Mask = 0xFFFF;
176 uint64_t Outside = 0;
178 uint64_t Inside = Mask;
188 uint64_t OrrImm = UImm;
195 const uint64_t Chunk = getChunk(UImm, Idx);
223 uint64_t Encoding = 0;
246 static inline void expandMOVImmSimple(uint64_t Imm, unsigned BitSize,
305 void expandMOVImm(uint64_t Imm, unsigned BitSize,
328 uint64_t UImm = Imm << (64 - BitSize) >> (64 - BitSize);
329 uint64_t Encoding;
357 uint64_t ShiftedMask = (0xFFFFULL << Shift);
358 uint64_t ZeroChunk = UImm & ~ShiftedMask;
359 uint64_t OneChunk = UImm | ShiftedMask;
360 uint64_t RotatedImm = (UImm << 32) | (UImm >> 32);
361 uint64_t ReplicateChunk = ZeroChunk | (RotatedImm & ShiftedMask);
lib/Target/AArch64/AArch64ExpandImm.h 24 uint64_t Op1;
25 uint64_t Op2;
28 void expandMOVImm(uint64_t Imm, unsigned BitSize,
lib/Target/AArch64/AArch64ExpandPseudoInsts.cpp 113 uint64_t Imm = MI.getOperand(1).getImm();
lib/Target/AArch64/AArch64FastISel.cpp 191 bool isMemCpySmall(uint64_t Len, unsigned Alignment);
192 bool tryEmitSmallMemCpy(Address Dest, Address Src, uint64_t Len,
208 bool LHSIsKill, uint64_t Imm, bool SetFlags = false,
213 uint64_t ShiftImm, bool SetFlags = false,
218 uint64_t ShiftImm, bool SetFlags = false,
225 bool emitICmp_ri(MVT RetVT, unsigned LHSReg, bool LHSIsKill, uint64_t Imm);
246 AArch64_AM::ShiftExtendType ShiftType, uint64_t ShiftImm,
251 bool LHSIsKill, uint64_t Imm);
254 uint64_t ShiftImm);
255 unsigned emitAnd_ri(MVT RetVT, unsigned LHSReg, bool LHSIsKill, uint64_t Imm);
265 uint64_t Imm, bool IsZExt = true);
269 uint64_t Imm, bool IsZExt = true);
273 uint64_t Imm, bool IsZExt = false);
624 uint64_t TmpOffset = Addr.getOffset();
636 uint64_t S = DL.getTypeAllocSize(GTI.getIndexedType());
723 uint64_t NumBytes = 0;
725 uint64_t NumBits = DL.getTypeSizeInBits(Ty);
807 uint64_t NumBytes = 0;
809 uint64_t NumBits = DL.getTypeSizeInBits(Ty);
1214 uint64_t Imm = IsZExt ? C->getZExtValue() : C->getSExtValue();
1262 uint64_t ShiftVal = cast<ConstantInt>(MulRHS)->getValue().logBase2();
1286 uint64_t ShiftVal = C->getZExtValue();
1353 bool LHSIsKill, uint64_t Imm,
1401 uint64_t ShiftImm, bool SetFlags,
1444 uint64_t ShiftImm, bool SetFlags,
1514 uint64_t Imm) {
1601 uint64_t ShiftImm, bool WantResult) {
1631 uint64_t Imm = C->getZExtValue();
1648 uint64_t ShiftVal = cast<ConstantInt>(MulRHS)->getValue().logBase2();
1665 uint64_t ShiftVal = C->getZExtValue();
1685 uint64_t Mask = (RetVT == MVT::i8) ? 0xff : 0xffff;
1693 uint64_t Imm) {
1731 uint64_t Mask = (RetVT == MVT::i8) ? 0xff : 0xffff;
1740 uint64_t ShiftImm) {
1774 uint64_t Mask = (RetVT == MVT::i8) ? 0xff : 0xffff;
1781 uint64_t Imm) {
2494 uint64_t Imm = CI->getZExtValue();
3320 bool AArch64FastISel::isMemCpySmall(uint64_t Len, unsigned Alignment) {
3328 uint64_t Len, unsigned Alignment) {
3528 uint64_t Len = cast<ConstantInt>(MTI->getLength())->getZExtValue();
3974 uint64_t Mask = 0;
4083 uint64_t Mask = 0;
4106 bool Op0IsKill, uint64_t Shift,
4189 uint64_t Mask = 0;
4213 bool Op0IsKill, uint64_t Shift,
4310 uint64_t Mask = 0;
4334 bool Op0IsKill, uint64_t Shift,
4695 uint64_t ShiftVal = C->getValue().logBase2();
4761 uint64_t ShiftVal = C->getZExtValue();
5021 uint64_t TotalOffs = 0;
5052 uint64_t ElementSize = DL.getTypeAllocSize(Ty);
lib/Target/AArch64/AArch64FrameLowering.cpp 281 uint64_t CalleePopAmount = IsDestroy ? I->getOperand(1).getImm() : 0;
1357 uint64_t ArgumentPopSize = 0;
1409 uint64_t AfterCSRPopSize = ArgumentPopSize;
lib/Target/AArch64/AArch64ISelDAGToDAG.cpp 246 static bool isIntImmediate(const SDNode *N, uint64_t &Imm) {
256 static bool isIntImmediate(SDValue N, uint64_t &Imm) {
264 uint64_t &Imm) {
306 uint64_t Immed = cast<ConstantSDNode>(N.getNode())->getZExtValue();
337 uint64_t Immed = cast<ConstantSDNode>(N.getNode())->getZExtValue();
485 uint64_t AndMask = CSD->getZExtValue();
751 uint64_t RHSC = RHS->getZExtValue();
753 uint64_t Range = 0x1ULL << BW;
1558 uint64_t AndImm = 0;
1566 AndImm |= maskTrailingOnes<uint64_t>(NumberOfIgnoredLowBits);
1573 uint64_t SrlImm = 0;
1613 : countTrailingOnes<uint64_t>(AndImm)) -
1643 uint64_t ShiftImm;
1679 uint64_t AndMask = 0;
1685 uint64_t SrlImm = 0;
1724 uint64_t ShlImm = 0;
1725 uint64_t TruncBits = 0;
1755 uint64_t SrlImm = 0;
1780 uint64_t ShiftImm;
1869 static bool isBitfieldDstMask(uint64_t DstMask, const APInt &BitsToBeInserted,
1901 uint64_t Imm =
1909 uint64_t Imm, uint64_t MSB,
1909 uint64_t Imm, uint64_t MSB,
1937 uint64_t Imm =
1939 uint64_t MSB =
1947 uint64_t ShiftTypeAndValue =
1955 uint64_t ShiftAmt = AArch64_AM::getShiftValue(ShiftTypeAndValue);
1963 uint64_t ShiftAmt = AArch64_AM::getShiftValue(ShiftTypeAndValue);
1975 uint64_t Imm =
1977 uint64_t MSB =
1991 uint64_t Width = MSB - Imm + 1;
1992 uint64_t LSB = Imm;
2008 uint64_t Width = MSB + 1;
2009 uint64_t LSB = UsefulBits.getBitWidth() - Imm;
2146 uint64_t NonZeroBits = (~Known.Zero).getZExtValue();
2150 uint64_t AndImm;
2161 uint64_t ShlImm;
2184 static bool isShiftedMask(uint64_t Mask, EVT VT) {
2202 uint64_t OrImm;
2212 uint64_t MaskImm;
2225 uint64_t NotKnownZero = (~Known.Zero).getZExtValue();
2251 uint64_t BFIImm = OrImm >> LSB;
2373 uint64_t Imm;
2395 uint64_t Mask0Imm, Mask1Imm;
2513 uint64_t Size;
2514 uint64_t Bits;
2536 uint64_t Add0Imm;
2537 uint64_t Add1Imm;
2569 uint64_t MaskImm;
2744 uint64_t Immed = cast<ConstantSDNode>(N->getOperand(2))->getZExtValue();
lib/Target/AArch64/AArch64ISelLowering.cpp 913 static bool optimizeLogicalImm(SDValue Op, unsigned Size, uint64_t Imm,
917 uint64_t OldImm = Imm, NewImm, Enc;
918 uint64_t Mask = ((uint64_t)(-1LL) >> (64 - Size)), OrigMask = Mask;
927 uint64_t DemandedBits = Demanded.getZExtValue();
940 uint64_t NonDemandedBits = ~DemandedBits;
941 uint64_t InvertedImm = ~Imm & DemandedBits;
942 uint64_t RotatedImm =
945 uint64_t Sum = RotatedImm + NonDemandedBits;
947 uint64_t Ones = (Sum + Carry) & NonDemandedBits;
962 uint64_t Hi = Imm >> EltSize, DemandedBitsHi = DemandedBits >> EltSize;
1046 uint64_t Imm = C->getZExtValue();
1579 static bool isLegalArithImmed(uint64_t C) {
1943 uint64_t Mask = MaskCst->getZExtValue();
1959 uint64_t Shift = ShiftCst->getZExtValue();
1975 uint64_t C = RHSC->getZExtValue();
4132 uint64_t CalleePopBytes =
4743 uint64_t Mask = LHS.getConstantOperandVal(1);
4759 uint64_t Mask = LHS.getConstantOperandVal(1);
4770 uint64_t Mask = LHS.getValueSizeInBits() - 1;
4780 uint64_t Mask = LHS.getValueSizeInBits() - 1;
4826 uint64_t EltMask;
6119 uint64_t CVal = C->getZExtValue();
6132 uint64_t NVal = -C->getSExtValue();
6169 uint64_t NCVal = ~(uint32_t)CVal;
6187 uint64_t NCVal = ~CVal;
7137 uint64_t Value = Bits.zextOrTrunc(64).getZExtValue();
7159 uint64_t Value = Bits.zextOrTrunc(64).getZExtValue();
7163 uint64_t Shift;
7207 uint64_t Value = Bits.zextOrTrunc(64).getZExtValue();
7211 uint64_t Shift;
7246 uint64_t Value = Bits.zextOrTrunc(64).getZExtValue();
7250 uint64_t Shift;
7277 uint64_t Value = Bits.zextOrTrunc(64).getZExtValue();
7298 uint64_t Value = Bits.zextOrTrunc(64).getZExtValue();
7329 uint64_t &ConstVal) {
7391 uint64_t C1;
7397 uint64_t C2 = C2node->getZExtValue();
7657 uint64_t Val = N->getConstantOperandVal(1);
8380 uint64_t NumElts = DL.getTypeSizeInBits(I.getType()) / 64;
8484 uint64_t ShiftAmount = Base.getOperand(1).getConstantOperandVal(1);
8485 uint64_t LoadBytes = Mem->getMemoryVT().getSizeInBits()/8;
8598 uint64_t ShiftAmt =
9028 uint64_t Size, unsigned DstAlign, unsigned SrcAlign, bool IsMemset,
9061 uint64_t Size, unsigned DstAlign, unsigned SrcAlign, bool IsMemset,
9137 uint64_t NumBytes = 0;
9139 uint64_t NumBits = DL.getTypeSizeInBits(Ty);
9225 uint64_t TruncMask = N->getConstantOperandVal(1);
9788 uint64_t BitMask = Bits == 64 ? -1ULL : ((1ULL << Bits) - 1);
9889 uint64_t ShiftAmt = C->getZExtValue();
9930 uint64_t idx = cast<ConstantSDNode>(Op0->getOperand(1))->getZExtValue();
10636 uint64_t BaseOffset = 0;
10781 uint64_t IndexVal = CIndex->getZExtValue();
11673 uint64_t MinOffset = -1ull;
11684 uint64_t Offset = MinOffset + GN->getOffset();
lib/Target/AArch64/AArch64ISelLowering.h 374 EVT getOptimalMemOpType(uint64_t Size, unsigned DstAlign, unsigned SrcAlign,
378 LLT getOptimalMemOpLLT(uint64_t Size, unsigned DstAlign, unsigned SrcAlign,
lib/Target/AArch64/AArch64InstrInfo.cpp 676 uint64_t Imm = MI.getOperand(1).getImm();
677 uint64_t UImm = Imm << (64 - BitSize) >> (64 - BitSize);
678 uint64_t Encoding;
4172 uint64_t Imm = Root.getOperand(2).getImm();
4178 uint64_t UImm = SignExtend64(Imm, BitSize);
4179 uint64_t Encoding;
4264 uint64_t Imm = Root.getOperand(2).getImm();
4269 uint64_t UImm = SignExtend64(-Imm, BitSize);
4270 uint64_t Encoding;
4816 uint64_t Mask = AArch64_AM::decodeLogicalImmediate(
lib/Target/AArch64/AArch64InstructionSelector.cpp 1568 uint64_t Val = I.getOperand(1).getCImm()->getZExtValue();
1571 uint64_t Val = I.getOperand(1).getImm();
1764 uint64_t Offset = 0;
1931 uint64_t Align = I.getOperand(2).getImm();
1935 uint64_t Mask = ~((1ULL << Align) - 1);
4014 static Optional<uint64_t> getImmedFromMO(const MachineOperand &Root) {
4019 uint64_t Immed;
4040 uint64_t Enc = (32 - *MaybeImmed) & 0x1f;
4049 uint64_t Enc = 31 - *MaybeImmed;
4058 uint64_t Enc = (64 - *MaybeImmed) & 0x3f;
4067 uint64_t Enc = 63 - *MaybeImmed;
4122 uint64_t Immed = *MaybeImmed;
4536 Optional<uint64_t> MaybeAndMask = getImmedFromMO(MI.getOperand(2));
4539 uint64_t AndMask = *MaybeAndMask;
4577 uint64_t ShiftVal = 0;
4591 Optional<uint64_t> MaybeShiftVal = getImmedFromMO(RHS);
4647 uint64_t CstVal = I.getOperand(1).getCImm()->getZExtValue();
4648 uint64_t Enc = AArch64_AM::encodeLogicalImmediate(CstVal, 32);
4655 uint64_t CstVal = I.getOperand(1).getCImm()->getZExtValue();
4656 uint64_t Enc = AArch64_AM::encodeLogicalImmediate(CstVal, 64);
lib/Target/AArch64/AArch64LegalizerInfo.cpp 753 uint64_t ValSize = MRI.getType(Dst).getSizeInBits() / 8;
lib/Target/AArch64/AArch64MachineFunctionInfo.h 103 uint64_t StackSizeSVE = 0;
145 void setStackSizeSVE(uint64_t S) {
150 uint64_t getStackSizeSVE() const { return StackSizeSVE; }
lib/Target/AArch64/AArch64SelectionDAGInfo.cpp 63 SDValue Chain, SDValue Ptr, uint64_t ObjSize,
115 uint64_t ObjSize = cast<ConstantSDNode>(Size)->getZExtValue();
lib/Target/AArch64/AArch64StackTagging.cpp 71 uint64_t Size;
80 uint64_t Start, End;
86 std::map<uint64_t, Value *> Out;
89 InitializerBuilder(uint64_t Size, const DataLayout *DL, Value *BasePtr,
95 bool addRange(uint64_t Start, uint64_t End, Instruction *Inst) {
95 bool addRange(uint64_t Start, uint64_t End, Instruction *Inst) {
107 bool addStore(uint64_t Offset, StoreInst *SI, const DataLayout *DL) {
116 bool addMemSet(uint64_t Offset, MemSetInst *MSI) {
117 uint64_t StoreSize = cast<ConstantInt>(MSI->getLength())->getZExtValue();
134 uint64_t Cst = 0x0101010101010101UL;
193 uint64_t LastOffset = 0;
194 for (uint64_t Offset = 0; Offset < Size; Offset += 16) {
221 void emitZeroes(IRBuilder<> &IRB, uint64_t Offset, uint64_t Size) {
221 void emitZeroes(IRBuilder<> &IRB, uint64_t Offset, uint64_t Size) {
231 void emitUndef(IRBuilder<> &IRB, uint64_t Offset, uint64_t Size) {
231 void emitUndef(IRBuilder<> &IRB, uint64_t Offset, uint64_t Size) {
240 void emitPair(IRBuilder<> &IRB, uint64_t Offset, Value *A, Value *B) {
293 uint64_t Size);
294 void untagAlloca(AllocaInst *AI, Instruction *InsertBefore, uint64_t Size);
297 uint64_t Size, InitializerBuilder &IB);
334 uint64_t Size,
407 Value *Ptr, uint64_t Size) {
428 uint64_t Size) {
466 uint64_t Size = Info.AI->getAllocationSizeInBits(*DL).getValue() / 8;
467 uint64_t AlignedSize = alignTo(Size, kTagGranuleSize);
635 uint64_t Size =
666 uint64_t Size = Info.AI->getAllocationSizeInBits(*DL).getValue() / 8;
lib/Target/AArch64/AsmParser/AArch64AsmParser.cpp 86 static PrefixInfo CreateFromInst(const MCInst &Inst, uint64_t TSFlags) {
164 bool showMatchError(SMLoc Loc, unsigned ErrCode, uint64_t ErrorInfo,
186 uint64_t &ErrorInfo,
362 uint64_t Val; // APFloat value bitcasted to uint64_t.
974 uint64_t Value = CE->getValue();
985 uint64_t Value = CE->getValue();
1138 uint64_t Value = CE->getValue();
1326 uint64_t Val = getShiftExtendAmount();
1338 uint64_t Val = getShiftExtendAmount();
1609 uint64_t encoding = AArch64_AM::encodeLogicalImmediate(Val, sizeof(T) * 8);
1618 uint64_t encoding = AArch64_AM::encodeLogicalImmediate(Val, sizeof(T) * 8);
1625 uint64_t encoding = AArch64_AM::encodeAdvSIMDModImmType10(MCE->getValue());
1774 uint64_t Value = CE->getValue();
1783 uint64_t Value = CE->getValue();
3641 uint64_t IntVal = RealVal.bitcastToAPInt().getZExtValue();
3686 uint64_t Imm = (cast<MCConstantExpr>(SubExprVal))->getValue();
4168 uint64_t ErrorInfo,
4487 static const char *getSubtargetFeatureName(uint64_t Val);
4492 uint64_t &ErrorInfo,
4507 uint64_t Op3Val = Op3CE->getValue();
4508 uint64_t NewOp3Val = 0;
4509 uint64_t NewOp4Val = 0;
4541 uint64_t LSB = LSBCE->getValue();
4542 uint64_t Width = WidthCE->getValue();
4544 uint64_t RegWidth = 0;
4558 uint64_t ImmR = 0;
4564 uint64_t ImmS = Width - 1;
4597 uint64_t Op3Val = Op3CE->getValue();
4598 uint64_t Op4Val = Op4CE->getValue();
4600 uint64_t RegWidth = 0;
4614 uint64_t NewOp3Val = 0;
4620 uint64_t NewOp4Val = Op4Val - 1;
4661 uint64_t Op3Val = Op3CE->getValue();
4662 uint64_t Op4Val = Op4CE->getValue();
4664 uint64_t RegWidth = 0;
4678 uint64_t NewOp4Val = Op3Val + Op4Val - 1;
lib/Target/AArch64/Disassembler/AArch64Disassembler.cpp 41 unsigned RegNo, uint64_t Address,
45 uint64_t Address,
48 uint64_t Address,
51 uint64_t Address,
54 uint64_t Address,
57 uint64_t Address,
60 uint64_t Address,
63 uint64_t Address,
66 unsigned RegNo, uint64_t Address,
69 uint64_t Address,
72 unsigned RegNo, uint64_t Address,
75 uint64_t Address,
78 uint64_t Address,
81 uint64_t Address,
84 uint64_t Address,
87 uint64_t Address,
90 uint64_t Address,
93 uint64_t Address,
96 uint64_t Address,
99 uint64_t Address,
102 uint64_t Address,
105 uint64_t Address,
108 uint64_t Address,
111 uint64_t Address,
114 uint64_t Address,
118 uint64_t Address,
121 uint64_t Address,
124 uint64_t Address, const void *Decoder);
126 uint64_t Address, const void *Decoder);
128 uint64_t Address, const void *Decoder);
130 uint64_t Address, const void *Decoder);
132 uint64_t Address,
135 uint64_t Address,
138 uint64_t Address,
141 uint64_t Address,
144 uint64_t Address,
147 uint64_t Address,
150 uint64_t Address,
153 uint64_t Address,
156 uint64_t Address,
159 uint64_t Address,
162 uint64_t Address, const void *Decoder);
164 uint64_t Address, const void *Decoder);
166 uint64_t Address,
169 uint64_t Address,
172 uint64_t Address, const void *Decoder);
175 uint64_t Address,
178 uint64_t Addr, const void *Decoder);
180 uint64_t Addr,
183 uint64_t Addr, const void *Decoder);
185 uint64_t Addr,
188 uint64_t Addr, const void *Decoder);
190 uint64_t Addr,
193 uint64_t Addr, const void *Decoder);
195 uint64_t Addr, const void *Decoder);
197 uint64_t Addr, const void *Decoder);
199 uint64_t Addr, const void *Decoder);
201 uint64_t Addr, const void *Decoder);
204 uint64_t Addr,
208 uint64_t Addr,
212 uint64_t Address,
215 static DecodeStatus DecodeSImm(llvm::MCInst &Inst, uint64_t Imm,
216 uint64_t Address, const void *Decoder);
219 uint64_t Addr, const void *Decoder);
221 uint64_t Addr, const void *Decoder);
251 DecodeStatus AArch64Disassembler::getInstruction(MCInst &MI, uint64_t &Size,
253 uint64_t Address,
316 uint64_t Addr,
327 uint64_t Addr,
345 uint64_t Addr,
366 uint64_t Addr,
387 uint64_t Addr,
408 uint64_t Addr,
429 uint64_t Addr,
440 uint64_t Addr,
451 uint64_t Addr,
473 uint64_t Addr,
484 uint64_t Addr,
507 uint64_t Address,
518 uint64_t Address,
526 uint64_t Address,
545 uint64_t Address,
569 uint64_t Address,
593 uint64_t Address,
610 uint64_t Addr, const void *Decoder) {
620 uint64_t Addr,
640 uint64_t Addr,
662 uint64_t Addr, const void *Decoder) {
685 uint64_t Addr, const void *Decoder) {
708 uint64_t Addr,
729 uint64_t Addr, const void *Decoder) {
752 uint64_t Addr, const void *Decoder) {
775 uint64_t Addr,
785 uint64_t Addr,
794 uint64_t Addr,
801 uint64_t Addr, const void *Decoder) {
817 uint64_t Address, const void *Decoder) {
824 uint64_t Address,
834 uint64_t Address,
842 uint64_t Address,
877 uint64_t Addr, const void *Decoder) {
882 uint64_t Addr,
888 uint64_t Addr, const void *Decoder) {
893 uint64_t Addr,
899 uint64_t Addr, const void *Decoder) {
904 uint64_t Addr,
910 uint64_t Addr, const void *Decoder) {
915 uint64_t Addr, const void *Decoder) {
920 uint64_t Addr, const void *Decoder) {
925 uint64_t Addr, const void *Decoder) {
930 uint64_t Addr, const void *Decoder) {
935 uint64_t Addr,
997 uint64_t Addr,
1030 uint64_t Addr,
1091 uint64_t Addr,
1289 uint64_t Addr,
1372 uint64_t Addr,
1506 uint64_t Addr,
1563 uint64_t Addr,
1594 uint64_t Addr,
1633 uint64_t Addr,
1651 uint64_t Addr, const void *Decoder) {
1670 uint64_t Addr, const void *Decoder) {
1706 uint64_t Addr,
1723 uint64_t Addr,
1725 uint64_t op1 = fieldFromInstruction(insn, 16, 3);
1726 uint64_t op2 = fieldFromInstruction(insn, 5, 3);
1727 uint64_t crm = fieldFromInstruction(insn, 8, 4);
1728 uint64_t pstate_field = (op1 << 3) | op2;
1753 uint64_t Addr, const void *Decoder) {
1754 uint64_t Rt = fieldFromInstruction(insn, 0, 5);
1755 uint64_t bit = fieldFromInstruction(insn, 31, 1) << 5;
1779 uint64_t Addr,
1792 uint64_t Addr,
1801 uint64_t Addr,
1810 uint64_t Addr,
1826 static DecodeStatus DecodeSImm(llvm::MCInst &Inst, uint64_t Imm,
1827 uint64_t Address, const void *Decoder) {
1842 uint64_t Addr, const void *Decoder) {
1854 uint64_t Addr, const void *Decoder) {
lib/Target/AArch64/Disassembler/AArch64Disassembler.h 27 getInstruction(MCInst &Instr, uint64_t &Size, ArrayRef<uint8_t> Bytes,
28 uint64_t Address, raw_ostream &VStream,
lib/Target/AArch64/Disassembler/AArch64ExternalSymbolizer.cpp 24 getVariant(uint64_t LLVMDisassembler_VariantKind) {
60 MCInst &MI, raw_ostream &CommentStream, int64_t Value, uint64_t Address,
61 bool IsBranch, uint64_t Offset, uint64_t InstSize) {
61 bool IsBranch, uint64_t Offset, uint64_t InstSize) {
72 uint64_t ReferenceType;
lib/Target/AArch64/Disassembler/AArch64ExternalSymbolizer.h 31 int64_t Value, uint64_t Address, bool IsBranch,
32 uint64_t Offset, uint64_t InstSize) override;
32 uint64_t Offset, uint64_t InstSize) override;
lib/Target/AArch64/MCTargetDesc/AArch64AddressingModes.h 205 static inline uint64_t ror(uint64_t elt, unsigned size) {
205 static inline uint64_t ror(uint64_t elt, unsigned size) {
213 static inline bool processLogicalImmediate(uint64_t Imm, unsigned RegSize,
214 uint64_t &Encoding) {
225 uint64_t Mask = (1ULL << Size) - 1;
235 uint64_t Mask = ((uint64_t)-1LL) >> (64 - Size);
260 uint64_t NImms = ~(Size-1) << 1;
275 static inline bool isLogicalImmediate(uint64_t imm, unsigned regSize) {
276 uint64_t encoding;
282 static inline uint64_t encodeLogicalImmediate(uint64_t imm, unsigned regSize) {
282 static inline uint64_t encodeLogicalImmediate(uint64_t imm, unsigned regSize) {
283 uint64_t encoding = 0;
293 static inline uint64_t decodeLogicalImmediate(uint64_t val, unsigned regSize) {
293 static inline uint64_t decodeLogicalImmediate(uint64_t val, unsigned regSize) {
306 uint64_t pattern = (1ULL << (S + 1)) - 1;
321 static inline bool isValidDecodeLogicalImmediate(uint64_t val,
422 uint64_t Sign = Imm.lshr(63).getZExtValue() & 1;
424 uint64_t Mantissa = Imm.getZExtValue() & 0xfffffffffffffULL;
451 static inline bool isAdvSIMDModImmType1(uint64_t Imm) {
456 static inline uint8_t encodeAdvSIMDModImmType1(uint64_t Imm) {
460 static inline uint64_t decodeAdvSIMDModImmType1(uint8_t Imm) {
461 uint64_t EncVal = Imm;
466 static inline bool isAdvSIMDModImmType2(uint64_t Imm) {
471 static inline uint8_t encodeAdvSIMDModImmType2(uint64_t Imm) {
475 static inline uint64_t decodeAdvSIMDModImmType2(uint8_t Imm) {
476 uint64_t EncVal = Imm;
481 static inline bool isAdvSIMDModImmType3(uint64_t Imm) {
486 static inline uint8_t encodeAdvSIMDModImmType3(uint64_t Imm) {
490 static inline uint64_t decodeAdvSIMDModImmType3(uint8_t Imm) {
491 uint64_t EncVal = Imm;
496 static inline bool isAdvSIMDModImmType4(uint64_t Imm) {
501 static inline uint8_t encodeAdvSIMDModImmType4(uint64_t Imm) {
505 static inline uint64_t decodeAdvSIMDModImmType4(uint8_t Imm) {
506 uint64_t EncVal = Imm;
511 static inline bool isAdvSIMDModImmType5(uint64_t Imm) {
517 static inline uint8_t encodeAdvSIMDModImmType5(uint64_t Imm) {
521 static inline uint64_t decodeAdvSIMDModImmType5(uint8_t Imm) {
522 uint64_t EncVal = Imm;
527 static inline bool isAdvSIMDModImmType6(uint64_t Imm) {
533 static inline uint8_t encodeAdvSIMDModImmType6(uint64_t Imm) {
537 static inline uint64_t decodeAdvSIMDModImmType6(uint8_t Imm) {
538 uint64_t EncVal = Imm;
543 static inline bool isAdvSIMDModImmType7(uint64_t Imm) {
548 static inline uint8_t encodeAdvSIMDModImmType7(uint64_t Imm) {
552 static inline uint64_t decodeAdvSIMDModImmType7(uint8_t Imm) {
553 uint64_t EncVal = Imm;
558 static inline bool isAdvSIMDModImmType8(uint64_t Imm) {
563 static inline uint64_t decodeAdvSIMDModImmType8(uint8_t Imm) {
564 uint64_t EncVal = Imm;
568 static inline uint8_t encodeAdvSIMDModImmType8(uint64_t Imm) {
573 static inline bool isAdvSIMDModImmType9(uint64_t Imm) {
579 static inline uint8_t encodeAdvSIMDModImmType9(uint64_t Imm) {
583 static inline uint64_t decodeAdvSIMDModImmType9(uint8_t Imm) {
584 uint64_t EncVal = Imm;
593 static inline bool isAdvSIMDModImmType10(uint64_t Imm) {
594 uint64_t ByteA = Imm & 0xff00000000000000ULL;
595 uint64_t ByteB = Imm & 0x00ff000000000000ULL;
596 uint64_t ByteC = Imm & 0x0000ff0000000000ULL;
597 uint64_t ByteD = Imm & 0x000000ff00000000ULL;
598 uint64_t ByteE = Imm & 0x00000000ff000000ULL;
599 uint64_t ByteF = Imm & 0x0000000000ff0000ULL;
600 uint64_t ByteG = Imm & 0x000000000000ff00ULL;
601 uint64_t ByteH = Imm & 0x00000000000000ffULL;
613 static inline uint8_t encodeAdvSIMDModImmType10(uint64_t Imm) {
641 static inline uint64_t decodeAdvSIMDModImmType10(uint8_t Imm) {
642 uint64_t EncVal = 0;
655 static inline bool isAdvSIMDModImmType11(uint64_t Imm) {
656 uint64_t BString = (Imm & 0x7E000000ULL) >> 25;
662 static inline uint8_t encodeAdvSIMDModImmType11(uint64_t Imm) {
690 static inline uint64_t decodeAdvSIMDModImmType11(uint8_t Imm) {
691 uint64_t EncVal = 0;
705 static inline bool isAdvSIMDModImmType12(uint64_t Imm) {
706 uint64_t BString = (Imm & 0x7fc0000000000000ULL) >> 54;
711 static inline uint8_t encodeAdvSIMDModImmType12(uint64_t Imm) {
739 static inline uint64_t decodeAdvSIMDModImmType12(uint8_t Imm) {
740 uint64_t EncVal = 0;
801 inline static bool isAnyMOVZMovAlias(uint64_t Value, int RegWidth) {
809 inline static bool isMOVZMovAlias(uint64_t Value, int Shift, int RegWidth) {
820 inline static bool isMOVNMovAlias(uint64_t Value, int Shift, int RegWidth) {
832 inline static bool isAnyMOVWMovAlias(uint64_t Value, int RegWidth) {
lib/Target/AArch64/MCTargetDesc/AArch64AsmBackend.cpp 81 uint64_t Value, bool IsResolved,
86 bool fixupNeedsRelaxation(const MCFixup &Fixup, uint64_t Value,
91 bool writeNopData(raw_ostream &OS, uint64_t Count) const override;
153 static uint64_t adjustFixupValue(const MCFixup &Fixup, const MCValue &Target,
154 uint64_t Value, MCContext &Ctx,
370 MutableArrayRef<char> Data, uint64_t Value,
428 uint64_t Value,
444 bool AArch64AsmBackend::writeNopData(raw_ostream &OS, uint64_t Count) const {
452 for (uint64_t i = 0; i != Count; ++i)
lib/Target/AArch64/MCTargetDesc/AArch64ELFStreamer.cpp 144 void emitFill(const MCExpr &NumBytes, uint64_t FillValue,
lib/Target/AArch64/MCTargetDesc/AArch64InstPrinter.cpp 240 uint64_t Value = (uint64_t)MI->getOperand(1).getImm() << Shift;
254 uint64_t Value = ~((uint64_t)MI->getOperand(1).getImm() << Shift);
270 uint64_t Value = AArch64_AM::decodeLogicalImmediate(
952 uint64_t Val = MI->getOperand(OpNum).getImm();
1450 uint64_t Val = AArch64_AM::decodeAdvSIMDModImmType10(RawVal);
1543 uint64_t Val = MI->getOperand(OpNum).getImm();
lib/Target/AArch64/MCTargetDesc/AArch64MCCodeEmitter.cpp 56 uint64_t getBinaryCodeForInstr(const MCInst &MI,
609 uint64_t Binary = getBinaryCodeForInstr(MI, Fixups, STI);
lib/Target/AArch64/MCTargetDesc/AArch64MCTargetDesc.cpp 312 bool evaluateBranch(const MCInst &Inst, uint64_t Addr, uint64_t Size,
312 bool evaluateBranch(const MCInst &Inst, uint64_t Addr, uint64_t Size,
313 uint64_t &Target) const override {
328 std::vector<std::pair<uint64_t, uint64_t>>
328 std::vector<std::pair<uint64_t, uint64_t>>
329 findPltEntries(uint64_t PltSectionVA, ArrayRef<uint8_t> PltContents,
330 uint64_t GotPltSectionVA,
333 std::vector<std::pair<uint64_t, uint64_t>> Result;
333 std::vector<std::pair<uint64_t, uint64_t>> Result;
334 for (uint64_t Byte = 0, End = PltContents.size(); Byte + 7 < End;
337 uint64_t Off = 0;
347 uint64_t Imm = (((PltSectionVA + Byte) >> 12) << 12) +
lib/Target/AArch64/MCTargetDesc/AArch64MachObjectWriter.cpp 46 uint64_t &FixedValue) override;
154 uint64_t &FixedValue) {
lib/Target/AMDGPU/AMDGPUAsmPrinter.cpp 310 uint64_t Size = DL.getTypeAllocSize(GV->getValueType());
348 uint64_t ScratchSize,
349 uint64_t CodeSize,
570 uint64_t AMDGPUAsmPrinter::getFunctionCodeSize(const MachineFunction &MF) const {
574 uint64_t CodeSize = 0;
694 uint64_t CalleeFrameSize = 0;
lib/Target/AMDGPU/AMDGPUAsmPrinter.h 48 uint64_t PrivateSegmentSize = 0;
65 uint64_t getFunctionCodeSize(const MachineFunction &MF) const;
85 uint64_t ScratchSize,
86 uint64_t CodeSize,
lib/Target/AMDGPU/AMDGPUCallLowering.cpp 42 Register getStackAddress(uint64_t Size, int64_t Offset,
47 void assignValueToAddress(Register ValVReg, Register Addr, uint64_t Size,
76 uint64_t StackUsed = 0;
82 Register getStackAddress(uint64_t Size, int64_t Offset,
120 void assignValueToAddress(Register ValVReg, Register Addr, uint64_t Size,
342 uint64_t Offset) const {
365 Type *ParamTy, uint64_t Offset,
457 uint64_t ExplicitArgOffset = 0;
468 uint64_t ArgOffset = alignTo(ExplicitArgOffset, ABIAlign) + BaseOffset;
lib/Target/AMDGPU/AMDGPUCallLowering.h 27 uint64_t Offset) const;
29 void lowerParameter(MachineIRBuilder &B, Type *ParamTy, uint64_t Offset,
lib/Target/AMDGPU/AMDGPUISelDAGToDAG.cpp 173 MachineSDNode *buildSMovImm64(SDLoc &DL, uint64_t Val, EVT VT) const;
624 MachineSDNode *AMDGPUDAGToDAGISel::buildSMovImm64(SDLoc &DL, uint64_t Imm,
816 uint64_t Imm;
1589 uint64_t Rsrc = TII->getDefaultRsrcDataFormat() |
1645 uint64_t COffsetVal = cast<ConstantSDNode>(N1)->getSExtValue();
1657 uint64_t ImmField;
1669 const uint64_t OffsetMask = maskTrailingOnes<uint64_t>(NumBits - 1);
1669 const uint64_t OffsetMask = maskTrailingOnes<uint64_t>(NumBits - 1);
1675 const uint64_t OffsetMask = maskTrailingOnes<uint64_t>(NumBits);
1675 const uint64_t OffsetMask = maskTrailingOnes<uint64_t>(NumBits);
1679 uint64_t RemainderOffset = COffsetVal - ImmField;
lib/Target/AMDGPU/AMDGPUISelLowering.cpp 919 uint64_t ExplicitArgOffset = 0;
930 uint64_t ArgOffset = alignTo(ExplicitArgOffset, Align) + ExplicitOffset;
941 SmallVector<uint64_t, 16> Offsets;
946 uint64_t BasePartOffset = Offsets[Value];
3918 uint64_t CVal = C->getZExtValue();
3929 uint64_t CVal = Val.getZExtValue();
4180 uint64_t ArgOffset = alignTo(MFI->getExplicitKernArgSize(), Alignment) +
lib/Target/AMDGPU/AMDGPUInline.cpp 130 uint64_t AllocaSize = 0;
lib/Target/AMDGPU/AMDGPUInstructionSelector.cpp 1613 uint64_t Align = I.getOperand(2).getImm();
1614 const uint64_t Mask = ~((UINT64_C(1) << Align) - 1);
lib/Target/AMDGPU/AMDGPULegalizerInfo.cpp 2016 uint64_t Offset =
lib/Target/AMDGPU/AMDGPULowerKernelArguments.cpp 76 const uint64_t BaseOffset = ST.getExplicitKernelArgOffset(F);
80 const uint64_t TotalKernArgSize = ST.getKernArgSegmentSize(F, MaxAlign);
93 uint64_t ExplicitArgOffset = 0;
101 uint64_t EltOffset = alignTo(ExplicitArgOffset, ABITypeAlign) + BaseOffset;
172 uint64_t DerefBytes = Arg.getDereferenceableBytes();
181 uint64_t DerefOrNullBytes = Arg.getDereferenceableOrNullBytes();
lib/Target/AMDGPU/AMDGPUMachineFunction.h 25 uint64_t ExplicitKernArgSize; // Cache for this.
46 uint64_t getExplicitKernArgSize() const {
lib/Target/AMDGPU/AMDGPUPerfHintAnalysis.cpp 357 uint64_t Diff = Offset > Reference.Offset ? Offset - Reference.Offset
lib/Target/AMDGPU/AMDGPUPrintfRuntimeBinding.cpp 474 uint64_t Size = TD->getTypeAllocSizeInBits(ArgType);
lib/Target/AMDGPU/AMDGPUPromoteAlloca.cpp 668 uint64_t AllocSize = DL.getTypeAllocSize(GV.getValueType());
lib/Target/AMDGPU/AMDGPUSubtarget.cpp 494 uint64_t AMDGPUSubtarget::getExplicitKernArgSize(const Function &F,
500 uint64_t ExplicitArgBytes = 0;
507 uint64_t AllocSize = DL.getTypeAllocSize(ArgTy);
517 uint64_t ExplicitArgBytes = getExplicitKernArgSize(F, MaxAlign);
521 uint64_t TotalSize = ExplicitOffset + ExplicitArgBytes;
lib/Target/AMDGPU/AMDGPUSubtarget.h 241 uint64_t getExplicitKernArgSize(const Function &F, Align &MaxAlign) const;
lib/Target/AMDGPU/AMDGPUTargetMachine.h 59 uint64_t getNullPointerValue(unsigned AddrSpace) const {
lib/Target/AMDGPU/AMDKernelCodeT.h 28 typedef uint64_t hsa_ext_control_directive_present64_t;
66 typedef uint64_t amd_compute_pgm_resource_register64_t;
555 uint64_t kernel_code_prefetch_byte_size;
558 uint64_t reserved0;
562 uint64_t compute_pgm_resource_registers;
587 uint64_t kernarg_segment_byte_size;
651 uint64_t runtime_loader_kernel_symbol;
652 uint64_t control_directives[16];
lib/Target/AMDGPU/AsmParser/AMDGPUAsmParser.cpp 736 uint64_t applyInputFPModifiers(uint64_t Val, unsigned Size) const;
736 uint64_t applyInputFPModifiers(uint64_t Val, unsigned Size) const;
1236 uint64_t &ErrorInfo,
1429 uint64_t BasicInstType,
1670 uint64_t AMDGPUOperand::applyInputFPModifiers(uint64_t Val, unsigned Size) const
1670 uint64_t AMDGPUOperand::applyInputFPModifiers(uint64_t Val, unsigned Size) const
1675 const uint64_t FpSignMask = (1ULL << (Size * 8 - 1));
1770 uint64_t ImmVal = FPLiteral.bitcastToAPInt().getZExtValue();
2659 uint64_t TSFlags = MII.get(Inst.getOpcode()).TSFlags;
3264 uint64_t TSFlags = MII.get(Inst.getOpcode()).TSFlags;
3486 uint64_t &ErrorInfo,
3491 uint64_t EI;
3665 uint64_t NextFreeVGPR = 0;
3667 uint64_t NextFreeSGPR = 0;
3702 uint64_t Val = IVal;
6831 uint64_t BasicInstType,
lib/Target/AMDGPU/Disassembler/AMDGPUDisassembler.cpp 91 uint64_t Addr, const void *Decoder) {
105 uint64_t Addr, const void *Decoder) {
151 uint64_t Addr,
159 uint64_t Addr,
167 uint64_t Addr,
175 uint64_t Addr,
183 uint64_t Addr,
191 uint64_t Addr,
199 uint64_t Addr,
207 uint64_t Addr,
215 uint64_t Addr,
243 uint64_t Inst,
244 uint64_t Address) const {
268 DecodeStatus AMDGPUDisassembler::getInstruction(MCInst &MI, uint64_t &Size,
270 uint64_t Address,
287 const uint64_t QW = eatBytes<uint64_t>(Bytes);
287 const uint64_t QW = eatBytes<uint64_t>(Bytes);
351 const uint64_t QW = ((uint64_t)eatBytes<uint32_t>(Bytes) << 32) | DW;
368 eatBytes<uint64_t>(Bytes);
1213 uint64_t /*Address*/, bool IsBranch,
1214 uint64_t /*Offset*/, uint64_t /*InstSize*/) {
1214 uint64_t /*Offset*/, uint64_t /*InstSize*/) {
1215 using SymbolInfoTy = std::tuple<uint64_t, StringRef, uint8_t>;
1242 uint64_t Address) {
lib/Target/AMDGPU/Disassembler/AMDGPUDisassembler.h 54 DecodeStatus getInstruction(MCInst &MI, uint64_t &Size,
55 ArrayRef<uint8_t> Bytes, uint64_t Address,
66 DecodeStatus tryDecodeInst(const uint8_t* Table, MCInst &MI, uint64_t Inst,
67 uint64_t Address) const;
160 int64_t Value, uint64_t Address,
161 bool IsBranch, uint64_t Offset,
162 uint64_t InstSize) override;
166 uint64_t Address) override;
lib/Target/AMDGPU/MCTargetDesc/AMDGPUAsmBackend.cpp 36 uint64_t Value, bool IsResolved,
38 bool fixupNeedsRelaxation(const MCFixup &Fixup, uint64_t Value,
49 bool writeNopData(raw_ostream &OS, uint64_t Count) const override;
66 uint64_t Value,
108 static uint64_t adjustFixupValue(const MCFixup &Fixup, uint64_t Value,
108 static uint64_t adjustFixupValue(const MCFixup &Fixup, uint64_t Value,
135 MutableArrayRef<char> Data, uint64_t Value,
174 bool AMDGPUAsmBackend::writeNopData(raw_ostream &OS, uint64_t Count) const {
187 for (uint64_t I = 0; I != Count; ++I)
lib/Target/AMDGPU/MCTargetDesc/AMDGPUInstPrinter.cpp 421 void AMDGPUInstPrinter::printImmediate64(uint64_t Imm,
lib/Target/AMDGPU/MCTargetDesc/AMDGPUInstPrinter.h 111 void printImmediate64(uint64_t Imm, const MCSubtargetInfo &STI,
lib/Target/AMDGPU/MCTargetDesc/AMDGPUMCCodeEmitter.h 38 uint64_t getBinaryCodeForInstr(const MCInst &MI,
42 virtual uint64_t getMachineOpValue(const MCInst &MI, const MCOperand &MO,
lib/Target/AMDGPU/MCTargetDesc/AMDGPUMCTargetDesc.cpp 115 bool evaluateBranch(const MCInst &Inst, uint64_t Addr, uint64_t Size,
115 bool evaluateBranch(const MCInst &Inst, uint64_t Addr, uint64_t Size,
116 uint64_t &Target) const override {
lib/Target/AMDGPU/MCTargetDesc/AMDGPUTargetStreamer.cpp 259 const amdhsa::kernel_descriptor_t &KD, uint64_t NextVGPR, uint64_t NextSGPR,
259 const amdhsa::kernel_descriptor_t &KD, uint64_t NextVGPR, uint64_t NextSGPR,
613 const amdhsa::kernel_descriptor_t &KernelDescriptor, uint64_t NextVGPR,
614 uint64_t NextSGPR, bool ReserveVCC, bool ReserveFlatScr,
lib/Target/AMDGPU/MCTargetDesc/AMDGPUTargetStreamer.h 85 const amdhsa::kernel_descriptor_t &KernelDescriptor, uint64_t NextVGPR,
86 uint64_t NextSGPR, bool ReserveVCC, bool ReserveFlatScr,
129 const amdhsa::kernel_descriptor_t &KernelDescriptor, uint64_t NextVGPR,
130 uint64_t NextSGPR, bool ReserveVCC, bool ReserveFlatScr,
176 const amdhsa::kernel_descriptor_t &KernelDescriptor, uint64_t NextVGPR,
177 uint64_t NextSGPR, bool ReserveVCC, bool ReserveFlatScr,
lib/Target/AMDGPU/MCTargetDesc/R600MCCodeEmitter.cpp 53 uint64_t getMachineOpValue(const MCInst &MI, const MCOperand &MO,
60 void Emit(uint64_t value, raw_ostream &OS) const;
64 uint64_t getBinaryCodeForInstr(const MCInst &MI,
113 uint64_t InstWord01 = getBinaryCodeForInstr(MI, Fixups, STI);
137 uint64_t Word01 = getBinaryCodeForInstr(MI, Fixups, STI);
147 uint64_t Inst = getBinaryCodeForInstr(MI, Fixups, STI);
151 uint64_t ISAOpCode = Inst & (0x3FFULL << 39);
163 void R600MCCodeEmitter::Emit(uint64_t Value, raw_ostream &OS) const {
171 uint64_t R600MCCodeEmitter::getMachineOpValue(const MCInst &MI,
lib/Target/AMDGPU/MCTargetDesc/SIMCCodeEmitter.cpp 64 uint64_t getMachineOpValue(const MCInst &MI, const MCOperand &MO,
180 static uint32_t getLit64Encoding(uint64_t Val, const MCSubtargetInfo &STI) {
285 uint64_t Encoding = getBinaryCodeForInstr(MI, Fixups, STI);
368 uint64_t RegEnc = 0;
398 uint64_t RegEnc = 0;
416 uint64_t Enc = MRI.getEncodingValue(Reg);
451 uint64_t SIMCCodeEmitter::getMachineOpValue(const MCInst &MI,
lib/Target/AMDGPU/R600ExpandSpecialInstrs.cpp 77 uint64_t Val = OldMI->getOperand(OpIdx).getImm();
117 uint64_t Flags = MI.getOperand(3).getImm();
lib/Target/AMDGPU/R600ISelLowering.cpp 2166 uint64_t ImmValue = 0;
2182 uint64_t Value = C->getZExtValue();
lib/Target/AMDGPU/R600InstrInfo.h 26 enum : uint64_t {
lib/Target/AMDGPU/SIDefines.h 19 enum : uint64_t {
lib/Target/AMDGPU/SIFoldOperands.cpp 35 uint64_t ImmToFold;
lib/Target/AMDGPU/SIFrameLowering.cpp 612 uint64_t Rsrc23 = TII->getScratchRsrcWords23();
1110 uint64_t CalleePopAmount = IsDestroy ? I->getOperand(1).getImm() : 0;
lib/Target/AMDGPU/SIISelLowering.cpp 1311 uint64_t Size, unsigned DstAlign, unsigned SrcAlign, bool IsMemset,
1400 uint64_t Offset) const {
1421 uint64_t Offset = getImplicitParameterOffset(DAG.getMachineFunction(),
1460 uint64_t Offset, unsigned Align, bool Signed,
2135 const uint64_t Offset = VA.getLocMemOffset();
2968 uint64_t CalleePopBytes = NumBytes;
5196 uint64_t Value = CachePolicyConst->getZExtValue();
5301 uint64_t Value = TexFailCtrlConst->getZExtValue();
5691 uint64_t InstOffset = cast<ConstantSDNode>(Ops[5])->getZExtValue();
8129 uint64_t Val = CRHS->getZExtValue();
8251 uint64_t Mask = CRHS->getZExtValue();
9808 uint64_t CRHSVal = CRHS->getZExtValue();
9820 uint64_t CT = LHS.getConstantOperandVal(1);
9821 uint64_t CF = LHS.getConstantOperandVal(2);
10465 uint64_t Val) {
10507 uint64_t RsrcDword2And3) const {
lib/Target/AMDGPU/SIISelLowering.h 41 SDValue Chain, uint64_t Offset) const;
45 uint64_t Offset, unsigned Align, bool Signed,
255 EVT getOptimalMemOpType(uint64_t Size, unsigned DstAlign,
370 uint32_t RsrcDword1, uint64_t RsrcDword2And3) const;
lib/Target/AMDGPU/SIInstrInfo.cpp 3396 uint64_t DMaskImm = DMask->getImm();
3554 uint64_t Imm = Op->getImm();
4487 uint64_t RsrcDataFormat = TII.getDefaultRsrcDataFormat();
5861 uint64_t SIInstrInfo::getDefaultRsrcDataFormat() const {
5868 uint64_t RsrcDataFormat = AMDGPU::RSRC_DATA_FORMAT;
5883 uint64_t SIInstrInfo::getScratchRsrcWords23() const {
5884 uint64_t Rsrc23 = getDefaultRsrcDataFormat() |
5890 uint64_t EltSizeValue = Log2_32(ST.getMaxPrivateElementSize()) - 1;
5895 uint64_t IndexStride = ST.getWavefrontSize() == 64 ? 3 : 2;
lib/Target/AMDGPU/SIInstrInfo.h 646 uint64_t getClampMask(const MachineInstr &MI) const {
647 const uint64_t ClampFlags = SIInstrFlags::FPClamp |
921 uint64_t getDefaultRsrcDataFormat() const;
922 uint64_t getScratchRsrcWords23() const;
1125 const uint64_t RSRC_DATA_FORMAT = 0xf00000000000LL;
1126 const uint64_t RSRC_ELEMENT_SIZE_SHIFT = (32 + 19);
1127 const uint64_t RSRC_INDEX_STRIDE_SHIFT = (32 + 21);
1128 const uint64_t RSRC_TID_ENABLE = UINT64_C(1) << (32 + 23);
lib/Target/AMDGPU/SILoadStoreOptimizer.cpp 283 uint64_t DMaskImm =
1505 uint64_t Offset1 = Src1->getImm();
lib/Target/AMDGPU/SIMachineFunctionInfo.h 261 uint64_t ExplicitKernArgSize = 0;
lib/Target/AMDGPU/SIPeepholeSDWA.cpp 161 uint64_t getSrcMods(const SIInstrInfo *TII,
334 uint64_t SDWASrcOperand::getSrcMods(const SIInstrInfo *TII,
336 uint64_t Mods = 0;
lib/Target/AMDGPU/SIProgramInfo.h 33 uint64_t ScratchSize = 0;
35 uint64_t ComputePGMRSrc1 = 0;
41 uint64_t ComputePGMRSrc2 = 0;
lib/Target/AMDGPU/Utils/AMDGPUBaseInfo.cpp 742 uint64_t encodeHwreg(uint64_t Id, uint64_t Offset, uint64_t Width) {
742 uint64_t encodeHwreg(uint64_t Id, uint64_t Offset, uint64_t Width) {
742 uint64_t encodeHwreg(uint64_t Id, uint64_t Offset, uint64_t Width) {
742 uint64_t encodeHwreg(uint64_t Id, uint64_t Offset, uint64_t Width) {
863 uint64_t encodeMsg(uint64_t MsgId,
863 uint64_t encodeMsg(uint64_t MsgId,
864 uint64_t OpId,
865 uint64_t StreamId) {
1143 uint64_t Val = static_cast<uint64_t>(Literal);
lib/Target/AMDGPU/Utils/AMDGPUBaseInfo.h 460 uint64_t encodeHwreg(uint64_t Id, uint64_t Offset, uint64_t Width);
460 uint64_t encodeHwreg(uint64_t Id, uint64_t Offset, uint64_t Width);
460 uint64_t encodeHwreg(uint64_t Id, uint64_t Offset, uint64_t Width);
460 uint64_t encodeHwreg(uint64_t Id, uint64_t Offset, uint64_t Width);
504 uint64_t encodeMsg(uint64_t MsgId,
504 uint64_t encodeMsg(uint64_t MsgId,
505 uint64_t OpId,
506 uint64_t StreamId);
lib/Target/AMDGPU/Utils/AMDGPUPALMetadata.cpp 640 uint64_t Val;
lib/Target/AMDGPU/Utils/AMDKernelCodeTUtils.cpp 150 const uint64_t Mask = ((UINT64_C(1) << width) - 1) << shift;
lib/Target/ARC/ARCFrameLowering.cpp 247 uint64_t StackSize = MF.getFrameInfo().getStackSize();
lib/Target/ARC/ARCISelDAGToDAG.cpp 172 uint64_t CVal = cast<ConstantSDNode>(N)->getZExtValue();
lib/Target/ARC/ARCInstrInfo.cpp 414 const uint64_t F = MID.TSFlags;
420 const uint64_t F = MID.TSFlags;
lib/Target/ARC/Disassembler/ARCDisassembler.cpp 43 DecodeStatus getInstruction(MCInst &Instr, uint64_t &Size,
44 ArrayRef<uint8_t> Bytes, uint64_t Address,
51 static bool readInstruction32(ArrayRef<uint8_t> Bytes, uint64_t Address,
52 uint64_t &Size, uint32_t &Insn) {
60 static bool readInstruction64(ArrayRef<uint8_t> Bytes, uint64_t Address,
61 uint64_t &Size, uint64_t &Insn) {
61 uint64_t &Size, uint64_t &Insn) {
70 static bool readInstruction48(ArrayRef<uint8_t> Bytes, uint64_t Address,
71 uint64_t &Size, uint64_t &Insn) {
71 uint64_t &Size, uint64_t &Insn) {
79 static bool readInstruction16(ArrayRef<uint8_t> Bytes, uint64_t Address,
80 uint64_t &Size, uint32_t &Insn) {
88 uint64_t Address = 0,
93 uint64_t Address = 0,
98 uint64_t Address, const void *Decoder);
100 static DecodeStatus DecodeMEMrs9(MCInst &, unsigned, uint64_t, const void *);
102 static DecodeStatus DecodeLdLImmInstruction(MCInst &, uint64_t, uint64_t,
102 static DecodeStatus DecodeLdLImmInstruction(MCInst &, uint64_t, uint64_t,
105 static DecodeStatus DecodeStLImmInstruction(MCInst &, uint64_t, uint64_t,
105 static DecodeStatus DecodeStLImmInstruction(MCInst &, uint64_t, uint64_t,
108 static DecodeStatus DecodeLdRLImmInstruction(MCInst &, uint64_t, uint64_t,
108 static DecodeStatus DecodeLdRLImmInstruction(MCInst &, uint64_t, uint64_t,
111 static DecodeStatus DecodeMoveHRegInstruction(MCInst &Inst, uint64_t, uint64_t,
111 static DecodeStatus DecodeMoveHRegInstruction(MCInst &Inst, uint64_t, uint64_t,
122 uint64_t Address,
135 uint64_t Address,
159 static DecodeStatus DecodeMEMrs9(MCInst &Inst, unsigned Insn, uint64_t Address,
169 static bool DecodeSymbolicOperand(MCInst &Inst, uint64_t Address,
170 uint64_t Value, const void *Decoder) {
171 static const uint64_t atLeast = 2;
179 static void DecodeSymbolicOperandOff(MCInst &Inst, uint64_t Address,
180 uint64_t Offset, const void *Decoder) {
181 uint64_t nextAddress = Address + Offset;
189 uint64_t Address, const void *Decoder) {
198 uint64_t /*Address*/,
209 uint64_t /*Address*/,
219 static DecodeStatus DecodeStLImmInstruction(MCInst &Inst, uint64_t Insn,
220 uint64_t Address,
236 static DecodeStatus DecodeLdLImmInstruction(MCInst &Inst, uint64_t Insn,
237 uint64_t Address,
254 static DecodeStatus DecodeLdRLImmInstruction(MCInst &Inst, uint64_t Insn,
255 uint64_t Address,
271 static DecodeStatus DecodeMoveHRegInstruction(MCInst &Inst, uint64_t Insn,
272 uint64_t Address,
275 using Field = decltype(Insn);
297 DecodeStatus ARCDisassembler::getInstruction(MCInst &Instr, uint64_t &Size,
299 uint64_t Address,
319 uint64_t Insn64;
339 uint64_t Insn48;
lib/Target/ARM/ARMAsmPrinter.cpp 80 uint64_t Size = getDataLayout().getTypeAllocSize(CV->getType());
lib/Target/ARM/ARMBaseInstrInfo.cpp 149 uint64_t TSFlags = MI.getDesc().TSFlags;
lib/Target/ARM/ARMCallLowering.cpp 95 Register getStackAddress(uint64_t Size, int64_t Offset,
128 void assignValueToAddress(Register ValVReg, Register Addr, uint64_t Size,
185 uint64_t StackSize = 0;
292 Register getStackAddress(uint64_t Size, int64_t Offset,
309 void assignValueToAddress(Register ValVReg, Register Addr, uint64_t Size,
330 void buildLoad(Register Val, Register Addr, uint64_t Size, unsigned Alignment,
lib/Target/ARM/ARMFastISel.cpp 149 uint64_t Imm);
152 uint64_t Imm);
202 bool ARMIsMemCpySmall(uint64_t Len);
203 bool ARMTryEmitSmallMemCpy(Address Dest, Address Src, uint64_t Len,
354 uint64_t Imm) {
379 uint64_t Imm) {
768 uint64_t S = DL.getTypeAllocSize(GTI.getIndexedType());
1297 uint64_t Imm = CI->getZExtValue();
2438 bool ARMFastISel::ARMIsMemCpySmall(uint64_t Len) {
2443 uint64_t Len, unsigned Alignment) {
2532 uint64_t Len = cast<ConstantInt>(MTI.getLength())->getZExtValue();
2922 const uint64_t Imm = MI->getOperand(2).getImm();
lib/Target/ARM/ARMFrameLowering.cpp 2219 static const uint64_t kSplitStackAvailable = 256;
2268 uint64_t StackSize = MFI.getStackSize();
2286 uint64_t AlignedStackSize;
lib/Target/ARM/ARMISelDAGToDAG.cpp 3338 uint64_t ID = cast<ConstantSDNode>(Int->getOperand(1))->getZExtValue();
lib/Target/ARM/ARMISelLowering.cpp 4255 uint64_t RHSV = RHSC->getZExtValue();
4737 uint64_t &K, bool &usat) {
4885 uint64_t SatConstant;
6369 static SDValue isVMOVModifiedImm(uint64_t SplatBits, uint64_t SplatUndef,
6369 static SDValue isVMOVModifiedImm(uint64_t SplatBits, uint64_t SplatUndef,
6476 uint64_t BitMask = 0xff;
6477 uint64_t Val = 0;
6576 uint64_t iVal = FPVal.bitcastToAPInt().getZExtValue();
7016 uint64_t Val;
7124 uint64_t NegatedImm = (~SplatBits).getZExtValue();
8748 const uint64_t ByteSize = DL.getTypeAllocSize(RetTy);
11844 unsigned ShiftAmt = countTrailingZeros<uint64_t>(MulAmt);
11873 uint64_t MulAmtAbs = -MulAmt;
14646 uint64_t Size, unsigned DstAlign, unsigned SrcAlign, bool IsMemset,
16258 uint64_t NumElts = DL.getTypeSizeInBits(I.getType()) / 64;
16274 uint64_t NumElts = DL.getTypeSizeInBits(I.getType()) / 64;
16995 uint64_t &Members) {
16998 uint64_t SubMembers = 0;
17004 uint64_t SubMembers = 0;
17067 uint64_t Members = 0;
lib/Target/ARM/ARMISelLowering.h 346 EVT getOptimalMemOpType(uint64_t Size,
lib/Target/ARM/ARMSelectionDAGInfo.cpp 143 uint64_t SizeVal = ConstantSize->getZExtValue();
158 uint64_t SrcOff = 0, DstOff = 0;
lib/Target/ARM/ARMTargetTransformInfo.cpp 73 uint64_t ZImmVal = Imm.getZExtValue();
lib/Target/ARM/AsmParser/ARMAsmParser.cpp 641 uint64_t &ErrorInfo,
1180 bool isExpImmValue(uint64_t Value) const {
1181 uint64_t mask = (1 << shift) - 1;
1202 uint64_t OriginalValue = CE->getValue();
1203 uint64_t InvertedValue = OriginalValue ^ (((uint64_t)1 << size) - 1);
2185 uint64_t Mask = (1ull << Width) - 1;
2186 uint64_t Elem = Value & Mask;
2251 uint64_t Value = CE->getValue();
2264 uint64_t Value = CE->getValue();
2274 uint64_t Value = CE->getValue();
2282 uint64_t Value = CE->getValue();
3319 uint64_t Value = CE->getValue();
3343 uint64_t Value = CE->getValue();
3352 uint64_t Value = CE->getValue();
5950 uint64_t IntVal = RealVal.bitcastToAPInt().getZExtValue();
10408 static const char *getSubtargetFeatureName(uint64_t Val);
10411 MCStreamer &Out, uint64_t &ErrorInfo,
lib/Target/ARM/Disassembler/ARMDisassembler.cpp 138 DecodeStatus getInstruction(MCInst &Instr, uint64_t &Size,
139 ArrayRef<uint8_t> Bytes, uint64_t Address,
144 DecodeStatus getARMInstruction(MCInst &Instr, uint64_t &Size,
145 ArrayRef<uint8_t> Bytes, uint64_t Address,
149 DecodeStatus getThumbInstruction(MCInst &Instr, uint64_t &Size,
150 ArrayRef<uint8_t> Bytes, uint64_t Address,
181 uint64_t Address, const void *Decoder);
183 uint64_t Address, const void *Decoder);
185 uint64_t Address, const void *Decoder);
187 uint64_t Address, const void *Decoder);
189 unsigned RegNo, uint64_t Address,
192 unsigned RegNo, uint64_t Address,
195 unsigned RegNo, uint64_t Address,
198 MCInst &Inst, unsigned RegNo, uint64_t Address, const void *Decoder);
200 uint64_t Address, const void *Decoder);
202 uint64_t Address, const void *Decoder);
204 uint64_t Address, const void *Decoder);
206 uint64_t Address, const void *Decoder);
208 uint64_t Address, const void *Decoder);
210 uint64_t Address, const void *Decoder);
212 uint64_t Address, const void *Decoder);
214 uint64_t Address, const void *Decoder);
216 uint64_t Address, const void *Decoder);
219 uint64_t Address,
222 uint64_t Address, const void *Decoder);
224 uint64_t Address, const void *Decoder);
226 uint64_t Address, const void *Decoder);
228 uint64_t Address, const void *Decoder);
230 uint64_t Address, const void *Decoder);
232 unsigned RegNo, uint64_t Address,
236 uint64_t Address, const void *Decoder);
238 uint64_t Address, const void *Decoder);
240 uint64_t Address, const void *Decoder);
242 uint64_t Address, const void *Decoder);
244 uint64_t Address, const void *Decoder);
247 uint64_t Address, const void *Decoder);
249 uint64_t Address, const void *Decoder);
252 uint64_t Address,
255 uint64_t Address, const void *Decoder);
257 uint64_t Address, const void *Decoder);
259 uint64_t Address, const void *Decoder);
261 uint64_t Address, const void *Decoder);
265 uint64_t Adddress,
268 uint64_t Address, const void *Decoder);
270 uint64_t Address, const void *Decoder);
272 uint64_t Address, const void *Decoder);
274 uint64_t Address, const void *Decoder);
276 uint64_t Address, const void *Decoder);
278 uint64_t Address, const void *Decoder);
280 uint64_t Address, const void *Decoder);
282 uint64_t Address, const void *Decoder);
284 uint64_t Address, const void *Decoder);
286 uint64_t Address, const void *Decoder);
288 uint64_t Address, const void *Decoder);
290 uint64_t Address, const void *Decoder);
292 uint64_t Address, const void *Decoder);
294 uint64_t Address, const void *Decoder);
296 uint64_t Address, const void *Decoder);
298 uint64_t Address, const void *Decoder);
300 uint64_t Address, const void *Decoder);
302 uint64_t Address, const void *Decoder);
304 uint64_t Address, const void *Decoder);
306 uint64_t Address, const void *Decoder);
308 uint64_t Address, const void *Decoder);
310 uint64_t Address, const void *Decoder);
312 uint64_t Address, const void *Decoder);
314 uint64_t Address, const void *Decoder);
316 uint64_t Address, const void *Decoder);
318 uint64_t Address, const void *Decoder);
320 uint64_t Address, const void *Decoder);
322 uint64_t Address, const void *Decoder);
324 uint64_t Address, const void *Decoder);
326 uint64_t Address, const void *Decoder);
328 uint64_t Address, const void *Decoder);
330 uint64_t Address, const void *Decoder);
332 uint64_t Address, const void *Decoder);
334 uint64_t Address, const void *Decoder);
336 uint64_t Address, const void *Decoder);
338 uint64_t Address, const void *Decoder);
341 uint64_t Address, const void *Decoder);
343 uint64_t Address, const void *Decoder);
345 uint64_t Address, const void *Decoder);
347 uint64_t Address, const void *Decoder);
349 uint64_t Address, const void *Decoder);
351 uint64_t Address, const void *Decoder);
353 uint64_t Address, const void *Decoder);
355 uint64_t Address, const void *Decoder);
357 uint64_t Address, const void *Decoder);
359 uint64_t Address, const void *Decoder);
361 uint64_t Address, const void *Decoder);
363 uint64_t Address, const void *Decoder);
365 uint64_t Address, const void *Decoder);
367 uint64_t Address, const void *Decoder);
369 uint64_t Address, const void *Decoder);
371 uint64_t Address, const void *Decoder);
373 uint64_t Address, const void *Decoder);
375 uint64_t Address, const void *Decoder);
377 uint64_t Address, const void *Decoder);
379 uint64_t Address, const void *Decoder);
381 uint64_t Address, const void *Decoder);
383 uint64_t Address, const void *Decoder);
385 uint64_t Address, const void *Decoder);
387 uint64_t Address, const void *Decoder);
389 uint64_t Address, const void *Decoder);
391 uint64_t Address, const void *Decoder);
394 uint64_t Address,
398 uint64_t Address, const void *Decoder);
400 uint64_t Address, const void *Decoder);
402 uint64_t Address, const void *Decoder);
404 uint64_t Address, const void *Decoder);
406 uint64_t Address, const void *Decoder);
408 uint64_t Address, const void *Decoder);
410 uint64_t Address, const void *Decoder);
412 uint64_t Address, const void *Decoder);
414 uint64_t Address, const void *Decoder);
416 uint64_t Address, const void *Decoder);
418 uint64_t Address, const void* Decoder);
420 uint64_t Address, const void* Decoder);
422 uint64_t Address, const void* Decoder);
424 uint64_t Address, const void* Decoder);
426 uint64_t Address, const void *Decoder);
428 uint64_t Address, const void *Decoder);
430 uint64_t Address, const void *Decoder);
432 uint64_t Address,
435 uint64_t Address, const void *Decoder);
437 uint64_t Address, const void *Decoder);
440 uint64_t Address, const void *Decoder);
442 uint64_t Address, const void *Decoder);
445 uint64_t Address, const void *Decoder);
448 uint64_t Address, const void *Decoder);
450 uint64_t Address, const void *Decoder);
452 uint64_t Address, const void *Decoder);
454 uint64_t Address, const void *Decoder);
456 uint64_t Address, const void *Decoder);
458 uint64_t Address, const void *Decoder);
460 uint64_t Address, const void *Decoder);
462 uint64_t Address, const void *Decoder);
464 uint64_t Address, const void *Decoder);
466 uint64_t Address, const void *Decoder);
468 uint64_t Address, const void *Decoder);
470 uint64_t Address, const void *Decoder);
472 uint64_t Address, const void *Decoder);
474 uint64_t Address, const void *Decoder);
476 uint64_t Address, const void *Decoder);
478 uint64_t Address, const void *Decoder);
480 uint64_t Address, const void *Decoder);
482 uint64_t Address, const void *Decoder);
485 uint64_t Address, const void *Decoder);
487 uint64_t Address, const void *Decoder);
489 uint64_t Address, const void *Decoder);
493 uint64_t Address, const void *Decoder);
495 uint64_t Address,
498 uint64_t Address,
500 static DecodeStatus DecodeLOLoop(MCInst &Inst, unsigned Insn, uint64_t Address,
503 uint64_t Address,
505 static DecodeStatus DecodeVSCCLRM(MCInst &Inst, unsigned Insn, uint64_t Address,
508 uint64_t Address, const void *Decoder);
510 uint64_t Address, const void *Decoder);
512 uint64_t Address,
515 uint64_t Address,
518 uint64_t Address,
522 uint64_t Address,
526 uint64_t Address,
530 uint64_t Address, const void *Decoder);
533 uint64_t Address, const void *Decoder);
536 uint64_t Address, const void *Decoder);
539 uint64_t Address,
543 uint64_t Address,
547 uint64_t Address,
550 uint64_t Address,
553 uint64_t Address,
556 uint64_t Address, const void *Decoder);
558 uint64_t Address, const void *Decoder);
561 uint64_t Address, const void *Decoder);
563 uint64_t Address, const void *Decoder);
565 uint64_t Address, const void *Decoder);
567 uint64_t Address,
578 static DecodeStatus checkDecodedInstruction(MCInst &MI, uint64_t &Size,
579 uint64_t Address, raw_ostream &OS,
610 DecodeStatus ARMDisassembler::getInstruction(MCInst &MI, uint64_t &Size,
612 uint64_t Address, raw_ostream &OS,
619 DecodeStatus ARMDisassembler::getARMInstruction(MCInst &MI, uint64_t &Size,
621 uint64_t Address,
701 static bool tryAddingSymbolicOperand(uint64_t Address, int32_t Value,
702 bool isBranch, uint64_t InstSize,
719 static void tryAddingPcLoadReferenceComment(uint64_t Address, int Value,
906 DecodeStatus ARMDisassembler::getThumbInstruction(MCInst &MI, uint64_t &Size,
908 uint64_t Address,
1128 uint64_t Address, const void *Decoder) {
1138 uint64_t Address,
1153 uint64_t Address, const void *Decoder) {
1166 uint64_t Address, const void *Decoder) {
1181 uint64_t Address, const void *Decoder) {
1199 uint64_t Address, const void *Decoder) {
1208 uint64_t Address, const void *Decoder) {
1220 uint64_t Address, const void *Decoder) {
1235 uint64_t Address, const void *Decoder) {
1265 uint64_t Address, const void *Decoder) {
1290 uint64_t Address, const void *Decoder) {
1300 uint64_t Address, const void *Decoder) {
1316 uint64_t Address, const void *Decoder) {
1331 uint64_t Address, const void *Decoder) {
1338 uint64_t Address, const void *Decoder) {
1346 uint64_t Address, const void *Decoder) {
1360 uint64_t Address, const void *Decoder) {
1380 uint64_t Address, const void *Decoder) {
1402 uint64_t Address,
1413 uint64_t Address, const void *Decoder) {
1430 uint64_t Address, const void *Decoder) {
1439 uint64_t Address, const void *Decoder) {
1476 uint64_t Address, const void *Decoder) {
1511 uint64_t Address, const void *Decoder) {
1558 uint64_t Address, const void *Decoder) {
1582 uint64_t Address, const void *Decoder) {
1607 uint64_t Address, const void *Decoder) {
1634 uint64_t Address, const void *Decoder) {
1813 uint64_t Address, const void *Decoder) {
1918 uint64_t Address, const void *Decoder) {
1962 uint64_t Address, const void *Decoder) {
2153 uint64_t Address, const void *Decoder) {
2182 uint64_t Address, const void *Decoder) {
2206 uint64_t Address, const void *Decoder) {
2297 uint64_t Address, const void *Decoder) {
2319 uint64_t Address, const void *Decoder) {
2366 uint64_t Address, const void *Decoder) {
2408 uint64_t Address, const void *Decoder) {
2432 uint64_t Address, const void *Decoder) {
2459 uint64_t Address, const void *Decoder) {
2487 uint64_t Address, const void *Decoder) {
2508 uint64_t Address, const void *Decoder) {
2536 uint64_t Address, const void *Decoder) {
2556 uint64_t Address, const void *Decoder) {
2576 uint64_t Address, const void *Decoder) {
2596 uint64_t Address, const void *Decoder) {
2602 uint64_t Address, const void *Decoder) {
2629 uint64_t Address, const void *Decoder) {
2654 uint64_t Address, const void *Decoder) {
2671 uint64_t Address, const void *Decoder) {
2947 uint64_t Address, const void *Decoder) {
2960 uint64_t Address, const void *Decoder) {
2975 uint64_t Address, const void *Decoder) {
2988 uint64_t Address, const void *Decoder) {
2998 uint64_t Address, const void *Decoder) {
3268 uint64_t Address, const void *Decoder) {
3315 uint64_t Address, const void *Decoder) {
3363 uint64_t Address, const void *Decoder) {
3398 uint64_t Address, const void *Decoder) {
3451 uint64_t Address, const void *Decoder) {
3497 uint64_t Address, const void *Decoder) {
3525 uint64_t Address, const void *Decoder) {
3550 uint64_t Address, const void *Decoder) {
3569 uint64_t Address, const void *Decoder) {
3575 uint64_t Address, const void *Decoder) {
3581 uint64_t Address, const void *Decoder) {
3587 uint64_t Address, const void *Decoder) {
3593 uint64_t Address, const void *Decoder) {
3629 uint64_t Address, const void *Decoder) {
3653 uint64_t Address, const void *Decoder) {
3661 uint64_t Address, const void *Decoder) {
3669 uint64_t Address, const void *Decoder) {
3677 uint64_t Address, const void *Decoder) {
3692 uint64_t Address, const void *Decoder) {
3706 uint64_t Address, const void *Decoder) {
3716 uint64_t Address, const void *Decoder) {
3724 uint64_t Address, const void *Decoder) {
3753 uint64_t Address, const void *Decoder) {
3836 uint64_t Address, const void* Decoder) {
3920 uint64_t Address, const void* Decoder) {
4000 uint64_t Address, const void* Decoder) {
4039 uint64_t Address, const void* Decoder) {
4092 uint64_t Address, const void *Decoder) {
4105 static DecodeStatus DecodeT2Imm7S4(MCInst &Inst, unsigned Val, uint64_t Address,
4121 uint64_t Address, const void *Decoder) {
4136 uint64_t Address,
4152 uint64_t Address, const void *Decoder) {
4167 uint64_t Address, const void *Decoder) {
4180 uint64_t Address, const void *Decoder) {
4194 uint64_t Address, const void *Decoder) {
4241 uint64_t Address,
4258 uint64_t Address,
4276 uint64_t Address, const void *Decoder) {
4337 uint64_t Address, const void *Decoder) {
4363 uint64_t Address, const void *Decoder) {
4374 uint64_t Address, const void *Decoder) {
4399 uint64_t Address, const void *Decoder) {
4410 uint64_t Address, const void *Decoder) {
4423 uint64_t Address, const void *Decoder) {
4438 uint64_t Address, const void *Decoder) {
4460 uint64_t Address, const void *Decoder) {
4484 uint64_t Address, const void *Decoder) {
4500 uint64_t Address, const void *Decoder) {
4516 uint64_t Address, const void *Decoder) {
4558 uint64_t Address, const void *Decoder) {
4590 uint64_t Address, const void *Decoder) {
4598 uint64_t Address,
4622 uint64_t Address, const void *Decoder) {
4631 uint64_t Address, const void *Decoder) {
4640 uint64_t Address, const void *Decoder) {
4722 uint64_t Address, const void *Decoder) {
4737 uint64_t Address, const void *Decoder) {
4758 uint64_t Address,
4784 uint64_t Address, const void *Decoder) {
4809 uint64_t Address, const void *Decoder) {
4836 uint64_t Address, const void *Decoder) {
4861 uint64_t Address, const void *Decoder) {
4886 uint64_t Address, const void *Decoder) {
4953 uint64_t Address, const void *Decoder) {
5018 uint64_t Address, const void *Decoder) {
5085 uint64_t Address, const void *Decoder) {
5148 uint64_t Address, const void *Decoder) {
5218 uint64_t Address, const void *Decoder) {
5281 uint64_t Address, const void *Decoder) {
5362 uint64_t Address, const void *Decoder) {
5434 uint64_t Address, const void *Decoder) {
5460 uint64_t Address, const void *Decoder) {
5486 uint64_t Address, const void *Decoder) {
5516 uint64_t Address, const void *Decoder) {
5553 uint64_t Address, const void *Decoder) {
5587 uint64_t Address, const void *Decoder) {
5602 uint64_t Address,
5613 uint64_t Address, const void *Decoder) {
5640 uint64_t Address, const void *Decoder) {
5699 uint64_t Address, const void *Decoder) {
5759 uint64_t Address,
5791 uint64_t Address, const void *Decoder) {
5818 uint64_t Address, const void *Decoder) {
5863 uint64_t Address,
5915 uint64_t Address,
5921 uint64_t DecVal;
5934 uint64_t Address,
5937 uint64_t LocImm = Inst.getOperand(0).getImm();
5946 uint64_t Address,
5954 static DecodeStatus DecodeLOLoop(MCInst &Inst, unsigned Insn, uint64_t Address,
6017 uint64_t Address,
6030 uint64_t Address, const void *Decoder) {
6040 uint64_t Address, const void *Decoder) {
6049 static DecodeStatus DecodeVSCCLRM(MCInst &Inst, unsigned Insn, uint64_t Address,
6076 uint64_t Address,
6092 uint64_t Address,
6108 uint64_t Address,
6119 uint64_t Address,
6150 uint64_t Address, const void *Decoder) {
6163 uint64_t Address,
6171 uint64_t Address,
6194 uint64_t Address,
6201 uint64_t Address,
6232 uint64_t Address, const void *Decoder) {
6275 uint64_t Address,
6318 MCInst &Inst, unsigned Val, uint64_t Address, const void *Decoder,
6338 uint64_t Address, const void *Decoder) {
6347 uint64_t Address, const void *Decoder) {
6356 uint64_t Address, const void *Decoder) {
6365 uint64_t Address,
6378 uint64_t Address,
6388 uint64_t Address,
6398 uint64_t Address, const void *Decoder) {
6421 uint64_t Address, const void *Decoder) {
6446 MCInst &Inst, unsigned Insn, uint64_t Address, const void *Decoder) {
6524 static DecodeStatus DecodeMVEVCVTt1fp(MCInst &Inst, unsigned Insn, uint64_t Address,
6544 static DecodeStatus DecodeMVEVCMP(MCInst &Inst, unsigned Insn, uint64_t Address,
6581 static DecodeStatus DecodeMveVCTP(MCInst &Inst, unsigned Insn, uint64_t Address,
6591 static DecodeStatus DecodeMVEVPNOT(MCInst &Inst, unsigned Insn, uint64_t Address,
lib/Target/ARM/MCTargetDesc/ARMAddressingModes.h 543 inline uint64_t decodeVMOVModImm(unsigned ModImm, unsigned &EltBits) {
546 uint64_t Val = 0;
708 uint64_t Sign = Imm.lshr(63).getZExtValue() & 1;
710 uint64_t Mantissa = Imm.getZExtValue() & 0xfffffffffffffULL;
lib/Target/ARM/MCTargetDesc/ARMAsmBackend.cpp 227 static const char *checkPCRelOffset(uint64_t Value, int64_t Min, int64_t Max) {
235 uint64_t Value) const {
313 bool ARMAsmBackend::fixupNeedsRelaxation(const MCFixup &Fixup, uint64_t Value,
350 bool ARMAsmBackend::writeNopData(raw_ostream &OS, uint64_t Count) const {
358 uint64_t NumNops = Count / 2;
359 for (uint64_t i = 0; i != NumNops; ++i)
368 uint64_t NumNops = Count / 4;
369 for (uint64_t i = 0; i != NumNops; ++i)
418 const MCValue &Target, uint64_t Value,
582 uint64_t out = 0;
805 uint64_t EncValue = 0;
857 uint64_t real_value = Value - 4;
1037 MutableArrayRef<char> Data, uint64_t Value,
lib/Target/ARM/MCTargetDesc/ARMAsmBackend.h 48 const MCValue &Target, uint64_t Value,
54 uint64_t Value, bool IsResolved,
63 uint64_t Value) const;
65 bool fixupNeedsRelaxation(const MCFixup &Fixup, uint64_t Value,
72 bool writeNopData(raw_ostream &OS, uint64_t Count) const override;
lib/Target/ARM/MCTargetDesc/ARMELFStreamer.cpp 467 void emitFill(const MCExpr &NumBytes, uint64_t FillValue,
597 explicit ElfMappingSymbolInfo(SMLoc Loc, MCFragment *F, uint64_t O)
606 uint64_t Offset;
657 uint64_t Offset) {
1299 uint64_t Intval = Opcodes[0] |
1378 uint64_t Intval = Opcodes[I] |
lib/Target/ARM/MCTargetDesc/ARMInstPrinter.cpp 1342 uint64_t Val = ARM_AM::decodeVMOVModImm(EncodedImm, EltBits);
lib/Target/ARM/MCTargetDesc/ARMMCCodeEmitter.cpp 80 uint64_t getBinaryCodeForInstr(const MCInst &MI,
450 void EmitConstant(uint64_t Val, unsigned Size, raw_ostream &OS) const {
1872 uint64_t TSFlags = Desc.TSFlags;
lib/Target/ARM/MCTargetDesc/ARMMCTargetDesc.cpp 265 bool evaluateBranch(const MCInst &Inst, uint64_t Addr,
266 uint64_t Size, uint64_t &Target) const override {
266 uint64_t Size, uint64_t &Target) const override {
281 bool evaluateBranch(const MCInst &Inst, uint64_t Addr, uint64_t Size,
281 bool evaluateBranch(const MCInst &Inst, uint64_t Addr, uint64_t Size,
282 uint64_t &Target) const override {
lib/Target/ARM/MCTargetDesc/ARMMachObjectWriter.cpp 38 uint64_t &FixedValue);
44 uint64_t &FixedValue);
49 const MCSymbol &S, uint64_t FixedValue);
58 uint64_t &FixedValue) override;
146 uint64_t &FixedValue) {
172 uint64_t SecAddr = Writer->getSectionAddress(A->getFragment()->getParent());
261 uint64_t &FixedValue) {
285 uint64_t SecAddr = Writer->getSectionAddress(A->getFragment()->getParent());
334 uint64_t FixedValue) {
380 uint64_t &FixedValue) {
lib/Target/AVR/AVRISelLowering.cpp 309 uint64_t ShiftAmount = cast<ConstantSDNode>(N->getOperand(1))->getZExtValue();
1935 uint64_t CUVal64 = C->getZExtValue();
lib/Target/AVR/AsmParser/AVRAsmParser.cpp 52 uint64_t &ErrorInfo,
83 uint64_t const &ErrorInfo);
84 bool missingFeature(SMLoc const &Loc, uint64_t const &ErrorInfo);
279 uint64_t const &ErrorInfo) {
304 uint64_t const &ErrorInfo) {
317 MCStreamer &Out, uint64_t &ErrorInfo,
lib/Target/AVR/Disassembler/AVRDisassembler.cpp 41 DecodeStatus getInstruction(MCInst &Instr, uint64_t &Size,
42 ArrayRef<uint8_t> Bytes, uint64_t Address,
62 uint64_t Address, const void *Decoder) {
67 uint64_t Address, const void *Decoder) {
72 uint64_t Address, const void *Decoder) {
78 static DecodeStatus readInstruction16(ArrayRef<uint8_t> Bytes, uint64_t Address,
79 uint64_t &Size, uint32_t &Insn) {
91 static DecodeStatus readInstruction32(ArrayRef<uint8_t> Bytes, uint64_t Address,
92 uint64_t &Size, uint32_t &Insn) {
105 static const uint8_t *getDecoderTable(uint64_t Size) {
114 DecodeStatus AVRDisassembler::getInstruction(MCInst &Instr, uint64_t &Size,
116 uint64_t Address,
154 typedef DecodeStatus (*DecodeFunc)(MCInst &MI, unsigned insn, uint64_t Address,
lib/Target/AVR/MCTargetDesc/AVRAsmBackend.cpp 37 void signed_width(unsigned Width, uint64_t Value, std::string Description,
56 void unsigned_width(unsigned Width, uint64_t Value, std::string Description,
75 void adjustBranch(unsigned Size, const MCFixup &Fixup, uint64_t &Value,
86 void adjustRelativeBranch(unsigned Size, const MCFixup &Fixup, uint64_t &Value,
104 void fixup_call(unsigned Size, const MCFixup &Fixup, uint64_t &Value,
120 void fixup_7_pcrel(unsigned Size, const MCFixup &Fixup, uint64_t &Value,
134 void fixup_13_pcrel(unsigned Size, const MCFixup &Fixup, uint64_t &Value,
147 void fixup_6_adiw(const MCFixup &Fixup, uint64_t &Value,
158 void fixup_port5(const MCFixup &Fixup, uint64_t &Value,
171 void fixup_port6(const MCFixup &Fixup, uint64_t &Value,
180 void pm(uint64_t &Value) {
192 void fixup(unsigned Size, const MCFixup &Fixup, uint64_t &Value,
194 uint64_t upper = Value & 0xf0;
195 uint64_t lower = Value & 0x0f;
200 void neg(uint64_t &Value) { Value *= -1; }
202 void lo8(unsigned Size, const MCFixup &Fixup, uint64_t &Value,
208 void hi8(unsigned Size, const MCFixup &Fixup, uint64_t &Value,
214 void hh8(unsigned Size, const MCFixup &Fixup, uint64_t &Value,
220 void ms8(unsigned Size, const MCFixup &Fixup, uint64_t &Value,
234 uint64_t &Value,
237 uint64_t Size = AVRAsmBackend::getFixupKindInfo(Fixup.getKind()).TargetSize;
361 MutableArrayRef<char> Data, uint64_t Value,
456 bool AVRAsmBackend::writeNopData(raw_ostream &OS, uint64_t Count) const {
lib/Target/AVR/MCTargetDesc/AVRAsmBackend.h 37 uint64_t &Value, MCContext *Ctx = nullptr) const;
44 uint64_t Value, bool IsResolved,
58 bool fixupNeedsRelaxation(const MCFixup &Fixup, uint64_t Value,
68 bool writeNopData(raw_ostream &OS, uint64_t Count) const override;
lib/Target/AVR/MCTargetDesc/AVRMCCodeEmitter.cpp 268 void AVRMCCodeEmitter::emitInstruction(uint64_t Val, unsigned Size,
292 uint64_t BinaryOpCode = getBinaryCodeForInstr(MI, Fixups, STI);
lib/Target/AVR/MCTargetDesc/AVRMCCodeEmitter.h 83 uint64_t getBinaryCodeForInstr(const MCInst &MI,
98 void emitInstruction(uint64_t Val, unsigned Size, const MCSubtargetInfo &STI,
lib/Target/BPF/AsmParser/BPFAsmParser.cpp 38 uint64_t &ErrorInfo,
285 MCStreamer &Out, uint64_t &ErrorInfo,
lib/Target/BPF/BPFAbstractMemberAccess.cpp 165 uint64_t getConstant(const Value *IndexValue);
270 uint64_t InfoKind = getConstant(Call->getArgOperand(1));
505 uint64_t BPFAbstractMemberAccess::getConstant(const Value *IndexValue) {
746 uint64_t AccessIndex = CInfo.AccessIndex;
821 uint64_t AccessIndex = CInfo.AccessIndex;
lib/Target/BPF/BPFISelDAGToDAG.cpp 84 val_vec_type &Vals, uint64_t Offset);
91 bool getConstantFieldValue(const GlobalAddressSDNode *Node, uint64_t Offset,
92 uint64_t Size, unsigned char *ByteSeq);
249 uint64_t d;
254 uint64_t size = LD->getMemOperand()->getSize();
293 uint64_t val;
340 uint64_t Offset, uint64_t Size,
340 uint64_t Offset, uint64_t Size,
355 uint64_t total_size = 0;
384 for (uint64_t i = Offset, j = 0; i < Offset + Size; i++, j++)
392 val_vec_type &Vals, uint64_t Offset) {
393 uint64_t Size = DL.getTypeAllocSize(CV->getType());
399 uint64_t val = CI->getZExtValue();
407 for (uint64_t i = 0; i < Size; ++i) {
458 uint64_t SizeSoFar = Layout->getElementOffset(i);
482 uint64_t MaskV = MaskN->getZExtValue();
lib/Target/BPF/BPFISelLowering.h 102 EVT getOptimalMemOpType(uint64_t Size, unsigned DstAlign, unsigned SrcAlign,
lib/Target/BPF/BPFInstrInfo.cpp 48 uint64_t CopyLen = MI->getOperand(2).getImm();
49 uint64_t Alignment = MI->getOperand(3).getImm();
lib/Target/BPF/BTFDebug.h 345 void setSymbolSize(const MCSymbol *Symbol, uint64_t Size) override {}
lib/Target/BPF/Disassembler/BPFDisassembler.cpp 68 DecodeStatus getInstruction(MCInst &Instr, uint64_t &Size,
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; };
102 uint64_t /*Address*/,
117 uint64_t /*Address*/,
128 uint64_t Address, const void *Decoder) {
138 static DecodeStatus readInstruction64(ArrayRef<uint8_t> Bytes, uint64_t Address,
139 uint64_t &Size, uint64_t &Insn,
139 uint64_t &Size, uint64_t &Insn,
141 uint64_t Lo, Hi;
162 DecodeStatus BPFDisassembler::getInstruction(MCInst &Instr, uint64_t &Size,
164 uint64_t Address,
168 uint64_t Insn, Hi;
221 typedef DecodeStatus (*DecodeFunc)(MCInst &MI, unsigned insn, uint64_t Address,
lib/Target/BPF/MCTargetDesc/BPFAsmBackend.cpp 31 uint64_t Value, bool IsResolved,
38 bool fixupNeedsRelaxation(const MCFixup &Fixup, uint64_t Value,
54 bool writeNopData(raw_ostream &OS, uint64_t Count) const override;
59 bool BPFAsmBackend::writeNopData(raw_ostream &OS, uint64_t Count) const {
63 for (uint64_t i = 0; i < Count; i += 8)
64 support::endian::write<uint64_t>(OS, 0x15000000, Endian);
71 MutableArrayRef<char> Data, uint64_t Value,
84 support::endian::write<uint64_t>(&Data[Fixup.getOffset()], Value, Endian);
lib/Target/BPF/MCTargetDesc/BPFMCCodeEmitter.cpp 47 uint64_t getBinaryCodeForInstr(const MCInst &MI,
57 uint64_t getMemoryOpValue(const MCInst &MI, unsigned Op,
129 uint64_t Value = getBinaryCodeForInstr(MI, Fixups, STI);
139 uint64_t Imm = MO.isImm() ? MO.getImm() : 0;
146 uint64_t Value = getBinaryCodeForInstr(MI, Fixups, STI);
158 uint64_t BPFMCCodeEmitter::getMemoryOpValue(const MCInst &MI, unsigned Op,
161 uint64_t Encoding;
lib/Target/BPF/MCTargetDesc/BPFMCTargetDesc.cpp 78 bool evaluateBranch(const MCInst &Inst, uint64_t Addr, uint64_t Size,
78 bool evaluateBranch(const MCInst &Inst, uint64_t Addr, uint64_t Size,
79 uint64_t &Target) const override {
lib/Target/Hexagon/AsmParser/HexagonAsmParser.cpp 128 OperandVector &InstOperands, uint64_t &ErrorInfo,
133 uint64_t &ErrorInfo,
288 const uint64_t mask = (high_bit_set >> (63 - bits));
550 uint64_t &ErrorInfo,
609 uint64_t &ErrorInfo,
706 uint64_t IntValue = MCE->getValue();
lib/Target/Hexagon/BitTracker.cpp 397 uint64_t BT::MachineEvaluator::toInt(const RegisterCell &A) const {
399 uint64_t Val = 0;
lib/Target/Hexagon/BitTracker.h 413 uint64_t toInt(const RegisterCell &A) const;
lib/Target/Hexagon/Disassembler/HexagonDisassembler.cpp 55 ArrayRef<uint8_t> Bytes, uint64_t Address,
58 DecodeStatus getInstruction(MCInst &Instr, uint64_t &Size,
59 ArrayRef<uint8_t> Bytes, uint64_t Address,
65 static uint64_t fullValue(HexagonDisassembler const &Disassembler, MCInst &MI,
79 uint64_t Upper26 = static_cast<uint64_t>(Bits);
80 uint64_t Operand = Upper26 | Lower6;
99 uint64_t Address,
103 uint64_t Address,
106 uint64_t Address,
109 uint64_t Address,
112 uint64_t Address,
116 uint64_t Address, const void *Decoder);
118 uint64_t Address,
122 uint64_t Address,
125 uint64_t Address,
128 uint64_t Address,
131 uint64_t Address,
134 uint64_t Address,
137 uint64_t Address,
140 uint64_t Address,
143 uint64_t Address,
147 uint64_t Address, const void *Decoder);
149 uint64_t /*Address*/, const void *Decoder);
150 static DecodeStatus brtargetDecoder(MCInst &MI, unsigned tmp, uint64_t Address,
166 DecodeStatus HexagonDisassembler::getInstruction(MCInst &MI, uint64_t &Size,
168 uint64_t Address,
294 MCInst &MI, MCInst &MCB, ArrayRef<uint8_t> Bytes, uint64_t Address,
533 uint64_t Address,
539 uint64_t Address,
555 uint64_t Address,
568 uint64_t /*Address*/,
583 uint64_t /*Address*/,
595 MCInst &Inst, unsigned RegNo, uint64_t /*Address*/, const void *Decoder) {
604 uint64_t /*Address*/,
618 uint64_t /*Address*/,
628 uint64_t /*Address*/,
637 uint64_t /*Address*/,
646 uint64_t /*Address*/,
674 uint64_t /*Address*/,
702 uint64_t /*Address*/,
720 uint64_t /*Address*/,
730 uint64_t /*Address*/, const void *Decoder) {
739 static DecodeStatus brtargetDecoder(MCInst &MI, unsigned tmp, uint64_t Address,
746 uint64_t FullValue = fullValue(Disassembler, MI, SignExtend64(tmp, Bits));
754 uint64_t /*Address*/,
780 uint64_t /*Address*/,
lib/Target/Hexagon/HexagonBitSimplify.cpp 207 uint16_t W, uint64_t &U);
339 uint16_t B, uint16_t W, uint64_t &U) {
1472 uint64_t U;
1968 uint64_t U;
lib/Target/Hexagon/HexagonConstExtenders.cpp 875 uint64_t F = D.TSFlags;
1075 uint64_t F = (D.TSFlags >> HexagonII::MemAccessSizePos) &
1115 uint64_t F = (D.TSFlags >> HexagonII::MemAccessSizePos) &
lib/Target/Hexagon/HexagonConstPropagation.cpp 359 bool evaluateCMPrp(uint32_t Cmp, const RegisterSubReg &R1, uint64_t Props2,
1164 uint64_t Props2, const CellMap &Inputs, bool &Result) {
2027 uint64_t Hi = MI.getOperand(1).getImm();
2028 uint64_t Lo = MI.getOperand(2).getImm();
2029 uint64_t Res = (Hi << 32) | (Lo & 0xFFFFFFFF);
2236 uint64_t U = A.getZExtValue();
2497 uint64_t Val = MO.getImm();
2865 uint64_t Ps = L.properties();
lib/Target/Hexagon/HexagonDepDecoders.inc 19 uint64_t, const void *Decoder) {
24 uint64_t, const void *Decoder) {
29 uint64_t, const void *Decoder) {
34 uint64_t, const void *Decoder) {
39 uint64_t, const void *Decoder) {
44 uint64_t, const void *Decoder) {
49 uint64_t, const void *Decoder) {
54 uint64_t, const void *Decoder) {
59 uint64_t, const void *Decoder) {
64 uint64_t, const void *Decoder) {
69 uint64_t, const void *Decoder) {
lib/Target/Hexagon/HexagonGenInsert.cpp 661 uint64_t V = 0, B = 1;
1248 uint64_t AvgA = SumA*SizeB, AvgB = SumB*SizeA;
lib/Target/Hexagon/HexagonHardwareLoops.cpp 811 uint64_t Count = Dist1;
lib/Target/Hexagon/HexagonISelDAGToDAG.cpp 221 uint64_t F = HII->get(LoadN->getMachineOpcode()).TSFlags;
1390 uint64_t NewOff = GA->getOffset() + (uint64_t)Const->getSExtValue();
1523 uint64_t Mask = (1 << NumBits) - 1;
1541 uint64_t Mask = (1 << NumBits) - 1;
1716 WeightedLeaf findSHL(uint64_t MaxAmount);
1725 WeightedLeaf LeafPrioQueue::findSHL(uint64_t MaxAmount) {
1780 uint64_t MulFactor = 1ull << N->getConstantOperandVal(1);
1815 uint64_t NewConst = V.getConstantOperandVal(i) >> Amount;
1831 uint64_t NewConst = V.getConstantOperandVal(i) >> Power;
1840 uint64_t ShiftAmount = V.getConstantOperandVal(1);
lib/Target/Hexagon/HexagonISelLowering.cpp 1963 uint64_t MaskIdx = 0;
1964 uint64_t MaskUnd = 0;
1967 uint64_t M = ByteMask[i] & 0xFF;
2245 uint64_t Val = 0;
2247 uint64_t Mask = (ElemTy == MVT::i8) ? 0xFFull
3176 EVT HexagonTargetLowering::getOptimalMemOpType(uint64_t Size,
lib/Target/Hexagon/HexagonISelLowering.h 303 EVT getOptimalMemOpType(uint64_t Size, unsigned DstAlign,
lib/Target/Hexagon/HexagonISelLoweringHVX.cpp 1244 uint64_t Splat1 = 0, SplatW = 0;
lib/Target/Hexagon/HexagonInstrInfo.cpp 1556 const uint64_t F = MI.getDesc().TSFlags;
1914 uint64_t OffDiff = (uint64_t)((int64_t)OffsetA - (int64_t)OffsetB);
1918 uint64_t OffDiff = (uint64_t)((int64_t)OffsetB - (int64_t)OffsetA);
2005 const uint64_t F = MI.getDesc().TSFlags;
2029 const uint64_t F = MI.getDesc().TSFlags;
2177 const uint64_t F = MID.TSFlags;
2199 const uint64_t F = MI.getDesc().TSFlags;
2212 const uint64_t F = get(Opcode).TSFlags;
2399 const uint64_t F = MI.getDesc().TSFlags;
2404 const uint64_t F = get(Opcode).TSFlags;
2421 const uint64_t F = MI.getDesc().TSFlags;
2426 const uint64_t F = get(Opcode).TSFlags;
2433 const uint64_t F = MI.getDesc().TSFlags;
2439 const uint64_t F = MI.getDesc().TSFlags;
2445 const uint64_t F = get(Opcode).TSFlags;
2451 const uint64_t F = MI.getDesc().TSFlags;
2457 const uint64_t F = get(Opcode).TSFlags;
2465 const uint64_t F = get(Opcode).TSFlags;
2470 const uint64_t F = get(Opcode).TSFlags;
2475 const uint64_t F = get(Opcode).TSFlags;
2567 const uint64_t F = MI.getDesc().TSFlags;
2632 const uint64_t V = getType(MI);
2830 const uint64_t F = get(MI.getOpcode()).TSFlags;
2831 const uint64_t V = ((F >> HexagonII::TypePos) & HexagonII::TypeMask);
3043 const uint64_t F = MI.getDesc().TSFlags;
3053 const uint64_t F = MI.getDesc().TSFlags;
3148 const uint64_t F = MI.getDesc().TSFlags;
3285 const uint64_t F = MI.getDesc().TSFlags;
4160 const uint64_t F = MI.getDesc().TSFlags;
4191 const uint64_t F = MI.getDesc().TSFlags;
4204 const uint64_t F = MI.getDesc().TSFlags;
4222 const uint64_t F = MI.getDesc().TSFlags;
4325 uint64_t HexagonInstrInfo::getType(const MachineInstr &MI) const {
4326 const uint64_t F = MI.getDesc().TSFlags;
lib/Target/Hexagon/HexagonInstrInfo.h 463 uint64_t getType(const MachineInstr &MI) const;
lib/Target/Hexagon/HexagonLoopIdiomRecognition.cpp 1922 uint64_t SizeInBits = DL->getTypeSizeInBits(StoredVal->getType());
2162 uint64_t C = CI->getZExtValue();
lib/Target/Hexagon/HexagonSelectionDAGInfo.cpp 27 uint64_t SizeVal = ConstantSize->getZExtValue();
lib/Target/Hexagon/HexagonSplitConst32AndConst64.cpp 80 uint64_t ImmValue = MI.getOperand(1).getImm();
lib/Target/Hexagon/HexagonSplitDouble.cpp 338 uint64_t D = MI->getOperand(1).getImm();
705 uint64_t V = Op1.getImm();
lib/Target/Hexagon/HexagonTargetStreamer.h 21 virtual void EmitCommonSymbolSorted(MCSymbol *Symbol, uint64_t Size,
24 virtual void EmitLocalCommonSymbolSorted(MCSymbol *Symbol, uint64_t Size,
lib/Target/Hexagon/MCTargetDesc/HexagonAsmBackend.cpp 42 mutable uint64_t relaxedCnt;
359 static uint64_t adjustFixupValue(MCFixupKind Kind, uint64_t Value) {
359 static uint64_t adjustFixupValue(MCFixupKind Kind, uint64_t Value) {
413 uint64_t FixupValue, bool IsResolved,
421 uint64_t Value;
569 uint64_t Value,
645 bool fixupNeedsRelaxation(const MCFixup &Fixup, uint64_t Value,
683 bool writeNopData(raw_ostream &OS, uint64_t Count) const override {
lib/Target/Hexagon/MCTargetDesc/HexagonMCCodeEmitter.cpp 410 uint64_t Binary;
lib/Target/Hexagon/MCTargetDesc/HexagonMCCodeEmitter.h 63 uint64_t getBinaryCodeForInstr(MCInst const &MI,
lib/Target/Hexagon/MCTargetDesc/HexagonMCELFStreamer.cpp 88 uint64_t Size,
128 uint64_t SectionIndex =
140 uint64_t Size,
lib/Target/Hexagon/MCTargetDesc/HexagonMCELFStreamer.h 35 void HexagonMCEmitLocalCommonSymbol(MCSymbol *Symbol, uint64_t Size,
38 void HexagonMCEmitCommonSymbol(MCSymbol *Symbol, uint64_t Size,
lib/Target/Hexagon/MCTargetDesc/HexagonMCInstrInfo.cpp 81 void HexagonMCInstrInfo::addConstant(MCInst &MI, uint64_t Value,
211 uint64_t F = HexagonMCInstrInfo::getDesc(MCII, MCI).TSFlags;
218 const uint64_t F = HexagonMCInstrInfo::getDesc(MCII, MCI).TSFlags;
286 const uint64_t F = HexagonMCInstrInfo::getDesc(MCII, MCI).TSFlags;
304 const uint64_t F = HexagonMCInstrInfo::getDesc(MCII, MCI).TSFlags;
310 const uint64_t F = HexagonMCInstrInfo::getDesc(MCII, MCI).TSFlags;
316 const uint64_t F = HexagonMCInstrInfo::getDesc(MCII, MCI).TSFlags;
349 const uint64_t F = HexagonMCInstrInfo::getDesc(MCII, MCI).TSFlags;
374 const uint64_t F = HexagonMCInstrInfo::getDesc(MCII, MCI).TSFlags;
393 const uint64_t F = MCII.get(MCI.getOpcode()).TSFlags;
463 const uint64_t F = HexagonMCInstrInfo::getDesc(MCII, MCI).TSFlags;
470 const uint64_t F = HexagonMCInstrInfo::getDesc(MCII, MCI).TSFlags;
483 const uint64_t F = HexagonMCInstrInfo::getDesc(MCII, MCI).TSFlags;
533 const uint64_t F = HexagonMCInstrInfo::getDesc(MCII, MCI).TSFlags;
539 const uint64_t F = HexagonMCInstrInfo::getDesc(MCII, MCI).TSFlags;
545 const uint64_t F = HexagonMCInstrInfo::getDesc(MCII, MCI).TSFlags;
555 const uint64_t F = HexagonMCInstrInfo::getDesc(MCII, MCI).TSFlags;
570 uint64_t const F = HexagonMCInstrInfo::getDesc(MCII, MCI).TSFlags;
576 uint64_t const F = HexagonMCInstrInfo::getDesc(MCII, MCI).TSFlags;
581 const uint64_t F = HexagonMCInstrInfo::getDesc(MCII, MCI).TSFlags;
586 const uint64_t V = getType(MCII, MCI);
612 const uint64_t F = HexagonMCInstrInfo::getDesc(MCII, MCI).TSFlags;
630 const uint64_t F = HexagonMCInstrInfo::getDesc(MCII, MCI).TSFlags;
640 const uint64_t F = HexagonMCInstrInfo::getDesc(MCII, MCI).TSFlags;
647 const uint64_t F = HexagonMCInstrInfo::getDesc(MCII, MCI).TSFlags;
653 const uint64_t F = HexagonMCInstrInfo::getDesc(MCII, MCI).TSFlags;
664 const uint64_t F = HexagonMCInstrInfo::getDesc(MCII, MCI).TSFlags;
671 const uint64_t F = HexagonMCInstrInfo::getDesc(MCII, MCI).TSFlags;
678 const uint64_t F = HexagonMCInstrInfo::getDesc(MCII, MCI).TSFlags;
685 const uint64_t F = MCII.get(MCI.getOpcode()).TSFlags;
829 const uint64_t F = HexagonMCInstrInfo::getDesc(MCII, MCI).TSFlags;
835 const uint64_t F = HexagonMCInstrInfo::getDesc(MCII, MCI).TSFlags;
lib/Target/Hexagon/MCTargetDesc/HexagonMCInstrInfo.h 79 void addConstant(MCInst &MI, uint64_t Value, MCContext &Context);
lib/Target/Hexagon/MCTargetDesc/HexagonMCTargetDesc.cpp 188 void EmitCommonSymbolSorted(MCSymbol *Symbol, uint64_t Size,
197 void EmitLocalCommonSymbolSorted(MCSymbol *Symbol, uint64_t Size,
267 static void LLVM_ATTRIBUTE_UNUSED clearFeature(MCSubtargetInfo* STI, uint64_t F) {
272 static bool LLVM_ATTRIBUTE_UNUSED checkFeature(MCSubtargetInfo* STI, uint64_t F) {
437 bool evaluateBranch(MCInst const &Inst, uint64_t Addr,
438 uint64_t Size, uint64_t &Target) const override {
438 uint64_t Size, uint64_t &Target) const override {
lib/Target/Lanai/AsmParser/LanaiAsmParser.cpp 73 uint64_t &ErrorInfo,
382 uint64_t Value = ConstExpr->getValue();
653 uint64_t &ErrorInfo,
lib/Target/Lanai/Disassembler/LanaiDisassembler.cpp 51 uint64_t Address,
55 uint64_t Address, const void *Decoder);
58 uint64_t Address, const void *Decoder);
61 uint64_t Address, const void *Decoder);
63 static DecodeStatus decodeBranch(MCInst &Inst, unsigned Insn, uint64_t Address,
67 uint64_t Address,
71 uint64_t Address, const void *Decoder);
75 static DecodeStatus readInstruction32(ArrayRef<uint8_t> Bytes, uint64_t &Size,
132 MCInst &Instr, uint64_t &Size, ArrayRef<uint8_t> Bytes, uint64_t Address,
132 MCInst &Instr, uint64_t &Size, ArrayRef<uint8_t> Bytes, uint64_t Address,
163 uint64_t /*Address*/,
174 uint64_t Address, const void *Decoder) {
186 uint64_t Address, const void *Decoder) {
198 uint64_t Address, const void *Decoder) {
210 uint64_t Address, uint64_t Offset,
210 uint64_t Address, uint64_t Offset,
211 uint64_t Width, MCInst &MI,
218 static DecodeStatus decodeBranch(MCInst &MI, unsigned Insn, uint64_t Address,
227 uint64_t Address, const void *Decoder) {
235 uint64_t Address,
lib/Target/Lanai/Disassembler/LanaiDisassembler.h 30 getInstruction(MCInst &Instr, uint64_t &Size, ArrayRef<uint8_t> Bytes,
31 uint64_t Address, raw_ostream &VStream,
lib/Target/Lanai/LanaiTargetObjectFile.cpp 42 static bool isInSmallSection(uint64_t Size) {
lib/Target/Lanai/MCTargetDesc/LanaiAsmBackend.cpp 24 static unsigned adjustFixupValue(unsigned Kind, uint64_t Value) {
53 uint64_t Value, bool IsResolved,
60 bool fixupNeedsRelaxation(const MCFixup & /*Fixup*/, uint64_t /*Value*/,
81 bool writeNopData(raw_ostream &OS, uint64_t Count) const override;
84 bool LanaiAsmBackend::writeNopData(raw_ostream &OS, uint64_t Count) const {
88 for (uint64_t i = 0; i < Count; i += 4)
96 MutableArrayRef<char> Data, uint64_t Value,
112 uint64_t CurVal = 0;
121 uint64_t Mask =
lib/Target/Lanai/MCTargetDesc/LanaiMCCodeEmitter.cpp 51 uint64_t getBinaryCodeForInstr(const MCInst &Inst,
lib/Target/Lanai/MCTargetDesc/LanaiMCTargetDesc.cpp 96 bool evaluateBranch(const MCInst &Inst, uint64_t Addr, uint64_t Size,
96 bool evaluateBranch(const MCInst &Inst, uint64_t Addr, uint64_t Size,
97 uint64_t &Target) const override {
lib/Target/MSP430/AsmParser/MSP430AsmParser.cpp 45 uint64_t &ErrorInfo,
255 uint64_t &ErrorInfo,
lib/Target/MSP430/Disassembler/MSP430Disassembler.cpp 33 DecodeStatus getInstructionI(MCInst &MI, uint64_t &Size,
34 ArrayRef<uint8_t> Bytes, uint64_t Address,
38 DecodeStatus getInstructionII(MCInst &MI, uint64_t &Size,
39 ArrayRef<uint8_t> Bytes, uint64_t Address,
43 DecodeStatus getInstructionCJ(MCInst &MI, uint64_t &Size,
44 ArrayRef<uint8_t> Bytes, uint64_t Address,
52 DecodeStatus getInstruction(MCInst &MI, uint64_t &Size,
53 ArrayRef<uint8_t> Bytes, uint64_t Address,
77 static DecodeStatus DecodeGR8RegisterClass(MCInst &MI, uint64_t RegNo,
78 uint64_t Address,
95 static DecodeStatus DecodeGR16RegisterClass(MCInst &MI, uint64_t RegNo,
96 uint64_t Address,
106 static DecodeStatus DecodeCGImm(MCInst &MI, uint64_t Bits, uint64_t Address,
106 static DecodeStatus DecodeCGImm(MCInst &MI, uint64_t Bits, uint64_t Address,
109 static DecodeStatus DecodeMemOperand(MCInst &MI, uint64_t Bits,
110 uint64_t Address,
115 static DecodeStatus DecodeCGImm(MCInst &MI, uint64_t Bits, uint64_t Address,
115 static DecodeStatus DecodeCGImm(MCInst &MI, uint64_t Bits, uint64_t Address,
132 static DecodeStatus DecodeMemOperand(MCInst &MI, uint64_t Bits,
133 uint64_t Address,
233 DecodeStatus MSP430Disassembler::getInstructionI(MCInst &MI, uint64_t &Size,
235 uint64_t Address,
238 uint64_t Insn = support::endian::read16le(Bytes.data());
289 DecodeStatus MSP430Disassembler::getInstructionII(MCInst &MI, uint64_t &Size,
291 uint64_t Address,
294 uint64_t Insn = support::endian::read16le(Bytes.data());
345 DecodeStatus MSP430Disassembler::getInstructionCJ(MCInst &MI, uint64_t &Size,
347 uint64_t Address,
350 uint64_t Insn = support::endian::read16le(Bytes.data());
367 DecodeStatus MSP430Disassembler::getInstruction(MCInst &MI, uint64_t &Size,
369 uint64_t Address,
377 uint64_t Insn = support::endian::read16le(Bytes.data());
lib/Target/MSP430/MCTargetDesc/MSP430AsmBackend.cpp 32 uint64_t adjustFixupValue(const MCFixup &Fixup, uint64_t Value,
32 uint64_t adjustFixupValue(const MCFixup &Fixup, uint64_t Value,
42 uint64_t Value, bool IsResolved,
50 bool fixupNeedsRelaxation(const MCFixup &Fixup, uint64_t Value,
57 uint64_t Value,
101 bool writeNopData(raw_ostream &OS, uint64_t Count) const override;
104 uint64_t MSP430AsmBackend::adjustFixupValue(const MCFixup &Fixup,
105 uint64_t Value,
136 uint64_t Value, bool IsResolved,
158 bool MSP430AsmBackend::writeNopData(raw_ostream &OS, uint64_t Count) const {
163 uint64_t NopCount = Count / 2;
lib/Target/MSP430/MCTargetDesc/MSP430MCCodeEmitter.cpp 45 uint64_t getBinaryCodeForInstr(const MCInst &MI,
92 uint64_t BinaryOpCode = getBinaryCodeForInstr(MI, Fixups, STI);
lib/Target/MSP430/MSP430AsmPrinter.cpp 68 uint64_t Offset = MO.getOffset();
lib/Target/MSP430/MSP430FrameLowering.cpp 52 uint64_t StackSize = MFI.getStackSize();
54 uint64_t NumBytes = 0;
57 uint64_t FrameSize = StackSize - 2;
125 uint64_t StackSize = MFI.getStackSize();
127 uint64_t NumBytes = 0;
131 uint64_t FrameSize = StackSize - 2;
238 uint64_t Amount = TII.getFrameSize(Old);
273 if (uint64_t CalleeAmt = TII.getFramePoppedByCallee(*I)) {
lib/Target/MSP430/MSP430ISelDAGToDAG.cpp 189 uint64_t Val = cast<ConstantSDNode>(N)->getSExtValue();
226 uint64_t Offset = CN->getSExtValue();
lib/Target/MSP430/MSP430ISelLowering.cpp 954 uint64_t ShiftAmount = cast<ConstantSDNode>(N->getOperand(1))->getZExtValue();
1244 uint64_t SlotSize = MF.getDataLayout().getPointerSize();
1341 uint64_t RHSC = RHS->getZExtValue();
lib/Target/Mips/AsmParser/MipsAsmParser.cpp 174 uint64_t &ErrorInfo,
341 bool parseSetFeature(uint64_t Feature);
459 void setFeatureBits(uint64_t Feature, StringRef FeatureString) {
468 void clearFeatureBits(uint64_t Feature, StringRef FeatureString) {
477 void setModuleFeatureBits(uint64_t Feature, StringRef FeatureString) {
482 void clearModuleFeatureBits(uint64_t Feature, StringRef FeatureString) {
1172 uint64_t Imm = getConstantImm() - Offset;
2598 template <unsigned N> static bool isShiftedUIntAtAnyPosition(uint64_t x) {
3259 static uint64_t convertIntToDoubleImm(uint64_t ImmOp64) {
3259 static uint64_t convertIntToDoubleImm(uint64_t ImmOp64) {
3269 static uint32_t covertDoubleImmToSingleImm(uint64_t ImmOp64) {
3285 uint64_t ImmOp64 = Inst.getOperand(1).getImm();
3302 uint64_t ImmOp64 = Inst.getOperand(1).getImm();
3356 uint64_t ImmOp64 = Inst.getOperand(1).getImm();
3421 uint64_t ImmOp64 = Inst.getOperand(1).getImm();
4703 uint64_t MaxShift = 32;
4704 uint64_t ShiftValue = ImmValue;
4846 uint64_t ShiftValue = ImmValue % 32;
5561 uint64_t TSFlags = getInstDesc(Inst.getOpcode()).TSFlags;
5571 uint64_t ErrorInfo) {
5584 uint64_t &ErrorInfo,
7169 bool MipsAsmParser::parseSetFeature(uint64_t Feature) {
lib/Target/Mips/Disassembler/MipsDisassembler.cpp 71 DecodeStatus getInstruction(MCInst &Instr, uint64_t &Size,
72 ArrayRef<uint8_t> Bytes, uint64_t Address,
83 uint64_t Address,
88 uint64_t Address,
93 uint64_t Address,
98 uint64_t Address,
103 uint64_t Address,
108 uint64_t Address,
113 uint64_t Address,
118 uint64_t Address,
123 uint64_t Address,
128 uint64_t Address,
133 uint64_t Address,
138 uint64_t Address,
142 uint64_t Address,
147 uint64_t Address,
152 uint64_t Address,
157 uint64_t Address,
162 uint64_t Address,
167 uint64_t Address,
172 uint64_t Address,
177 uint64_t Address,
182 uint64_t Address,
187 uint64_t Address,
192 uint64_t Address,
197 uint64_t Address,
202 uint64_t Address,
207 uint64_t Address,
212 uint64_t Address,
217 uint64_t Address,
222 uint64_t Address,
227 uint64_t Address,
232 uint64_t Address,
239 uint64_t Address,
246 uint64_t Address,
253 uint64_t Address,
260 uint64_t Address,
267 uint64_t Address,
274 uint64_t Address,
279 uint64_t Address,
284 uint64_t Address,
289 uint64_t Address,
292 static DecodeStatus DecodeCacheOp(MCInst &Inst, unsigned Insn, uint64_t Address,
297 uint64_t Address,
302 uint64_t Address,
307 uint64_t Address,
312 uint64_t Address,
317 uint64_t Address,
322 uint64_t Address,
326 uint64_t Address, const void *Decoder);
330 uint64_t Address,
335 uint64_t Address,
340 uint64_t Address,
345 uint64_t Address,
350 uint64_t Address,
355 uint64_t Address,
360 uint64_t Address,
364 uint64_t Address,
368 uint64_t Address,
371 static DecodeStatus DecodeFMem2(MCInst &Inst, unsigned Insn, uint64_t Address,
374 static DecodeStatus DecodeFMem3(MCInst &Inst, unsigned Insn, uint64_t Address,
378 uint64_t Address, const void *Decoder);
381 uint64_t Address,
386 uint64_t Address,
391 uint64_t Address,
396 uint64_t Address,
401 uint64_t Address,
406 uint64_t Address,
411 uint64_t Address,
419 uint64_t Address,
424 uint64_t Address,
428 uint64_t Address, const void *Decoder);
431 uint64_t Address, const void *Decoder);
434 uint64_t Address, const void *Decoder);
437 uint64_t Address, const void *Decoder);
440 uint64_t Address, const void *Decoder);
445 static DecodeStatus DecodeINSVE_DF(MCInst &MI, InsnType insn, uint64_t Address,
449 static DecodeStatus DecodeDAHIDATIMMR6(MCInst &MI, InsnType insn, uint64_t Address,
453 static DecodeStatus DecodeDAHIDATI(MCInst &MI, InsnType insn, uint64_t Address,
457 static DecodeStatus DecodeDAHIDATIMMR6(MCInst &MI, InsnType insn, uint64_t Address,
461 static DecodeStatus DecodeDAHIDATI(MCInst &MI, InsnType insn, uint64_t Address,
466 DecodeAddiGroupBranch(MCInst &MI, InsnType insn, uint64_t Address,
471 DecodePOP35GroupBranchMMR6(MCInst &MI, InsnType insn, uint64_t Address,
476 DecodeDaddiGroupBranch(MCInst &MI, InsnType insn, uint64_t Address,
481 DecodePOP37GroupBranchMMR6(MCInst &MI, InsnType insn, uint64_t Address,
486 DecodePOP65GroupBranchMMR6(MCInst &MI, InsnType insn, uint64_t Address,
491 DecodePOP75GroupBranchMMR6(MCInst &MI, InsnType insn, uint64_t Address,
496 DecodeBlezlGroupBranch(MCInst &MI, InsnType insn, uint64_t Address,
501 DecodeBgtzlGroupBranch(MCInst &MI, InsnType insn, uint64_t Address,
506 DecodeBgtzGroupBranch(MCInst &MI, InsnType insn, uint64_t Address,
511 DecodeBlezGroupBranch(MCInst &MI, InsnType insn, uint64_t Address,
516 DecodeBgtzGroupBranchMMR6(MCInst &MI, InsnType insn, uint64_t Address,
521 DecodeBlezGroupBranchMMR6(MCInst &MI, InsnType insn, uint64_t Address,
525 static DecodeStatus DecodeDINS(MCInst &MI, InsnType Insn, uint64_t Address,
529 static DecodeStatus DecodeDEXT(MCInst &MI, InsnType Insn, uint64_t Address,
533 static DecodeStatus DecodeCRC(MCInst &MI, InsnType Insn, uint64_t Address,
537 uint64_t Address,
541 uint64_t Address,
545 uint64_t Address,
549 uint64_t Address, const void *Decoder);
586 static DecodeStatus DecodeINSVE_DF(MCInst &MI, InsnType insn, uint64_t Address,
588 using DecodeFN = DecodeStatus (*)(MCInst &, unsigned, uint64_t, const void *);
633 static DecodeStatus DecodeDAHIDATIMMR6(MCInst &MI, InsnType insn, uint64_t Address,
647 static DecodeStatus DecodeDAHIDATI(MCInst &MI, InsnType insn, uint64_t Address,
662 uint64_t Address,
701 uint64_t Address,
735 uint64_t Address,
774 uint64_t Address,
808 uint64_t Address,
847 uint64_t Address,
886 uint64_t Address,
929 uint64_t Address,
973 uint64_t Address,
1022 uint64_t Address,
1065 static DecodeStatus DecodeDEXT(MCInst &MI, InsnType Insn, uint64_t Address,
1105 static DecodeStatus DecodeDINS(MCInst &MI, InsnType Insn, uint64_t Address,
1145 static DecodeStatus DecodeCRC(MCInst &MI, InsnType Insn, uint64_t Address,
1160 static DecodeStatus readInstruction16(ArrayRef<uint8_t> Bytes, uint64_t Address,
1161 uint64_t &Size, uint32_t &Insn,
1180 static DecodeStatus readInstruction32(ArrayRef<uint8_t> Bytes, uint64_t Address,
1181 uint64_t &Size, uint32_t &Insn,
1214 DecodeStatus MipsDisassembler::getInstruction(MCInst &Instr, uint64_t &Size,
1216 uint64_t Address,
1385 uint64_t Address,
1392 uint64_t Address,
1404 uint64_t Address,
1415 uint64_t Address,
1426 uint64_t Address,
1437 uint64_t Address,
1448 uint64_t Address,
1458 uint64_t Address,
1465 uint64_t Address,
1477 uint64_t Address,
1489 uint64_t Address,
1500 uint64_t Address,
1510 uint64_t Address,
1522 uint64_t Address,
1544 uint64_t Address,
1565 uint64_t Address,
1583 uint64_t Address,
1600 uint64_t Address,
1617 uint64_t Address,
1634 uint64_t Address,
1651 uint64_t Address,
1665 uint64_t Address, const void *Decoder) {
1679 uint64_t Address,
1693 uint64_t Address, const void *Decoder) {
1740 uint64_t Address,
1798 uint64_t Address,
1814 uint64_t Address,
1830 uint64_t Address,
1855 uint64_t Address,
1876 uint64_t Address,
1911 uint64_t Address,
1929 uint64_t Address,
1946 uint64_t Address, const void *Decoder) {
1965 uint64_t Address,
1983 uint64_t Address,
2001 uint64_t Address,
2018 uint64_t Address, const void *Decoder) {
2035 uint64_t Address,
2057 uint64_t Address,
2068 uint64_t Address,
2080 uint64_t Address,
2092 uint64_t Address,
2104 uint64_t Address,
2116 uint64_t Address,
2128 uint64_t Address,
2140 uint64_t Address,
2152 uint64_t Address,
2164 uint64_t Address,
2176 uint64_t Address,
2188 uint64_t Address,
2200 uint64_t Address,
2209 uint64_t Address,
2218 uint64_t Address,
2227 uint64_t Address,
2237 uint64_t Address,
2247 uint64_t Address,
2257 uint64_t Address,
2266 uint64_t Address,
2275 uint64_t Address,
2284 uint64_t Address,
2294 uint64_t Address,
2303 uint64_t Address,
2312 uint64_t Address,
2325 uint64_t Address,
2336 uint64_t Address,
2344 uint64_t Address,
2354 uint64_t Address,
2363 uint64_t Address,
2375 uint64_t Address, const void *Decoder) {
2381 uint64_t Address, const void *Decoder) {
2387 uint64_t Address, const void *Decoder) {
2401 uint64_t Address, const void *Decoder) {
2412 uint64_t Address,
2440 uint64_t Address,
2464 uint64_t Address,
2490 uint64_t Address, const void *Decoder) {
2532 uint64_t Address, const void *Decoder) {
2539 uint64_t Address,
2588 uint64_t Address,
lib/Target/Mips/MCTargetDesc/MipsAsmBackend.cpp 38 static unsigned adjustFixupValue(const MCFixup &Fixup, uint64_t Value,
245 MutableArrayRef<char> Data, uint64_t Value,
279 uint64_t CurVal = 0;
290 uint64_t Mask = ((uint64_t)(-1) >>
521 bool MipsAsmBackend::writeNopData(raw_ostream &OS, uint64_t Count) const {
lib/Target/Mips/MCTargetDesc/MipsAsmBackend.h 45 uint64_t Value, bool IsResolved,
69 bool fixupNeedsRelaxation(const MCFixup &Fixup, uint64_t Value,
88 bool writeNopData(raw_ostream &OS, uint64_t Count) const override;
lib/Target/Mips/MCTargetDesc/MipsELFStreamer.cpp 105 void MipsELFStreamer::EmitIntValue(uint64_t Value, unsigned Size) {
lib/Target/Mips/MCTargetDesc/MipsELFStreamer.h 60 void EmitIntValue(uint64_t Value, unsigned Size) override;
lib/Target/Mips/MCTargetDesc/MipsInstPrinter.cpp 145 uint64_t Imm = MO.getImm();
lib/Target/Mips/MCTargetDesc/MipsMCCodeEmitter.cpp 132 void MipsMCCodeEmitter::EmitInstruction(uint64_t Val, unsigned Size,
lib/Target/Mips/MCTargetDesc/MipsMCCodeEmitter.h 47 void EmitInstruction(uint64_t Val, unsigned Size, const MCSubtargetInfo &STI,
56 uint64_t getBinaryCodeForInstr(const MCInst &MI,
lib/Target/Mips/MCTargetDesc/MipsMCTargetDesc.cpp 140 bool evaluateBranch(const MCInst &Inst, uint64_t Addr, uint64_t Size,
140 bool evaluateBranch(const MCInst &Inst, uint64_t Addr, uint64_t Size,
141 uint64_t &Target) const override {
150 uint64_t Region = Addr & ~uint64_t(0xfffffff);
lib/Target/Mips/MicroMipsSizeReduction.cpp 319 if (((Value & (int64_t)maskTrailingZeros<uint64_t>(2)) == Value) &&
330 if (((Value & (int64_t)maskTrailingZeros<uint64_t>(Shift)) == Value) &&
lib/Target/Mips/Mips16FrameLowering.cpp 53 uint64_t StackSize = MFI.getStackSize();
98 uint64_t StackSize = MFI.getStackSize();
lib/Target/Mips/MipsAnalyzeImmediate.cpp 32 void MipsAnalyzeImmediate::GetInstSeqLsADDiu(uint64_t Imm, unsigned RemSize,
38 void MipsAnalyzeImmediate::GetInstSeqLsORi(uint64_t Imm, unsigned RemSize,
44 void MipsAnalyzeImmediate::GetInstSeqLsSLL(uint64_t Imm, unsigned RemSize,
51 void MipsAnalyzeImmediate::GetInstSeqLs(uint64_t Imm, unsigned RemSize,
53 uint64_t MaskedImm = Imm & (0xffffffffffffffffULL >> (64 - Size));
lib/Target/Mips/MipsAnalyzeImmediate.h 29 const InstSeq &Analyze(uint64_t Imm, unsigned Size, bool LastInstrIsADDiu);
39 void GetInstSeqLsADDiu(uint64_t Imm, unsigned RemSize, InstSeqLs &SeqLs);
43 void GetInstSeqLsORi(uint64_t Imm, unsigned RemSize, InstSeqLs &SeqLs);
47 void GetInstSeqLsSLL(uint64_t Imm, unsigned RemSize, InstSeqLs &SeqLs);
50 void GetInstSeqLs(uint64_t Imm, unsigned RemSize, InstSeqLs &SeqLs);
lib/Target/Mips/MipsBranchExpansion.cpp 127 uint64_t Size = 0;
130 uint64_t Offset = 0;
157 uint64_t computeOffsetFromTheBeginning(int MBB);
325 uint64_t MipsBranchExpansion::computeOffsetFromTheBeginning(int MBB) {
326 uint64_t Offset = 0;
640 uint64_t JOffset = computeOffsetFromTheBeginning(MBB->getNumber()) +
642 uint64_t TgtMBBOffset = computeOffsetFromTheBeginning(TgtMBB->getNumber());
lib/Target/Mips/MipsFastISel.cpp 236 unsigned fastEmitInst_riir(uint64_t inst, const TargetRegisterClass *RC,
237 unsigned Op0, bool Op0IsKill, uint64_t imm1,
238 uint64_t imm2, unsigned Op3, bool Op3IsKill) {
500 uint64_t S = DL.getTypeAllocSize(GTI.getIndexedType());
1993 uint64_t ShiftVal = C->getZExtValue();
lib/Target/Mips/MipsFrameLowering.cpp 114 uint64_t MipsFrameLowering::estimateStackSize(const MachineFunction &MF) const {
lib/Target/Mips/MipsFrameLowering.h 49 uint64_t estimateStackSize(const MachineFunction &MF) const;
lib/Target/Mips/MipsISelDAGToDAG.h 138 inline SDValue getImm(const SDNode *Node, uint64_t Imm) {
lib/Target/Mips/MipsISelLowering.cpp 100 static bool isShiftedMask(uint64_t I, uint64_t &Pos, uint64_t &Size) {
100 static bool isShiftedMask(uint64_t I, uint64_t &Pos, uint64_t &Size) {
100 static bool isShiftedMask(uint64_t I, uint64_t &Pos, uint64_t &Size) {
794 uint64_t Pos = 0, SMPos, SMSize;
875 uint64_t SMPos0, SMSize0, SMPos1, SMSize1;
1118 uint64_t Pos = 0, SMPos, SMSize;
4057 uint64_t Val = (uint64_t)C->getZExtValue();
4142 uint64_t Size, unsigned DstAlign, unsigned SrcAlign, bool IsMemset,
lib/Target/Mips/MipsISelLowering.h 672 EVT getOptimalMemOpType(uint64_t Size, unsigned DstAlign,
lib/Target/Mips/MipsRegisterInfo.cpp 267 uint64_t stackSize = MF.getFrameInfo().getStackSize();
lib/Target/Mips/MipsSEFrameLowering.cpp 425 uint64_t StackSize = MFI.getStackSize();
738 uint64_t StackSize = MFI.getStackSize();
904 uint64_t MaxSPOffset = estimateStackSize(MF);
lib/Target/Mips/MipsSEISelDAGToDAG.cpp 78 uint64_t RegNum = cast<ConstantSDNode>(RegIdx)->getZExtValue();
904 uint64_t Pos = Node->getConstantOperandVal(1);
905 uint64_t Size = Node->getConstantOperandVal(2);
lib/Target/Mips/MipsTargetObjectFile.cpp 62 static bool IsInSmallSection(uint64_t Size) {
lib/Target/NVPTX/NVPTXISelDAGToDAG.cpp 3399 uint64_t MaskVal = Mask->getZExtValue();
3408 uint64_t NumBits = countTrailingOnes(MaskVal);
3417 uint64_t StartVal = StartConst->getZExtValue();
3420 uint64_t GoodBits = Start.getValueSizeInBits() - StartVal;
3449 uint64_t ShiftAmt = ShiftCnst->getZExtValue();
3465 uint64_t MaskVal = MaskCnst->getZExtValue();
3466 uint64_t NumZeros;
3467 uint64_t NumBits;
3510 uint64_t InnerShiftAmt = ShlCnst->getZExtValue();
3518 uint64_t OuterShiftAmt = ShrCnst->getZExtValue();
lib/Target/NVPTX/NVPTXISelLowering.cpp 164 SmallVectorImpl<uint64_t> *Offsets = nullptr,
165 uint64_t StartingOffset = 0) {
167 SmallVector<uint64_t, 16> TempOffsets;
197 uint64_t Off = TempOffsets[i];
235 const SmallVectorImpl<uint64_t> &Offsets, unsigned ParamAlignment) {
1465 SmallVector<uint64_t, 16> Offsets;
1579 SmallVector<uint64_t, 16> Offsets;
1766 SmallVector<uint64_t, 16> Offsets;
2557 SmallVector<uint64_t, 16> Offsets;
2675 SmallVector<uint64_t, 16> Offsets;
4497 uint64_t MaskVal = MaskCnst->getZExtValue();
lib/Target/NVPTX/NVVMIntrRange.cpp 66 static bool addRangeMetadata(uint64_t Low, uint64_t High, CallInst *C) {
66 static bool addRangeMetadata(uint64_t Low, uint64_t High, CallInst *C) {
lib/Target/PowerPC/AsmParser/PPCAsmParser.cpp 130 uint64_t &ErrorInfo,
303 return 7 - countTrailingZeros<uint64_t>(Imm.Val);
1136 MCStreamer &Out, uint64_t &ErrorInfo,
1657 uint64_t IntValue = MCE->getValue();
lib/Target/PowerPC/Disassembler/PPCDisassembler.cpp 35 DecodeStatus getInstruction(MCInst &Instr, uint64_t &Size,
36 ArrayRef<uint8_t> Bytes, uint64_t Address,
65 uint64_t Addr,
76 static DecodeStatus decodeRegisterClass(MCInst &Inst, uint64_t RegNo,
83 static DecodeStatus DecodeCRRCRegisterClass(MCInst &Inst, uint64_t RegNo,
84 uint64_t Address,
89 static DecodeStatus DecodeCRBITRCRegisterClass(MCInst &Inst, uint64_t RegNo,
90 uint64_t Address,
95 static DecodeStatus DecodeF4RCRegisterClass(MCInst &Inst, uint64_t RegNo,
96 uint64_t Address,
101 static DecodeStatus DecodeF8RCRegisterClass(MCInst &Inst, uint64_t RegNo,
102 uint64_t Address,
107 static DecodeStatus DecodeVFRCRegisterClass(MCInst &Inst, uint64_t RegNo,
108 uint64_t Address,
113 static DecodeStatus DecodeVRRCRegisterClass(MCInst &Inst, uint64_t RegNo,
114 uint64_t Address,
119 static DecodeStatus DecodeVSRCRegisterClass(MCInst &Inst, uint64_t RegNo,
120 uint64_t Address,
125 static DecodeStatus DecodeVSFRCRegisterClass(MCInst &Inst, uint64_t RegNo,
126 uint64_t Address,
131 static DecodeStatus DecodeVSSRCRegisterClass(MCInst &Inst, uint64_t RegNo,
132 uint64_t Address,
137 static DecodeStatus DecodeGPRCRegisterClass(MCInst &Inst, uint64_t RegNo,
138 uint64_t Address,
143 static DecodeStatus DecodeGPRC_NOR0RegisterClass(MCInst &Inst, uint64_t RegNo,
144 uint64_t Address,
149 static DecodeStatus DecodeG8RCRegisterClass(MCInst &Inst, uint64_t RegNo,
150 uint64_t Address,
155 static DecodeStatus DecodeG8RC_NOX0RegisterClass(MCInst &Inst, uint64_t RegNo,
156 uint64_t Address,
164 static DecodeStatus DecodeQFRCRegisterClass(MCInst &Inst, uint64_t RegNo,
165 uint64_t Address,
170 static DecodeStatus DecodeSPERCRegisterClass(MCInst &Inst, uint64_t RegNo,
171 uint64_t Address,
180 static DecodeStatus decodeUImmOperand(MCInst &Inst, uint64_t Imm,
188 static DecodeStatus decodeSImmOperand(MCInst &Inst, uint64_t Imm,
195 static DecodeStatus decodeMemRIOperands(MCInst &Inst, uint64_t Imm,
200 uint64_t Base = Imm >> 16;
201 uint64_t Disp = Imm & 0xFFFF;
230 static DecodeStatus decodeMemRIXOperands(MCInst &Inst, uint64_t Imm,
235 uint64_t Base = Imm >> 14;
236 uint64_t Disp = Imm & 0x3FFF;
251 static DecodeStatus decodeMemRIX16Operands(MCInst &Inst, uint64_t Imm,
256 uint64_t Base = Imm >> 12;
257 uint64_t Disp = Imm & 0xFFF;
266 static DecodeStatus decodeSPE8Operands(MCInst &Inst, uint64_t Imm,
271 uint64_t Base = Imm >> 5;
272 uint64_t Disp = Imm & 0x1F;
281 static DecodeStatus decodeSPE4Operands(MCInst &Inst, uint64_t Imm,
286 uint64_t Base = Imm >> 5;
287 uint64_t Disp = Imm & 0x1F;
296 static DecodeStatus decodeSPE2Operands(MCInst &Inst, uint64_t Imm,
301 uint64_t Base = Imm >> 5;
302 uint64_t Disp = Imm & 0x1F;
311 static DecodeStatus decodeCRBitMOperand(MCInst &Inst, uint64_t Imm,
324 DecodeStatus PPCDisassembler::getInstruction(MCInst &MI, uint64_t &Size,
326 uint64_t Address, raw_ostream &OS,
lib/Target/PowerPC/MCTargetDesc/PPCAsmBackend.cpp 27 static uint64_t adjustFixupValue(unsigned Kind, uint64_t Value) {
27 static uint64_t adjustFixupValue(unsigned Kind, uint64_t Value) {
124 uint64_t Value, bool IsResolved,
174 uint64_t Value,
187 bool writeNopData(raw_ostream &OS, uint64_t Count) const override {
188 uint64_t NumNops = Count / 4;
189 for (uint64_t i = 0; i != NumNops; ++i)
lib/Target/PowerPC/MCTargetDesc/PPCMCCodeEmitter.cpp 288 uint64_t Bits = getBinaryCodeForInstr(MI, Fixups, STI);
lib/Target/PowerPC/MCTargetDesc/PPCMCCodeEmitter.h 89 uint64_t getBinaryCodeForInstr(const MCInst &MI,
lib/Target/PowerPC/MCTargetDesc/PPCMachObjectWriter.cpp 31 unsigned Log2Size, uint64_t &FixedValue);
36 MCValue Target, uint64_t &FixedValue);
45 uint64_t &FixedValue) override {
193 unsigned Log2Size, uint64_t &FixedValue) {
213 uint64_t SecAddr = Writer->getSectionAddress(A->getFragment()->getParent());
303 uint64_t &FixedValue) {
lib/Target/PowerPC/PPCAsmPrinter.cpp 1771 uint64_t Size = DL.getTypeAllocSize(GV->getType()->getElementType());
lib/Target/PowerPC/PPCFastISel.cpp 113 unsigned fastEmit_i(MVT Ty, MVT RetTy, unsigned Opc, uint64_t Imm) override;
117 uint64_t Imm);
358 uint64_t S = DL.getTypeAllocSize(GTI.getIndexedType());
804 uint64_t Imm = CI->getZExtValue();
2151 Shift = countTrailingZeros<uint64_t>(Imm);
2378 unsigned PPCFastISel::fastEmit_i(MVT Ty, MVT VT, unsigned Opc, uint64_t Imm) {
2418 uint64_t Imm) {
lib/Target/PowerPC/PPCHazardRecognizers.cpp 287 uint64_t TSFlags = MCID.TSFlags;
298 isLoadOfStoredAddress(uint64_t LoadSize, int64_t LoadOffset,
lib/Target/PowerPC/PPCHazardRecognizers.h 73 uint64_t StoreSize[4];
94 bool isLoadOfStoredAddress(uint64_t LoadSize, int64_t LoadOffset,
lib/Target/PowerPC/PPCISelDAGToDAG.cpp 179 inline SDValue getI64Imm(uint64_t Imm, const SDLoc &dl) {
495 static bool isInt64Immediate(SDNode *N, uint64_t &Imm) {
511 static bool isInt64Immediate(SDValue N, uint64_t &Imm) {
797 Shift = countTrailingZeros<uint64_t>(Imm);
853 static uint64_t Rot64(uint64_t Imm, unsigned R) {
853 static uint64_t Rot64(uint64_t Imm, unsigned R) {
866 uint64_t RImm = Rot64(Imm, r);
875 uint64_t OnesMask = -(int64_t) (UINT64_C(1) << (LS+1));
876 uint64_t RImmWithOnes = RImm | OnesMask;
896 Shift = countTrailingZeros<uint64_t>(Imm);
924 uint64_t SextImm = SignExtend64(Lo, 16);
987 uint64_t RImm = Rot64(Imm, r);
1008 uint64_t OnesMask = -(int64_t) (UINT64_C(1) << (LS+1));
1009 uint64_t RImmWithOnes = RImm | OnesMask;
1095 uint64_t SextImm = SignExtend64(Imm, MinSize);
1271 uint64_t Mask = V.getConstantOperandVal(1);
1706 uint64_t getZerosMask() {
1707 uint64_t Mask = 0;
2071 uint64_t Mask = 0;
2313 uint64_t Mask = getZerosMask();
3728 uint64_t Imm;
4570 uint64_t Imm64;
4703 uint64_t Imm64 = 0;
4708 uint64_t ImmHi = Imm64 >> 16;
4709 uint64_t ImmLo = Imm64 & 0xFFFF;
4726 uint64_t Imm64 = 0;
4731 uint64_t ImmHi = Imm64 >> 16;
4732 uint64_t ImmLo = Imm64 & 0xFFFF;
5263 uint64_t Mask = 0, Alt = 0;
5276 uint64_t PM = O.getConstantOperandVal(2);
5277 uint64_t PAlt = O.getConstantOperandVal(3);
5279 uint64_t Mask = UINT64_C(0xFF) << (8*b);
5323 uint64_t ULim = O.getConstantOperandVal(1);
5390 uint64_t M = 0, A = 0;
5510 uint64_t True = cast<ConstantSDNode>(TrueRes)->getZExtValue(),
lib/Target/PowerPC/PPCISelLowering.cpp 2174 uint64_t Value = 0;
3227 uint64_t FrameOffset = PtrVT.getSizeInBits()/8;
3230 uint64_t StackOffset = PtrVT.getSizeInBits()/8 - 1;
3233 uint64_t FPROffset = 1;
3242 uint64_t nextOffset = FPROffset;
7466 const uint64_t TwoE31[] = {0x41e0000000000000LL, 0};
8906 uint64_t Offset = 0;
12803 SDValue Input, uint64_t Elems,
12804 uint64_t CorrectElems) {
12847 uint64_t TargetElems[] = {
12855 uint64_t Elems = 0;
12918 uint64_t CorrectElems = TargetElems[TgtElemArrayIdx];
13477 uint64_t Val64 = SignExtend64(N->getConstantOperandVal(1),
14195 uint64_t LoopSize = 0;
14820 uint64_t Size, unsigned DstAlign, unsigned SrcAlign, bool IsMemset,
lib/Target/PowerPC/PPCISelLowering.h 891 getOptimalMemOpType(uint64_t Size, unsigned DstAlign, unsigned SrcAlign,
lib/Target/PowerPC/PPCInstrInfo.cpp 1940 uint64_t Mask = ~0LLU;
1968 uint64_t Mask = (1LLU << (63 - MB + 1)) - 1;
2891 uint64_t Mask = (1LLU << (63 - MB + 1)) - 1;
2916 uint64_t Mask = ((1LLU << (32 - MB)) - 1) & ~((1LLU << (31 - ME)) - 1);
3583 uint64_t UnsignedMax = (1 << III.ImmWidth) - 1;
3731 uint64_t UnsignedMax = (1 << III.ImmWidth) - 1;
3782 uint64_t ShAmt = Imm & (SpecialShift32 ? 0x1F : 0x3F);
3797 uint64_t SH = ShAmt == 0 ? 0 : RightShift ? 32 - ShAmt : ShAmt;
3798 uint64_t MB = RightShift ? ShAmt : 0;
3799 uint64_t ME = RightShift ? 31 : 31 - ShAmt;
3807 uint64_t SH = ShAmt == 0 ? 0 : RightShift ? 64 - ShAmt : ShAmt;
3808 uint64_t ME = RightShift ? ShAmt : 63 - ShAmt;
lib/Target/PowerPC/PPCInstrInfo.h 78 uint64_t SignedImm : 1;
80 uint64_t ImmMustBeMultipleOf : 5;
83 uint64_t ZeroIsSpecialOrig : 3;
86 uint64_t ZeroIsSpecialNew : 3;
88 uint64_t IsCommutative : 1;
90 uint64_t OpNoForForwarding : 3;
92 uint64_t ImmOpNo : 3;
94 uint64_t ImmOpcode : 16;
96 uint64_t ImmWidth : 5;
98 uint64_t TruncateImmTo : 5;
100 uint64_t IsSummingOperands : 1;
lib/Target/PowerPC/PPCMIPeephole.cpp 95 uint64_t EntryFreq;
225 uint64_t CurrBlockFreq = MBFI->getBlockFreq(MI->getParent()).getFrequency();
866 uint64_t Imm = CMPI->getOperand(2).getImm();
885 uint64_t Imm = CMPI->getOperand(2).getImm();
1351 uint64_t SHSrc = MOpSHSrc.getImm();
1352 uint64_t MBSrc = MOpMBSrc.getImm();
1353 uint64_t SHMI = MOpSHMI.getImm();
1354 uint64_t MEMI = MOpMEMI.getImm();
1355 uint64_t NewSH = SHSrc + SHMI;
1356 uint64_t NewMB = MBSrc - SHMI;
1410 uint64_t SHMI = MOpSHMI.getImm();
1411 uint64_t MEMI = MOpMEMI.getImm();
lib/Target/PowerPC/PPCTargetTransformInfo.cpp 534 uint64_t TrueWeight = 0, FalseWeight = 0;
lib/Target/RISCV/AsmParser/RISCVAsmParser.cpp 62 bool generateImmOutOfRangeError(OperandVector &Operands, uint64_t ErrorInfo,
67 uint64_t &ErrorInfo,
141 void setFeatureBits(uint64_t Feature, StringRef FeatureString) {
149 void clearFeatureBits(uint64_t Feature, StringRef FeatureString) {
772 OperandVector &Operands, uint64_t ErrorInfo, int64_t Lower, int64_t Upper,
781 uint64_t &ErrorInfo,
lib/Target/RISCV/Disassembler/RISCVDisassembler.cpp 39 DecodeStatus getInstruction(MCInst &Instr, uint64_t &Size,
40 ArrayRef<uint8_t> Bytes, uint64_t Address,
60 static DecodeStatus DecodeGPRRegisterClass(MCInst &Inst, uint64_t RegNo,
61 uint64_t Address,
77 static DecodeStatus DecodeFPR32RegisterClass(MCInst &Inst, uint64_t RegNo,
78 uint64_t Address,
88 static DecodeStatus DecodeFPR32CRegisterClass(MCInst &Inst, uint64_t RegNo,
89 uint64_t Address,
99 static DecodeStatus DecodeFPR64RegisterClass(MCInst &Inst, uint64_t RegNo,
100 uint64_t Address,
110 static DecodeStatus DecodeFPR64CRegisterClass(MCInst &Inst, uint64_t RegNo,
111 uint64_t Address,
121 static DecodeStatus DecodeGPRNoX0RegisterClass(MCInst &Inst, uint64_t RegNo,
122 uint64_t Address,
131 static DecodeStatus DecodeGPRNoX0X2RegisterClass(MCInst &Inst, uint64_t RegNo,
132 uint64_t Address,
141 static DecodeStatus DecodeGPRCRegisterClass(MCInst &Inst, uint64_t RegNo,
142 uint64_t Address,
171 static DecodeStatus decodeUImmOperand(MCInst &Inst, uint64_t Imm,
180 static DecodeStatus decodeUImmNonZeroOperand(MCInst &Inst, uint64_t Imm,
189 static DecodeStatus decodeSImmOperand(MCInst &Inst, uint64_t Imm,
199 static DecodeStatus decodeSImmNonZeroOperand(MCInst &Inst, uint64_t Imm,
208 static DecodeStatus decodeSImmOperandAndLsl1(MCInst &Inst, uint64_t Imm,
219 static DecodeStatus decodeCLUIImmOperand(MCInst &Inst, uint64_t Imm,
230 static DecodeStatus decodeFRMArg(MCInst &Inst, uint64_t Imm,
242 uint64_t Address, const void *Decoder);
245 uint64_t Address, const void *Decoder);
248 uint64_t Address,
252 uint64_t Address, const void *Decoder);
255 uint64_t Address,
261 uint64_t Address, const void *Decoder) {
262 uint64_t SImm6 =
271 uint64_t Address,
274 uint64_t SImm6 =
283 uint64_t Address,
287 uint64_t UImm6 =
296 uint64_t Address, const void *Decoder) {
305 uint64_t Address,
315 DecodeStatus RISCVDisassembler::getInstruction(MCInst &MI, uint64_t &Size,
317 uint64_t Address,
lib/Target/RISCV/MCTargetDesc/RISCVAsmBackend.cpp 81 uint64_t Value,
164 bool RISCVAsmBackend::writeNopData(raw_ostream &OS, uint64_t Count) const {
182 static uint64_t adjustFixupValue(const MCFixup &Fixup, uint64_t Value,
182 static uint64_t adjustFixupValue(const MCFixup &Fixup, uint64_t Value,
250 uint64_t UpperImm = (Value + 0x800ULL) & 0xfffff000ULL;
251 uint64_t LowerImm = Value & 0xfffULL;
285 MutableArrayRef<char> Data, uint64_t Value,
355 uint64_t FixedValue = 0;
lib/Target/RISCV/MCTargetDesc/RISCVAsmBackend.h 70 uint64_t Value, bool IsResolved,
79 bool fixupNeedsRelaxation(const MCFixup &Fixup, uint64_t Value,
86 uint64_t Value,
142 bool writeNopData(raw_ostream &OS, uint64_t Count) const override;
lib/Target/RISCV/MCTargetDesc/RISCVMCCodeEmitter.cpp 66 uint64_t getBinaryCodeForInstr(const MCInst &MI,
lib/Target/RISCV/MCTargetDesc/RISCVMCExpr.cpp 65 uint64_t Offset = AUIPCSymbol->getOffset();
142 uint64_t AUIPCOffset = AUIPCSymbol->getOffset();
lib/Target/RISCV/RISCVFrameLowering.cpp 41 uint64_t FrameSize = MFI.getStackSize();
52 uint64_t MaxCallSize = alignTo(MFI.getMaxCallFrameSize(), StackAlign);
129 uint64_t StackSize = MFI.getStackSize();
141 uint64_t FirstSPAdjustAmount = getFirstSPAdjustAmount(MF);
193 uint64_t SecondSPAdjustAmount = MFI.getStackSize() - FirstSPAdjustAmount;
247 uint64_t StackSize = MFI.getStackSize();
248 uint64_t FPOffset = StackSize - RVFI->getVarArgsSaveSize();
259 uint64_t FirstSPAdjustAmount = getFirstSPAdjustAmount(MF);
261 uint64_t SecondSPAdjustAmount = MFI.getStackSize() - FirstSPAdjustAmount;
340 uint64_t FirstSPAdjustAmount = getFirstSPAdjustAmount(MF);
477 uint64_t
481 uint64_t StackSize = MFI.getStackSize();
482 uint64_t StackAlign = getStackAlignment();
lib/Target/RISCV/RISCVFrameLowering.h 51 uint64_t getFirstSPAdjustAmount(const MachineFunction &MF) const;
lib/Target/RISCV/RISCVISelDAGToDAG.cpp 89 static bool isConstantMask(SDNode *Node, uint64_t &Mask) {
141 uint64_t Mask;
148 uint64_t ShAmt = cast<ConstantSDNode>(Op1.getNode())->getZExtValue();
150 if ((Mask | maskTrailingOnes<uint64_t>(ShAmt)) == 0xffffffff) {
lib/Target/RISCV/RISCVISelLowering.cpp 2692 uint64_t CVal = C->getSExtValue();
2708 uint64_t CVal = C->getZExtValue();
lib/Target/RISCV/RISCVTargetObjectFile.cpp 31 bool RISCVELFTargetObjectFile::isInSmallSection(uint64_t Size) const {
lib/Target/RISCV/RISCVTargetObjectFile.h 43 bool isInSmallSection(uint64_t Size) const;
lib/Target/Sparc/AsmParser/SparcAsmParser.cpp 68 uint64_t &ErrorInfo,
583 uint64_t &ErrorInfo,
lib/Target/Sparc/Disassembler/SparcDisassembler.cpp 37 DecodeStatus getInstruction(MCInst &Instr, uint64_t &Size,
38 ArrayRef<uint8_t> Bytes, uint64_t Address,
148 uint64_t Address,
159 uint64_t Address,
171 uint64_t Address,
183 uint64_t Address,
195 uint64_t Address,
209 uint64_t Address,
219 uint64_t Address,
228 uint64_t Address,
237 uint64_t Address,
246 uint64_t Address, const void *Decoder) {
261 uint64_t Address, const void *Decoder) {
270 static DecodeStatus DecodeLoadInt(MCInst &Inst, unsigned insn, uint64_t Address,
272 static DecodeStatus DecodeLoadIntPair(MCInst &Inst, unsigned insn, uint64_t Address,
274 static DecodeStatus DecodeLoadFP(MCInst &Inst, unsigned insn, uint64_t Address,
276 static DecodeStatus DecodeLoadDFP(MCInst &Inst, unsigned insn, uint64_t Address,
278 static DecodeStatus DecodeLoadQFP(MCInst &Inst, unsigned insn, uint64_t Address,
280 static DecodeStatus DecodeLoadCP(MCInst &Inst, unsigned insn, uint64_t Address,
282 static DecodeStatus DecodeLoadCPPair(MCInst &Inst, unsigned insn, uint64_t Address,
285 uint64_t Address, const void *Decoder);
287 uint64_t Address, const void *Decoder);
289 uint64_t Address, const void *Decoder);
291 uint64_t Address, const void *Decoder);
293 uint64_t Address, const void *Decoder);
295 uint64_t Address, const void *Decoder);
297 uint64_t Address, const void *Decoder);
299 uint64_t Address, const void *Decoder);
301 uint64_t Address, const void *Decoder);
302 static DecodeStatus DecodeJMPL(MCInst &Inst, unsigned insn, uint64_t Address,
304 static DecodeStatus DecodeReturn(MCInst &MI, unsigned insn, uint64_t Address,
306 static DecodeStatus DecodeSWAP(MCInst &Inst, unsigned insn, uint64_t Address,
308 static DecodeStatus DecodeTRAP(MCInst &Inst, unsigned insn, uint64_t Address,
314 static DecodeStatus readInstruction32(ArrayRef<uint8_t> Bytes, uint64_t Address,
315 uint64_t &Size, uint32_t &Insn,
332 DecodeStatus SparcDisassembler::getInstruction(MCInst &Instr, uint64_t &Size,
334 uint64_t Address,
369 typedef DecodeStatus (*DecodeFunc)(MCInst &MI, unsigned insn, uint64_t Address,
372 static DecodeStatus DecodeMem(MCInst &MI, unsigned insn, uint64_t Address,
419 static DecodeStatus DecodeLoadInt(MCInst &Inst, unsigned insn, uint64_t Address,
425 static DecodeStatus DecodeLoadIntPair(MCInst &Inst, unsigned insn, uint64_t Address,
431 static DecodeStatus DecodeLoadFP(MCInst &Inst, unsigned insn, uint64_t Address,
437 static DecodeStatus DecodeLoadDFP(MCInst &Inst, unsigned insn, uint64_t Address,
443 static DecodeStatus DecodeLoadQFP(MCInst &Inst, unsigned insn, uint64_t Address,
449 static DecodeStatus DecodeLoadCP(MCInst &Inst, unsigned insn, uint64_t Address,
455 static DecodeStatus DecodeLoadCPPair(MCInst &Inst, unsigned insn, uint64_t Address,
462 uint64_t Address, const void *Decoder) {
468 uint64_t Address, const void *Decoder) {
473 static DecodeStatus DecodeStoreFP(MCInst &Inst, unsigned insn, uint64_t Address,
480 uint64_t Address, const void *Decoder) {
486 uint64_t Address, const void *Decoder) {
492 uint64_t Address, const void *Decoder) {
498 uint64_t Address, const void *Decoder) {
504 uint64_t Address, uint64_t Offset,
504 uint64_t Address, uint64_t Offset,
505 uint64_t Width, MCInst &MI,
513 uint64_t Address, const void *Decoder) {
523 uint64_t Address, const void *Decoder) {
529 static DecodeStatus DecodeJMPL(MCInst &MI, unsigned insn, uint64_t Address,
563 static DecodeStatus DecodeReturn(MCInst &MI, unsigned insn, uint64_t Address,
591 static DecodeStatus DecodeSWAP(MCInst &MI, unsigned insn, uint64_t Address,
631 static DecodeStatus DecodeTRAP(MCInst &MI, unsigned insn, uint64_t Address,
lib/Target/Sparc/MCTargetDesc/SparcAsmBackend.cpp 22 static unsigned adjustFixupValue(unsigned Kind, uint64_t Value) {
266 uint64_t Value,
279 bool writeNopData(raw_ostream &OS, uint64_t Count) const override {
284 uint64_t NumNops = Count / 4;
285 for (uint64_t i = 0; i != NumNops; ++i)
300 uint64_t Value, bool IsResolved,
lib/Target/Sparc/MCTargetDesc/SparcMCCodeEmitter.cpp 62 uint64_t getBinaryCodeForInstr(const MCInst &MI,
115 uint64_t op = getMachineOpValue(MI, MO, Fixups, STI);
lib/Target/Sparc/SparcISelLowering.cpp 2614 static SDValue getFRAMEADDR(uint64_t depth, SDValue Op, SelectionDAG &DAG,
2650 uint64_t depth = Op.getConstantOperandVal(0);
2668 uint64_t depth = Op.getConstantOperandVal(0);
3296 uint64_t intVal = 0;
lib/Target/SystemZ/AsmParser/SystemZAsmParser.cpp 456 uint64_t &ErrorInfo,
564 uint64_t Opcode;
1244 uint64_t &ErrorInfo,
lib/Target/SystemZ/Disassembler/SystemZDisassembler.cpp 35 DecodeStatus getInstruction(MCInst &instr, uint64_t &Size,
36 ArrayRef<uint8_t> Bytes, uint64_t Address,
75 uint64_t Address, uint64_t Offset,
75 uint64_t Address, uint64_t Offset,
76 uint64_t Width, MCInst &MI,
83 static DecodeStatus decodeRegisterClass(MCInst &Inst, uint64_t RegNo,
93 static DecodeStatus DecodeGR32BitRegisterClass(MCInst &Inst, uint64_t RegNo,
94 uint64_t Address,
99 static DecodeStatus DecodeGRH32BitRegisterClass(MCInst &Inst, uint64_t RegNo,
100 uint64_t Address,
105 static DecodeStatus DecodeGR64BitRegisterClass(MCInst &Inst, uint64_t RegNo,
106 uint64_t Address,
111 static DecodeStatus DecodeGR128BitRegisterClass(MCInst &Inst, uint64_t RegNo,
112 uint64_t Address,
117 static DecodeStatus DecodeADDR64BitRegisterClass(MCInst &Inst, uint64_t RegNo,
118 uint64_t Address,
123 static DecodeStatus DecodeFP32BitRegisterClass(MCInst &Inst, uint64_t RegNo,
124 uint64_t Address,
129 static DecodeStatus DecodeFP64BitRegisterClass(MCInst &Inst, uint64_t RegNo,
130 uint64_t Address,
135 static DecodeStatus DecodeFP128BitRegisterClass(MCInst &Inst, uint64_t RegNo,
136 uint64_t Address,
141 static DecodeStatus DecodeVR32BitRegisterClass(MCInst &Inst, uint64_t RegNo,
142 uint64_t Address,
147 static DecodeStatus DecodeVR64BitRegisterClass(MCInst &Inst, uint64_t RegNo,
148 uint64_t Address,
153 static DecodeStatus DecodeVR128BitRegisterClass(MCInst &Inst, uint64_t RegNo,
154 uint64_t Address,
159 static DecodeStatus DecodeAR32BitRegisterClass(MCInst &Inst, uint64_t RegNo,
160 uint64_t Address,
165 static DecodeStatus DecodeCR64BitRegisterClass(MCInst &Inst, uint64_t RegNo,
166 uint64_t Address,
172 static DecodeStatus decodeUImmOperand(MCInst &Inst, uint64_t Imm) {
180 static DecodeStatus decodeSImmOperand(MCInst &Inst, uint64_t Imm) {
187 static DecodeStatus decodeU1ImmOperand(MCInst &Inst, uint64_t Imm,
188 uint64_t Address, const void *Decoder) {
192 static DecodeStatus decodeU2ImmOperand(MCInst &Inst, uint64_t Imm,
193 uint64_t Address, const void *Decoder) {
197 static DecodeStatus decodeU3ImmOperand(MCInst &Inst, uint64_t Imm,
198 uint64_t Address, const void *Decoder) {
202 static DecodeStatus decodeU4ImmOperand(MCInst &Inst, uint64_t Imm,
203 uint64_t Address, const void *Decoder) {
207 static DecodeStatus decodeU6ImmOperand(MCInst &Inst, uint64_t Imm,
208 uint64_t Address, const void *Decoder) {
212 static DecodeStatus decodeU8ImmOperand(MCInst &Inst, uint64_t Imm,
213 uint64_t Address, const void *Decoder) {
217 static DecodeStatus decodeU12ImmOperand(MCInst &Inst, uint64_t Imm,
218 uint64_t Address, const void *Decoder) {
222 static DecodeStatus decodeU16ImmOperand(MCInst &Inst, uint64_t Imm,
223 uint64_t Address, const void *Decoder) {
227 static DecodeStatus decodeU32ImmOperand(MCInst &Inst, uint64_t Imm,
228 uint64_t Address, const void *Decoder) {
232 static DecodeStatus decodeS8ImmOperand(MCInst &Inst, uint64_t Imm,
233 uint64_t Address, const void *Decoder) {
237 static DecodeStatus decodeS16ImmOperand(MCInst &Inst, uint64_t Imm,
238 uint64_t Address, const void *Decoder) {
242 static DecodeStatus decodeS32ImmOperand(MCInst &Inst, uint64_t Imm,
243 uint64_t Address, const void *Decoder) {
248 static DecodeStatus decodePCDBLOperand(MCInst &Inst, uint64_t Imm,
249 uint64_t Address,
253 uint64_t Value = SignExtend64<N>(Imm) * 2 + Address;
262 static DecodeStatus decodePC12DBLBranchOperand(MCInst &Inst, uint64_t Imm,
263 uint64_t Address,
268 static DecodeStatus decodePC16DBLBranchOperand(MCInst &Inst, uint64_t Imm,
269 uint64_t Address,
274 static DecodeStatus decodePC24DBLBranchOperand(MCInst &Inst, uint64_t Imm,
275 uint64_t Address,
280 static DecodeStatus decodePC32DBLBranchOperand(MCInst &Inst, uint64_t Imm,
281 uint64_t Address,
286 static DecodeStatus decodePC32DBLOperand(MCInst &Inst, uint64_t Imm,
287 uint64_t Address,
292 static DecodeStatus decodeBDAddr12Operand(MCInst &Inst, uint64_t Field,
294 uint64_t Base = Field >> 12;
295 uint64_t Disp = Field & 0xfff;
302 static DecodeStatus decodeBDAddr20Operand(MCInst &Inst, uint64_t Field,
304 uint64_t Base = Field >> 20;
305 uint64_t Disp = ((Field << 12) & 0xff000) | ((Field >> 8) & 0xfff);
312 static DecodeStatus decodeBDXAddr12Operand(MCInst &Inst, uint64_t Field,
314 uint64_t Index = Field >> 16;
315 uint64_t Base = (Field >> 12) & 0xf;
316 uint64_t Disp = Field & 0xfff;
324 static DecodeStatus decodeBDXAddr20Operand(MCInst &Inst, uint64_t Field,
326 uint64_t Index = Field >> 24;
327 uint64_t Base = (Field >> 20) & 0xf;
328 uint64_t Disp = ((Field & 0xfff00) >> 8) | ((Field & 0xff) << 12);
336 static DecodeStatus decodeBDLAddr12Len4Operand(MCInst &Inst, uint64_t Field,
338 uint64_t Length = Field >> 16;
339 uint64_t Base = (Field >> 12) & 0xf;
340 uint64_t Disp = Field & 0xfff;
348 static DecodeStatus decodeBDLAddr12Len8Operand(MCInst &Inst, uint64_t Field,
350 uint64_t Length = Field >> 16;
351 uint64_t Base = (Field >> 12) & 0xf;
352 uint64_t Disp = Field & 0xfff;
360 static DecodeStatus decodeBDRAddr12Operand(MCInst &Inst, uint64_t Field,
362 uint64_t Length = Field >> 16;
363 uint64_t Base = (Field >> 12) & 0xf;
364 uint64_t Disp = Field & 0xfff;
372 static DecodeStatus decodeBDVAddr12Operand(MCInst &Inst, uint64_t Field,
374 uint64_t Index = Field >> 16;
375 uint64_t Base = (Field >> 12) & 0xf;
376 uint64_t Disp = Field & 0xfff;
384 static DecodeStatus decodeBDAddr32Disp12Operand(MCInst &Inst, uint64_t Field,
385 uint64_t Address,
390 static DecodeStatus decodeBDAddr32Disp20Operand(MCInst &Inst, uint64_t Field,
391 uint64_t Address,
396 static DecodeStatus decodeBDAddr64Disp12Operand(MCInst &Inst, uint64_t Field,
397 uint64_t Address,
402 static DecodeStatus decodeBDAddr64Disp20Operand(MCInst &Inst, uint64_t Field,
403 uint64_t Address,
408 static DecodeStatus decodeBDXAddr64Disp12Operand(MCInst &Inst, uint64_t Field,
409 uint64_t Address,
414 static DecodeStatus decodeBDXAddr64Disp20Operand(MCInst &Inst, uint64_t Field,
415 uint64_t Address,
421 uint64_t Field,
422 uint64_t Address,
428 uint64_t Field,
429 uint64_t Address,
435 uint64_t Field,
436 uint64_t Address,
441 static DecodeStatus decodeBDVAddr64Disp12Operand(MCInst &Inst, uint64_t Field,
442 uint64_t Address,
449 DecodeStatus SystemZDisassembler::getInstruction(MCInst &MI, uint64_t &Size,
451 uint64_t Address,
477 uint64_t Inst = 0;
478 for (uint64_t I = 0; I < Size; ++I)
lib/Target/SystemZ/MCTargetDesc/SystemZInstPrinter.cpp 198 uint64_t Disp = MI->getOperand(OpNum + 1).getImm();
199 uint64_t Length = MI->getOperand(OpNum + 2).getImm();
209 uint64_t Disp = MI->getOperand(OpNum + 1).getImm();
230 uint64_t Imm = MI->getOperand(OpNum).getImm();
lib/Target/SystemZ/MCTargetDesc/SystemZMCAsmBackend.cpp 23 static uint64_t extractBitsForFixup(MCFixupKind Kind, uint64_t Value) {
23 static uint64_t extractBitsForFixup(MCFixupKind Kind, uint64_t Value) {
55 uint64_t Value, bool IsResolved,
61 bool fixupNeedsRelaxation(const MCFixup &Fixup, uint64_t Value,
70 bool writeNopData(raw_ostream &OS, uint64_t Count) const override;
99 MutableArrayRef<char> Data, uint64_t Value,
120 bool SystemZMCAsmBackend::writeNopData(raw_ostream &OS, uint64_t Count) const {
121 for (uint64_t I = 0; I != Count; ++I)
lib/Target/SystemZ/MCTargetDesc/SystemZMCCodeEmitter.cpp 53 uint64_t getBinaryCodeForInstr(const MCInst &MI,
59 uint64_t getMachineOpValue(const MCInst &MI, const MCOperand &MO,
67 uint64_t getBDAddr12Encoding(const MCInst &MI, unsigned OpNum,
70 uint64_t getBDAddr20Encoding(const MCInst &MI, unsigned OpNum,
73 uint64_t getBDXAddr12Encoding(const MCInst &MI, unsigned OpNum,
76 uint64_t getBDXAddr20Encoding(const MCInst &MI, unsigned OpNum,
79 uint64_t getBDLAddr12Len4Encoding(const MCInst &MI, unsigned OpNum,
82 uint64_t getBDLAddr12Len8Encoding(const MCInst &MI, unsigned OpNum,
85 uint64_t getBDRAddr12Encoding(const MCInst &MI, unsigned OpNum,
88 uint64_t getBDVAddr12Encoding(const MCInst &MI, unsigned OpNum,
97 uint64_t getPCRelEncoding(const MCInst &MI, unsigned OpNum,
102 uint64_t getPC16DBLEncoding(const MCInst &MI, unsigned OpNum,
108 uint64_t getPC32DBLEncoding(const MCInst &MI, unsigned OpNum,
114 uint64_t getPC16DBLTLSEncoding(const MCInst &MI, unsigned OpNum,
120 uint64_t getPC32DBLTLSEncoding(const MCInst &MI, unsigned OpNum,
126 uint64_t getPC12DBLBPPEncoding(const MCInst &MI, unsigned OpNum,
132 uint64_t getPC16DBLBPPEncoding(const MCInst &MI, unsigned OpNum,
138 uint64_t getPC24DBLBPPEncoding(const MCInst &MI, unsigned OpNum,
161 uint64_t Bits = getBinaryCodeForInstr(MI, Fixups, STI);
171 uint64_t SystemZMCCodeEmitter::
182 uint64_t SystemZMCCodeEmitter::
186 uint64_t Base = getMachineOpValue(MI, MI.getOperand(OpNum), Fixups, STI);
187 uint64_t Disp = getMachineOpValue(MI, MI.getOperand(OpNum + 1), Fixups, STI);
192 uint64_t SystemZMCCodeEmitter::
196 uint64_t Base = getMachineOpValue(MI, MI.getOperand(OpNum), Fixups, STI);
197 uint64_t Disp = getMachineOpValue(MI, MI.getOperand(OpNum + 1), Fixups, STI);
202 uint64_t SystemZMCCodeEmitter::
206 uint64_t Base = getMachineOpValue(MI, MI.getOperand(OpNum), Fixups, STI);
207 uint64_t Disp = getMachineOpValue(MI, MI.getOperand(OpNum + 1), Fixups, STI);
208 uint64_t Index = getMachineOpValue(MI, MI.getOperand(OpNum + 2), Fixups, STI);
213 uint64_t SystemZMCCodeEmitter::
217 uint64_t Base = getMachineOpValue(MI, MI.getOperand(OpNum), Fixups, STI);
218 uint64_t Disp = getMachineOpValue(MI, MI.getOperand(OpNum + 1), Fixups, STI);
219 uint64_t Index = getMachineOpValue(MI, MI.getOperand(OpNum + 2), Fixups, STI);
225 uint64_t SystemZMCCodeEmitter::
229 uint64_t Base = getMachineOpValue(MI, MI.getOperand(OpNum), Fixups, STI);
230 uint64_t Disp = getMachineOpValue(MI, MI.getOperand(OpNum + 1), Fixups, STI);
231 uint64_t Len = getMachineOpValue(MI, MI.getOperand(OpNum + 2), Fixups, STI) - 1;
236 uint64_t SystemZMCCodeEmitter::
240 uint64_t Base = getMachineOpValue(MI, MI.getOperand(OpNum), Fixups, STI);
241 uint64_t Disp = getMachineOpValue(MI, MI.getOperand(OpNum + 1), Fixups, STI);
242 uint64_t Len = getMachineOpValue(MI, MI.getOperand(OpNum + 2), Fixups, STI) - 1;
247 uint64_t SystemZMCCodeEmitter::
251 uint64_t Base = getMachineOpValue(MI, MI.getOperand(OpNum), Fixups, STI);
252 uint64_t Disp = getMachineOpValue(MI, MI.getOperand(OpNum + 1), Fixups, STI);
253 uint64_t Len = getMachineOpValue(MI, MI.getOperand(OpNum + 2), Fixups, STI);
258 uint64_t SystemZMCCodeEmitter::
262 uint64_t Base = getMachineOpValue(MI, MI.getOperand(OpNum), Fixups, STI);
263 uint64_t Disp = getMachineOpValue(MI, MI.getOperand(OpNum + 1), Fixups, STI);
264 uint64_t Index = getMachineOpValue(MI, MI.getOperand(OpNum + 2), Fixups, STI);
269 uint64_t
lib/Target/SystemZ/SystemZ.h 160 static inline bool isImmLL(uint64_t Val) {
165 static inline bool isImmLH(uint64_t Val) {
170 static inline bool isImmHL(uint64_t Val) {
175 static inline bool isImmHH(uint64_t Val) {
180 static inline bool isImmLF(uint64_t Val) {
185 static inline bool isImmHF(uint64_t Val) {
lib/Target/SystemZ/SystemZAsmPrinter.cpp 611 uint64_t CallTarget = CalleeMO.getImm();
677 uint64_t Size = getDataLayout().getTypeAllocSize(ZCPV->getType());
lib/Target/SystemZ/SystemZFrameLowering.cpp 288 uint64_t StackSize = (MFFrame.estimateStackSize(MF) +
301 uint64_t MaxReach = StackSize + MaxArgOffset;
381 uint64_t StackSize = MFFrame.getStackSize();
484 uint64_t StackSize = MFFrame.getStackSize();
493 uint64_t Offset = StackSize + MBBI->getOperand(AddrOpNo + 1).getImm();
499 uint64_t NumBytes = Offset - 0x7fff8;
lib/Target/SystemZ/SystemZISelDAGToDAG.cpp 99 static uint64_t allOnes(unsigned int Count) {
127 uint64_t Mask;
138 inline SDValue getImm(const SDNode *Node, uint64_t Imm) const {
273 bool detectOrAndInsertion(SDValue &Op, uint64_t InsertMask) const;
277 bool refineRxSBGMask(RxSBGOperands &RxSBG, uint64_t Mask) const;
305 uint64_t UpperVal, uint64_t LowerVal);
305 uint64_t UpperVal, uint64_t LowerVal);
437 SDValue Op0, uint64_t Op1) {
485 uint64_t Offset = (cast<GlobalAddressSDNode>(Full)->getOffset() -
719 uint64_t InsertMask) const {
731 uint64_t AndMask = MaskNode->getZExtValue();
737 uint64_t Used = allOnes(Op.getValueSizeInBits());
749 uint64_t Mask) const {
762 static bool maskMatters(RxSBGOperands &RxSBG, uint64_t Mask) {
776 uint64_t BitSize = N.getValueSizeInBits();
777 uint64_t Mask = allOnes(BitSize);
792 uint64_t Mask = MaskNode->getZExtValue();
815 uint64_t Mask = ~MaskNode->getZExtValue();
882 uint64_t Count = CountNode->getZExtValue();
909 uint64_t Count = CountNode->getZExtValue();
1109 SDValue Op0, uint64_t UpperVal,
1110 uint64_t LowerVal) {
1422 uint64_t Size = Load->getMemoryVT().getStoreSize();
1438 uint64_t Size = Load->getMemoryVT().getStoreSize();
1487 uint64_t Val = Op1->getZExtValue();
1530 uint64_t Val = cast<ConstantSDNode>(Node)->getZExtValue();
1553 uint64_t ConstCCValid =
1555 uint64_t ConstCCMask =
1774 uint64_t TopBit = uint64_t(1) << 31;
lib/Target/SystemZ/SystemZISelLowering.cpp 681 uint64_t Byte = IntBits.lshr(I * 8).trunc(8).getZExtValue();
727 uint64_t SplatBitsZ = SplatBits.getZExtValue();
728 uint64_t SplatUndefZ = SplatUndef.getZExtValue();
729 uint64_t Lower =
731 uint64_t Upper =
739 uint64_t Middle = SplatUndefZ & ~Upper & ~Lower;
1996 uint64_t Value = ConstOp1->getZExtValue();
1997 uint64_t Mask = (1 << NumBits) - 1;
2233 uint64_t Amount = Shift->getZExtValue();
2248 uint64_t Mask, uint64_t CmpVal,
2248 uint64_t Mask, uint64_t CmpVal,
2259 uint64_t High = uint64_t(1) << HighShift;
2260 uint64_t Low = uint64_t(1) << countTrailingZeros(Mask);
2345 uint64_t CmpVal = ConstOp1->getZExtValue();
2349 uint64_t MaskVal;
2449 SDValue Call, unsigned CCValid, uint64_t CC,
2484 uint64_t Constant = cast<ConstantSDNode>(CmpOp1)->getZExtValue();
2832 uint64_t Anchor = Offset & ~uint64_t(0xfff);
3219 uint64_t AlignVal = (RealignOpt ?
3222 uint64_t StackAlign = TFI->getStackAlignment();
3223 uint64_t RequiredAlign = std::max(AlignVal, StackAlign);
3224 uint64_t ExtraAlignSpace = RequiredAlign - StackAlign;
3390 uint64_t Masks[] = { Known[0].Zero.getZExtValue(),
3420 uint64_t Mask = cast<ConstantSDNode>(HighOp.getOperand(1))->getZExtValue();
4810 uint64_t Index = cast<ConstantSDNode>(Op2)->getZExtValue();
4837 uint64_t Index = CIndexN->getZExtValue();
7231 uint64_t DestDisp = MI.getOperand(1).getImm();
7233 uint64_t SrcDisp = MI.getOperand(3).getImm();
7234 uint64_t Length = MI.getOperand(4).getImm();
7347 uint64_t ThisLength = std::min(Length, uint64_t(256));
7410 uint64_t End1Reg = MI.getOperand(0).getReg();
7411 uint64_t Start1Reg = MI.getOperand(1).getReg();
7412 uint64_t Start2Reg = MI.getOperand(2).getReg();
7413 uint64_t CharReg = MI.getOperand(3).getReg();
7416 uint64_t This1Reg = MRI.createVirtualRegister(RC);
7417 uint64_t This2Reg = MRI.createVirtualRegister(RC);
7418 uint64_t End2Reg = MRI.createVirtualRegister(RC);
7473 uint64_t Control = MI.getOperand(2).getImm();
lib/Target/SystemZ/SystemZInstrInfo.cpp 51 static uint64_t allOnes(unsigned int Count) {
122 uint64_t Offset = (MFFrame.getMaxCallFrameSize() +
955 uint64_t Imm = MI.getOperand(2).getImm() << And.ImmLSB;
1187 uint64_t AccessBytes = SystemZII::getAccessSize(MemDesc.TSFlags);
1190 uint64_t Offset = Size - AccessBytes;
1558 static bool isStringOfOnes(uint64_t Mask, unsigned &LSB, unsigned &Length) {
1560 uint64_t Top = (Mask >> First) + 1;
1569 bool SystemZInstrInfo::isRxSBGMask(uint64_t Mask, unsigned BitSize,
lib/Target/SystemZ/SystemZInstrInfo.h 305 bool isRxSBGMask(uint64_t Mask, unsigned BitSize,
lib/Target/SystemZ/SystemZLongBranch.cpp 82 uint64_t Address = 0;
86 uint64_t Size = 0;
105 uint64_t Address = 0;
108 uint64_t Size = 0;
124 uint64_t Address = 0;
155 uint64_t initMBBInfo();
156 bool mustRelaxBranch(const TerminatorInfo &Terminator, uint64_t Address);
172 const uint64_t MaxBackwardRange = 0x10000;
173 const uint64_t MaxForwardRange = 0xfffe;
268 uint64_t SystemZLongBranch::initMBBInfo() {
313 uint64_t Address) {
460 uint64_t Size = initMBBInfo();
lib/Target/SystemZ/SystemZSelectionDAGInfo.cpp 27 SDValue Src, uint64_t Size) {
65 SDValue Dst, uint64_t ByteVal, uint64_t Size,
65 SDValue Dst, uint64_t ByteVal, uint64_t Size,
67 uint64_t StoreVal = ByteVal;
85 uint64_t Bytes = CSize->getZExtValue();
93 uint64_t ByteVal = CByte->getZExtValue();
146 SDValue Src1, SDValue Src2, uint64_t Size) {
184 uint64_t Bytes = CSize->getZExtValue();
lib/Target/SystemZ/SystemZShortenInst.cpp 93 uint64_t Imm = MI.getOperand(1).getImm();
lib/Target/WebAssembly/AsmParser/WebAssemblyAsmParser.cpp 785 uint64_t &ErrorInfo,
lib/Target/WebAssembly/Disassembler/WebAssemblyDisassembler.cpp 46 DecodeStatus getInstruction(MCInst &Instr, uint64_t &Size,
47 ArrayRef<uint8_t> Bytes, uint64_t Address,
50 DecodeStatus onSymbolStart(StringRef Name, uint64_t &Size,
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,
100 static bool parseLEBImmediate(MCInst &MI, uint64_t &Size,
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,
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*/,
160 MCInst &MI, uint64_t &Size, ArrayRef<uint8_t> Bytes, uint64_t /*Address*/,
220 uint64_t PrevSize = Size;
270 if (!parseImmediate<uint64_t>(MI, Size, Bytes))
lib/Target/WebAssembly/MCTargetDesc/WebAssemblyAsmBackend.cpp 49 uint64_t Value, bool IsPCRel,
56 bool fixupNeedsRelaxation(const MCFixup &Fixup, uint64_t Value,
70 bool writeNopData(raw_ostream &OS, uint64_t Count) const override;
94 uint64_t Count) const {
95 for (uint64_t I = 0; I < Count; ++I)
105 uint64_t Value, bool IsPCRel,
lib/Target/WebAssembly/MCTargetDesc/WebAssemblyInstPrinter.cpp 153 SmallSet<uint64_t, 8> Printed;
168 uint64_t Depth = MI->getOperand(I).getImm();
lib/Target/WebAssembly/MCTargetDesc/WebAssemblyInstPrinter.h 27 uint64_t ControlFlowCounter = 0;
28 uint64_t EHPadStackCounter = 0;
29 SmallVector<std::pair<uint64_t, bool>, 4> ControlFlowStack;
30 SmallVector<uint64_t, 4> EHPadStack;
lib/Target/WebAssembly/MCTargetDesc/WebAssemblyMCCodeEmitter.cpp 42 uint64_t getBinaryCodeForInstr(const MCInst &MI,
62 uint64_t Start = OS.tell();
64 uint64_t Binary = getBinaryCodeForInstr(MI, Fixups, STI);
117 support::endian::write<uint64_t>(OS, MO.getImm(), support::little);
lib/Target/WebAssembly/WebAssemblyFastISel.cpp 264 uint64_t TmpOffset = Addr.getOffset();
278 uint64_t S = DL.getTypeAllocSize(GTI.getIndexedType());
341 uint64_t TmpOffset = Addr.getOffset() + CI->getSExtValue();
lib/Target/WebAssembly/WebAssemblyFrameLowering.cpp 161 uint64_t StackSize = MFI.getStackSize();
227 uint64_t StackSize = MF.getFrameInfo().getStackSize();
lib/Target/WebAssembly/WebAssemblyISelDAGToDAG.cpp 95 uint64_t SyncScopeID =
lib/Target/WebAssembly/WebAssemblyISelLowering.cpp 1467 uint64_t ByteIndex = M == -1 ? 0 : (uint64_t)M * LaneBytes + J;
1495 uint64_t MaskVal = LaneT.getSizeInBits() - 1;
lib/Target/WebAssembly/WebAssemblySetP2AlignOperands.cpp 68 uint64_t P2Align = Log2_64((*MI.memoperands_begin())->getAlignment());
lib/Target/X86/AsmParser/X86AsmParser.cpp 100 uint64_t &ErrorInfo, FeatureBitset &MissingFeatures,
892 uint64_t &ErrorInfo,
903 uint64_t &ErrorInfo,
908 uint64_t &ErrorInfo,
3038 static const char *getSubtargetFeatureName(uint64_t Val);
3047 MCStreamer &Out, uint64_t &ErrorInfo,
3142 uint64_t &ErrorInfo,
3227 uint64_t ErrorInfoIgnore;
3348 uint64_t &ErrorInfo,
3431 uint64_t ErrorInfoIgnore;
lib/Target/X86/AsmParser/X86AsmParserCommon.h 16 inline bool isImmSExti16i8Value(uint64_t Value) {
21 inline bool isImmSExti32i8Value(uint64_t Value) {
26 inline bool isImmSExti64i8Value(uint64_t Value) {
30 inline bool isImmSExti64i32Value(uint64_t Value) {
34 inline bool isImmUnsignedi8Value(uint64_t Value) {
38 inline bool isImmUnsignedi4Value(uint64_t Value) {
lib/Target/X86/Disassembler/X86Disassembler.cpp 141 DecodeStatus getInstruction(MCInst &instr, uint64_t &size,
142 ArrayRef<uint8_t> Bytes, uint64_t Address,
175 uint64_t Base;
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) {
215 MCInst &Instr, uint64_t &Size, ArrayRef<uint8_t> Bytes, uint64_t Address,
215 MCInst &Instr, uint64_t &Size, ArrayRef<uint8_t> Bytes, uint64_t Address,
297 uint64_t Address, uint64_t Offset,
297 uint64_t Address, uint64_t Offset,
298 uint64_t Width, MCInst &MI,
311 static void tryAddingPcLoadReferenceComment(uint64_t Address, uint64_t Value,
311 static void tryAddingPcLoadReferenceComment(uint64_t Address, uint64_t Value,
378 static void translateImmediate(MCInst &mcInst, uint64_t immediate,
387 uint64_t pcrel = 0;
541 uint64_t pcrel = 0;
lib/Target/X86/Disassembler/X86DisassemblerDecoder.cpp 1627 uint64_t imm64;
1908 uint64_t startLoc, DisassemblerMode mode) {
lib/Target/X86/Disassembler/X86DisassemblerDecoder.h 514 typedef int (*byteReader_t)(const void *arg, uint8_t *byte, uint64_t address);
537 uint64_t readerCursor;
549 uint64_t startLocation;
629 uint64_t immediates[2];
681 uint64_t startLoc,
lib/Target/X86/MCTargetDesc/X86AsmBackend.cpp 111 uint64_t Value, bool IsResolved,
131 bool fixupNeedsRelaxation(const MCFixup &Fixup, uint64_t Value,
138 bool writeNopData(raw_ostream &OS, uint64_t Count) const override;
286 uint64_t Value,
317 bool X86AsmBackend::writeNopData(raw_ostream &OS, uint64_t Count) const {
344 for (uint64_t i = 0; i < Count; ++i)
351 uint64_t MaxNopLength = 10;
lib/Target/X86/MCTargetDesc/X86BaseInfo.h 278 enum : uint64_t {
651 inline uint8_t getBaseOpcodeFor(uint64_t TSFlags) {
655 inline bool hasImm(uint64_t TSFlags) {
661 inline unsigned getSizeOfImm(uint64_t TSFlags) {
678 inline unsigned isImmPCRel(uint64_t TSFlags) {
697 inline unsigned isImmSigned(uint64_t TSFlags) {
761 inline int getMemoryOperandNo(uint64_t TSFlags) {
882 inline bool isKMasked(uint64_t TSFlags) {
887 inline bool isKMergeMasked(uint64_t TSFlags) {
lib/Target/X86/MCTargetDesc/X86InstComments.cpp 229 uint64_t TSFlags = Desc.TSFlags;
lib/Target/X86/MCTargetDesc/X86InstPrinterCommon.cpp 324 uint64_t TSFlags = Desc.TSFlags;
lib/Target/X86/MCTargetDesc/X86MCCodeEmitter.cpp 101 void EmitConstant(uint64_t Val, unsigned Size, unsigned &CurByte,
133 uint64_t TSFlags, bool Rex, unsigned &CurByte,
141 void EmitVEXOpcodePrefix(uint64_t TSFlags, unsigned &CurByte, int MemOperand,
148 bool emitOpcodePrefix(uint64_t TSFlags, unsigned &CurByte, int MemOperand,
152 uint8_t DetermineREXPrefix(const MCInst &MI, uint64_t TSFlags,
168 static bool isCDisp8(uint64_t TSFlags, int Value, int& CValue) {
193 static MCFixupKind getImmFixupKind(uint64_t TSFlags) {
378 uint64_t TSFlags, bool Rex,
643 void X86MCCodeEmitter::EmitVEXOpcodePrefix(uint64_t TSFlags, unsigned &CurByte,
649 uint64_t Encoding = TSFlags & X86II::EncodingMask;
1049 uint8_t X86MCCodeEmitter::DetermineREXPrefix(const MCInst &MI, uint64_t TSFlags,
1148 bool X86MCCodeEmitter::emitOpcodePrefix(uint64_t TSFlags, unsigned &CurByte,
1217 uint64_t TSFlags = Desc.TSFlags;
1231 uint64_t Encoding = TSFlags & X86II::EncodingMask;
1261 uint64_t AdSize = TSFlags & X86II::AdSizeMask;
1296 uint64_t Form = TSFlags & X86II::FormMask;
lib/Target/X86/MCTargetDesc/X86MCTargetDesc.cpp 403 std::vector<std::pair<uint64_t, uint64_t>>
403 std::vector<std::pair<uint64_t, uint64_t>>
404 findPltEntries(uint64_t PltSectionVA, ArrayRef<uint8_t> PltContents,
405 uint64_t GotSectionVA,
407 Optional<uint64_t> evaluateMemoryOperandAddress(const MCInst &Inst,
408 uint64_t Addr,
409 uint64_t Size) const override;
467 static std::vector<std::pair<uint64_t, uint64_t>>
467 static std::vector<std::pair<uint64_t, uint64_t>>
468 findX86PltEntries(uint64_t PltSectionVA, ArrayRef<uint8_t> PltContents,
469 uint64_t GotPltSectionVA) {
471 std::vector<std::pair<uint64_t, uint64_t>> Result;
471 std::vector<std::pair<uint64_t, uint64_t>> Result;
472 for (uint64_t Byte = 0, End = PltContents.size(); Byte + 6 < End; ) {
493 static std::vector<std::pair<uint64_t, uint64_t>>
493 static std::vector<std::pair<uint64_t, uint64_t>>
494 findX86_64PltEntries(uint64_t PltSectionVA, ArrayRef<uint8_t> PltContents) {
496 std::vector<std::pair<uint64_t, uint64_t>> Result;
496 std::vector<std::pair<uint64_t, uint64_t>> Result;
497 for (uint64_t Byte = 0, End = PltContents.size(); Byte + 6 < End; ) {
512 std::vector<std::pair<uint64_t, uint64_t>> X86MCInstrAnalysis::findPltEntries(
512 std::vector<std::pair<uint64_t, uint64_t>> X86MCInstrAnalysis::findPltEntries(
513 uint64_t PltSectionVA, ArrayRef<uint8_t> PltContents,
514 uint64_t GotPltSectionVA, const Triple &TargetTriple) const {
525 Optional<uint64_t> X86MCInstrAnalysis::evaluateMemoryOperandAddress(
526 const MCInst &Inst, uint64_t Addr, uint64_t Size) const {
526 const MCInst &Inst, uint64_t Addr, uint64_t Size) const {
lib/Target/X86/MCTargetDesc/X86MachObjectWriter.cpp 34 uint64_t &FixedValue);
41 uint64_t &FixedValue);
49 uint64_t &FixedValue);
53 MCValue Target, uint64_t &FixedValue);
62 uint64_t &FixedValue) override {
105 uint64_t &FixedValue) {
370 uint64_t &FixedValue) {
371 uint64_t OriginalFixedValue = FixedValue;
388 uint64_t SecAddr = Writer->getSectionAddress(A->getFragment()->getParent());
469 uint64_t &FixedValue) {
509 uint64_t &FixedValue) {
lib/Target/X86/Utils/X86ShuffleDecode.cpp 306 void DecodePSHUFBMask(ArrayRef<uint64_t> RawMask, const APInt &UndefElts,
309 uint64_t M = RawMask[i];
338 void DecodeVPPERMMask(ArrayRef<uint64_t> RawMask, const APInt &UndefElts,
361 uint64_t M = RawMask[i];
362 uint64_t PermuteOp = (M >> 5) & 0x7;
372 uint64_t Index = M & 0x1F;
493 ArrayRef<uint64_t> RawMask, const APInt &UndefElts,
507 uint64_t M = RawMask[i];
515 ArrayRef<uint64_t> RawMask, const APInt &UndefElts,
534 uint64_t Selector = RawMask[i];
560 void DecodeVPERMVMask(ArrayRef<uint64_t> RawMask, const APInt &UndefElts,
562 uint64_t EltMaskSize = RawMask.size() - 1;
568 uint64_t M = RawMask[i];
574 void DecodeVPERMV3Mask(ArrayRef<uint64_t> RawMask, const APInt &UndefElts,
576 uint64_t EltMaskSize = (RawMask.size() * 2) - 1;
582 uint64_t M = RawMask[i];
lib/Target/X86/Utils/X86ShuffleDecode.h 111 void DecodePSHUFBMask(ArrayRef<uint64_t> RawMask, const APInt &UndefElts,
134 void DecodeVPPERMMask(ArrayRef<uint64_t> RawMask, const APInt &UndefElts,
159 ArrayRef<uint64_t> RawMask, const APInt &UndefElts,
164 ArrayRef<uint64_t> RawMask, const APInt &UndefElts,
168 void DecodeVPERMVMask(ArrayRef<uint64_t> RawMask, const APInt &UndefElts,
172 void DecodeVPERMV3Mask(ArrayRef<uint64_t> RawMask, const APInt &UndefElts,
lib/Target/X86/X86CallLowering.cpp 62 SmallVector<uint64_t, 4> Offsets;
107 Register getStackAddress(uint64_t Size, int64_t Offset,
149 void assignValueToAddress(Register ValVReg, Register Addr, uint64_t Size,
174 uint64_t getStackSize() { return StackSize; }
175 uint64_t getNumXmmRegs() { return NumXMMRegs; }
179 uint64_t StackSize = 0;
237 Register getStackAddress(uint64_t Size, int64_t Offset,
249 void assignValueToAddress(Register ValVReg, Register Addr, uint64_t Size,
lib/Target/X86/X86FastISel.cpp 166 bool IsMemcpySmall(uint64_t Len);
169 X86AddressMode SrcAM, uint64_t Len);
888 uint64_t Disp = (int32_t)AM.Disp + (uint64_t)CI->getSExtValue();
902 uint64_t Disp = (int32_t)AM.Disp;
919 uint64_t S = DL.getTypeAllocSize(GTI.getIndexedType());
2561 bool X86FastISel::IsMemcpySmall(uint64_t Len) {
2566 X86AddressMode SrcAM, uint64_t Len) {
2732 uint64_t Len = cast<ConstantInt>(MCI->getLength())->getZExtValue();
3688 uint64_t Imm = CI->getZExtValue();
lib/Target/X86/X86FloatingPoint.cpp 419 uint64_t Flags = MI.getDesc().TSFlags;
lib/Target/X86/X86FrameLowering.cpp 254 uint64_t Offset = isSub ? -NumBytes : NumBytes;
258 uint64_t Chunk = (1LL << 31) - 1;
320 uint64_t ThisVal = std::min(Offset, Chunk);
383 uint64_t AbsOffset = IsSub ? -Offset : Offset;
834 static unsigned calculateSetFPREG(uint64_t SPAdjust) {
837 const uint64_t Win64MaxSEHOffset = 128;
838 uint64_t SEHFrameOffset = std::min(SPAdjust, Win64MaxSEHOffset);
847 uint64_t X86FrameLowering::calculateMaxStackAlign(const MachineFunction &MF) const {
849 uint64_t MaxAlign = MFI.getMaxAlignment(); // Desired stack alignment.
864 uint64_t Val = -MaxAlign;
980 uint64_t MaxAlign = calculateMaxStackAlign(MF); // Desired stack alignment.
981 uint64_t StackSize = MFI.getStackSize(); // Number of bytes to allocate.
1043 uint64_t MinSize = X86FI->getCalleeSavedFrameSize();
1073 uint64_t NumBytes = 0;
1098 uint64_t FrameSize = StackSize - SlotSize;
1238 uint64_t AlignedNumBytes = NumBytes;
1611 uint64_t StackSize = MFI.getStackSize();
1612 uint64_t MaxAlign = calculateMaxStackAlign(MF);
1615 uint64_t NumBytes = 0;
1627 uint64_t FrameSize = StackSize - SlotSize;
1637 uint64_t SEHStackAllocAmt = NumBytes;
1690 uint64_t LEAAmount =
1782 uint64_t StackSize = MFI.getStackSize();
1800 uint64_t FrameSize = StackSize - SlotSize;
1804 uint64_t NumBytes = FrameSize - CSSize;
1806 uint64_t SEHFrameOffset = calculateSetFPREG(NumBytes);
1883 const uint64_t StackSize = MFI.getStackSize();
2286 static const uint64_t kSplitStackAvailable = 256;
2291 uint64_t StackSize;
2799 uint64_t Amount = TII.getFrameSize(*I);
2800 uint64_t InternalAmt = (isDestroy || Amount) ? TII.getFrameAdjustment(*I) : 0;
3041 uint64_t DensityAScaled, DensityBScaled;
lib/Target/X86/X86FrameLowering.h 181 uint64_t calculateMaxStackAlign(const MachineFunction &MF) const;
lib/Target/X86/X86ISelDAGToDAG.cpp 211 bool foldOffsetIntoAddress(uint64_t Offset, X86ISelAddressMode &AM);
418 inline SDValue getI64Imm(uint64_t Imm, const SDLoc &DL) {
425 uint64_t Index = N->getConstantOperandVal(1);
433 uint64_t Index = N->getConstantOperandVal(2);
1294 uint64_t TSFlags = getInstrInfo()->get(In.getMachineOpcode()).TSFlags;
1345 bool X86DAGToDAGISel::foldOffsetIntoAddress(uint64_t Offset,
1567 uint64_t Mask,
1703 uint64_t Mask,
1790 uint64_t Mask,
1884 uint64_t Val = cast<ConstantSDNode>(N)->getSExtValue();
1931 uint64_t Disp = (uint64_t)AddVal->getSExtValue() << Val;
1961 uint64_t Mask = And.getConstantOperandVal(1) >> N.getConstantOperandVal(1);
1997 uint64_t Disp = AddVal->getSExtValue() * CN->getZExtValue();
2111 uint64_t Mask = N.getConstantOperandVal(1);
2204 uint64_t Val = cast<ConstantSDNode>(N)->getSExtValue();
2362 uint64_t ImmVal = CN->getZExtValue();
3488 uint64_t Mask = MaskCst->getZExtValue();
3492 uint64_t Shift = ShiftCst->getZExtValue();
3493 uint64_t MaskSize = countPopulation(Mask);
3760 uint64_t ShAmt = ShlCst->getZExtValue();
3764 uint64_t RemovedBitsMask = (1ULL << ShAmt) - 1;
5010 uint64_t Mask = C->getZExtValue();
lib/Target/X86/X86ISelLowering.cpp 2085 uint64_t Size, unsigned DstAlign, unsigned SrcAlign, bool IsMemset,
4191 uint64_t AlignMask = StackAlignment - 1;
6320 SmallVectorImpl<uint64_t> &RawMask,
6419 SmallVector<uint64_t, 32> RawMask;
6889 uint64_t ZeroMask = IsAndN ? 255 : 0;
6983 uint64_t InsertIdx = N.getConstantOperandVal(2);
6988 uint64_t ExtractIdx = Sub.getConstantOperandVal(1);
7080 uint64_t InIdx = N.getConstantOperandVal(2);
7102 uint64_t ExIdx = InScl.getConstantOperandVal(1);
7149 uint64_t ShiftVal = N.getConstantOperandVal(1);
7160 uint64_t ByteShift = ShiftVal / 8;
7374 uint64_t SubIdx = N->getConstantOperandVal(2);
7385 uint64_t SrcIdx = N->getConstantOperandVal(1);
7760 uint64_t Idx = Elt.getConstantOperandVal(1);
7774 uint64_t Idx = Elt.getConstantOperandVal(1);
8485 uint64_t Immediate = 0;
8508 uint64_t Immediate = 0;
9320 uint64_t IndexScale = 0;
9321 uint64_t IndexOffset = 0;
9328 for (uint64_t i = 0; i != Scale; ++i) {
9512 uint64_t Scale = VT.getScalarSizeInBits() / ShuffleVT.getScalarSizeInBits();
9611 uint64_t NonZeros = 0;
10019 uint64_t Zeros = 0;
10020 uint64_t NonZeros = 0;
10978 bool &ForceV2Zero, uint64_t &BlendMask) {
11018 static uint64_t scaleVectorShuffleBlendMask(uint64_t BlendMask, int Size,
11018 static uint64_t scaleVectorShuffleBlendMask(uint64_t BlendMask, int Size,
11020 uint64_t ScaledMask = 0;
11038 uint64_t BlendMask = 0;
11084 uint64_t LoMask = BlendMask & 0xFF;
11085 uint64_t HiMask = (BlendMask >> 8) & 0xFF;
11796 ArrayRef<int> Mask, uint64_t &BitLen,
11797 uint64_t &BitIdx, const APInt &Zeroable) {
11852 ArrayRef<int> Mask, uint64_t &BitLen,
11853 uint64_t &BitIdx) {
11920 uint64_t BitLen, BitIdx;
14111 uint64_t ModMask = (uint64_t)ShuffleModulus - 1;
14127 uint64_t N = j + 1;
17562 uint64_t IdxVal = N2C->getZExtValue();
18297 uint64_t ShiftAmt = APIntShiftAmt.urem(VT.getScalarSizeInBits());
20393 uint64_t AndRHSVal = AndRHS->getZExtValue();
22436 SDValue SrcOp, uint64_t ShiftAmt,
23278 uint64_t Imm = Op.getConstantOperandVal(2);
25542 uint64_t ShiftAmt = APIntShiftAmt.getZExtValue();
25723 uint64_t ShAmt = C.getZExtValue();
26274 uint64_t RotateAmt = EltBits[CstSplatIndex].urem(EltSizeInBits);
26295 uint64_t RotateAmt = EltBits[CstSplatIndex].urem(EltSizeInBits);
32155 uint64_t BlendMask = 0;
32520 uint64_t BitLen, BitIdx;
36403 uint64_t Idx = CIdx->getZExtValue();
37527 uint64_t CarryCC = Carry.getConstantOperandVal(0);
37930 static SDValue combineMulSpecial(uint64_t MulAmt, SDNode *N, SelectionDAG &DAG,
38144 uint64_t AbsMulAmt = SignMulAmt < 0 ? -SignMulAmt : SignMulAmt;
38157 uint64_t MulAmt1 = 0;
38158 uint64_t MulAmt2 = 0;
38997 uint64_t ArrayElementCount = Init->getType()->getArrayNumElements();
38999 for (uint64_t j = 0; j < ArrayElementCount; j++) {
44414 uint64_t IdxVal = N->getConstantOperandVal(2);
44430 uint64_t Idx2Val = SubVec.getConstantOperandVal(2);
lib/Target/X86/X86ISelLowering.h 742 EVT getOptimalMemOpType(uint64_t Size, unsigned DstAlign, unsigned SrcAlign,
lib/Target/X86/X86InstrFMA3Info.cpp 132 const X86InstrFMA3Group *llvm::getFMA3Group(unsigned Opcode, uint64_t TSFlags) {
lib/Target/X86/X86InstrFMA3Info.h 97 const X86InstrFMA3Group *getFMA3Group(unsigned Opcode, uint64_t TSFlags);
lib/Target/X86/X86InstrInfo.cpp 1336 static unsigned getThreeSrcCommuteCase(uint64_t TSFlags, unsigned SrcOpIdx1,
1878 uint64_t TSFlags = MI.getDesc().TSFlags;
7594 SmallVector<uint64_t, 8> Ops;
lib/Target/X86/X86InstructionSelector.cpp 73 uint64_t Alignment) const;
396 uint64_t Alignment) const {
644 uint64_t Val = 0;
lib/Target/X86/X86RegisterInfo.cpp 787 uint64_t Offset = FIOffset +
lib/Target/X86/X86SelectionDAGInfo.cpp 103 uint64_t SizeVal = ConstantSize->getZExtValue();
111 uint64_t Val = ValC->getZExtValue() & 255;
210 SDValue Src, uint64_t Size) {
217 uint64_t Align) {
238 SDValue Chain, SDValue Dst, SDValue Src, uint64_t Size, EVT SizeVT,
258 const uint64_t BlockBytes = BlockType.getSizeInBits() / 8;
259 const uint64_t BlockCount = Size / BlockBytes;
260 const uint64_t BytesLeft = Size % BlockBytes;
lib/Target/X86/X86ShuffleDecodeConstantPool.cpp 26 SmallVectorImpl<uint64_t> &RawMask) {
122 SmallVector<uint64_t, 64> RawMask;
136 uint64_t Element = RawMask[i];
161 SmallVector<uint64_t, 16> RawMask;
177 uint64_t Element = RawMask[i];
198 SmallVector<uint64_t, 8> RawMask;
217 uint64_t Selector = RawMask[i];
252 SmallVector<uint64_t, 16> RawMask;
279 uint64_t Element = RawMask[i];
280 uint64_t Index = Element & 0x1F;
281 uint64_t PermuteOp = (Element >> 5) & 0x7;
305 SmallVector<uint64_t, 64> RawMask;
331 SmallVector<uint64_t, 64> RawMask;
lib/Target/X86/X86TargetTransformInfo.cpp 2991 uint64_t ImmVal = Imm.getZExtValue();
lib/Target/XCore/Disassembler/XCoreDisassembler.cpp 38 DecodeStatus getInstruction(MCInst &Instr, uint64_t &Size,
39 ArrayRef<uint8_t> Bytes, uint64_t Address,
45 static bool readInstruction16(ArrayRef<uint8_t> Bytes, uint64_t Address,
46 uint64_t &Size, uint16_t &Insn) {
57 static bool readInstruction32(ArrayRef<uint8_t> Bytes, uint64_t Address,
58 uint64_t &Size, uint32_t &Insn) {
78 uint64_t Address,
83 uint64_t Address,
87 uint64_t Address, const void *Decoder);
90 uint64_t Address, const void *Decoder);
94 uint64_t Address,
99 uint64_t Address,
104 uint64_t Address,
109 uint64_t Address,
114 uint64_t Address,
119 uint64_t Address,
124 uint64_t Address,
129 uint64_t Address,
134 uint64_t Address,
139 uint64_t Address,
144 uint64_t Address,
149 uint64_t Address,
154 uint64_t Address,
159 uint64_t Address,
164 uint64_t Address,
169 uint64_t Address,
174 uint64_t Address,
179 uint64_t Address,
184 uint64_t Address,
189 uint64_t Address,
194 uint64_t Address,
201 uint64_t Address,
213 uint64_t Address,
224 uint64_t Address, const void *Decoder) {
235 uint64_t Address, const void *Decoder) {
275 Decode2OpInstructionFail(MCInst &Inst, unsigned Insn, uint64_t Address,
345 Decode2RInstruction(MCInst &Inst, unsigned Insn, uint64_t Address,
358 Decode2RImmInstruction(MCInst &Inst, unsigned Insn, uint64_t Address,
371 DecodeR2RInstruction(MCInst &Inst, unsigned Insn, uint64_t Address,
384 Decode2RSrcDstInstruction(MCInst &Inst, unsigned Insn, uint64_t Address,
398 DecodeRUSInstruction(MCInst &Inst, unsigned Insn, uint64_t Address,
411 DecodeRUSBitpInstruction(MCInst &Inst, unsigned Insn, uint64_t Address,
424 DecodeRUSSrcDstBitpInstruction(MCInst &Inst, unsigned Insn, uint64_t Address,
438 DecodeL2OpInstructionFail(MCInst &Inst, unsigned Insn, uint64_t Address,
509 DecodeL2RInstruction(MCInst &Inst, unsigned Insn, uint64_t Address,
523 DecodeLR2RInstruction(MCInst &Inst, unsigned Insn, uint64_t Address,
537 Decode3RInstruction(MCInst &Inst, unsigned Insn, uint64_t Address,
550 Decode3RImmInstruction(MCInst &Inst, unsigned Insn, uint64_t Address,
563 Decode2RUSInstruction(MCInst &Inst, unsigned Insn, uint64_t Address,
576 Decode2RUSBitpInstruction(MCInst &Inst, unsigned Insn, uint64_t Address,
589 DecodeL3RInstruction(MCInst &Inst, unsigned Insn, uint64_t Address,
603 DecodeL3RSrcDstInstruction(MCInst &Inst, unsigned Insn, uint64_t Address,
618 DecodeL2RUSInstruction(MCInst &Inst, unsigned Insn, uint64_t Address,
632 DecodeL2RUSBitpInstruction(MCInst &Inst, unsigned Insn, uint64_t Address,
646 DecodeL6RInstruction(MCInst &Inst, unsigned Insn, uint64_t Address,
666 DecodeL5RInstructionFail(MCInst &Inst, unsigned Insn, uint64_t Address,
680 DecodeL5RInstruction(MCInst &Inst, unsigned Insn, uint64_t Address,
700 DecodeL4RSrcDstInstruction(MCInst &Inst, unsigned Insn, uint64_t Address,
719 DecodeL4RSrcDstSrcDstInstruction(MCInst &Inst, unsigned Insn, uint64_t Address,
739 MCInst &instr, uint64_t &Size, ArrayRef<uint8_t> Bytes, uint64_t Address,
739 MCInst &instr, uint64_t &Size, ArrayRef<uint8_t> Bytes, uint64_t Address,
lib/Target/XCore/XCoreFrameLowering.cpp 494 uint64_t Amount = Old.getOperand(0).getImm();
lib/Target/XCore/XCoreISelDAGToDAG.cpp 136 uint64_t Val = cast<ConstantSDNode>(N)->getZExtValue();
lib/Transforms/AggressiveInstCombine/AggressiveInstCombine.cpp 196 uint64_t BitIndex = 0;
lib/Transforms/Coroutines/CoroFrame.cpp 441 uint64_t Count = 1;
lib/Transforms/Coroutines/CoroInstr.h 210 uint64_t getStorageSize() const {
214 uint64_t getStorageAlignment() const {
lib/Transforms/Coroutines/CoroInternal.h 148 ConstantInt *getIndex(uint64_t Value) const {
lib/Transforms/IPO/ArgumentPromotion.cpp 99 using IndicesVector = std::vector<uint64_t>;
341 uint64_t W;
797 uint64_t StartPos = 0;
lib/Transforms/IPO/CrossDSOCFI.cpp 82 SetVector<uint64_t> TypeIds;
142 for (uint64_t TypeId : TypeIds) {
lib/Transforms/IPO/DeadArgumentElimination.cpp 210 uint64_t W;
948 uint64_t W;
lib/Transforms/IPO/GlobalDCE.cpp 180 uint64_t Offset =
204 uint64_t CallOffset) {
207 uint64_t VTableOffset = VTableInfo.second;
lib/Transforms/IPO/GlobalOpt.cpp 437 uint64_t FragmentOffsetInBits,
438 uint64_t FragmentSizeInBits,
499 uint64_t FieldOffset = Layout.getElementOffset(i);
505 uint64_t Size = DL.getTypeAllocSizeInBits(NGV->getValueType());
506 uint64_t FragmentOffsetInBits = Layout.getElementOffsetInBits(i);
515 uint64_t EltSize = DL.getTypeAllocSize(ElTy);
517 uint64_t FragmentSizeInBits = DL.getTypeAllocSizeInBits(ElTy);
1655 uint64_t ValInit = CIInit->getZExtValue();
1656 uint64_t ValOther = CI->getZExtValue();
1657 uint64_t ValMinus = ValOther - ValInit;
1674 SmallVector<uint64_t, 12> Ops = {
2414 uint64_t NumElts = InitTy->getNumElements();
2417 for (uint64_t i = 0, e = NumElts; i != e; ++i)
lib/Transforms/IPO/GlobalSplit.cpp 92 uint64_t ByteOffset = cast<ConstantInt>(
103 uint64_t AttachedTo = (ByteOffset == 0) ? ByteOffset : ByteOffset - 1;
lib/Transforms/IPO/LowerTypeTests.cpp 119 bool BitSetInfo::containsGlobalOffset(uint64_t Offset) const {
126 uint64_t BitOffset = (Offset - ByteOffset) >> AlignLog2;
143 for (uint64_t B : Bits)
157 uint64_t Mask = 0;
158 for (uint64_t &Offset : Offsets) {
173 for (uint64_t Offset : Offsets) {
181 void GlobalLayoutBuilder::addFragment(const std::set<uint64_t> &F) {
184 std::vector<uint64_t> &Fragment = Fragments.back();
185 uint64_t FragmentIndex = Fragments.size() - 1;
188 uint64_t OldFragmentIndex = FragmentMap[ObjIndex];
199 std::vector<uint64_t> &OldFragment = Fragments[OldFragmentIndex];
206 for (uint64_t ObjIndex : Fragment)
210 void ByteArrayBuilder::allocate(const std::set<uint64_t> &Bits,
211 uint64_t BitSize, uint64_t &AllocByteOffset,
211 uint64_t BitSize, uint64_t &AllocByteOffset,
229 for (uint64_t B : Bits)
246 std::set<uint64_t> Bits;
247 uint64_t BitSize;
399 uint64_t IndirectIndex = 1;
451 const DenseMap<GlobalTypeMember *, uint64_t> &GlobalLayout);
458 const DenseMap<GlobalTypeMember *, uint64_t> &GlobalLayout);
554 const DenseMap<GlobalTypeMember *, uint64_t> &GlobalLayout) {
563 uint64_t Offset =
614 std::vector<uint64_t> ByteArrayOffsets(ByteArrayInfos.size());
688 Value *V, uint64_t COffset) {
695 uint64_t Offset =
824 DenseMap<GlobalTypeMember *, uint64_t> GlobalLayout;
826 uint64_t CurOffset = 0;
827 uint64_t DesiredPadding = 0;
834 uint64_t GVOffset = alignTo(CurOffset + DesiredPadding, *Alignment);
837 uint64_t Padding = GVOffset - CurOffset;
843 uint64_t InitSize = DL.getTypeAllocSize(GV->getValueType());
930 uint64_t BitSize = cast<ConstantInt>(TIL.SizeM1)->getZExtValue() + 1;
1108 const DenseMap<GlobalTypeMember *, uint64_t> &GlobalLayout) {
1134 uint64_t InlineBits = 0;
1483 DenseMap<GlobalTypeMember *, uint64_t> GlobalLayout;
1564 DenseMap<GlobalTypeMember *, uint64_t> GlobalLayout;
1592 DenseMap<Metadata *, uint64_t> TypeIdIndices;
1598 std::vector<std::set<uint64_t>> TypeMembers(TypeIds.size());
1600 DenseMap<GlobalTypeMember *, uint64_t> GlobalIndices;
1614 std::set<uint64_t> &TMSet = TypeMembers.back();
lib/Transforms/IPO/PartialInlining.cpp 298 DenseMap<User *, uint64_t> &SiteCountMap);
713 uint64_t T, F;
926 DenseMap<User *, uint64_t> &CallSiteToProfCountMap) {
1383 DenseMap<User *, uint64_t> CallSiteToProfCountMap;
1388 uint64_t CalleeEntryCountV =
1420 uint64_t CallSiteCount = CallSiteToProfCountMap[User];
lib/Transforms/IPO/SampleProfile.cpp 141 using BlockWeightMap = DenseMap<const BasicBlock *, uint64_t>;
144 using EdgeWeightMap = DenseMap<Edge, uint64_t>;
155 uint32_t Discriminator, uint64_t Samples);
161 uint64_t getTotalUsedSamples() const { return TotalUsedSamples; }
162 uint64_t countBodySamples(const FunctionSamples *FS,
197 uint64_t TotalUsedSamples = 0;
205 DenseMap<uint64_t, StringRef> &GUIDToFuncNameMap)
245 void SetGUIDToFuncNameMapForAll(DenseMap<uint64_t, StringRef> *Map) {
267 DenseMap<uint64_t, StringRef> &CurrentGUIDToFuncNameMap;
298 ErrorOr<uint64_t> getInstWeight(const Instruction &I);
299 ErrorOr<uint64_t> getBlockWeight(const BasicBlock *BB);
302 findIndirectCallFunctionSamples(const Instruction &I, uint64_t &Sum) const;
318 uint64_t visitEdge(Edge E, unsigned *NumUnknownEdges, Edge *UnknownEdge);
406 uint64_t TotalCollectedSamples = 0;
415 uint64_t entryCount;
421 DenseMap<uint64_t, StringRef> GUIDToFuncNameMap;
500 uint64_t CallsiteTotalSamples = CallsiteFS->getTotalSamples();
514 uint64_t Samples) {
570 uint64_t
573 uint64_t Total = 0;
643 uint64_t W = (I == BlockWeights.end() ? 0 : I->second);
659 ErrorOr<uint64_t> SampleProfileLoader::getInstWeight(const Instruction &Inst) {
686 ErrorOr<uint64_t> R = FS->findSamplesAt(LineOffset, Discriminator);
721 ErrorOr<uint64_t> SampleProfileLoader::getBlockWeight(const BasicBlock *BB) {
722 uint64_t Max = 0;
725 const ErrorOr<uint64_t> &R = getInstWeight(I);
744 ErrorOr<uint64_t> Weight = getBlockWeight(&BB);
794 const Instruction &Inst, uint64_t &Sum) const {
943 uint64_t Sum;
968 uint64_t C = FS->getEntrySamples();
1045 uint64_t Weight = BlockWeights[EC];
1143 uint64_t SampleProfileLoader::visitEdge(Edge E, unsigned *NumUnknownEdges,
1181 uint64_t TotalWeight = 0;
1233 uint64_t &BBWeight = BlockWeights[EC];
1290 uint64_t &BBWeight = BlockWeights[BB];
1444 uint64_t Sum;
1473 uint64_t Weight = EdgeWeights[E];
1495 uint64_t TempWeight;
1652 uint64_t Used = CoverageTracker.getTotalUsedSamples();
1653 uint64_t Total = CoverageTracker.countBodySamples(Samples, PSI);
1777 uint64_t initialEntryCount = -1;
lib/Transforms/IPO/SyntheticCountsPropagation.cpp 43 using Scaled64 = ScaledNumber<uint64_t>;
66 initializeCounts(Module &M, function_ref<void(Function *, uint64_t)> SetCount) {
76 uint64_t InitialCount = InitialSyntheticCount;
142 Entry.second.template toInt<uint64_t>(), Function::PCT_Synthetic));
lib/Transforms/IPO/WholeProgramDevirt.cpp 138 uint64_t
140 bool IsAfter, uint64_t Size) {
142 uint64_t MinByte = 0;
174 uint64_t Offset = IsAfter ? MinByte - Target.minAfterBytes()
213 MutableArrayRef<VirtualCallTarget> Targets, uint64_t AllocBefore,
214 unsigned BitWidth, int64_t &OffsetByte, uint64_t &OffsetBit) {
230 MutableArrayRef<VirtualCallTarget> Targets, uint64_t AllocAfter,
231 unsigned BitWidth, int64_t &OffsetByte, uint64_t &OffsetBit) {
257 uint64_t ByteOffset;
267 DenseMapInfo<uint64_t>::getEmptyKey()};
271 DenseMapInfo<uint64_t>::getTombstoneKey()};
275 DenseMapInfo<uint64_t>::getHashValue(I.ByteOffset);
286 DenseMapInfo<uint64_t>::getEmptyKey()};
290 DenseMapInfo<uint64_t>::getTombstoneKey()};
294 DenseMapInfo<uint64_t>::getHashValue(I.ByteOffset);
413 std::map<std::vector<uint64_t>, CallSiteInfo> ConstCSInfo;
422 std::vector<uint64_t> Args;
498 uint64_t ByteOffset);
515 ArrayRef<uint64_t> Args);
518 uint64_t TheRetVal);
525 std::string getGlobalName(VTableSlot Slot, ArrayRef<uint64_t> Args,
533 void exportGlobal(VTableSlot Slot, ArrayRef<uint64_t> Args, StringRef Name,
535 void exportConstant(VTableSlot Slot, ArrayRef<uint64_t> Args, StringRef Name,
540 Constant *importGlobal(VTableSlot Slot, ArrayRef<uint64_t> Args,
542 Constant *importConstant(VTableSlot Slot, ArrayRef<uint64_t> Args,
554 VTableSlot Slot, ArrayRef<uint64_t> Args);
602 uint64_t ByteOffset);
802 uint64_t Offset =
814 const std::set<TypeMemberInfo> &TypeMemberInfos, uint64_t ByteOffset) {
842 uint64_t ByteOffset) {
1163 ArrayRef<uint64_t> Args) {
1192 uint64_t TheRetVal) {
1205 uint64_t TheRetVal = TargetsForSlot[0].RetVal;
1223 ArrayRef<uint64_t> Args,
1228 for (uint64_t Arg : Args)
1240 void DevirtModule::exportGlobal(VTableSlot Slot, ArrayRef<uint64_t> Args,
1247 void DevirtModule::exportConstant(VTableSlot Slot, ArrayRef<uint64_t> Args,
1260 Constant *DevirtModule::importGlobal(VTableSlot Slot, ArrayRef<uint64_t> Args,
1269 Constant *DevirtModule::importConstant(VTableSlot Slot, ArrayRef<uint64_t> Args,
1322 VTableSlot Slot, ArrayRef<uint64_t> Args) {
1437 uint64_t AllocBefore =
1439 uint64_t AllocAfter =
1444 uint64_t TotalPaddingBefore = 0, TotalPaddingAfter = 0;
1460 uint64_t OffsetBit;
lib/Transforms/InstCombine/InstCombineCalls.cpp 143 uint64_t Size = MemOpLength->getLimitedValue();
249 const uint64_t Len = LenC->getLimitedValue();
271 uint64_t Fill = FillC->getZExtValue()*0x0101010101010101ULL;
2416 uint64_t Shift = C->getZExtValue();
2417 uint64_t Length = (Shift >> 8) & 0xff;
2425 uint64_t Result = InC->getZExtValue() >> Shift;
2428 Result &= maskTrailingOnes<uint64_t>(Length);
2440 uint64_t Index = C->getZExtValue() & 0xff;
2448 uint64_t Result = InC->getZExtValue();
2449 Result &= maskTrailingOnes<uint64_t>(Index);
4248 uint64_t Len = GetStringLength(Call.getOperand(0));
4645 uint64_t W;
lib/Transforms/InstCombine/InstCombineCasts.cpp 31 uint64_t &Offset) {
104 uint64_t AllocElTySize = DL.getTypeAllocSize(AllocElTy);
105 uint64_t CastElTySize = DL.getTypeAllocSize(CastElTy);
110 uint64_t AllocElTyStoreSize = DL.getTypeStoreSize(AllocElTy);
111 uint64_t CastElTyStoreSize = DL.getTypeStoreSize(CastElTy);
117 uint64_t ArrayOffset;
136 if (uint64_t Offset = (AllocElTySize*ArrayOffset)/CastElTySize) {
1037 uint64_t ShiftAmt = Amt->getZExtValue();
lib/Transforms/InstCombine/InstCombineCompares.cpp 153 uint64_t ArrayElementCount = Init->getType()->getArrayNumElements();
178 uint64_t IdxVal = Idx->getZExtValue();
219 uint64_t MagicBitvector = 0;
445 uint64_t Size = DL.getTypeAllocSize(GTI.getIndexedType());
461 uint64_t VariableScale = DL.getTypeAllocSize(GTI.getIndexedType());
475 uint64_t Size = DL.getTypeAllocSize(GTI.getIndexedType());
4240 uint64_t ShAmt = 0;
lib/Transforms/InstCombine/InstCombineInternal.h 789 uint64_t MaxArraySizeForCombine = 0;
lib/Transforms/InstCombine/InstCombineLoadStoreAlloca.cpp 175 uint64_t AllocaSize = DL.getTypeStoreSize(AI->getAllocatedType());
727 uint64_t Offset = 0;
728 for (uint64_t i = 0; i < NumElements; i++) {
757 static bool isObjectSizeLessThanOrEq(Value *V, uint64_t MaxSize,
798 uint64_t TypeSize = DL.getTypeAllocSize(AI->getAllocatedType());
810 uint64_t InitSize = DL.getTypeAllocSize(GV->getValueType());
872 uint64_t TyAllocSize = DL.getTypeAllocSize(AllocTy);
1258 uint64_t Offset = 0;
1259 for (uint64_t i = 0; i < NumElements; i++) {
lib/Transforms/InstCombine/InstCombineSimplifyDemanded.cpp 475 uint64_t ShiftAmt = SA->getLimitedValue(BitWidth-1);
499 uint64_t ShiftAmt = SA->getLimitedValue(BitWidth-1);
699 uint64_t ShiftAmt = SA->urem(BitWidth);
lib/Transforms/InstCombine/InstCombineVectorOps.cpp 166 uint64_t ExtIndexC;
187 uint64_t InsIndexC;
823 uint64_t IdxC;
858 uint64_t IdxC;
939 uint64_t InsEltIndex;
987 uint64_t InsertIdx[2];
1000 for (uint64_t I : InsertIdx) {
1051 uint64_t InsertedIdx, ExtractedIdx;
1530 uint64_t IndexC;
lib/Transforms/InstCombine/InstructionCombining.cpp 1136 uint64_t EltSize = DL.getTypeAllocSize(AT->getElementType());
1917 uint64_t TyAllocSize = DL.getTypeAllocSize(GEPEltType);
1920 uint64_t C;
2058 uint64_t ResSize = DL.getTypeAllocSize(GEPEltType);
2059 uint64_t SrcSize = DL.getTypeAllocSize(StrippedPtrEltTy);
2063 uint64_t Scale = SrcSize / ResSize;
2098 uint64_t ResSize = DL.getTypeAllocSize(GEPEltType);
2099 uint64_t ArrayEltSize =
2104 uint64_t Scale = ArrayEltSize / ResSize;
lib/Transforms/Instrumentation/AddressSanitizer.cpp 92 static const uint64_t kDefaultShadowScale = 3;
93 static const uint64_t kDefaultShadowOffset32 = 1ULL << 29;
94 static const uint64_t kDefaultShadowOffset64 = 1ULL << 44;
95 static const uint64_t kDynamicShadowSentinel =
96 std::numeric_limits<uint64_t>::max();
97 static const uint64_t kSmallX86_64ShadowOffsetBase = 0x7FFFFFFF; // < 2G.
98 static const uint64_t kSmallX86_64ShadowOffsetAlignMask = ~0xFFFULL;
99 static const uint64_t kLinuxKasan_ShadowOffset64 = 0xdffffc0000000000;
100 static const uint64_t kPPC64_ShadowOffset64 = 1ULL << 44;
101 static const uint64_t kSystemZ_ShadowOffset64 = 1ULL << 52;
102 static const uint64_t kMIPS32_ShadowOffset32 = 0x0aaa0000;
103 static const uint64_t kMIPS64_ShadowOffset64 = 1ULL << 37;
104 static const uint64_t kAArch64_ShadowOffset64 = 1ULL << 36;
105 static const uint64_t kFreeBSD_ShadowOffset32 = 1ULL << 30;
106 static const uint64_t kFreeBSD_ShadowOffset64 = 1ULL << 46;
107 static const uint64_t kNetBSD_ShadowOffset32 = 1ULL << 30;
108 static const uint64_t kNetBSD_ShadowOffset64 = 1ULL << 46;
109 static const uint64_t kNetBSDKasan_ShadowOffset64 = 0xdfff900000000000;
110 static const uint64_t kPS4CPU_ShadowOffset64 = 1ULL << 40;
111 static const uint64_t kWindowsShadowOffset32 = 3ULL << 28;
112 static const uint64_t kEmscriptenShadowOffset = 0;
114 static const uint64_t kMyriadShadowScale = 5;
115 static const uint64_t kMyriadMemoryOffset32 = 0x80000000ULL;
116 static const uint64_t kMyriadMemorySize32 = 0x20000000ULL;
117 static const uint64_t kMyriadTagShift = 29;
118 static const uint64_t kMyriadDDRTag = 4;
119 static const uint64_t kMyriadCacheBitMask32 = 0x40000000ULL;
122 static const uint64_t kWindowsShadowOffset64 = kDynamicShadowSentinel;
131 static const uint64_t kAsanCtorAndDtorPriority = 1;
133 static const uint64_t kAsanEmscriptenCtorAndDtorPriority = 50;
329 static cl::opt<uint64_t>
418 uint64_t Offset;
469 uint64_t ShadowOffset = (kMyriadMemoryOffset32 + kMyriadMemorySize32 -
540 static uint64_t GetCtorAndDtorPriority(Triple &TargetTriple) {
599 uint64_t getAllocaSizeInBytes(const AllocaInst &AI) const {
600 uint64_t ArraySize = 1;
607 uint64_t SizeInBytes =
620 uint64_t *TypeSize, unsigned *Alignment,
654 uint64_t TypeSize) const;
893 uint64_t Size;
1056 const uint64_t SizeValue = Size->getValue().getLimitedValue();
1103 void poisonAlloca(Value *V, uint64_t Size, IRBuilder<> &IRB, bool DoPoison);
1345 uint64_t *TypeSize,
1516 uint64_t ElemTypeSize = DL.getTypeStoreSizeInBits(VTy->getScalarType());
1552 uint64_t TypeSize = 0;
2255 static const uint64_t kMaxGlobalRedzone = 1 << 18;
2269 uint64_t SizeInBytes = DL.getTypeAllocSize(Ty);
2270 uint64_t MinRZ = MinRedzoneSizeForGlobal();
2273 uint64_t RZ = std::max(
2275 uint64_t RightRedzoneSize = RZ;
2448 const uint64_t Priority = GetCtorAndDtorPriority(TargetTriple);
2650 uint64_t TypeSize;
2799 std::min<size_t>(sizeof(uint64_t), ASan.LongSize / 8);
2825 uint64_t Val = 0;
2881 static int StackMallocSizeClass(uint64_t LocalStackSize) {
2883 uint64_t MaxSize = kMinStackMallocSize;
2912 uint64_t AllocSize = DL.getTypeAllocSize(Ty);
3055 uint64_t LocalStackSize = L.FrameSize;
3242 void FunctionStackPoisoner::poisonAlloca(Value *V, uint64_t Size,
3264 const uint64_t AllocaRedzoneMask = kAllocaRzSize - 1;
3326 Value *Addr, uint64_t TypeSize) const {
3329 uint64_t Size = SizeOffset.first.getZExtValue();
lib/Transforms/Instrumentation/BoundsChecking.cpp 60 uint64_t NeededSize = DL.getTypeStoreSize(InstVal->getType());
lib/Transforms/Instrumentation/CFGMST.h 102 uint64_t EntryWeight = (BFI != nullptr ? BFI->getEntryFreq() : 2);
105 uint64_t MaxEntryOutWeight = 0, MaxExitOutWeight = 0, MaxExitInWeight = 0;
122 uint64_t BBWeight =
124 uint64_t Weight = 2;
129 uint64_t scaleFactor = BBWeight;
181 uint64_t EntryInWeight = EntryWeight;
253 Edge &addEdge(const BasicBlock *Src, const BasicBlock *Dest, uint64_t W) {
lib/Transforms/Instrumentation/CGProfile.cpp 27 MapVector<std::pair<Function *, Function *>, uint64_t> Counts;
35 uint64_t &Count = Counts[std::make_pair(F, CalledF)];
48 Optional<uint64_t> BBCount = BFI.getBlockProfileCount(&BB);
58 uint64_t TotalC;
81 MapVector<std::pair<Function *, Function *>, uint64_t> &Counts) const {
lib/Transforms/Instrumentation/ControlHeightReduction.cpp 152 uint64_t NumBranches; // The original number of conditional branches /
154 uint64_t NumBranchesDelta; // The decrease of the number of conditional
156 uint64_t WeightedNumBranchesDelta; // NumBranchesDelta weighted by the profile
387 uint64_t ProfileCount);
619 uint64_t TrueWt = TrueWeight->getValue().getZExtValue();
620 uint64_t FalseWt = FalseWeight->getValue().getZExtValue();
621 uint64_t SumWt = TrueWt + FalseWt;
1703 Optional<uint64_t> ProfileCount = BFI.getBlockProfileCount(EntryBlock);
1844 uint64_t ProfileCount) {
1847 uint64_t NumCHRedBranches = 0;
lib/Transforms/Instrumentation/DataFlowSanitizer.cpp 423 Value *loadShadow(Value *ShadowAddr, uint64_t Size, uint64_t Align,
423 Value *loadShadow(Value *ShadowAddr, uint64_t Size, uint64_t Align,
425 void storeShadow(Value *Addr, uint64_t Size, uint64_t Align, Value *Shadow,
425 void storeShadow(Value *Addr, uint64_t Size, uint64_t Align, Value *Shadow,
1183 Value *DFSanFunction::loadShadow(Value *Addr, uint64_t Size, uint64_t Align,
1183 Value *DFSanFunction::loadShadow(Value *Addr, uint64_t Size, uint64_t Align,
1193 uint64_t ShadowAlign = Align * DFS.ShadowWidth / 8;
1270 for (uint64_t Ofs = 64 / DFS.ShadowWidth; Ofs != Size;
1301 uint64_t Size = DL.getTypeStoreSize(LI.getType());
1307 uint64_t Align;
1327 void DFSanFunction::storeShadow(Value *Addr, uint64_t Size, uint64_t Align,
1327 void DFSanFunction::storeShadow(Value *Addr, uint64_t Size, uint64_t Align,
1338 uint64_t ShadowAlign = Align * DFS.ShadowWidth / 8;
1351 uint64_t Offset = 0;
1381 uint64_t Size = DL.getTypeStoreSize(SI.getValueOperand()->getType());
1385 uint64_t Align;
lib/Transforms/Instrumentation/HWAddressSanitizer.cpp 69 static const uint64_t kDynamicShadowSentinel =
70 std::numeric_limits<uint64_t>::max();
137 static cl::opt<uint64_t>
215 uint64_t *TypeSize, unsigned *Alignment,
259 uint64_t Offset;
508 uint64_t *TypeSize,
723 uint64_t TypeSize = 0;
762 static uint64_t getAllocaSizeInBytes(const AllocaInst &AI) {
763 uint64_t ArraySize = 1;
770 uint64_t SizeInBytes = AI.getModule()->getDataLayout().getTypeAllocSize(Ty);
1140 uint64_t TypeSize;
1184 uint64_t Size = getAllocaSizeInBytes(*AI);
1185 uint64_t AlignedSize = alignTo(Size, Mapping.getObjectAlignment());
1191 uint64_t ArraySize =
1249 uint64_t SizeInBytes =
1251 uint64_t NewSize = alignTo(SizeInBytes, Mapping.getObjectAlignment());
1287 const uint64_t MaxDescriptorSize = 0xfffff0;
1288 for (uint64_t DescriptorPos = 0; DescriptorPos < SizeInBytes;
lib/Transforms/Instrumentation/IndirectCallPromotion.cpp 185 uint64_t Count;
187 PromotionCandidate(Function *F, uint64_t C) : TargetFunction(F), Count(C) {}
197 uint64_t TotalCount, uint32_t NumCandidates);
203 uint64_t &TotalCount);
222 uint64_t TotalCount, uint32_t NumCandidates) {
235 uint64_t Count = ValueDataRef[I].Count;
237 uint64_t Target = ValueDataRef[I].Value;
298 uint64_t Count, uint64_t TotalCount,
298 uint64_t Count, uint64_t TotalCount,
302 uint64_t ElseCount = TotalCount - Count;
303 uint64_t MaxCount = (Count >= ElseCount ? Count : ElseCount);
304 uint64_t Scale = calculateCountScale(MaxCount);
334 uint64_t &TotalCount) {
338 uint64_t Count = C.Count;
356 uint64_t TotalCount;
lib/Transforms/Instrumentation/InstrProfiling.cpp 585 uint64_t ValueKind = Ind->getValueKind()->getZExtValue();
586 uint64_t Index = Ind->getIndex()->getZExtValue();
603 uint64_t ValueKind = Ind->getValueKind()->getZExtValue();
604 uint64_t Index = Ind->getIndex()->getZExtValue();
639 uint64_t Index = Inc->getIndex()->getZExtValue();
682 uint64_t FuncHash = Inc->getHash()->getZExtValue();
776 uint64_t NumCounters = Inc->getNumCounters()->getZExtValue();
797 uint64_t NS = 0;
882 uint64_t NumCounters = TotalNS * NumCountersPerValueSite;
lib/Transforms/Instrumentation/MemorySanitizer.cpp 315 static cl::opt<uint64_t> ClAndMask("msan-and-mask",
319 static cl::opt<uint64_t> ClXorMask("msan-xor-mask",
323 static cl::opt<uint64_t> ClShadowBase("msan-shadow-base",
327 static cl::opt<uint64_t> ClOriginBase("msan-origin-base",
341 uint64_t AndMask;
342 uint64_t XorMask;
343 uint64_t ShadowBase;
344 uint64_t OriginBase;
1389 uint64_t AndMask = MS.MapParams->AndMask;
1394 uint64_t XorMask = MS.MapParams->XorMask;
1412 uint64_t ShadowBase = MS.MapParams->ShadowBase;
1423 uint64_t OriginBase = MS.MapParams->OriginBase;
1428 uint64_t Mask = kMinOriginAlignment - 1;
3486 uint64_t TypeSize = DL.getTypeAllocSize(I.getAllocatedType());
3807 uint64_t ArgSize = DL.getTypeAllocSize(RealTy);
3853 uint64_t ArgSize = DL.getTypeAllocSize(A->getType());
4026 uint64_t ArgSize = DL.getTypeAllocSize(A->getType());
4197 uint64_t ArgSize = DL.getTypeAllocSize(A->getType());
4421 uint64_t ArgSize = DL.getTypeAllocSize(RealTy);
4422 uint64_t ArgAlign = CS.getParamAlignment(ArgNo);
4442 uint64_t ArgSize = DL.getTypeAllocSize(A->getType());
4443 uint64_t ArgAlign = 8;
lib/Transforms/Instrumentation/PGOInstrumentation.cpp 314 uint64_t FuncHash = 0;
330 GlobalVariable *FNV, uint64_t FHash) {
483 uint64_t Weight;
488 PGOEdge(const BasicBlock *Src, const BasicBlock *Dest, uint64_t W = 1)
541 uint64_t FunctionHash = 0;
876 uint64_t CountValue = 0;
878 PGOUseEdge(const BasicBlock *Src, const BasicBlock *Dest, uint64_t W = 1)
882 void setEdgeCount(uint64_t Value) {
900 uint64_t CountValue = 0;
909 UseBBInfo(unsigned IX, uint64_t C)
913 void setBBInfoCount(uint64_t Value) {
941 static uint64_t sumEdgeCount(const ArrayRef<PGOUseEdge *> Edges) {
942 uint64_t Total = 0;
988 uint64_t getFuncHash() const { return FuncInfo.FunctionHash; }
1009 uint64_t getProgramMaxCount() const { return ProgramMaxCount; }
1021 uint64_t ProgramMaxCount;
1039 bool setInstrumentedCounts(const std::vector<uint64_t> &CountFromProfile);
1043 void setEdgeCount(DirectEdges &Edges, uint64_t Value);
1051 void markFunctionAttributes(uint64_t EntryCount, uint64_t MaxCount) {
1051 void markFunctionAttributes(uint64_t EntryCount, uint64_t MaxCount) {
1064 const std::vector<uint64_t> &CountFromProfile) {
1078 uint64_t CountValue = CountFromProfile[I++];
1124 void PGOUseFunc::setEdgeCount(DirectEdges &Edges, uint64_t Value) {
1179 std::vector<uint64_t> &CountFromProfile = ProfileRecord.Counts;
1183 uint64_t ValueSum = 0;
1237 uint64_t Total = 0;
1238 uint64_t OutSum = sumEdgeCount(Count->OutEdges);
1248 uint64_t Total = 0;
1249 uint64_t InSum = sumEdgeCount(Count->InEdges);
1269 uint64_t FuncEntryCount = getBBInfo(&*F.begin()).CountValue;
1271 uint64_t FuncMaxCount = FuncEntryCount;
1306 SmallVector<uint64_t, 2> EdgeCounts(Size, 0);
1307 uint64_t MaxCount = 0;
1315 uint64_t EdgeCount = E->CountValue;
1362 std::vector<uint64_t> &CountFromProfile = UseFunc->getProfileRecord().Counts;
1365 uint64_t SCounts[2];
1368 uint64_t TotalCount = 0;
1374 uint64_t MaxCount = std::max(SCounts[0], SCounts[1]);
1697 ArrayRef<uint64_t> EdgeCounts,
1698 uint64_t MaxCount) {
1701 uint64_t Scale = calculateCountScale(MaxCount);
1719 uint64_t WSum =
1722 uint64_t TotalCount =
1744 void setIrrLoopHeaderMetadata(Module *M, Instruction *TI, uint64_t Count) {
1803 uint64_t TC, FC;
lib/Transforms/Instrumentation/PGOMemOPSizeOpt.cpp 213 static bool isProfitable(uint64_t Count, uint64_t TotalCount) {
213 static bool isProfitable(uint64_t Count, uint64_t TotalCount) {
222 static inline uint64_t getScaledCount(uint64_t Count, uint64_t Num,
222 static inline uint64_t getScaledCount(uint64_t Count, uint64_t Num,
222 static inline uint64_t getScaledCount(uint64_t Count, uint64_t Num,
223 uint64_t Denom) {
227 uint64_t ScaleCount = SaturatingMultiply(Count, Num, &Overflowed);
237 uint64_t TotalCount;
242 uint64_t ActualCount = TotalCount;
243 uint64_t SavedTotalCount = TotalCount;
271 uint64_t RemainCount = TotalCount;
272 uint64_t SavedRemainCount = SavedTotalCount;
273 SmallVector<uint64_t, 16> SizeIds;
274 SmallVector<uint64_t, 16> CaseCounts;
275 uint64_t MaxCount = 0;
281 uint64_t C = VD.Count;
315 uint64_t SumForOpt = TotalCount - RemainCount;
372 for (uint64_t SizeId : SizeIds) {
lib/Transforms/Instrumentation/SanitizerCoverage.cpp 69 static const uint64_t SanCtorAndDtorPriority = 2;
322 ConstantInt::get(IntptrTy, sizeof(uint64_t)));
791 uint64_t TypeSize = DL->getTypeStoreSizeInBits(A1->getType());
821 uint64_t TypeSize = DL->getTypeStoreSizeInBits(A0->getType());
lib/Transforms/Scalar/AlignmentFromAssumptions.cpp 114 uint64_t DiffUnitsAbs = std::abs(DiffUnits);
248 uint64_t Alignment;
lib/Transforms/Scalar/ConstantHoisting.cpp 515 uint64_t LimVal1 = V1.getLimitedValue();
516 uint64_t LimVal2 = V2.getLimitedValue();
521 uint64_t Diff = LimVal1 - LimVal2;
lib/Transforms/Scalar/DeadStoreElimination.cpp 207 uint64_t Len = cast<ConstantInt>(II->getArgOperand(0))->getZExtValue();
311 static uint64_t getPointerSize(const Value *V, const DataLayout &DL,
314 uint64_t Size;
356 const uint64_t LaterSize = Later.Size.getValue();
357 const uint64_t EarlierSize = Earlier.Size.getValue();
382 uint64_t ObjectSize = getPointerSize(UO2, DL, TLI, F);
lib/Transforms/Scalar/IndVarSimplify.cpp 290 uint64_t UIntVal;
901 uint64_t Width = SE->getTypeSizeInBits(Ty);
909 uint64_t NarrowIVWidth = SE->getTypeSizeInBits(WI.NarrowIV->getType());
2250 uint64_t BCWidth = SE->getTypeSizeInBits(BECount->getType());
2275 uint64_t PhiWidth = SE->getTypeSizeInBits(AR->getType());
lib/Transforms/Scalar/JumpThreading.cpp 216 uint64_t TrueWeight, FalseWeight;
268 uint64_t PredTrueWeight, PredFalseWeight;
2183 SmallVector<uint64_t, 4> BBSuccFreq;
2191 uint64_t MaxBBSuccFreq =
2199 for (uint64_t Freq : BBSuccFreq)
lib/Transforms/Scalar/LoopIdiomRecognize.cpp 233 bool recognizeBCmpLoopSCEV(uint64_t BCmpTyBytes, CmpOfLoads &CmpOfLoads,
445 uint64_t Size = DL->getTypeSizeInBits(V->getType());
493 uint64_t SizeInBits = DL->getTypeSizeInBits(StoredVal->getType());
826 uint64_t SizeInBytes = cast<ConstantInt>(MSI->getLength())->getZExtValue();
2033 bool LoopIdiomRecognize::recognizeBCmpLoopSCEV(uint64_t BCmpTyBytes,
2157 uint64_t BCmpTyBits = DL->getTypeSizeInBits(BCmpValTy);
2158 static constexpr uint64_t ByteTyBits = 8;
2173 uint64_t BCmpTyBytes = BCmpTyBits / ByteTyBits;
lib/Transforms/Scalar/LoopRerollPass.cpp 271 void restrictToScale(uint64_t Scale,
449 uint64_t Scale;
lib/Transforms/Scalar/LoopStrengthReduce.cpp 4257 countTrailingZeros<uint64_t>(NewF.BaseOffset))
lib/Transforms/Scalar/LoopUnrollAndJamPass.cpp 144 static uint64_t
lib/Transforms/Scalar/LoopUnrollPass.cpp 721 static uint64_t getUnrolledLoopSize(
lib/Transforms/Scalar/LowerExpectIntrinsic.cpp 75 uint64_t Index = (Case == *SI.case_default()) ? 0 : Case.getCaseIndex() + 1;
271 uint64_t ValueComparedTo = 0;
lib/Transforms/Scalar/MemCpyOptimizer.cpp 589 uint64_t Size = DL.getTypeStoreSize(T);
684 uint64_t Size = DL.getTypeStoreSize(T);
723 Value *cpySrc, uint64_t cpyLen,
758 uint64_t srcSize = DL.getTypeAllocSize(srcAlloca->getAllocatedType()) *
773 uint64_t destSize = DL.getTypeAllocSize(A->getAllocatedType()) *
797 uint64_t destSize = DL.getTypeAllocSize(StructTy);
1263 uint64_t ByValSize = DL.getTypeAllocSize(ByValTy);
lib/Transforms/Scalar/NaryReassociate.cpp 401 uint64_t IndexedSize = DL->getTypeAllocSize(IndexedType);
403 uint64_t ElementSize = DL->getTypeAllocSize(ElementType);
lib/Transforms/Scalar/RewriteStatepointsForGC.cpp 1428 uint64_t StatepointID = StatepointDirectives::DefaultStatepointID;
lib/Transforms/Scalar/SROA.cpp 160 uint64_t BeginOffset = 0;
163 uint64_t EndOffset = 0;
172 Slice(uint64_t BeginOffset, uint64_t EndOffset, Use *U, bool IsSplittable)
172 Slice(uint64_t BeginOffset, uint64_t EndOffset, Use *U, bool IsSplittable)
176 uint64_t beginOffset() const { return BeginOffset; }
177 uint64_t endOffset() const { return EndOffset; }
207 uint64_t RHSOffset) {
210 friend LLVM_ATTRIBUTE_UNUSED bool operator<(uint64_t LHSOffset,
364 uint64_t BeginOffset, EndOffset;
380 uint64_t beginOffset() const { return BeginOffset; }
385 uint64_t endOffset() const { return EndOffset; }
390 uint64_t size() const {
443 uint64_t MaxSplitSliceEndOffset = 0;
653 const uint64_t AllocSize;
657 SmallDenseMap<Instruction *, uint64_t> PHIOrSelectSizes;
673 void insertUse(Instruction &I, const APInt &Offset, uint64_t Size,
687 uint64_t BeginOffset = Offset.getZExtValue();
688 uint64_t EndOffset = BeginOffset + Size;
770 uint64_t Size, bool IsVolatile) {
790 uint64_t Size = DL.getTypeStoreSize(LI.getType());
805 uint64_t Size = DL.getTypeStoreSize(ValOp->getType());
883 uint64_t RawOffset = Offset.getLimitedValue();
884 uint64_t Size = Length ? Length->getLimitedValue() : AllocSize - RawOffset;
935 uint64_t Size = std::min(AllocSize - Offset.getLimitedValue(),
944 Instruction *hasUnsafePHIOrSelectUse(Instruction *Root, uint64_t &Size) {
1021 uint64_t &Size = PHIOrSelectSizes[&I];
1129 uint64_t EndOffset) {
1203 uint64_t APWidth = DL.getIndexTypeSizeInBits(PN.getType());
1223 uint64_t Size = DL.getTypeStoreSize(LI->getType());
1514 uint64_t StructOffset = Offset.getZExtValue();
1683 static unsigned getAdjustedAlignment(Instruction *I, uint64_t Offset,
1812 uint64_t ElementSize,
1815 uint64_t BeginOffset =
1817 uint64_t BeginIndex = BeginOffset / ElementSize;
1821 uint64_t EndOffset =
1823 uint64_t EndIndex = EndOffset / ElementSize;
1828 uint64_t NumElements = EndIndex - BeginIndex;
1970 uint64_t ElementSize = DL.getTypeSizeInBits(VTy->getElementType());
2002 uint64_t AllocBeginOffset,
2006 uint64_t Size = DL.getTypeStoreSize(AllocaTy);
2008 uint64_t RelBegin = S.beginOffset() - AllocBeginOffset;
2009 uint64_t RelEnd = S.endOffset() - AllocBeginOffset;
2090 uint64_t SizeInBits = DL.getTypeSizeInBits(AllocaTy);
2131 IntegerType *Ty, uint64_t Offset,
2137 uint64_t ShAmt = 8 * Offset;
2154 Value *V, uint64_t Offset, const Twine &Name) {
2166 uint64_t ShAmt = 8 * Offset;
2274 const uint64_t NewAllocaBeginOffset, NewAllocaEndOffset;
2294 uint64_t ElementSize;
2298 uint64_t BeginOffset = 0;
2299 uint64_t EndOffset = 0;
2303 uint64_t NewBeginOffset, NewEndOffset;
2305 uint64_t SliceSize;
2322 uint64_t NewAllocaBeginOffset,
2323 uint64_t NewAllocaEndOffset, bool IsIntegerPromotable,
2396 uint64_t Offset = NewBeginOffset - NewAllocaBeginOffset;
2444 unsigned getIndex(uint64_t Offset) {
2446 uint64_t RelOffset = Offset - NewAllocaBeginOffset;
2476 uint64_t Offset = NewBeginOffset - NewAllocaBeginOffset;
2634 uint64_t Offset = BeginOffset - NewAllocaBeginOffset;
2841 uint64_t Size = NewEndOffset - NewBeginOffset;
2849 uint64_t Offset = NewBeginOffset - NewAllocaBeginOffset;
2998 uint64_t Size = NewEndOffset - NewBeginOffset;
3039 uint64_t Offset = NewBeginOffset - NewAllocaBeginOffset;
3057 uint64_t Offset = NewBeginOffset - NewAllocaBeginOffset;
3471 uint64_t AllocSize = DL.getTypeAllocSize(Ty);
3472 uint64_t TypeSize = DL.getTypeSizeInBits(Ty);
3505 static Type *getTypePartition(const DataLayout &DL, Type *Ty, uint64_t Offset,
3506 uint64_t Size) {
3515 uint64_t ElementSize = DL.getTypeAllocSize(ElementTy);
3516 uint64_t NumSkippedElements = Offset / ElementSize;
3534 uint64_t NumElements = Size / ElementSize;
3547 uint64_t EndOffset = Offset + Size;
3555 uint64_t ElementSize = DL.getTypeAllocSize(ElementTy);
3644 std::vector<uint64_t> Splits;
3840 uint64_t LoadSize = Ty->getBitWidth() / 8;
3846 uint64_t BaseOffset = Offsets.S->beginOffset();
3855 uint64_t PartOffset = 0, PartSize = Offsets.Splits.front();
3914 uint64_t PartOffset = Idx == 0 ? 0 : Offsets.Splits[Idx - 1];
3963 uint64_t StoreSize = Ty->getBitWidth() / 8;
3969 uint64_t BaseOffset = Offsets.S->beginOffset();
3989 uint64_t PartOffset = 0, PartSize = Offsets.Splits.front();
4274 uint64_t AllocaSize = DL.getTypeAllocSize(AI.getAllocatedType());
4275 const uint64_t MaxBitVectorSize = 1024;
4325 uint64_t Offset;
4326 uint64_t Size;
4327 Fragment(AllocaInst *AI, uint64_t O, uint64_t S)
4327 Fragment(AllocaInst *AI, uint64_t O, uint64_t S)
4337 uint64_t SizeOfByte = 8;
4338 uint64_t AllocaSize = DL.getTypeSizeInBits(NewAI->getAllocatedType());
4340 uint64_t Size = std::min(AllocaSize, P.size() * SizeOfByte);
4358 uint64_t AllocaSize = DL.getTypeSizeInBits(AI.getAllocatedType());
4367 uint64_t Offset = ExprFragment ? ExprFragment->OffsetInBits : 0;
4368 uint64_t Start = Offset + Fragment.Offset;
4369 uint64_t Size = Fragment.Size;
4371 uint64_t AbsEnd =
lib/Transforms/Scalar/Scalarizer.cpp 157 uint64_t getElemAlign(unsigned I) {
168 uint64_t VecAlign = 0;
171 uint64_t ElemSize = 0;
lib/Transforms/Scalar/SeparateConstOffsetFromGEP.cpp 801 uint64_t Field = cast<ConstantInt>(GEP->getOperand(I))->getZExtValue();
1305 uint64_t ObjectSize;
lib/Transforms/Scalar/SimpleLoopUnswitch.cpp 754 uint64_t SW = *DefaultCaseWeight;
lib/Transforms/Scalar/StraightLineStrengthReduce.cpp 205 Value *S, uint64_t ElementSize,
220 void factorArrayIndex(Value *ArrayIdx, const SCEV *Base, uint64_t ElementSize,
470 const SCEV *B, ConstantInt *Idx, Value *S, uint64_t ElementSize,
484 uint64_t ElementSize,
539 uint64_t ElementSize = DL->getTypeAllocSize(GTI.getIndexedType());
lib/Transforms/Utils/BypassSlowDivision.cpp 340 uint64_t BitMask = ~BypassType->getBitMask();
lib/Transforms/Utils/CodeExtractor.cpp 1357 uint64_t ExitFreq = ExitWeights[TI->getSuccessor(i)].getFrequency();
lib/Transforms/Utils/FunctionComparator.cpp 54 int FunctionComparator::cmpNumbers(uint64_t L, uint64_t R) const {
54 int FunctionComparator::cmpNumbers(uint64_t L, uint64_t R) const {
303 uint64_t NumElementsL = cast<ArrayType>(TyL)->getNumElements();
304 uint64_t NumElementsR = cast<ArrayType>(TyR)->getNumElements();
307 for (uint64_t i = 0; i < NumElementsL; ++i) {
335 for (uint64_t i = 0; i < NumElementsL; ++i) {
398 uint64_t LNumber = GlobalNumbers->getNumber(L);
399 uint64_t RNumber = GlobalNumbers->getNumber(R);
894 uint64_t Hash;
900 void add(uint64_t V) {
905 uint64_t getHash() { return Hash; }
lib/Transforms/Utils/InlineFunction.cpp 1461 uint64_t Freq = CalleeBFI->getBlockFreq(OrigBB).getFrequency();
1466 uint64_t NewFreq = CallerBFI->getBlockFreq(ClonedBB).getFrequency();
1501 uint64_t priorEntryCount = CalleeCount.getCount();
1502 uint64_t newEntryCount;
1515 uint64_t cloneEntryCount = priorEntryCount - newEntryCount;
1975 uint64_t AllocaTypeSize = DL.getTypeAllocSize(AllocaType);
1976 uint64_t AllocaArraySize = AIArraySize->getLimitedValue();
1984 if (AllocaArraySize != std::numeric_limits<uint64_t>::max() &&
1985 std::numeric_limits<uint64_t>::max() / AllocaArraySize >=
lib/Transforms/Utils/Local.cpp 1258 uint64_t ValueSize = DL.getTypeAllocSizeInBits(ValTy);
1658 SmallVector<uint64_t, 8> Ops;
1666 SmallVector<uint64_t, 8> Ops(Opcodes);
1691 uint64_t Val = ConstInt->getSExtValue();
1845 uint64_t FromBits = FromTy->getPrimitiveSizeInBits();
1846 uint64_t ToBits = ToTy->getPrimitiveSizeInBits();
1866 SmallVector<uint64_t, 8> Ops({dwarf::DW_OP_LLVM_convert, ToBits, TK,
lib/Transforms/Utils/LoopUnrollPeel.cpp 401 uint64_t ExitWeight,
402 uint64_t &FallThroughWeight) {
425 uint64_t &ExitWeight,
426 uint64_t &FallThroughWeight) {
427 uint64_t TrueWeight, FalseWeight;
442 uint64_t ExitWeight,
443 uint64_t FallThroughWeight) {
687 uint64_t ExitWeight = 0, FallThroughWeight = 0;
lib/Transforms/Utils/LoopUtils.cpp 705 uint64_t TrueVal, FalseVal;
lib/Transforms/Utils/LowerMemIntrinsics.cpp 44 uint64_t LoopEndCount = CopyLen->getZExtValue() / LoopOpSize;
90 uint64_t BytesCopied = LoopEndCount * LoopOpSize;
91 uint64_t RemainingBytes = CopyLen->getZExtValue() - BytesCopied;
107 uint64_t GepIndex = BytesCopied / OperandSize;
lib/Transforms/Utils/LowerSwitch.cpp 382 uint64_t Range = Leaf.High->getSExtValue() -
384 for (uint64_t j = 0; j < Range; ++j) {
lib/Transforms/Utils/MisExpect.cpp 74 uint64_t ProfCount, uint64_t TotalCount) {
74 uint64_t ProfCount, uint64_t TotalCount) {
120 const uint64_t Index = IndexCint->getZExtValue();
121 const uint64_t LikelyBranchWeight = LikelyCInt->getZExtValue();
122 const uint64_t UnlikelyBranchWeight = UnlikelyCInt->getZExtValue();
123 const uint64_t ProfileCount = Weights[Index];
124 const uint64_t CaseTotal = std::accumulate(
126 const uint64_t NumUnlikelyTargets = Weights.size() - 1;
128 const uint64_t TotalBranchWeight =
133 uint64_t ScaledThreshold = LikelyThreshold.scale(CaseTotal);
lib/Transforms/Utils/SimplifyCFG.cpp 969 SmallVectorImpl<uint64_t> &Weights) {
989 static void FitWeights(MutableArrayRef<uint64_t> Weights) {
990 uint64_t Max = *std::max_element(Weights.begin(), Weights.end());
993 for (uint64_t &I : Weights)
1039 SmallVector<uint64_t, 8> Weights;
1054 SmallVector<uint64_t, 8> SuccWeights;
1094 uint64_t ValidTotalSuccWeight = 0;
1122 std::map<ConstantInt *, uint64_t> WeightsForHandled;
2551 uint64_t &PredTrueWeight,
2552 uint64_t &PredFalseWeight,
2553 uint64_t &SuccTrueWeight,
2554 uint64_t &SuccFalseWeight) {
2765 uint64_t PredTrueWeight, PredFalseWeight, SuccTrueWeight, SuccFalseWeight;
2769 SmallVector<uint64_t, 8> NewWeights;
3385 uint64_t PredTrueWeight, PredFalseWeight, SuccTrueWeight, SuccFalseWeight;
3386 uint64_t PredCommon, PredOther, SuccCommon, SuccOther;
3398 uint64_t NewWeights[2] = {PredCommon * (SuccCommon + SuccOther) +
3429 uint64_t PredCommon = PBIOp ? PredFalseWeight : PredTrueWeight;
3430 uint64_t PredOther = PBIOp ? PredTrueWeight : PredFalseWeight;
3431 uint64_t SuccCommon = BIOp ? SuccFalseWeight : SuccTrueWeight;
3432 uint64_t SuccOther = BIOp ? SuccTrueWeight : SuccFalseWeight;
3435 uint64_t NewWeights[2] = {PredCommon * (SuccCommon + SuccOther),
3535 SmallVector<uint64_t, 8> Weights;
4408 SmallVector<uint64_t, 8> Weights;
4411 uint64_t TrueWeight = 0;
4412 uint64_t FalseWeight = 0;
4922 Module &M, uint64_t TableSize, ConstantInt *Offset,
4932 static bool WouldFitInRegister(const DataLayout &DL, uint64_t TableSize,
4976 Module &M, uint64_t TableSize, ConstantInt *Offset,
4994 uint64_t Idx = (CaseVal->getValue() - Offset->getValue()).getLimitedValue();
5006 for (uint64_t I = 0; I < TableSize; ++I) {
5030 for (uint64_t I = 0; I < TableSize; ++I) {
5063 for (uint64_t I = TableSize; I > 0; --I) {
5129 uint64_t TableSize =
5148 uint64_t TableSize,
5165 ShouldBuildLookupTable(SwitchInst *SI, uint64_t TableSize,
5360 uint64_t NumResults = ResultLists[PHIs[0]].size();
5362 uint64_t TableSize = RangeSpread.getLimitedValue() + 1;
5407 uint64_t MaxTableSize = CaseSize > 63 ? UINT64_MAX : 1ULL << CaseSize;
5444 uint64_t TableSizePowOf2 = NextPowerOf2(std::max(7ULL, TableSize - 1ULL));
5450 uint64_t Idx = (ResultList[I].first->getValue() - MinCaseVal->getValue())
5533 uint64_t Diff = (uint64_t)Values.back() - (uint64_t)Values.front();
5534 uint64_t Range = Diff + 1;
5535 uint64_t NumCases = Values.size();
5537 uint64_t MinDensity = 40;
lib/Transforms/Utils/SimplifyLibCalls.cpp 175 static bool canTransformToMemCmp(CallInst *CI, Value *Str, uint64_t Len,
192 uint64_t DereferenceableBytes) {
197 uint64_t DerefBytes = DereferenceableBytes;
243 uint64_t DerefMin = 1;
262 uint64_t Len = GetStringLength(Src);
276 Value *LibCallSimplifier::emitStrLenMemCpy(Value *Src, Value *Dst, uint64_t Len,
301 uint64_t Len;
318 uint64_t SrcLen = GetStringLength(Src);
349 uint64_t Len = GetStringLength(SrcStr);
434 uint64_t Len1 = GetStringLength(Str1P);
437 uint64_t Len2 = GetStringLength(Str2P);
477 uint64_t Length;
508 uint64_t Len1 = GetStringLength(Str1P);
511 uint64_t Len2 = GetStringLength(Str2P);
538 uint64_t SrcLen = GetStringLength(Src);
555 uint64_t Len = GetStringLength(Src);
579 uint64_t Len = GetStringLength(Src);
606 uint64_t Len;
617 uint64_t SrcLen = GetStringLength(Src);
650 if (uint64_t Len = GetStringLength(Src, CharSize))
667 uint64_t NullTermIdx;
672 for (uint64_t I = 0, E = Slice.Length; I < E; ++I) {
687 uint64_t ArrSize =
714 uint64_t LenTrue = GetStringLength(SI->getTrueValue(), CharSize);
715 uint64_t LenFalse = GetStringLength(SI->getFalseValue(), CharSize);
988 uint64_t Len, IRBuilder<> &B,
1051 uint64_t Ret = 0;
2516 uint64_t N = Size->getZExtValue();
2689 uint64_t Bytes = SizeC->getZExtValue() * CountC->getZExtValue();
2734 uint64_t Len = GetStringLength(CI->getArgOperand(0));
3204 uint64_t Len = GetStringLength(CI->getArgOperand(*StrOp));
3288 uint64_t Len = GetStringLength(Src);
lib/Transforms/Utils/VNCoercion.cpp 27 uint64_t StoreSize = DL.getTypeSizeInBits(StoredTy);
64 uint64_t StoredValSize = DL.getTypeSizeInBits(StoredValTy);
65 uint64_t LoadedValSize = DL.getTypeSizeInBits(LoadedTy);
118 uint64_t ShiftAmt = DL.getTypeStoreSizeInBits(StoredValTy) -
165 uint64_t WriteSizeInBits,
187 uint64_t LoadSize = DL.getTypeSizeInBits(LoadTy);
191 uint64_t StoreSize = WriteSizeInBits / 8; // Convert to bytes.
237 uint64_t StoreSize =
258 uint64_t DepSize = DL.getTypeSizeInBits(DepLI->getType());
289 uint64_t MemSizeInBits = SizeCst->getZExtValue() * 8;
358 uint64_t StoreSize = (DL.getTypeSizeInBits(SrcVal->getType()) + 7) / 8;
359 uint64_t LoadSize = (DL.getTypeSizeInBits(LoadTy) + 7) / 8;
467 uint64_t LoadSize = DL.getTypeSizeInBits(LoadTy) / 8;
lib/Transforms/Vectorize/LoadStoreVectorizer.cpp 429 uint64_t Stride = DL.getTypeAllocSize(GTIA.getIndexedType());
lib/Transforms/Vectorize/LoopVectorize.cpp 1027 const MapVector<Instruction *, uint64_t> &getMinimalBitwidths() const {
1368 MapVector<Instruction *, uint64_t> MinBWs;
lib/Transforms/Vectorize/SLPVectorizer.cpp 1975 MapVector<Value *, std::pair<uint64_t, bool>> MinBWs;
2449 uint64_t Size = DL->getTypeAllocSize(ScalarTy);
2821 uint64_t VTSize = DL.getTypeStoreSizeInBits(VectorType::get(EltTy, N));
lib/XRay/FileHeaderReader.cpp 15 uint64_t &OffsetPtr) {
lib/XRay/InstrumentationMap.cpp 36 Optional<int32_t> InstrumentationMap::getFunctionId(uint64_t Addr) const {
43 Optional<uint64_t> InstrumentationMap::getFunctionAddr(int32_t FuncId) const {
50 using RelocMap = DenseMap<uint64_t, uint64_t>;
50 using RelocMap = DenseMap<uint64_t, uint64_t>;
124 uint64_t A = I->getAddress() + C - Contents.bytes_begin() + Offset;
133 uint64_t CurFn = 0;
140 uint64_t OffsetPtr = 0;
141 uint64_t AddrOff = OffsetPtr;
143 uint64_t FuncOff = OffsetPtr;
226 uint64_t FileSize;
lib/XRay/Profile.cpp 48 uint64_t Thread;
52 uint64_t &Offset) {
54 uint64_t CurrentOffset = Offset;
79 uint64_t &Offset) {
97 uint64_t &Offset) {
267 uint64_t FileSize;
283 uint64_t Offset = 0;
320 uint64_t Timestamp;
lib/XRay/RecordInitializer.cpp 14 if (!E.isValidOffsetForDataOfSize(OffsetPtr, sizeof(uint64_t)))
lib/XRay/Trace.cpp 50 uint64_t OffsetPtr = 0;
275 uint64_t OffsetPtr = 0;
385 uint64_t FileSize;
434 uint64_t OffsetPtr = 0;
projects/compiler-rt/include/xray/xray_interface.h 64 uint64_t));
projects/compiler-rt/include/xray/xray_records.h 30 uint64_t ThreadBufferSize;
52 alignas(8) uint64_t CycleFrequency = 0;
92 uint64_t TSC = 0;
124 uint64_t Arg = 0;
projects/compiler-rt/lib/builtins/bswapdi2.c 15 COMPILER_RT_ABI uint64_t __bswapdi2(uint64_t u) {
15 COMPILER_RT_ABI uint64_t __bswapdi2(uint64_t u) {
projects/compiler-rt/lib/builtins/divdf3.c 116 uint64_t correction, reciprocal;
projects/compiler-rt/lib/builtins/fp_extend.h 61 typedef uint64_t dst_rep_t;
projects/compiler-rt/lib/builtins/fp_lib.h 53 const uint64_t product = (uint64_t)a * b;
61 typedef uint64_t rep_t;
86 const uint64_t plolo = loWord(a) * loWord(b);
87 const uint64_t plohi = loWord(a) * hiWord(b);
88 const uint64_t philo = hiWord(a) * loWord(b);
89 const uint64_t phihi = hiWord(a) * hiWord(b);
91 const uint64_t r0 = loWord(plolo);
92 const uint64_t r1 = hiWord(plolo) + loWord(plohi) + loWord(philo);
projects/compiler-rt/lib/builtins/fp_trunc.h 26 typedef uint64_t src_rep_t;
projects/compiler-rt/lib/builtins/gcc_personality_v0.c 87 p += sizeof(uint64_t);
173 int version, _Unwind_Action actions, uint64_t exceptionClass,
projects/compiler-rt/lib/fuzzer/FuzzerBuiltins.h 26 inline uint64_t Bswap(uint64_t x) { return __builtin_bswap64(x); }
26 inline uint64_t Bswap(uint64_t x) { return __builtin_bswap64(x); }
projects/compiler-rt/lib/fuzzer/FuzzerMutate.cpp 359 uint64_t Val = Data[B] - '0';
projects/compiler-rt/lib/fuzzer/FuzzerTracePC.cpp 351 uint64_t ArgXor = Arg1 ^ Arg2;
356 uint64_t HammingDistance = Popcountll(ArgXor); // [0,64]
357 uint64_t AbsoluteDistance = (Arg1 == Arg2 ? 0 : Clzll(Arg1 - Arg2) + 1);
449 void __sanitizer_cov_trace_cmp8(uint64_t Arg1, uint64_t Arg2) {
449 void __sanitizer_cov_trace_cmp8(uint64_t Arg1, uint64_t Arg2) {
460 void __sanitizer_cov_trace_const_cmp8(uint64_t Arg1, uint64_t Arg2) {
460 void __sanitizer_cov_trace_const_cmp8(uint64_t Arg1, uint64_t Arg2) {
516 void __sanitizer_cov_trace_switch(uint64_t Val, uint64_t *Cases) {
516 void __sanitizer_cov_trace_switch(uint64_t Val, uint64_t *Cases) {
517 uint64_t N = Cases[0];
518 uint64_t ValSizeInBits = Cases[1];
519 uint64_t *Vals = Cases + 2;
530 uint64_t Smaller = 0;
531 uint64_t Larger = ~(uint64_t)0;
571 void __sanitizer_cov_trace_div8(uint64_t Val) {
projects/compiler-rt/lib/fuzzer/FuzzerTracePC.h 106 TableOfRecentCompares<uint64_t, 32> TORC8;
projects/compiler-rt/lib/gwp_asan/guarded_pool_allocator.cpp 379 options::Printf_t Printf, uint64_t ThreadID) {
514 uint64_t ThreadID = getThreadID();
projects/compiler-rt/lib/gwp_asan/guarded_pool_allocator.h 31 static constexpr uint64_t kInvalidThreadID = UINT64_MAX;
64 uint64_t ThreadID = kInvalidThreadID;
146 static uint64_t getThreadID();
projects/compiler-rt/lib/gwp_asan/platform_specific/guarded_pool_allocator_posix.cpp 88 uint64_t GuardedPoolAllocator::getThreadID() {
projects/compiler-rt/lib/profile/GCDAProfiling.c 86 static uint64_t cur_buffer_size = 0;
87 static uint64_t cur_pos = 0;
88 static uint64_t file_size = 0;
166 static void resize_write_buffer(uint64_t size) {
186 static void write_64bit_value(uint64_t i) {
410 uint64_t **counters) {
411 uint64_t *counter;
459 void llvm_gcda_emit_arcs(uint32_t num_counters, uint64_t *counters) {
461 uint64_t *old_ctrs = NULL;
463 uint64_t save_cur_pos = cur_pos;
486 old_ctrs = malloc(sizeof(uint64_t) * num_counters);
517 uint64_t save_cur_pos = cur_pos;
projects/compiler-rt/lib/profile/InstrProfData.inc 429 uint64_t (*RemapValueData)(uint32_t, uint64_t Value);
429 uint64_t (*RemapValueData)(uint32_t, uint64_t Value);
737 uint64_t Value;
739 uint64_t Count;
projects/compiler-rt/lib/profile/InstrProfiling.c 21 COMPILER_RT_WEAK uint64_t INSTR_PROF_RAW_VERSION_VAR = INSTR_PROF_RAW_VERSION;
23 COMPILER_RT_VISIBILITY uint64_t __llvm_profile_get_magic(void) {
24 return sizeof(void *) == sizeof(uint64_t) ? (INSTR_PROF_RAW_MAGIC_64)
46 __llvm_profile_get_num_padding_bytes(uint64_t SizeInBytes) {
47 return 7 & (sizeof(uint64_t) - SizeInBytes % sizeof(uint64_t));
47 return 7 & (sizeof(uint64_t) - SizeInBytes % sizeof(uint64_t));
50 COMPILER_RT_VISIBILITY uint64_t __llvm_profile_get_version(void) {
55 uint64_t *I = __llvm_profile_begin_counters();
56 uint64_t *E = __llvm_profile_end_counters();
58 memset(I, 0, sizeof(uint64_t) * (E - I));
64 uint64_t CurrentVSiteCount = 0;
projects/compiler-rt/lib/profile/InstrProfiling.h 45 uint8_t __llvm_profile_get_num_padding_bytes(uint64_t SizeInBytes);
50 uint64_t __llvm_profile_get_size_for_buffer(void);
64 uint64_t *__llvm_profile_begin_counters(void);
65 uint64_t *__llvm_profile_end_counters(void);
85 void __llvm_profile_merge_from_buffer(const char *Profile, uint64_t Size);
95 uint64_t Size);
110 void __llvm_profile_instrument_target_value(uint64_t TargetValue, void *Data,
112 uint64_t CounterValue);
217 uint64_t __llvm_profile_get_magic(void);
220 uint64_t __llvm_profile_get_version(void);
223 uint64_t __llvm_profile_get_data_size(const __llvm_profile_data *Begin,
255 extern uint64_t INSTR_PROF_RAW_VERSION_VAR; /* __llvm_profile_raw_version */
projects/compiler-rt/lib/profile/InstrProfilingBuffer.c 13 uint64_t __llvm_profile_get_size_for_buffer(void) {
16 const uint64_t *CountersBegin = __llvm_profile_begin_counters();
17 const uint64_t *CountersEnd = __llvm_profile_end_counters();
26 uint64_t __llvm_profile_get_data_size(const __llvm_profile_data *Begin,
34 uint64_t __llvm_profile_get_size_for_buffer_internal(
36 const uint64_t *CountersBegin, const uint64_t *CountersEnd,
36 const uint64_t *CountersBegin, const uint64_t *CountersEnd,
39 const uint64_t NamesSize = (NamesEnd - NamesBegin) * sizeof(char);
44 (CountersEnd - CountersBegin) * sizeof(uint64_t) + NamesSize + Padding;
61 const __llvm_profile_data *DataEnd, const uint64_t *CountersBegin,
62 const uint64_t *CountersEnd, const char *NamesBegin, const char *NamesEnd) {
projects/compiler-rt/lib/profile/InstrProfilingFile.c 173 uint64_t ProfileFileSize;
projects/compiler-rt/lib/profile/InstrProfilingInternal.h 22 uint64_t __llvm_profile_get_size_for_buffer_internal(
24 const uint64_t *CountersBegin, const uint64_t *CountersEnd,
24 const uint64_t *CountersBegin, const uint64_t *CountersEnd,
38 const __llvm_profile_data *DataEnd, const uint64_t *CountersBegin,
39 const uint64_t *CountersEnd, const char *NamesBegin, const char *NamesEnd);
148 const uint64_t *CountersBegin,
149 const uint64_t *CountersEnd,
projects/compiler-rt/lib/profile/InstrProfilingMerge.c 25 uint64_t CounterSize = (uint64_t)(__llvm_profile_end_counters() -
27 uint64_t DataSize = __llvm_profile_get_data_size(__llvm_profile_begin_data(),
29 uint64_t NamesSize =
31 uint64_t NumVnodes =
42 uint64_t ProfileSize) {
86 uint64_t ProfileSize) {
89 uint64_t *SrcCountersStart;
107 uint64_t *SrcCounters;
108 uint64_t *DstCounters = (uint64_t *)DstData->CounterPtr;
114 sizeof(uint64_t);
projects/compiler-rt/lib/profile/InstrProfilingPlatformLinux.c 31 extern uint64_t PROF_CNTS_START COMPILER_RT_VISIBILITY;
32 extern uint64_t PROF_CNTS_STOP COMPILER_RT_VISIBILITY;
42 uint64_t
63 COMPILER_RT_VISIBILITY uint64_t *__llvm_profile_begin_counters(void) {
66 COMPILER_RT_VISIBILITY uint64_t *__llvm_profile_end_counters(void) {
projects/compiler-rt/lib/profile/InstrProfilingValue.c 82 uint64_t NumVSites = 0;
134 instrumentTargetValueImpl(uint64_t TargetValue, void *Data,
135 uint32_t CounterIndex, uint64_t CountValue) {
150 uint64_t MinCount = UINT64_MAX;
226 __llvm_profile_instrument_target(uint64_t TargetValue, void *Data,
231 __llvm_profile_instrument_target_value(uint64_t TargetValue, void *Data,
233 uint64_t CountValue) {
254 uint64_t TargetValue, void *Data, uint32_t CounterIndex,
projects/compiler-rt/lib/profile/InstrProfilingWriter.c 240 const uint64_t *CountersBegin = __llvm_profile_begin_counters();
241 const uint64_t *CountersEnd = __llvm_profile_end_counters();
252 const uint64_t *CountersBegin, const uint64_t *CountersEnd,
252 const uint64_t *CountersBegin, const uint64_t *CountersEnd,
257 const uint64_t DataSize = __llvm_profile_get_data_size(DataBegin, DataEnd);
258 const uint64_t CountersSize = CountersEnd - CountersBegin;
259 const uint64_t NamesSize = NamesEnd - NamesBegin;
260 const uint64_t Padding = __llvm_profile_get_num_padding_bytes(NamesSize);
263 const char Zeroes[sizeof(uint64_t)] = {0};
279 {CountersBegin, sizeof(uint64_t), CountersSize},
projects/compiler-rt/lib/safestack/safestack_platform.h 66 using ThreadId = uint64_t;
projects/compiler-rt/lib/xray/xray_basic_logging.cpp 52 uint64_t TSC;
173 uint64_t TSC = ReadTSC(CPU);
255 void InMemoryRawLogWithArg(int32_t FuncId, XRayEntryType Type, uint64_t Arg1,
320 uint64_t Arg1) XRAY_NEVER_INSTRUMENT {
325 uint64_t Arg1) XRAY_NEVER_INSTRUMENT {
projects/compiler-rt/lib/xray/xray_basic_logging.h 34 uint64_t Arg1);
36 uint64_t Arg1);
projects/compiler-rt/lib/xray/xray_buffer_queue.h 56 uint64_t Generation{0};
236 uint64_t generation() const {
projects/compiler-rt/lib/xray/xray_fdr_controller.h 30 uint64_t CycleThreshold = 0;
32 uint64_t LastFunctionEntryTSC = 0;
33 uint64_t LatestTSC = 0;
146 PreambleResult recordPreamble(uint64_t TSC,
181 bool rewindRecords(int32_t FuncId, uint64_t TSC,
237 WallClockFunc R, uint64_t C) XRAY_NEVER_INSTRUMENT
244 bool functionEnter(int32_t FuncId, uint64_t TSC,
268 bool functionTailExit(int32_t FuncId, uint64_t TSC,
293 bool functionEnterArg(int32_t FuncId, uint64_t TSC, uint16_t CPU,
294 uint64_t Arg) XRAY_NEVER_INSTRUMENT {
310 bool functionExit(int32_t FuncId, uint64_t TSC,
333 bool customEvent(uint64_t TSC, uint16_t CPU, const void *Event,
347 bool typedEvent(uint64_t TSC, uint16_t CPU, uint16_t EventType,
projects/compiler-rt/lib/xray/xray_fdr_log_writer.h 140 int32_t Delta, uint64_t Arg) {
projects/compiler-rt/lib/xray/xray_fdr_logging.cpp 146 static uint64_t CycleFrequency = NanosecondsPerSecond;
412 uint64_t TSC = 0;
526 uint64_t Arg) XRAY_NEVER_INSTRUMENT {
projects/compiler-rt/lib/xray/xray_fdr_logging.h 32 void fdrLoggingHandleArg1(int32_t FuncId, XRayEntryType Entry, uint64_t Arg1);
projects/compiler-rt/lib/xray/xray_function_call_trie.h 114 uint64_t CallCount;
115 uint64_t CumulativeLocalTime; // Typically in TSC deltas, not wall-time.
123 uint64_t EntryTSC;
358 void enterFunction(const int32_t FId, uint64_t TSC,
417 void exitFunction(int32_t FId, uint64_t TSC,
430 uint64_t CumulativeTreeTime = 0;
450 uint64_t LocalTime =
452 ? (std::numeric_limits<uint64_t>::max() - Top.EntryTSC) + TSC
projects/compiler-rt/lib/xray/xray_interface.cpp 257 uint64_t CurFun = 0;
448 int __xray_set_handler_arg1(void (*entry)(int32_t, XRayEntryType, uint64_t)) {
projects/compiler-rt/lib/xray/xray_interface_internal.h 26 uint64_t Address;
27 uint64_t Function;
projects/compiler-rt/lib/xray/xray_profiling.cpp 311 uint64_t) XRAY_NEVER_INSTRUMENT {
projects/compiler-rt/lib/xray/xray_segmented_array.h 59 static constexpr uint64_t AlignedElementStorageSize =
62 static constexpr uint64_t SegmentControlBlockSize = sizeof(Segment *) * 2;
64 static constexpr uint64_t SegmentSize = nearest_boundary(
69 static constexpr uint64_t ElementsPerSegment =
77 using size_type = uint64_t;
83 uint64_t Offset = 0;
84 uint64_t Size = 0;
87 Iterator(Segment *IS, uint64_t Off, uint64_t S) XRAY_NEVER_INSTRUMENT
87 Iterator(Segment *IS, uint64_t Off, uint64_t S) XRAY_NEVER_INSTRUMENT
171 uint64_t Size;
350 uint64_t size() const XRAY_NEVER_INSTRUMENT { return Size; }
414 T &operator[](uint64_t Offset) const XRAY_NEVER_INSTRUMENT {
458 void trim(uint64_t Elements) XRAY_NEVER_INSTRUMENT {
projects/compiler-rt/lib/xray/xray_tsc.h 18 static constexpr uint64_t NanosecondsPerSecond = 1000ULL * 1000 * 1000;
projects/compiler-rt/lib/xray/xray_x86_64.cpp 75 uint64_t getTSCFrequency() XRAY_NEVER_INSTRUMENT {
projects/compiler-rt/lib/xray/xray_x86_64.inc 21 ALWAYS_INLINE uint64_t readTSC(uint8_t &CPU) XRAY_NEVER_INSTRUMENT {
29 uint64_t getTSCFrequency();
projects/openmp/libomptarget/include/omptarget.h 201 void __kmpc_push_target_tripcount(int64_t device_id, uint64_t loop_tripcount);
projects/openmp/libomptarget/src/device.cpp 362 int32_t ThreadLimit, uint64_t LoopTripCount) {
projects/openmp/libomptarget/src/device.h 101 std::map<int32_t, uint64_t> LoopTripCnt;
156 int32_t ThreadLimit, uint64_t LoopTripCount);
projects/openmp/libomptarget/src/interface.cpp 330 uint64_t loop_tripcount) {
projects/openmp/libomptarget/src/omptarget.cpp 326 uint64_t Delta = (uint64_t)HstPtrBegin - (uint64_t)HstPtrBase;
670 uint64_t Delta = (uint64_t)HstPtrBegin - (uint64_t)HstPtrBase;
762 uint64_t ltc = 0;
projects/openmp/libomptarget/src/rtl.h 38 int32_t, int32_t, int32_t, uint64_t);
projects/openmp/runtime/src/ompt-general.cpp 677 int __kmp_control_tool(uint64_t command, uint64_t modifier, void *arg) {
677 int __kmp_control_tool(uint64_t command, uint64_t modifier, void *arg) {
695 OMPT_API_ROUTINE uint64_t ompt_get_unique_id(void) {
705 OMPT_API_ROUTINE int ompt_get_target_info(uint64_t *device_num,
projects/openmp/runtime/src/ompt-internal.h 111 int __kmp_control_tool(uint64_t command, uint64_t modifier, void *arg);
111 int __kmp_control_tool(uint64_t command, uint64_t modifier, void *arg);
projects/openmp/runtime/src/ompt-specific.cpp 476 static uint64_t __ompt_get_unique_id_internal() {
477 static uint64_t thread = 1;
478 static THREAD_LOCAL uint64_t ID = 0;
480 uint64_t new_thread = KMP_TEST_THEN_INC64((kmp_int64 *)&thread);
481 ID = new_thread << (sizeof(uint64_t) * 8 - OMPT_THREAD_ID_BITS);
tools/clang/include/clang/AST/APValue.h 196 static_assert(sizeof(uintptr_t) <= sizeof(uint64_t),
198 uint64_t Value;
204 static LValuePathEntry ArrayIndex(uint64_t Index) {
214 uint64_t getAsArrayIndex() const { return Value; }
tools/clang/include/clang/AST/ASTContext.h 149 uint64_t Width = 0;
154 TypeInfo(uint64_t Width, unsigned Align, bool AlignIsRequired)
2088 uint64_t getTypeSize(QualType T) const { return getTypeInfo(T).Width; }
2089 uint64_t getTypeSize(const Type *T) const { return getTypeInfo(T).Width; }
2092 uint64_t getCharWidth() const {
2252 uint64_t getFieldOffset(const ValueDecl *FD) const;
2255 uint64_t lookupFieldBitOffset(const ObjCInterfaceDecl *OID,
2474 uint64_t getConstantArrayElementCount(const ConstantArrayType *CA) const;
2555 uint64_t getTargetNullPointerValue(QualType QT) const;
2683 llvm::APSInt MakeIntValue(uint64_t Value, QualType Type) const {
tools/clang/include/clang/AST/Decl.h 2045 void setLazyBody(uint64_t Offset) { Body = Offset; }
tools/clang/include/clang/AST/DeclBase.h 1292 uint64_t DeclKind : 7;
1297 mutable uint64_t ExternalLexicalStorage : 1;
1302 mutable uint64_t ExternalVisibleStorage : 1;
1308 mutable uint64_t NeedToReconcileExternalVisibleStorage : 1;
1312 mutable uint64_t HasLazyLocalLexicalLookups : 1;
1316 mutable uint64_t HasLazyExternalLexicalLookups : 1;
1321 mutable uint64_t UseQualifiedLookup : 1;
1333 uint64_t : NumDeclContextBits;
1336 uint64_t TagDeclKind : 3;
1341 uint64_t IsCompleteDefinition : 1;
1344 uint64_t IsBeingDefined : 1;
1348 uint64_t IsEmbeddedInDeclarator : 1;
1351 uint64_t IsFreeStanding : 1;
1357 uint64_t MayHaveOutOfDateDef : 1;
1361 uint64_t IsCompleteDefinitionRequired : 1;
1373 uint64_t : NumDeclContextBits;
1375 uint64_t : NumTagDeclBits;
1379 uint64_t NumPositiveBits : 8;
1383 uint64_t NumNegativeBits : 8;
1387 uint64_t IsScoped : 1;
1393 uint64_t IsScopedUsingClassTag : 1;
1397 uint64_t IsFixed : 1;
1400 uint64_t HasODRHash : 1;
1412 uint64_t : NumDeclContextBits;
1414 uint64_t : NumTagDeclBits;
1419 uint64_t HasFlexibleArrayMember : 1;
1422 uint64_t AnonymousStructOrUnion : 1;
1426 uint64_t HasObjectMember : 1;
1430 uint64_t HasVolatileMember : 1;
1436 mutable uint64_t LoadedFieldsFromExternalStorage : 1;
1439 uint64_t NonTrivialToPrimitiveDefaultInitialize : 1;
1440 uint64_t NonTrivialToPrimitiveCopy : 1;
1441 uint64_t NonTrivialToPrimitiveDestroy : 1;
1446 uint64_t HasNonTrivialToPrimitiveDefaultInitializeCUnion : 1;
1447 uint64_t HasNonTrivialToPrimitiveDestructCUnion : 1;
1448 uint64_t HasNonTrivialToPrimitiveCopyCUnion : 1;
1451 uint64_t ParamDestroyedInCallee : 1;
1454 uint64_t ArgPassingRestrictions : 2;
1466 uint64_t : NumDeclContextBits;
1470 uint64_t InitializerKind : 2;
1485 uint64_t : NumDeclContextBits;
1487 uint64_t SClass : 3;
1488 uint64_t IsInline : 1;
1489 uint64_t IsInlineSpecified : 1;
1491 uint64_t IsVirtualAsWritten : 1;
1492 uint64_t IsPure : 1;
1493 uint64_t HasInheritedPrototype : 1;
1494 uint64_t HasWrittenPrototype : 1;
1495 uint64_t IsDeleted : 1;
1497 uint64_t IsTrivial : 1;
1502 uint64_t IsTrivialForCall : 1;
1505 uint64_t IsDefaulted : 1;
1507 uint64_t IsExplicitlyDefaulted : 1;
1508 uint64_t HasImplicitReturnZero : 1;
1509 uint64_t IsLateTemplateParsed : 1;
1512 uint64_t ConstexprKind : 2;
1513 uint64_t InstantiationIsPending : 1;
1516 uint64_t UsesSEHTry : 1;
1520 uint64_t HasSkippedBody : 1;
1524 uint64_t WillHaveBody : 1;
1528 uint64_t IsMultiVersion : 1;
1533 uint64_t IsCopyDeductionCandidate : 1;
1536 uint64_t HasODRHash : 1;
1548 uint64_t : NumDeclContextBits;
1550 uint64_t : NumFunctionDeclBits;
1557 uint64_t NumCtorInitializers : 23;
1558 uint64_t IsInheritingConstructor : 1;
1561 uint64_t HasTrailingExplicitSpecifier : 1;
1564 uint64_t IsSimpleExplicit : 1;
1579 uint64_t : NumDeclContextBits;
1584 mutable uint64_t Family : ObjCMethodFamilyBitWidth;
1587 uint64_t IsInstance : 1;
1588 uint64_t IsVariadic : 1;
1591 uint64_t IsPropertyAccessor : 1;
1594 uint64_t IsDefined : 1;
1597 uint64_t IsRedeclaration : 1;
1600 mutable uint64_t HasRedeclaration : 1;
1603 uint64_t DeclImplementation : 2;
1606 uint64_t objcDeclQualifier : 7;
1609 uint64_t RelatedResultType : 1;
1613 uint64_t SelLocsKind : 2;
1622 uint64_t IsOverriding : 1;
1625 uint64_t HasSkippedBody : 1;
1655 uint64_t : NumDeclContextBits;
1659 uint64_t Language : 3;
1665 uint64_t HasBraces : 1;
1677 uint64_t : NumDeclContextBits;
1679 uint64_t IsVariadic : 1;
1680 uint64_t CapturesCXXThis : 1;
1681 uint64_t BlockMissingReturnType : 1;
1682 uint64_t IsConversionFromLambda : 1;
1686 uint64_t DoesNotEscape : 1;
1691 uint64_t CanAvoidCopyToHeap : 1;
tools/clang/include/clang/AST/DeclCXX.h 2417 uint64_t getTraillingAllocKind() const {
2428 uint64_t AllocKind);
tools/clang/include/clang/AST/DeclObjC.h 508 void setLazyBody(uint64_t Offset) { Body = Offset; }
tools/clang/include/clang/AST/Expr.h 699 bool tryEvaluateObjectSize(uint64_t &Result, ASTContext &Ctx,
955 private llvm::TrailingObjects<ConstantExpr, APValue, uint64_t> {
956 static_assert(std::is_same<uint64_t, llvm::APInt::WordType>::value,
968 size_t numTrailingObjects(OverloadToken<uint64_t>) const {
973 uint64_t &Int64Result() {
976 return *getTrailingObjects<uint64_t>();
978 const uint64_t &Int64Result() const {
1380 uint64_t VAL; ///< Used to store the <= 64 bits integer value.
1381 uint64_t *pVal; ///< Used to store the >64 bits integer value.
tools/clang/include/clang/AST/ExprCXX.h 2720 uint64_t Value = 0;
2738 TypeSourceInfo *queried, uint64_t value,
2760 uint64_t getValue() const { assert(!isTypeDependent()); return Value; }
tools/clang/include/clang/AST/ExternalASTSource.h 129 virtual Stmt *GetExternalDeclStmt(uint64_t Offset);
135 virtual CXXCtorInitializer **GetExternalCXXCtorInitializers(uint64_t Offset);
141 virtual CXXBaseSpecifier *GetExternalCXXBaseSpecifiers(uint64_t Offset);
301 const RecordDecl *Record, uint64_t &Size, uint64_t &Alignment,
301 const RecordDecl *Record, uint64_t &Size, uint64_t &Alignment,
302 llvm::DenseMap<const FieldDecl *, uint64_t> &FieldOffsets,
355 mutable uint64_t Ptr = 0;
361 explicit LazyOffsetPtr(uint64_t Offset) : Ptr((Offset << 1) | 0x01) {
372 LazyOffsetPtr &operator=(uint64_t Offset) {
597 LazyOffsetPtr<Stmt, uint64_t, &ExternalASTSource::GetExternalDeclStmt>;
605 LazyOffsetPtr<CXXCtorInitializer *, uint64_t,
610 LazyOffsetPtr<CXXBaseSpecifier, uint64_t,
tools/clang/include/clang/AST/Mangle.h 59 llvm::DenseMap<const NamedDecl*, uint64_t> AnonStructIds;
85 uint64_t getAnonymousStructId(const NamedDecl *D) {
86 std::pair<llvm::DenseMap<const NamedDecl *, uint64_t>::iterator, bool>
tools/clang/include/clang/AST/RecordLayout.h 82 ASTVector<uint64_t> FieldOffsets;
144 ArrayRef<uint64_t> fieldoffsets);
156 ArrayRef<uint64_t> fieldoffsets,
190 uint64_t getFieldOffset(unsigned FieldNo) const {
tools/clang/include/clang/AST/TemplateBase.h 110 uint64_t VAL;
113 const uint64_t *pVal;
tools/clang/include/clang/AST/VTTBuilder.h 62 uint64_t VTableIndex;
66 VTTComponent(uint64_t VTableIndex, BaseSubobject VTableBase)
92 using AddressPointsMapTy = llvm::DenseMap<BaseSubobject, uint64_t>;
95 llvm::DenseMap<BaseSubobject, uint64_t> SubVTTIndicies;
99 llvm::DenseMap<BaseSubobject, uint64_t> SecondaryVirtualPointerIndices;
105 void AddVTablePointer(BaseSubobject Base, uint64_t VTableIndex,
118 uint64_t VTableIndex,
125 uint64_t VTableIndex);
151 const llvm::DenseMap<BaseSubobject, uint64_t> &getSubVTTIndicies() const {
156 const llvm::DenseMap<BaseSubobject, uint64_t> &
tools/clang/include/clang/AST/VTableBuilder.h 234 typedef std::pair<uint64_t, ThunkInfo> VTableThunkTy;
392 uint64_t getMethodVTableIndex(GlobalDecl GD);
476 uint64_t VBTableIndex;
487 uint64_t Index;
493 MethodVFTableLocation(uint64_t VBTableIndex, const CXXRecordDecl *VBase,
494 CharUnits VFPtrOffset, uint64_t Index)
tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h 414 using MatcherIDType = std::pair<ast_type_traits::ASTNodeKind, uint64_t>;
tools/clang/include/clang/Analysis/Analyses/ThreadSafetyTIL.h 247 inline ValueType ValueType::getValueType<uint64_t>() {
608 return Vs.reduceLiteralT(as<uint64_t>());
tools/clang/include/clang/Analysis/Analyses/ThreadSafetyTraverse.h 591 printLiteralT(&E->as<uint64_t>(), SS);
tools/clang/include/clang/Basic/FixedPoint.h 103 APFixedPoint(uint64_t Val, const FixedPointSemantics &Sema)
tools/clang/include/clang/Basic/Sanitizers.h 37 uint64_t maskLoToHigh[kNumElem]{};
43 constexpr SanitizerMask(uint64_t mask1, uint64_t mask2)
43 constexpr SanitizerMask(uint64_t mask1, uint64_t mask2)
131 enum SanitizerOrdinal : uint64_t {
tools/clang/include/clang/Basic/TargetInfo.h 360 uint64_t getPointerWidth(unsigned AddrSpace) const {
363 uint64_t getPointerAlign(unsigned AddrSpace) const {
368 virtual uint64_t getMaxPointerWidth() const {
374 virtual uint64_t getNullPointerValue(LangAS AddrSpace) const { return 0; }
547 virtual unsigned getMinGlobalAlign (uint64_t) const {
629 virtual bool hasBuiltinAtomic(uint64_t AtomicSizeInBits,
630 uint64_t AlignmentInBits) const {
1377 virtual uint64_t getPointerWidthV(unsigned AddrSpace) const {
1380 virtual uint64_t getPointerAlignV(unsigned AddrSpace) const {
tools/clang/include/clang/CodeGen/ConstantInitBuilder.h 197 void addInt(llvm::IntegerType *intTy, uint64_t value,
283 llvm::IntegerType *type, uint64_t value,
tools/clang/include/clang/CodeGen/SwiftCallingConv.h 112 uint64_t bitOffset);
tools/clang/include/clang/Frontend/ASTUnit.h 280 uint64_t ShowInContexts;
tools/clang/include/clang/Frontend/LayoutOverrideSource.h 28 uint64_t Size;
31 uint64_t Align;
34 SmallVector<uint64_t, 8> FieldOffsets;
51 uint64_t &Size, uint64_t &Alignment,
51 uint64_t &Size, uint64_t &Alignment,
52 llvm::DenseMap<const FieldDecl *, uint64_t> &FieldOffsets,
tools/clang/include/clang/Frontend/Utils.h 241 uint64_t getLastArgUInt64Value(const llvm::opt::ArgList &Args,
242 llvm::opt::OptSpecifier Id, uint64_t Default,
245 inline uint64_t getLastArgUInt64Value(const llvm::opt::ArgList &Args,
247 uint64_t Default,
tools/clang/include/clang/Lex/HeaderSearchOptions.h 167 uint64_t BuildSessionTimestamp = 0;
tools/clang/include/clang/Lex/LiteralSupport.h 176 uint64_t Value;
194 uint64_t getValue() const { return Value; }
tools/clang/include/clang/Lex/Preprocessor.h 1427 bool parseSimpleIntegerLiteral(Token &Tok, uint64_t &Value);
tools/clang/include/clang/Sema/MultiplexExternalSemaSource.h 82 Stmt *GetExternalDeclStmt(uint64_t Offset) override;
86 CXXBaseSpecifier *GetExternalCXXBaseSpecifiers(uint64_t Offset) override;
90 CXXCtorInitializer **GetExternalCXXCtorInitializers(uint64_t Offset) override;
185 uint64_t &Size, uint64_t &Alignment,
185 uint64_t &Size, uint64_t &Alignment,
186 llvm::DenseMap<const FieldDecl *, uint64_t> &FieldOffsets,
tools/clang/include/clang/Sema/Sema.h 4614 ExprResult ActOnIntegerConstant(SourceLocation Loc, uint64_t Val);
11420 uint64_t MagicValue, QualType Type,
11441 typedef std::pair<const IdentifierInfo *, uint64_t> TypeTagMagicValue;
tools/clang/include/clang/Serialization/ASTBitCodes.h 2097 uint64_t Data = 0;
2102 DeclarationNameKey(NameKind Kind, uint64_t Data)
tools/clang/include/clang/Serialization/ASTReader.h 375 using RecordData = SmallVector<uint64_t, 64>;
376 using RecordDataImpl = SmallVectorImpl<uint64_t>;
463 ContinuousRangeMap<uint64_t, ModuleFile*, 4> GlobalBitOffsetsMap;
502 using FileOffset = std::pair<ModuleFile *, uint64_t>;
601 llvm::MapVector<Decl *, uint64_t,
603 SmallVector<std::pair<Decl *, uint64_t>, 4>>;
615 uint64_t Offset, DeclContext *DC);
620 uint64_t Offset, serialization::DeclID ID);
733 uint64_t MacroDirectivesOffset;
735 PendingMacroInfo(ModuleFile *M, uint64_t MacroDirectivesOffset)
771 SmallVector<uint64_t, 16> EagerlyDeserializedDecls;
778 SmallVector<uint64_t, 16> TentativeDefinitions;
785 SmallVector<uint64_t, 64> VTableUses;
793 SmallVector<uint64_t, 64> PendingInstantiations;
803 SmallVector<uint64_t, 16> UnusedFileScopedDecls;
807 SmallVector<uint64_t, 4> DelegatingCtorDecls;
811 SmallVector<uint64_t, 64> ReferencedSelectorsData;
815 SmallVector<uint64_t, 64> WeakUndeclaredIdentifiers;
820 SmallVector<uint64_t, 4> ExtVectorDecls;
831 SmallVector<uint64_t, 16> UnusedLocalTypedefNameCandidates;
840 SmallVector<uint64_t, 4> SemaDeclRefs;
845 SmallVector<uint64_t, 16> SpecialTypes;
851 SmallVector<uint64_t, 2> CUDASpecialDeclRefs;
854 SmallVector<uint64_t, 1> FPPragmaOptions;
888 SmallVector<uint64_t, 4> KnownNamespaces;
892 SmallVector<uint64_t, 8> UndefinedButUsed;
895 SmallVector<uint64_t, 8> DelayedDeleteExprs;
898 SmallVector<uint64_t, 1> LateParsedTemplates;
1014 uint64_t TotalModulesSizeInBits = 0;
1073 SmallVector<std::pair<Decl *, uint64_t>, 16> PendingDeclChains;
1209 uint64_t ContentHash;
1334 uint64_t Offset;
1336 RecordLocation(ModuleFile *M, uint64_t O) : F(M), Offset(O) {}
1357 void loadPendingDeclChain(Decl *D, uint64_t LocalOffset);
1361 RecordLocation getLocalBitOffset(uint64_t GlobalOffset);
1362 uint64_t getGlobalBitOffset(ModuleFile &M, uint32_t LocalOffset);
1896 CXXBaseSpecifier *GetExternalCXXBaseSpecifiers(uint64_t Offset) override;
1903 Stmt *GetExternalDeclStmt(uint64_t Offset) override;
2184 CXXCtorInitializer **GetExternalCXXCtorInitializers(uint64_t Offset) override;
2290 MacroInfo *ReadMacroRecord(ModuleFile &F, uint64_t Offset);
2304 uint64_t MacroDirectivesOffset);
2326 SmallVector<uint64_t, 16> PreloadedDeclIDs;
2407 const uint64_t &operator[](size_t N) { return Record[N]; }
2410 const uint64_t &back() const { return Record.back(); }
2414 const uint64_t &readInt() { return Record[Idx++]; }
2417 const uint64_t &peekInt() { return Record[Idx]; }
2434 bool readLexicalDeclContextStorage(uint64_t Offset, DeclContext *DC) {
2440 bool readVisibleDeclContextStorage(uint64_t Offset,
2447 uint64_t Kind = readInt();
2460 uint64_t getGlobalBitOffset(uint32_t LocalOffset) {
2700 uint64_t Offset;
tools/clang/include/clang/Serialization/ASTWriter.h 111 using RecordData = SmallVector<uint64_t, 64>;
112 using RecordDataImpl = SmallVectorImpl<uint64_t>;
113 using RecordDataRef = ArrayRef<uint64_t>;
289 llvm::DenseMap<const IdentifierInfo *, uint64_t> IdentMacroDirectivesOffsetMap;
299 llvm::DenseMap<Stmt *, uint64_t> SubStmtEntries;
399 SmallVector<uint64_t, 16> EagerlyDeserializedDecls;
400 SmallVector<uint64_t, 16> ModularCodegenDecls;
492 uint64_t WriteDeclContextLexicalBlock(ASTContext &Context, DeclContext *DC);
493 uint64_t WriteDeclContextVisibleBlock(ASTContext &Context, DeclContext *DC);
600 uint64_t getMacroDirectivesOffset(const IdentifierInfo *Name);
766 void PrepareToEmit(uint64_t MyOffset) {
796 void push_back(uint64_t N) { Record->push_back(N); }
803 uint64_t &operator[](size_t N) { return (*Record)[N]; }
809 uint64_t Emit(unsigned Code, unsigned Abbrev = 0) {
810 uint64_t Offset = Writer->Stream.GetCurrentBitNo();
818 uint64_t EmitStmt(unsigned Code, unsigned Abbrev = 0) {
827 void AddOffset(uint64_t BitOffset) {
tools/clang/include/clang/Serialization/Module.h 181 uint64_t SizeInBits = 0;
184 uint64_t GlobalBitOffset = 0;
236 uint64_t InputFilesValidationTimestamp = 0;
257 SmallVector<uint64_t, 4> PreloadSLocEntries;
317 uint64_t MacroStartOffset = 0;
326 uint64_t PreprocessorDetailStartOffset = 0;
442 SmallVector<uint64_t, 1> ObjCCategories;
463 SmallVector<uint64_t, 8> PragmaDiagMappings;
tools/clang/include/clang/StaticAnalyzer/Core/PathSensitive/APSIntType.h 69 llvm::APSInt getValue(uint64_t RawValue) const LLVM_READONLY {
tools/clang/include/clang/StaticAnalyzer/Core/PathSensitive/BasicValueFactory.h 125 const llvm::APSInt& getValue(uint64_t X, unsigned BitWidth, bool isUnsigned);
138 const llvm::APSInt& getValue(uint64_t X, QualType T);
166 const llvm::APSInt &getIntValue(uint64_t X, bool isUnsigned) {
208 const llvm::APSInt &getIntWithPtrWidth(uint64_t X, bool isUnsigned) {
tools/clang/include/clang/StaticAnalyzer/Core/PathSensitive/SMTConv.h 262 QualType ToTy, uint64_t ToBitWidth,
264 uint64_t FromBitWidth) {
315 uint64_t ToWidth, QualType FromTy,
316 uint64_t FromWidth) {
324 uint64_t BitWidth) {
594 uint64_t LBitWidth = Ctx.getTypeSize(LTy);
595 uint64_t RBitWidth = Ctx.getTypeSize(RTy);
647 uint64_t LBitWidth = Ctx.getTypeSize(LTy);
648 uint64_t RBitWidth = Ctx.getTypeSize(RTy);
655 uint64_t NewBitWidth = Ctx.getTypeSize(NewTy);
662 uint64_t NewBitWidth = Ctx.getTypeSize(NewTy);
729 uint64_t LBitWidth = Ctx.getTypeSize(LTy);
730 uint64_t RBitWidth = Ctx.getTypeSize(RTy);
tools/clang/include/clang/StaticAnalyzer/Core/PathSensitive/SValBuilder.h 272 NonLoc makeArrayIndex(uint64_t idx) {
302 DefinedSVal makeIntVal(uint64_t integer, QualType type) {
309 NonLoc makeIntVal(uint64_t integer, bool isUnsigned) {
313 NonLoc makeIntValWithPtrWidth(uint64_t integer, bool isUnsigned) {
tools/clang/include/clang/StaticAnalyzer/Core/PathSensitive/Store.h 289 uint64_t index = 0);
tools/clang/lib/ARCMigrate/ObjCMT.cpp 805 uint64_t MaxPowerOfTwoVal = 0;
818 uint64_t EnumVal = Enumerator->getInitVal().getZExtValue();
tools/clang/lib/AST/ASTContext.cpp 1656 uint64_t TypeSize = getTypeSize(T.getTypePtr());
1677 uint64_t Offset = Layout.getFieldOffset(Field->getFieldIndex());
1681 uint64_t LowBitOfOffset = Offset & (~Offset + 1);
1722 uint64_t Size = CAT->getSize().getZExtValue();
1726 uint64_t Width = EltInfo.first.getQuantity() * Size;
1799 uint64_t Width = 0;
1832 uint64_t Size = CAT->getSize().getZExtValue();
1855 uint64_t TargetVectorAlign = Target->getMaxVectorAlign();
2326 uint64_t TypeSize = getTypeSize(T.getTypePtr());
5673 uint64_t
5675 uint64_t ElementCount = 1;
5810 uint64_t BitWidth = Field->getBitWidthValue(*this);
5811 uint64_t IntSize = getTypeSize(IntTy);
5864 uint64_t FromSize = getTypeSize(BT);
5868 uint64_t ToSize = getTypeSize(PromoteTypes[Idx]);
5881 uint64_t PromotableSize = getIntWidth(Promotable);
5882 uint64_t IntSize = getIntWidth(IntTy);
6776 uint64_t Offset;
7150 std::multimap<uint64_t, NamedDecl *> FieldOrBaseOffsets;
7159 uint64_t offs = toBits(layout.getBaseClassOffset(base));
7168 uint64_t offs = layout.getFieldOffset(i);
7179 uint64_t offs = toBits(layout.getVBaseClassOffset(base));
7195 uint64_t CurOffs = 0;
7197 std::multimap<uint64_t, NamedDecl *>::iterator
7217 uint64_t offs = toBits(size);
7226 uint64_t padding = CurLayObj->first - CurOffs;
10378 uint64_t Size = sizeChars.getQuantity();
10550 uint64_t ASTContext::getTargetNullPointerValue(QualType QT) const {
tools/clang/lib/AST/CXXABI.h 34 uint64_t Width;
tools/clang/lib/AST/DeclCXX.cpp 2451 uint64_t AllocKind) {
tools/clang/lib/AST/DeclObjC.cpp 1568 uint64_t Size;
1571 SynthesizeIvarChunk(uint64_t size, ObjCIvarDecl *ivar)
tools/clang/lib/AST/Expr.cpp 283 unsigned Size = totalSizeToAlloc<APValue, uint64_t>(
308 unsigned Size = totalSizeToAlloc<APValue, uint64_t>(
903 const uint64_t* Words = Val.getRawData();
905 pVal = new (C) uint64_t[NumWords];
4081 uint64_t Index;
tools/clang/lib/AST/ExprConstant.cpp 185 static const uint64_t AssumedSizeForUnsizedArray =
186 std::numeric_limits<uint64_t>::max() / 2;
195 uint64_t &ArraySize, QualType &Type, bool &IsArray,
265 uint64_t MostDerivedArraySize;
339 uint64_t getMostDerivedArraySize() const {
359 std::pair<uint64_t, uint64_t> validIndexAdjustments() {
359 std::pair<uint64_t, uint64_t> validIndexAdjustments() {
368 uint64_t ArrayIndex = IsArray ? Entries.back().getAsArrayIndex()
370 uint64_t ArraySize =
446 uint64_t TruncatedN = N.extOrTrunc(64).getZExtValue();
462 uint64_t ArrayIndex = IsArray ? Entries.back().getAsArrayIndex()
464 uint64_t ArraySize =
863 uint64_t ArrayInitIndex = -1;
1180 uint64_t OuterIndex;
1189 operator uint64_t&() { return Info.ArrayInitIndex; }
1608 uint64_t Offset64 = Offset.getQuantity();
1609 uint64_t ElemSize64 = ElementSize.getQuantity();
1610 uint64_t Index64 = Index.extOrTrunc(64).getZExtValue();
2930 uint64_t Index) {
3263 uint64_t Index = Sub.Entries[I].getAsArrayIndex();
3286 uint64_t Index = Sub.Entries[I].getAsArrayIndex();
3772 uint64_t CharIndex = LVal.Designator.Entries[0].getAsArrayIndex();
5766 uint64_t Size = CAT->getSize().getZExtValue();
6259 uint64_t FieldOffsetBits = Layout.getFieldOffset(FieldIdx);
6349 uint64_t NullValue = Info.Ctx.getTargetNullPointerValue(QualType(T, 0));
6431 uint64_t FieldOffsetBits = Layout.getFieldOffset(FieldIdx);
8010 uint64_t N = Value.getInt().extOrTrunc(Size).getZExtValue();
8228 uint64_t MaxLength = uint64_t(-1);
8261 uint64_t DesiredVal;
8387 uint64_t TSize = Info.Ctx.getTypeSizeInChars(T).getQuantity();
8389 uint64_t Remainder;
8403 uint64_t RemainingSrcSize = Src.Designator.validIndexAdjustments().second;
8404 uint64_t RemainingDestSize = Dest.Designator.validIndexAdjustments().second;
8411 uint64_t NElems = N.getZExtValue();
8412 uint64_t NBytes = NElems * TSize;
8417 uint64_t SrcOffset = Src.getLValueOffset().getQuantity();
8418 uint64_t DestOffset = Dest.getLValueOffset().getQuantity();
9570 uint64_t Elements = CAT->getSize().getZExtValue();
9679 bool Success(uint64_t Value, const Expr *E, APValue &Result) {
9685 bool Success(uint64_t Value, const Expr *E) {
9799 bool Success(uint64_t Value, const Expr *E) {
10281 uint64_t Index = Entry.getAsArrayIndex();
10287 uint64_t Index = Entry.getAsArrayIndex();
10428 uint64_t ArraySize = Designator.getMostDerivedArraySize();
10429 uint64_t ArrayIndex = Designator.Entries.back().getAsArrayIndex();
10445 EvalInfo &Info, uint64_t &Size) {
10514 uint64_t Size;
10737 for (uint64_t Strlen = 0; /**/; ++Strlen) {
10776 uint64_t MaxLength = uint64_t(-1);
10820 uint64_t BytesRemaining = MaxLength;
10830 uint64_t CharTy1Width{Info.Ctx.getTypeSize(CharTy1)};
10835 uint64_t BytesPerElement = CharTy1Size.getQuantity();
10991 uint64_t LHSSize = LHS.getBitWidth();
10992 uint64_t RHSSize = RHS.getBitWidth();
10993 uint64_t ResultSize = Info.Ctx.getTypeSize(ResultType);
10994 uint64_t MaxBits = std::max(std::max(LHSSize, RHSSize), ResultSize);
11168 bool Success(uint64_t Value, const Expr *E, APValue &Result) {
11262 uint64_t Offset64 = Offset.getQuantity();
11263 uint64_t Index64 = Index.extOrTrunc(64).getZExtValue();
11665 uint64_t CompareLHS = LHSOffset.getQuantity();
11666 uint64_t CompareRHS = RHSOffset.getQuantity();
11668 uint64_t Mask = ~0ULL >> (64 - PtrSize);
11680 uint64_t OffsetLimit = Size.getQuantity();
12132 uint64_t IntResult = BoolResult;
14450 bool Expr::tryEvaluateObjectSize(uint64_t &Result, ASTContext &Ctx,
tools/clang/lib/AST/ExternalASTSource.cpp 75 const RecordDecl *Record, uint64_t &Size, uint64_t &Alignment,
75 const RecordDecl *Record, uint64_t &Size, uint64_t &Alignment,
76 llvm::DenseMap<const FieldDecl *, uint64_t> &FieldOffsets,
94 Stmt *ExternalASTSource::GetExternalDeclStmt(uint64_t Offset) {
99 ExternalASTSource::GetExternalCXXCtorInitializers(uint64_t Offset) {
104 ExternalASTSource::GetExternalCXXBaseSpecifiers(uint64_t Offset) {
tools/clang/lib/AST/Interp/Boolean.h 51 explicit operator uint64_t() const { return V; }
tools/clang/lib/AST/Interp/ByteCodeExprGen.h 227 llvm::Optional<uint64_t> ArrayIndex;
tools/clang/lib/AST/Interp/Descriptor.h 192 using T = uint64_t;
194 static constexpr uint64_t PER_FIELD = sizeof(T) * CHAR_BIT;
tools/clang/lib/AST/Interp/Integral.h 45 template <> struct Repr<64, false> { using Type = uint64_t; };
104 explicit operator uint64_t() const { return V; }
tools/clang/lib/AST/ItaniumMangle.cpp 1031 uint64_t hexDigit = valueBits.getRawData()[digitBitIndex / 64];
tools/clang/lib/AST/MicrosoftMangle.cpp 657 uint64_t NVOffset = 0;
658 uint64_t VBTableOffset = 0;
659 uint64_t VBPtrOffset = 0;
706 uint64_t OffsetInVFTable = ML.Index * PointerWidth.getQuantity();
735 uint64_t Value = static_cast<uint64_t>(Number);
749 char EncodedNumberBuffer[sizeof(uint64_t) * 2];
2690 uint64_t Width = getASTContext().getTypeSize(T);
tools/clang/lib/AST/RecordLayout.cpp 35 ArrayRef<uint64_t> fieldoffsets)
50 ArrayRef<uint64_t> fieldoffsets,
tools/clang/lib/AST/RecordLayoutBuilder.cpp 63 uint64_t Size;
66 uint64_t Align;
69 llvm::DenseMap<const FieldDecl *, uint64_t> FieldOffsets;
79 uint64_t getExternalFieldOffset(const FieldDecl *FD) {
106 uint64_t CharWidth;
143 uint64_t FieldOffset = Layout.getFieldOffset(FieldNo);
450 uint64_t NumElements = Context.getConstantArrayElementCount(AT);
452 for (uint64_t I = 0; I != NumElements; ++I) {
554 uint64_t NumElements = Context.getConstantArrayElementCount(AT);
557 for (uint64_t I = 0; I != NumElements; ++I) {
586 uint64_t Size;
597 SmallVector<uint64_t, 16> FieldOffsets;
630 uint64_t DataSize;
698 void LayoutWideBitField(uint64_t FieldSize, uint64_t TypeSize,
698 void LayoutWideBitField(uint64_t FieldSize, uint64_t TypeSize,
775 uint64_t updateExternalFieldOffset(const FieldDecl *Field,
776 uint64_t ComputedOffset);
778 void CheckFieldPadding(uint64_t Offset, uint64_t UnpaddedOffset,
778 void CheckFieldPadding(uint64_t Offset, uint64_t UnpaddedOffset,
779 uint64_t UnpackedOffset, unsigned UnpackedAlign,
788 uint64_t getSizeInBits() const { return Size; }
791 void setSize(uint64_t NewSize) { Size = NewSize; }
799 uint64_t getDataSizeInBits() const { return DataSize; }
802 void setDataSize(uint64_t NewSize) { DataSize = NewSize; }
1389 static uint64_t
1390 roundUpSizeToCharAlignment(uint64_t Size,
1392 uint64_t CharAlignment = Context.getTargetInfo().getCharAlign();
1396 void ItaniumRecordLayoutBuilder::LayoutWideBitField(uint64_t FieldSize,
1397 uint64_t TypeSize,
1414 uint64_t Size = Context.getTypeSize(QT);
1429 uint64_t FieldOffset;
1430 uint64_t UnpaddedFieldOffset = getDataSizeInBits() - UnfilledBitsInLastUnit;
1433 uint64_t RoundedFieldSize = roundUpSizeToCharAlignment(FieldSize,
1442 uint64_t NewSizeInBits = FieldOffset + FieldSize;
1464 uint64_t FieldSize = D->getBitWidthValue(Context);
1466 uint64_t TypeSize = FieldInfo.Width;
1553 uint64_t FieldOffset =
1607 uint64_t UnpaddedFieldOffset = FieldOffset;
1608 uint64_t UnpackedFieldOffset = FieldOffset;
1685 uint64_t RoundedFieldSize;
1713 uint64_t NewSizeInBits = FieldOffset + FieldSize;
1714 uint64_t CharAlignment = Context.getTargetInfo().getCharAlign();
1741 uint64_t UnpaddedFieldOffset = getDataSizeInBits() - UnfilledBitsInLastUnit;
1898 uint64_t EffectiveFieldSizeInBits = Context.toBits(EffectiveFieldSize);
1936 uint64_t UnpaddedSize = getSizeInBits() - UnfilledBitsInLastUnit;
1937 uint64_t UnpackedSizeInBits =
1939 uint64_t RoundedSize =
2003 uint64_t
2005 uint64_t ComputedOffset) {
2006 uint64_t ExternalFieldOffset = External.getExternalFieldOffset(Field);
2034 uint64_t Offset, uint64_t UnpaddedOffset, uint64_t UnpackedOffset,
2034 uint64_t Offset, uint64_t UnpaddedOffset, uint64_t UnpackedOffset,
2034 uint64_t Offset, uint64_t UnpaddedOffset, uint64_t UnpackedOffset,
2345 void placeFieldAtBitOffset(uint64_t FieldOffset) {
2381 SmallVector<uint64_t, 16> FieldOffsets;
2807 for (uint64_t &FieldOffset : FieldOffsets)
2839 for (uint64_t &FieldOffset : FieldOffsets)
3158 static uint64_t getFieldOffset(const ASTContext &C, const FieldDecl *FD) {
3163 uint64_t ASTContext::getFieldOffset(const ValueDecl *VD) const {
3164 uint64_t OffsetInBits;
3178 uint64_t ASTContext::lookupFieldBitOffset(const ObjCInterfaceDecl *OID,
3358 uint64_t FieldNo = 0;
3362 uint64_t LocalFieldOffsetInBits = Layout.getFieldOffset(FieldNo);
3376 uint64_t LocalFieldByteOffsetInBits = C.toBits(FieldOffset - Offset);
tools/clang/lib/AST/TemplateBase.cpp 95 void *Mem = Ctx.Allocate(NumWords * sizeof(uint64_t));
96 std::memcpy(Mem, Value.getRawData(), NumWords * sizeof(uint64_t));
tools/clang/lib/AST/Type.cpp 142 uint64_t ElementSize = Context.getTypeSizeInChars(ElementType).getQuantity();
158 uint64_t TotalSize = NumElements.getZExtValue() * ElementSize;
tools/clang/lib/AST/VTTBuilder.cpp 42 void VTTBuilder::AddVTablePointer(BaseSubobject Base, uint64_t VTableIndex,
82 uint64_t VTableIndex,
148 uint64_t VTableIndex) {
195 uint64_t VTableIndex = VTTVTables.size();
tools/clang/lib/AST/VTableBuilder.cpp 837 const uint64_t VTableIndex;
840 uint64_t VTableIndex)
863 typedef llvm::DenseMap<uint64_t, ThunkInfo> VTableThunksMapTy;
1007 uint64_t getNumThunks() const {
1109 uint64_t VTableIndex = MethodInfo.VTableIndex;
1657 uint64_t AddressPoint = Components.size();
1892 std::multimap<uint64_t, BaseSubobject> AddressPointsByIndex;
1895 uint64_t Index =
1902 uint64_t Index = I;
2030 uint64_t NextIndex = Index + 1;
2154 std::map<uint64_t, std::string> IndicesMap;
2169 uint64_t VTableIndex = MethodVTableIndices[GD];
2185 uint64_t VTableIndex = I.first;
2223 uint64_t ItaniumVTableContext::getMethodVTableIndex(GlobalDecl GD) {
2406 const uint64_t VBTableIndex;
2409 const uint64_t VFTableIndex;
2420 MethodInfo(uint64_t VBTableIndex, uint64_t VFTableIndex,
2420 MethodInfo(uint64_t VBTableIndex, uint64_t VFTableIndex,
2436 typedef llvm::DenseMap<uint64_t, ThunkInfo> VTableThunksMapTy;
2543 uint64_t getNumThunks() const { return Thunks.size(); }
3636 uint64_t LastVBIndex = 0;
3639 uint64_t VBIndex = I.first.VBTableIndex;
3651 uint64_t VTableIndex = I.first.Index;
tools/clang/lib/Analysis/BodyFarm.cpp 99 IntegerLiteral *makeIntegerLiteral(uint64_t Value, QualType Ty);
208 IntegerLiteral *ASTMaker::makeIntegerLiteral(uint64_t Value, QualType Ty) {
tools/clang/lib/Basic/FileManager.cpp 458 uint64_t FileSize = Entry->getSize();
tools/clang/lib/Basic/Targets/AArch64.cpp 607 unsigned MicrosoftARM64TargetInfo::getMinGlobalAlign(uint64_t TypeSize) const {
tools/clang/lib/Basic/Targets/AArch64.h 139 unsigned getMinGlobalAlign(uint64_t TypeSize) const override;
tools/clang/lib/Basic/Targets/AMDGPU.h 88 uint64_t getPointerWidthV(unsigned AddrSpace) const override {
98 uint64_t getPointerAlignV(unsigned AddrSpace) const override {
102 uint64_t getMaxPointerWidth() const override {
350 uint64_t getNullPointerValue(LangAS AS) const override {
tools/clang/lib/CodeGen/ABIInfo.h 100 uint64_t Members) const;
103 uint64_t &Members) const;
tools/clang/lib/CodeGen/CGAtomic.cpp 34 uint64_t AtomicSizeInBits;
35 uint64_t ValueSizeInBits;
56 uint64_t ValueAlignInBits;
57 uint64_t AtomicAlignInBits;
135 uint64_t getAtomicSizeInBits() const { return AtomicSizeInBits; }
136 uint64_t getValueSizeInBits() const { return ValueSizeInBits; }
316 uint64_t expectedSize) {
360 uint64_t Size,
411 uint64_t Size,
494 uint64_t Size, llvm::AtomicOrdering Order,
666 uint64_t Size, llvm::AtomicOrdering Order,
767 uint64_t Size = sizeChars.getQuantity();
1340 uint64_t SourceSizeInBits = CGF.CGM.getDataLayout().getTypeSizeInBits(Ty);
tools/clang/lib/CodeGen/CGBuilder.h 63 llvm::ConstantInt *getSize(uint64_t N) {
198 Address CreateConstArrayGEP(Address Addr, uint64_t Index,
216 Address CreateConstInBoundsGEP(Address Addr, uint64_t Index,
232 Address CreateConstGEP(Address Addr, uint64_t Index,
280 llvm::CallInst *CreateMemCpy(Address Dest, Address Src, uint64_t Size,
tools/clang/lib/CodeGen/CGBuiltin.cpp 559 uint64_t ObjectSize;
1245 uint64_t Val = 0;
6024 uint64_t ZExtValue = Value.zextOrTrunc(IsThumb ? 16 : 32).getZExtValue();
8077 uint64_t ShiftAmt = Amt->getZExtValue();
8094 uint64_t ShiftAmt = Amt->getZExtValue();
9620 uint64_t Imm = cast<llvm::ConstantInt>(Ops[2])->getZExtValue() & 0x7;
10073 uint64_t
10076 uint64_t FeaturesMask = 0;
10092 llvm::Value *CodeGenFunction::EmitX86CpuSupports(uint64_t FeaturesMask) {
10286 uint64_t Index = cast<ConstantInt>(Ops[1])->getZExtValue();
tools/clang/lib/CodeGen/CGCUDANV.cpp 449 uint64_t VarSize =
tools/clang/lib/CodeGen/CGCXX.cpp 257 uint64_t VTableIndex = CGM.getItaniumVTableContext().getMethodVTableIndex(GD);
tools/clang/lib/CodeGen/CGCall.cpp 863 uint64_t NumElts;
865 ConstantArrayExpansion(QualType EltTy, uint64_t NumElts)
1129 uint64_t DstSize, CodeGenFunction &CGF) {
1139 uint64_t FirstEltSize =
1187 uint64_t SrcSize = DL.getTypeSizeInBits(Val->getType());
1188 uint64_t DstSize = DL.getTypeSizeInBits(DestIntTy);
1225 uint64_t DstSize = CGF.CGM.getDataLayout().getTypeAllocSize(Ty);
1232 uint64_t SrcSize = CGF.CGM.getDataLayout().getTypeAllocSize(SrcTy);
1301 uint64_t SrcSize = CGF.CGM.getDataLayout().getTypeAllocSize(SrcTy);
1317 uint64_t DstSize = CGF.CGM.getDataLayout().getTypeAllocSize(DstTy);
2374 uint64_t ArrSize = ArrTy->getSize().getZExtValue();
2467 uint64_t SrcSize = CGM.getDataLayout().getTypeAllocSize(STy);
2469 uint64_t DstSize = CGM.getDataLayout().getTypeAllocSize(DstTy);
3864 uint64_t size =
4004 uint64_t ByvalTempElementSize =
4098 uint64_t SrcSize = CGM.getDataLayout().getTypeAllocSize(SrcTy);
4099 uint64_t DstSize = CGM.getDataLayout().getTypeAllocSize(STy);
tools/clang/lib/CodeGen/CGClass.cpp 448 uint64_t SubVTTIndex;
766 uint64_t Size;
767 uint64_t Offset;
803 uint64_t TypeSize = Info.getNonVirtualSize().getQuantity();
807 uint64_t AsanAlignment = 8;
808 uint64_t NextField = i == SSV.size() - 1 ? TypeSize : SSV[i + 1].Offset;
809 uint64_t PoisonSize = NextField - SSV[i].Offset - SSV[i].Size;
810 uint64_t EndOffset = SSV[i].Offset + SSV[i].Size;
923 CharUnits getMemcpySize(uint64_t FirstByteOffset) const {
930 uint64_t MemcpySizeBits = LastFieldOffset + LastFieldSize -
943 uint64_t FirstByteOffset;
1013 uint64_t FOffset = RecLayout.getFieldOffset(F->getFieldIndex());
1027 uint64_t FirstFieldOffset, LastFieldOffset;
2806 const CXXRecordDecl *RD, llvm::Value *VTable, uint64_t VTableByteOffset) {
tools/clang/lib/CodeGen/CGDebugInfo.cpp 607 uint64_t DwoId = 0;
816 uint64_t Size = CGM.getContext().getTypeSize(BT);
826 uint64_t Size = CGM.getContext().getTypeSize(Ty);
982 uint64_t Size = 0;
1008 uint64_t Size = CGM.getTarget().getPointerWidth(AddressSpace);
1033 uint64_t CGDebugInfo::collectDefaultElementTypesForBlockPointer(
1040 uint64_t FieldOffset = 0;
1058 uint64_t FieldSize = CGM.getContext().getTypeSize(Ty);
1073 uint64_t FieldOffset;
1091 uint64_t Size = CGM.getContext().getTypeSize(Ty);
1259 uint64_t SizeInBits = BitFieldInfo.Size;
1261 uint64_t StorageOffsetInBits =
1263 uint64_t Offset = BitFieldInfo.Offset;
1269 uint64_t OffsetInBits = StorageOffsetInBits + Offset;
1278 AccessSpecifier AS, uint64_t offsetInBits,
1287 uint64_t SizeInBits = 0;
1373 const FieldDecl *field, uint64_t OffsetInBits, llvm::DIFile *tunit,
1494 uint64_t Size = CGM.getTarget().getPointerWidth(AS);
1711 uint64_t BaseOffset;
1793 uint64_t fieldOffset = CGM.getContext().getFieldOffset(D);
1993 uint64_t PtrWidth =
2418 uint64_t Signature =
2452 uint64_t Size = CGM.getContext().getTypeSize(Ty);
2536 uint64_t FieldSize = 0;
2548 uint64_t FieldOffset;
2622 uint64_t Size = CGM.getContext().getTypeSize(Ty);
2629 uint64_t Size;
2706 uint64_t Size = 0;
2758 uint64_t Size = 0;
2801 uint64_t Size = 0;
3132 uint64_t Size = CGM.getContext().getTypeSize(Ty);
3218 StringRef Name, uint64_t *Offset) {
3220 uint64_t FieldSize = CGM.getContext().getTypeSize(FType);
3835 uint64_t *XOffset) {
3838 uint64_t FieldSize, FieldOffset;
3921 uint64_t XOffset = 0;
4099 uint64_t XOffset = 0;
4166 uint64_t OffsetInBits;
4270 uint64_t offsetInBits = Chunk.OffsetInBits;
4297 uint64_t xoffset;
4635 void CGDebugInfo::setDwoId(uint64_t Signature) {
tools/clang/lib/CodeGen/CGDebugInfo.h 271 uint64_t offsetInBits, uint32_t AlignInBits,
277 uint64_t offsetInBits, llvm::DIFile *tunit,
297 void CollectRecordNormalField(const FieldDecl *Field, uint64_t OffsetInBits,
330 uint64_t collectDefaultElementTypesForBlockPointer(
359 void setDwoId(uint64_t Signature);
535 uint64_t *OffSet);
594 StringRef Name, uint64_t *Offset);
tools/clang/lib/CodeGen/CGDecl.cpp 942 uint64_t GlobalSize) {
951 uint64_t SizeLimit = 32;
963 uint64_t GlobalSize,
965 uint64_t SizeLimit = 32;
975 uint64_t GlobalByteSize) {
977 uint64_t ByteSizeLimit = 64;
1145 uint64_t ConstantSize = CGM.getDataLayout().getTypeAllocSize(Ty);
1177 uint64_t Value = 0x00;
1286 llvm::Value *CodeGenFunction::EmitLifetimeStart(uint64_t Size,
1513 uint64_t size = CGM.getDataLayout().getTypeAllocSize(allocaTy);
tools/clang/lib/CodeGen/CGDeclCXX.cpp 166 uint64_t Width = Size.getQuantity();
306 static const uint64_t InitsPerTLSVar = 1024;
307 static const uint64_t InitsPerLocalVar = 1024 * 1024;
317 uint64_t NumInits;
tools/clang/lib/CodeGen/CGExpr.cpp 714 uint64_t TySize = getContext().getTypeSizeInChars(Ty).getQuantity();
738 uint64_t AlignVal = 0;
889 uint64_t EltSize = C.getTypeSizeInChars(EltTy).getQuantity();
994 uint64_t AmountVal = isInc ? 1 : -1;
tools/clang/lib/CodeGen/CGExprAgg.cpp 272 uint64_t Size =
471 uint64_t NumInitElements = E->getNumInits();
473 uint64_t NumArrayElements = AType->getNumElements();
548 for (uint64_t i = 0; i != NumInitElements; ++i) {
1643 uint64_t numElements = E->getArraySize().getZExtValue();
tools/clang/lib/CodeGen/CGExprCXX.cpp 1633 unsigned AllocatorAlign = llvm::PowerOf2Floor(std::min<uint64_t>(
tools/clang/lib/CodeGen/CGExprConstant.cpp 117 bool addBits(llvm::APInt Bits, uint64_t OffsetInBits, bool AllowOverwrite);
179 bool ConstantAggregateBuilder::addBits(llvm::APInt Bits, uint64_t OffsetInBits,
182 const uint64_t CharWidth = CGM.getContext().getCharWidth();
557 bool AppendField(const FieldDecl *Field, uint64_t FieldOffset,
563 bool AppendBitField(const FieldDecl *Field, uint64_t FieldOffset,
573 const FieldDecl *Field, uint64_t FieldOffset, llvm::Constant *InitCst,
589 const FieldDecl *Field, uint64_t FieldOffset, llvm::ConstantInt *CI,
591 uint64_t FieldSize = Field->getBitWidthValue(CGM.getContext());
800 uint64_t OffsetBits = CGM.getContext().toBits(Offset);
1675 uint64_t innerSize = CGM.getContext().getTypeSize(destValueType);
1676 uint64_t outerSize = CGM.getContext().getTypeSize(destType);
2182 uint64_t fieldOffset = getContext().getFieldOffset(decl);
tools/clang/lib/CodeGen/CGNonTrivialStruct.cpp 25 static uint64_t getFieldSize(const FieldDecl *FD, QualType FT,
61 uint64_t getFieldOffsetInBits(const FieldDecl *FD) {
111 uint64_t FieldSize = getFieldSize(FD, FT, Ctx);
117 uint64_t FStartInBits = asDerived().getFieldOffsetInBits(FD);
118 uint64_t FEndInBits = FStartInBits + FieldSize;
119 uint64_t RoundedFEnd = llvm::alignTo(FEndInBits, Ctx.getCharWidth());
259 uint64_t OffsetInBits =
tools/clang/lib/CodeGen/CGObjC.cpp 126 uint64_t NumElements =
163 for (uint64_t i = 0; i < NumElements; i++) {
1060 uint64_t ivarSize = getContext().toBits(strategy.getIvarSize());
1074 uint64_t retTySize = CGM.getDataLayout().getTypeSizeInBits(retTy);
1720 uint64_t EntryCount = getCurrentProfileCount();
tools/clang/lib/CodeGen/CGObjCGNU.cpp 986 uint64_t str = 0;
1834 uint64_t BaseOffset = ComputeIvarBaseOffset(CGM, OID, IVD);
1835 uint64_t Offset = BaseOffset - superInstanceSize;
3189 uint64_t val = 1;
3438 uint64_t BaseOffset = ComputeIvarBaseOffset(CGM, OID, IVD);
3439 uint64_t Offset = BaseOffset;
4098 uint64_t Offset = ComputeIvarBaseOffset(CGF.CGM, Interface, Ivar);
tools/clang/lib/CodeGen/CGObjCMac.cpp 999 uint64_t InlineLayoutInstruction(SmallVectorImpl<unsigned char> &Layout);
2291 uint64_t SizeInWords;
2292 IvarInfo(CharUnits offset, uint64_t sizeInWords)
2521 uint64_t ElCount = CArray->getSize().getZExtValue();
2537 uint64_t ElIx = 1;
2568 uint64_t BitFieldSize
2621 uint64_t CGObjCCommonMac::InlineLayoutInstruction(
2623 uint64_t Result = 0;
2790 uint64_t Result = InlineLayoutInstruction(Layout);
3151 uint64_t size =
3755 uint64_t size =
4911 uint64_t Offset = ComputeIvarBaseOffset(CGM, Interface, Ivar);
5031 uint64_t Size = CGM.getDataLayout().getTypeAllocSize(ObjCTypes.ModuleTy);
5208 uint64_t numElts = 1;
5235 for (uint64_t eltIndex = 1; eltIndex != numElts; ++eltIndex) {
5849 uint64_t SetJmpBufferSize = 18;
tools/clang/lib/CodeGen/CGObjCRuntime.cpp 29 uint64_t CGObjCRuntime::ComputeIvarBaseOffset(CodeGen::CodeGenModule &CGM,
36 uint64_t CGObjCRuntime::ComputeIvarBaseOffset(CodeGen::CodeGenModule &CGM,
88 uint64_t FieldBitOffset =
90 uint64_t BitOffset = FieldBitOffset % CGF.CGM.getContext().getCharWidth();
91 uint64_t AlignmentBits = CGF.CGM.getTarget().getCharAlign();
92 uint64_t BitFieldSize = Ivar->getBitWidthValue(CGF.getContext());
tools/clang/lib/CodeGen/CGObjCRuntime.h 78 uint64_t ComputeIvarBaseOffset(CodeGen::CodeGenModule &CGM,
81 uint64_t ComputeIvarBaseOffset(CodeGen::CodeGenModule &CGM,
tools/clang/lib/CodeGen/CGOpenMPRuntime.cpp 4017 llvm::Constant *ID, llvm::Constant *Addr, uint64_t Size, int32_t Flags,
7038 enum OpenMPOffloadMappingFlags : uint64_t {
7080 for (uint64_t Remain = OMP_MAP_MEMBER_OF; !(Remain & 1);
8618 SmallVector<uint64_t, 4> Mapping(MapTypes.size(), 0);
tools/clang/lib/CodeGen/CGOpenMPRuntime.h 225 uint64_t Size, int32_t Flags,
tools/clang/lib/CodeGen/CGOpenMPRuntimeNVPTX.cpp 1836 uint64_t Size, int32_t,
tools/clang/lib/CodeGen/CGOpenMPRuntimeNVPTX.h 98 uint64_t Size, int32_t Flags,
tools/clang/lib/CodeGen/CGRecordLayout.h 99 uint64_t Offset, uint64_t Size,
99 uint64_t Offset, uint64_t Size,
100 uint64_t StorageSize,
tools/clang/lib/CodeGen/CGRecordLayoutBuilder.cpp 121 llvm::Type *getIntNType(uint64_t NumBits) {
145 CharUnits bitsToCharUnits(uint64_t BitOffset) {
164 uint64_t getFieldBitOffset(const FieldDecl *FD) {
379 uint64_t StartBitOffset, Tail = 0;
382 uint64_t BitOffset = getFieldBitOffset(*Field);
695 uint64_t Offset, uint64_t Size,
695 uint64_t Offset, uint64_t Size,
696 uint64_t StorageSize,
704 uint64_t TypeSizeInBits = Types.getContext().toBits(TypeSizeInBytes);
786 uint64_t TypeSizeInBits = getContext().toBits(Layout.getSize());
793 uint64_t AlignedNonVirtualTypeSizeInBits =
tools/clang/lib/CodeGen/CGStmt.cpp 802 uint64_t ParentCount = getCurrentProfileCount();
842 uint64_t BackedgeCount = getProfileCount(S.getBody()) - ParentCount;
1195 uint64_t Total = getProfileCount(&S);
1201 uint64_t Weight = Total / NCases, Rem = Total % NCases;
1234 uint64_t ThisCount = getProfileCount(&S);
1235 uint64_t DefaultCount = (*SwitchWeights)[0];
1588 SmallVector<uint64_t, 16> *SavedSwitchWeights = SwitchWeights;
1649 uint64_t DefaultCount = 0;
1658 SwitchWeights = new SmallVector<uint64_t, 16>();
1828 uint64_t Size = CGM.getDataLayout().getTypeSizeInBits(Ty);
2069 uint64_t InputSize = getContext().getTypeSize(InputTy);
2312 uint64_t ResSize = CGM.getDataLayout().getTypeSizeInBits(TruncTy);
2317 uint64_t TmpSize =CGM.getDataLayout().getTypeSizeInBits(Tmp->getType());
tools/clang/lib/CodeGen/CGStmtOpenMP.cpp 1604 llvm::BasicBlock *FalseBlock, uint64_t TrueCount) {
tools/clang/lib/CodeGen/CGVTT.cpp 129 uint64_t CodeGenVTables::getSubVTTIndex(const CXXRecordDecl *RD,
139 for (llvm::DenseMap<BaseSubobject, uint64_t>::const_iterator I =
154 uint64_t
166 for (llvm::DenseMap<BaseSubobject, uint64_t>::const_iterator I =
tools/clang/lib/CodeGen/CGVTables.h 41 typedef llvm::DenseMap<BaseSubobjectPairTy, uint64_t> SubVTTIndiciesMapTy;
46 typedef llvm::DenseMap<BaseSubobjectPairTy, uint64_t>
88 uint64_t getSubVTTIndex(const CXXRecordDecl *RD, BaseSubobject Base);
92 uint64_t getSecondaryVirtualPointerIndex(const CXXRecordDecl *RD,
tools/clang/lib/CodeGen/CodeGenFunction.cpp 1062 uint64_t CurrentCount = getCurrentProfileCount();
1369 uint64_t TrueCount) {
1401 uint64_t RHSCount = getProfileCount(CondBOp->getRHS());
1448 uint64_t LHSCount =
1450 uint64_t RHSCount = TrueCount - LHSCount;
1476 uint64_t FalseCount = getCurrentProfileCount() - TrueCount;
1497 uint64_t LHSScaledTrueCount = 0;
1548 uint64_t CurrentCount = std::max(getCurrentProfileCount(), TrueCount);
1757 uint64_t countFromCLAs = 1;
tools/clang/lib/CodeGen/CodeGenFunction.h 1334 llvm::MDNode *createProfileWeights(uint64_t TrueCount, uint64_t FalseCount);
1334 llvm::MDNode *createProfileWeights(uint64_t TrueCount, uint64_t FalseCount);
1335 llvm::MDNode *createProfileWeights(ArrayRef<uint64_t> Weights);
1337 uint64_t LoopCount);
1349 uint64_t getProfileCount(const Stmt *S) {
1350 Optional<uint64_t> Count = PGO.getStmtCount(S);
1357 void setCurrentProfileCount(uint64_t Count) {
1363 uint64_t getCurrentProfileCount() {
1373 SmallVector<uint64_t, 16> *SwitchWeights = nullptr;
1970 uint64_t VTableByteOffset);
2569 llvm::Value *EmitLifetimeStart(uint64_t Size, llvm::Value *Addr);
4063 llvm::BasicBlock *FalseBlock, uint64_t TrueCount);
4350 static uint64_t GetX86CpuSupportsMask(ArrayRef<StringRef> FeatureStrs);
4367 llvm::Value *EmitX86CpuSupports(uint64_t Mask);
tools/clang/lib/CodeGen/CodeGenModule.cpp 517 uint64_t WCharWidth =
527 uint64_t EnumWidth = Context.getLangOpts().ShortEnums ? 1 : 4;
tools/clang/lib/CodeGen/CodeGenPGO.cpp 71 uint64_t Working;
77 static const unsigned NumTypesPerWord = sizeof(uint64_t) * 8 / NumBitsPerType;
134 uint64_t finalize();
352 uint64_t CurrentCount;
355 llvm::DenseMap<const Stmt *, uint64_t> &CountMap;
359 uint64_t BreakCount;
360 uint64_t ContinueCount;
365 ComputeRegionCounts(llvm::DenseMap<const Stmt *, uint64_t> &CountMap,
377 uint64_t setCount(uint64_t Count) {
377 uint64_t setCount(uint64_t Count) {
391 uint64_t BodyCount = setCount(PGO.getRegionCount(D->getBody()));
403 uint64_t BodyCount = setCount(PGO.getRegionCount(D->getBody()));
410 uint64_t BodyCount = setCount(PGO.getRegionCount(D->getBody()));
417 uint64_t BodyCount = setCount(PGO.getRegionCount(D->getBody()));
447 uint64_t BlockCount = setCount(PGO.getRegionCount(S));
470 uint64_t ParentCount = CurrentCount;
475 uint64_t BodyCount = setCount(PGO.getRegionCount(S));
478 uint64_t BackedgeCount = CurrentCount;
485 uint64_t CondCount =
495 uint64_t LoopCount = PGO.getRegionCount(S);
499 uint64_t BodyCount = setCount(LoopCount + CurrentCount);
502 uint64_t BackedgeCount = CurrentCount;
507 uint64_t CondCount = setCount(BackedgeCount + BC.ContinueCount);
519 uint64_t ParentCount = CurrentCount;
524 uint64_t BodyCount = setCount(PGO.getRegionCount(S));
527 uint64_t BackedgeCount = CurrentCount;
533 uint64_t IncCount = setCount(BackedgeCount + BC.ContinueCount);
539 uint64_t CondCount =
558 uint64_t ParentCount = CurrentCount;
562 uint64_t BodyCount = setCount(PGO.getRegionCount(S));
565 uint64_t BackedgeCount = CurrentCount;
570 uint64_t IncCount = setCount(BackedgeCount + BC.ContinueCount);
575 uint64_t CondCount =
586 uint64_t ParentCount = CurrentCount;
589 uint64_t BodyCount = setCount(PGO.getRegionCount(S));
592 uint64_t BackedgeCount = CurrentCount;
622 uint64_t CaseCount = PGO.getRegionCount(S);
633 uint64_t ParentCount = CurrentCount;
640 uint64_t ThenCount = setCount(PGO.getRegionCount(S));
643 uint64_t OutCount = CurrentCount;
645 uint64_t ElseCount = ParentCount - ThenCount;
670 uint64_t CatchCount = setCount(PGO.getRegionCount(S));
677 uint64_t ParentCount = CurrentCount;
682 uint64_t TrueCount = setCount(PGO.getRegionCount(E));
685 uint64_t OutCount = CurrentCount;
687 uint64_t FalseCount = setCount(ParentCount - TrueCount);
698 uint64_t ParentCount = CurrentCount;
701 uint64_t RHSCount = setCount(PGO.getRegionCount(E));
710 uint64_t ParentCount = CurrentCount;
713 uint64_t RHSCount = setCount(PGO.getRegionCount(E));
730 uint64_t Swapped = endian::byte_swap<uint64_t, little>(Working);
730 uint64_t Swapped = endian::byte_swap<uint64_t, little>(Working);
740 uint64_t PGOHash::finalize() {
870 StmtCountMap.reset(new llvm::DenseMap<const Stmt *, uint64_t>);
888 uint64_t FunctionCount = getRegionCount(nullptr);
991 static uint64_t calculateWeightScale(uint64_t MaxWeight) {
991 static uint64_t calculateWeightScale(uint64_t MaxWeight) {
1004 static uint32_t scaleBranchWeight(uint64_t Weight, uint64_t Scale) {
1004 static uint32_t scaleBranchWeight(uint64_t Weight, uint64_t Scale) {
1006 uint64_t Scaled = Weight / Scale + 1;
1011 llvm::MDNode *CodeGenFunction::createProfileWeights(uint64_t TrueCount,
1012 uint64_t FalseCount) {
1018 uint64_t Scale = calculateWeightScale(std::max(TrueCount, FalseCount));
1026 CodeGenFunction::createProfileWeights(ArrayRef<uint64_t> Weights) {
1032 uint64_t MaxWeight = *std::max_element(Weights.begin(), Weights.end());
1037 uint64_t Scale = calculateWeightScale(MaxWeight);
1041 for (uint64_t W : Weights)
1049 uint64_t LoopCount) {
1052 Optional<uint64_t> CondCount = PGO.getStmtCount(Cond);
tools/clang/lib/CodeGen/CodeGenPGO.h 35 uint64_t FunctionHash;
37 std::unique_ptr<llvm::DenseMap<const Stmt *, uint64_t>> StmtCountMap;
39 std::vector<uint64_t> RegionCounts;
40 uint64_t CurrentRegionCount;
53 uint64_t getCurrentRegionCount() const { return CurrentRegionCount; }
58 void setCurrentRegionCount(uint64_t Count) { CurrentRegionCount = Count; }
62 Optional<uint64_t> getStmtCount(const Stmt *S) {
107 uint64_t getRegionCount(const Stmt *S) {
tools/clang/lib/CodeGen/CodeGenTBAA.cpp 60 uint64_t Size) {
115 uint64_t Size = Context.getTypeSizeInChars(Ty).getQuantity();
226 uint64_t Size = Context.getTypeSizeInChars(AccessType).getQuantity();
238 CodeGenTBAA::CollectFields(uint64_t BaseOffset,
262 uint64_t Offset = BaseOffset +
273 uint64_t Offset = BaseOffset;
274 uint64_t Size = Context.getTypeSizeInChars(QTy).getQuantity();
310 uint64_t BitOffset = Layout.getFieldOffset(Field->getFieldIndex());
311 uint64_t Offset = Context.toCharUnitsFromBits(BitOffset).getQuantity();
312 uint64_t Size = Context.getTypeSizeInChars(FieldQTy).getQuantity();
328 uint64_t Size = Context.getTypeSizeInChars(Ty).getQuantity();
334 SmallVector<std::pair<llvm::MDNode*, uint64_t>, 4> OffsetsAndTypes;
tools/clang/lib/CodeGen/CodeGenTBAA.h 44 llvm::MDNode *AccessType, uint64_t Offset, uint64_t Size)
44 llvm::MDNode *AccessType, uint64_t Offset, uint64_t Size)
50 uint64_t Offset, uint64_t Size)
50 uint64_t Offset, uint64_t Size)
55 explicit TBAAAccessInfo(llvm::MDNode *AccessType, uint64_t Size)
109 uint64_t Offset;
112 uint64_t Size;
152 bool CollectFields(uint64_t BaseOffset,
160 uint64_t Size);
226 DenseMapInfo<uint64_t>::getEmptyKey(),
227 DenseMapInfo<uint64_t>::getEmptyKey());
236 DenseMapInfo<uint64_t>::getTombstoneKey(),
237 DenseMapInfo<uint64_t>::getTombstoneKey());
245 DenseMapInfo<uint64_t>::getHashValue(Val.Offset) ^
246 DenseMapInfo<uint64_t>::getHashValue(Val.Size);
tools/clang/lib/CodeGen/CodeGenTypes.cpp 678 uint64_t valueSize = Context.getTypeSize(valueType);
679 uint64_t atomicSize = Context.getTypeSize(Ty);
tools/clang/lib/CodeGen/CoverageMappingGen.cpp 1321 llvm::GlobalVariable *NamePtr, StringRef NameValue, uint64_t FuncHash,
tools/clang/lib/CodeGen/CoverageMappingGen.h 70 uint64_t FunctionHash,
tools/clang/lib/CodeGen/ItaniumCXXABI.cpp 871 uint64_t offset = cast<llvm::ConstantInt>(adj)->getZExtValue();
919 uint64_t offset = cast<llvm::ConstantInt>(adj)->getZExtValue();
969 uint64_t Index = CGM.getItaniumVTableContext().getMethodVTableIndex(MD);
974 uint64_t VTableOffset = (Index * PointerWidth.getQuantity());
1249 uint64_t TypeSize = getContext().getTypeSizeInChars(ThrowType).getQuantity();
1723 uint64_t VirtualPointerIndex =
1783 uint64_t VTableIndex = CGM.getItaniumVTableContext().getMethodVTableIndex(GD);
tools/clang/lib/CodeGen/MicrosoftCXXABI.cpp 1186 uint64_t ConstantVBaseOffset = I->second.VBaseOffset.getQuantity();
tools/clang/lib/CodeGen/ObjectFilePCHContainerOperations.cpp 253 uint64_t Signature =
tools/clang/lib/CodeGen/PatternInit.cpp 23 const uint64_t IntValue =
34 constexpr uint64_t NaNPayload = 0xFFFFFFFFFFFFFFFFull;
tools/clang/lib/CodeGen/SwiftCallingConv.cpp 79 for (uint64_t i = 0, e = arrayType->getSize().getZExtValue(); i != e; ++i) {
172 uint64_t bitfieldBitBegin) {
186 uint64_t bitfieldBitLast = bitfieldBitBegin + width - 1;
tools/clang/lib/CodeGen/TargetInfo.cpp 54 const uint64_t Size = Context.getTypeSize(Ty);
55 const uint64_t Alignment = Context.getTypeAlign(Ty);
57 const uint64_t NumElements = (Size + Alignment - 1) / Alignment;
216 uint64_t Members) const {
974 static bool isX86VectorCallAggregateSmallEnough(uint64_t NumMembers) {
1030 uint64_t NumMembers) const override {
1208 uint64_t RetWidth = CGF.getContext().getTypeSize(ReturnSlot.getType());
1239 uint64_t Size = Context.getTypeSize(Ty);
1298 uint64_t Size = Context.getTypeSize(Ty);
1303 uint64_t &Size) {
1323 uint64_t &Size) {
1345 uint64_t Size = 0;
1385 uint64_t NumElts = 0;
1396 uint64_t Size = getContext().getTypeSize(RetTy);
1436 uint64_t Size = getContext().getTypeSize(RetTy);
1653 uint64_t NumElts = 0;
1712 uint64_t Size = getContext().getTypeSize(Ty);
1757 uint64_t NumElts = 0;
1774 uint64_t NumElts = 0;
2122 void classify(QualType T, uint64_t OffsetBase, Class &Lo, Class &Hi,
2256 uint64_t NumMembers) const override {
2555 void X86_64ABIInfo::classify(QualType Ty, uint64_t OffsetBase,
2620 uint64_t EB_FuncPtr = (OffsetBase) / 64;
2621 uint64_t EB_ThisAdj = (OffsetBase + 64 - 1) / 64;
2635 uint64_t Size = getContext().getTypeSize(VT);
2645 uint64_t EB_Lo = (OffsetBase) / 64;
2646 uint64_t EB_Hi = (OffsetBase + Size - 1) / 64;
2705 uint64_t Size = getContext().getTypeSize(Ty);
2729 uint64_t EB_Real = (OffsetBase) / 64;
2730 uint64_t EB_Imag = (OffsetBase + getContext().getTypeSize(ET)) / 64;
2740 uint64_t Size = getContext().getTypeSize(Ty);
2757 uint64_t EltSize = getContext().getTypeSize(AT->getElementType());
2758 uint64_t ArraySize = AT->getSize().getZExtValue();
2768 for (uint64_t i=0, Offset=OffsetBase; i<ArraySize; ++i, Offset += EltSize) {
2783 uint64_t Size = getContext().getTypeSize(Ty);
2821 uint64_t Offset =
2837 uint64_t Offset = OffsetBase + Layout.getFieldOffset(idx);
2877 uint64_t Offset = OffsetBase + Layout.getFieldOffset(idx);
2878 uint64_t Size = i->getBitWidthValue(getContext());
2880 uint64_t EB_Lo = Offset / 64;
2881 uint64_t EB_Hi = (Offset + Size - 1) / 64;
2920 uint64_t Size = getContext().getTypeSize(VecTy);
2982 uint64_t Size = getContext().getTypeSize(Ty);
3009 uint64_t Size = getContext().getTypeSize(Ty);
3021 uint64_t Size = getContext().getTypeSize(Ty);
3708 uint64_t SizeInBytes = (CGF.getContext().getTypeSize(Ty) + 7) / 8;
3833 uint64_t TySize = SizeAlign.first.getQuantity();
3918 uint64_t NumElts = 0;
3939 uint64_t Width = Info.Width;
3955 uint64_t NumElts = 0;
4114 uint64_t Width = getContext().getTypeSize(Ty);
4434 uint64_t Members) const override;
4568 uint64_t Members = 0;
4598 uint64_t &Members) const {
4600 uint64_t NElements = AT->getSize().getZExtValue();
4620 uint64_t FldMembers;
4645 uint64_t FldMembers;
4718 const Type *Base, uint64_t Members) const {
4741 uint64_t Size = getContext().getTypeSize(Ty);
4754 uint64_t ABIAlign = getParamTypeAlignment(Ty).getQuantity();
4755 uint64_t TyAlign = getContext().getTypeAlignInChars(Ty).getQuantity();
4759 uint64_t Members = 0;
4771 uint64_t Bits = getContext().getTypeSize(Ty);
4783 uint64_t RegBits = ABIAlign * 8;
4784 uint64_t NumRegs = llvm::alignTo(Bits, RegBits) / RegBits;
4813 uint64_t Size = getContext().getTypeSize(RetTy);
4825 uint64_t Members = 0;
4834 uint64_t Bits = getContext().getTypeSize(RetTy);
4998 uint64_t Members) const override;
5112 uint64_t Size = getContext().getTypeSize(Ty);
5154 uint64_t Size = getContext().getTypeSize(Ty);
5169 uint64_t Members = 0;
5221 uint64_t Size = getContext().getTypeSize(RetTy);
5226 uint64_t Members = 0;
5258 uint64_t Size = getContext().getTypeSize(VT);
5295 uint64_t Members) const {
5428 uint64_t NumMembers = 0;
5571 uint64_t Members = 0;
5645 uint64_t Members) const;
5652 uint64_t Members) const override;
5827 uint64_t Size = getContext().getTypeSize(Ty);
5843 uint64_t Members) const {
5849 uint64_t Size = getContext().getTypeSize(VT);
5911 uint64_t Members = 0;
5919 uint64_t Members = 0;
5941 uint64_t ABIAlign = 4;
5942 uint64_t TyAlign;
5985 uint64_t Size = Context.getTypeSize(Ty);
6121 uint64_t Size = getContext().getTypeSize(RetTy);
6141 uint64_t Members = 0;
6148 uint64_t Size = getContext().getTypeSize(RetTy);
6198 uint64_t Size = getContext().getTypeSize(VT);
6212 uint64_t NElements = AT->getSize().getZExtValue();
6271 uint64_t Members) const {
6302 uint64_t Members = 0;
6402 const uint64_t Size = Context.getTypeSize(Ty);
6403 const uint64_t Alignment = Context.getTypeAlign(Ty);
6406 const uint64_t NumElements = (Size + Div - 1) / Div;
6852 uint64_t Size = getContext().getTypeSize(Ty);
6936 void CoerceToIntArgs(uint64_t TySize,
6938 llvm::Type* HandleAggregates(QualType Ty, uint64_t TySize) const;
6939 llvm::Type* returnAggregateInRegs(QualType RetTy, uint64_t Size) const;
6940 llvm::Type* getPaddingType(uint64_t Align, uint64_t Offset) const;
6940 llvm::Type* getPaddingType(uint64_t Align, uint64_t Offset) const;
6947 ABIArgInfo classifyArgumentType(QualType RetTy, uint64_t &Offset) const;
7023 uint64_t TySize, SmallVectorImpl<llvm::Type *> &ArgList) const {
7040 llvm::Type* MipsABIInfo::HandleAggregates(QualType Ty, uint64_t TySize) const {
7063 uint64_t LastOffset = 0;
7077 uint64_t Offset = Layout.getFieldOffset(idx);
7096 llvm::Type *MipsABIInfo::getPaddingType(uint64_t OrigOffset,
7097 uint64_t Offset) const {
7105 MipsABIInfo::classifyArgumentType(QualType Ty, uint64_t &Offset) const {
7108 uint64_t OrigOffset = Offset;
7109 uint64_t TySize = getContext().getTypeSize(Ty);
7110 uint64_t Align = getContext().getTypeAlign(Ty) / 8;
7150 MipsABIInfo::returnAggregateInRegs(QualType RetTy, uint64_t Size) const {
7192 uint64_t Size = getContext().getTypeSize(RetTy);
7241 uint64_t Offset = RetInfo.isIndirect() ? MinABIStackAlignInBytes : 0;
7486 uint64_t Size = getContext().getTypeSize(Ty);
7522 uint64_t Size = getContext().getTypeSize(RetTy);
7686 uint64_t Members) const override;
7706 const Type *Base, uint64_t Members) const {
7787 uint64_t Size = getContext().getTypeSize(RetTy);
7854 uint64_t Size = getContext().getTypeSize(Ty);
8210 uint64_t Size;
8217 void pad(uint64_t ToSize) {
8223 uint64_t Aligned = llvm::alignTo(Size, 64);
8243 void addFloat(uint64_t Offset, llvm::Type *Ty, unsigned Bits) {
8256 void addStruct(uint64_t Offset, llvm::StructType *StrTy) {
8260 uint64_t ElemOffset = Offset + Layout->getElementOffsetInBits(i);
8308 uint64_t Size = getContext().getTypeSize(Ty);
9331 uint64_t Size = getContext().getTypeSize(Ty);
9371 uint64_t ArraySize = ATy->getSize().getZExtValue();
9374 for (uint64_t i = 0; i < ArraySize; ++i) {
9398 uint64_t FieldOffInBits = Layout.getFieldOffset(FD->getFieldIndex());
9531 uint64_t Size = getContext().getTypeSize(Ty);
9568 uint64_t NeededAlign = getContext().getTypeAlign(Ty);
tools/clang/lib/Edit/RewriteObjCFoundationAPI.cpp 995 uint64_t FinalTySize = Ctx.getTypeSize(FinalTy);
996 uint64_t OrigTySize = Ctx.getTypeSize(OrigTy);
tools/clang/lib/Frontend/ASTUnit.cpp 286 static uint64_t getDeclShowContexts(const NamedDecl *ND,
296 uint64_t Contexts = 0;
429 uint64_t NNSContexts
447 if (uint64_t RemainingContexts
1906 uint64_t NormalContexts;
2052 uint64_t InContexts =
tools/clang/lib/Frontend/CompilerInvocation.cpp 3679 uint64_t getLastArgUInt64Value(const ArgList &Args, OptSpecifier Id,
3680 uint64_t Default,
3682 return getLastArgIntValueImpl<uint64_t>(Args, Id, Default, Diags);
tools/clang/lib/Frontend/LayoutOverrideSource.cpp 156 uint64_t &Size, uint64_t &Alignment,
156 uint64_t &Size, uint64_t &Alignment,
157 llvm::DenseMap<const FieldDecl *, uint64_t> &FieldOffsets,
tools/clang/lib/Frontend/PrecompiledPreamble.cpp 406 uint64_t Result;
tools/clang/lib/Frontend/Rewrite/RewriteModernObjC.cpp 129 llvm::DenseSet<uint64_t> CopyDestroyCache;
tools/clang/lib/Frontend/Rewrite/RewriteObjC.cpp 120 llvm::DenseSet<uint64_t> CopyDestroyCache;
tools/clang/lib/Frontend/SerializedDiagnosticPrinter.cpp 51 typedef SmallVector<uint64_t, 64> RecordData;
52 typedef SmallVectorImpl<uint64_t> RecordDataImpl;
53 typedef ArrayRef<uint64_t> RecordDataRef;
tools/clang/lib/Frontend/SerializedDiagnosticReader.cpp 194 SmallVector<uint64_t, 1> Record;
223 SmallVector<uint64_t, 16> Record;
tools/clang/lib/Frontend/TestModuleFileExtension.cpp 40 uint64_t Record[] = {FIRST_EXTENSION_RECORD_ID, Message.size()};
49 SmallVector<uint64_t, 4> Record;
tools/clang/lib/Frontend/TextDiagnostic.cpp 677 uint64_t StartOfLocationInfo = OS.tell();
tools/clang/lib/Frontend/TextDiagnosticPrinter.cpp 126 uint64_t StartOfLocationInfo = OS.tell();
tools/clang/lib/Lex/LiteralSupport.cpp 991 uint64_t N = 0;
1072 uint64_t Exponent = 0;
1113 uint64_t NumBitsNeeded;
1152 uint64_t Base = (radix == 16) ? 2 : 10;
1342 uint64_t result =
tools/clang/lib/Lex/ModuleMap.cpp 1354 uint64_t IntegerValue;
1370 uint64_t getInteger() const {
1584 uint64_t Value;
tools/clang/lib/Lex/Pragma.cpp 1282 uint64_t Value;
1324 uint64_t Value;
1346 uint64_t Value;
tools/clang/lib/Lex/Preprocessor.cpp 1343 bool Preprocessor::parseSimpleIntegerLiteral(Token &Tok, uint64_t &Value) {
tools/clang/lib/Parse/ParsePragma.cpp 2391 uint64_t Value = 0;
tools/clang/lib/Sema/MultiplexExternalSemaSource.cpp 71 Stmt *MultiplexExternalSemaSource::GetExternalDeclStmt(uint64_t Offset) {
79 uint64_t Offset){
87 MultiplexExternalSemaSource::GetExternalCXXCtorInitializers(uint64_t Offset) {
181 uint64_t &Size,
182 uint64_t &Alignment,
183 llvm::DenseMap<const FieldDecl *, uint64_t> &FieldOffsets,
tools/clang/lib/Sema/SemaChecking.cpp 420 uint64_t Result;
1654 uint64_t mask = 0;
8937 uint64_t ArgSize = Context.getTypeSize(ArgType);
13285 uint64_t ptrarith_typesize = Context.getTypeSize(EffectiveType);
13286 uint64_t array_typesize = Context.getTypeSize(BaseType);
13291 uint64_t ratio = array_typesize / ptrarith_typesize;
14380 const ValueDecl **VD, uint64_t *MagicValue,
14472 uint64_t MagicValue;
14505 uint64_t MagicValue, QualType Type,
tools/clang/lib/Sema/SemaDecl.cpp12786 uint64_t MagicValue = MagicValueInt.getZExtValue();
15818 uint64_t TypeStorageSize = Context.getTypeSize(FieldTy);
15819 uint64_t TypeWidth = Context.getIntWidth(FieldTy);
tools/clang/lib/Sema/SemaDeclAttr.cpp 698 uint64_t ParamIdxFromOne = ArgValue.getZExtValue();
699 uint64_t ParamIdxFromZero = ParamIdxFromOne - 1;
3523 uint64_t FirstSize = S.Context.getTypeSize(FirstType);
3524 uint64_t FirstAlign = S.Context.getTypeAlign(FirstType);
3711 uint64_t AlignVal = Alignment.getZExtValue();
tools/clang/lib/Sema/SemaDeclCXX.cpp 1017 uint64_t I) {
6240 uint64_t TypeSize = isAArch64 ? 128 : 64;
tools/clang/lib/Sema/SemaExpr.cpp 6480 static bool breakDownVectorType(QualType type, uint64_t &len,
6517 uint64_t srcLen, destLen;
6525 uint64_t srcEltSize = Context.getTypeSize(srcEltTy);
6526 uint64_t destEltSize = Context.getTypeSize(destEltTy);
8890 uint64_t Bits = 0;
tools/clang/lib/Sema/SemaExprCXX.cpp 1911 llvm::Optional<uint64_t> KnownArraySize;
5291 static uint64_t EvaluateArrayTypeTrait(Sema &Self, ArrayTypeTrait ATT,
5310 uint64_t Dim;
5354 uint64_t Value = 0;
tools/clang/lib/Sema/SemaInit.cpp 193 uint64_t StrLength = ConstantArrayTy->getSize().getZExtValue();
2872 uint64_t StrLen = SL->getLength();
2894 uint64_t StrLen = Str.size();
8533 const uint64_t SamplerValue = Result.getLimitedValue();
tools/clang/lib/Sema/SemaOpenMP.cpp13437 uint64_t Size = Context.getTypeSize(Type);
13458 uint64_t Size = Context.getTypeSize(Type);
tools/clang/lib/Sema/SemaOverload.cpp 2086 uint64_t FromSize = Context.getTypeSize(FromType);
2096 uint64_t ToSize = Context.getTypeSize(PromoteTypes[Idx]);
tools/clang/lib/Sema/SemaStmtAsm.cpp 606 uint64_t OutSize = Context.getTypeSize(OutTy);
607 uint64_t InSize = Context.getTypeSize(InTy);
tools/clang/lib/Serialization/ASTReader.cpp 1102 uint64_t Data;
1146 uint64_t Offset,
1196 uint64_t Offset,
1633 uint64_t Offset = Cursor.GetCurrentBitNo();
1672 MacroInfo *ASTReader::ReadMacroRecord(ModuleFile &F, uint64_t Offset) {
1864 ikey.Size = off_t(endian::readNext<uint64_t, little, unaligned>(d));
1865 ikey.ModTime = time_t(endian::readNext<uint64_t, little, unaligned>(d));
1932 uint64_t MacroDirectivesOffset) {
2298 uint64_t StoredContentHash = FI.ContentHash;
3655 const uint64_t Count = Record[I++];
3657 for (uint64_t C = 0; C < Count; ++C) {
4716 const SmallVectorImpl<uint64_t> &Record,
7655 ASTReader::GetExternalCXXCtorInitializers(uint64_t Offset) {
7687 CXXBaseSpecifier *ASTReader::GetExternalCXXBaseSpecifiers(uint64_t Offset) {
7916 Stmt *ASTReader::GetExternalDeclStmt(uint64_t Offset) {
8290 for (uint64_t ID : PreloadedDeclIDs) {
8661 uint64_t Count = DelayedDeleteExprs[Idx++];
8662 for (uint64_t C = 0; C < Count; ++C) {
9589 ReadFixedPointSemantics(const SmallVectorImpl<uint64_t> &Record,
9593 uint64_t Tmp = Record[Idx++];
tools/clang/lib/Serialization/ASTReaderDecl.cpp 101 uint64_t GetCurrentCursorOffset();
103 uint64_t ReadLocalOffset() {
104 uint64_t LocalOffset = Record.readInt();
109 uint64_t ReadGlobalOffset() {
110 uint64_t Local = ReadLocalOffset();
409 std::pair<uint64_t, uint64_t> VisitDeclContext(DeclContext *DC);
409 std::pair<uint64_t, uint64_t> VisitDeclContext(DeclContext *DC);
504 uint64_t ASTDeclReader::GetCurrentCursorOffset() {
1391 if (uint64_t Val = Record.readInt()) {
2349 std::pair<uint64_t, uint64_t>
2349 std::pair<uint64_t, uint64_t>
2351 uint64_t LexicalOffset = ReadLocalOffset();
2352 uint64_t VisibleOffset = ReadLocalOffset();
2365 uint64_t RedeclOffset = 0;
2661 const uint64_t &readInt() { return Record[Idx++]; }
2802 ASTReader::RecordLocation ASTReader::getLocalBitOffset(uint64_t GlobalOffset) {
2809 uint64_t ASTReader::getGlobalBitOffset(ModuleFile &M, uint32_t LocalOffset) {
3903 std::pair<uint64_t, uint64_t> Offsets = Reader.VisitDeclContext(DC);
3903 std::pair<uint64_t, uint64_t> Offsets = Reader.VisitDeclContext(DC);
3983 uint64_t Offset = FileAndOffset.second;
4047 void ASTReader::loadPendingDeclChain(Decl *FirstLocal, uint64_t LocalOffset) {
4279 uint64_t Val = Record.readInt();
4375 uint64_t LexicalOffset = ReadLocalOffset();
tools/clang/lib/Serialization/ASTReaderStmt.cpp 208 uint64_t NumAttrs = Record.readInt();
540 uint64_t tmp = Record.readInt();
2442 llvm::DenseMap<uint64_t, Stmt *> StmtEntries;
tools/clang/lib/Serialization/ASTWriter.cpp 151 uint64_t Emit() {
1850 std::vector<uint64_t> InputFileOffsets;
2035 LE.write<uint64_t>(key.Size);
2037 LE.write<uint64_t>(key.ModTime);
2047 uint64_t Start = Out.tell(); (void)Start;
2960 uint64_t ParentID = 0;
3206 uint64_t Offset = W.Emit();
3229 uint64_t ASTWriter::WriteDeclContextLexicalBlock(ASTContext &Context,
3234 uint64_t Offset = Stream.GetCurrentBitNo();
3377 uint64_t Start = Out.tell();
3394 uint64_t Start = Out.tell(); (void)Start;
3623 bool isInterestingIdentifier(const IdentifierInfo *II, uint64_t MacroOffset) {
3991 uint64_t Start = Out.tell(); (void)Start;
4197 uint64_t ASTWriter::WriteDeclContextVisibleBlock(ASTContext &Context,
4265 uint64_t Offset = Stream.GetCurrentBitNo();
5194 uint64_t ID;
5196 ModuleInfo(uint64_t ID, Module *M) : ID(ID), M(M) {}
5439 const uint64_t *Words = Value.getRawData();
5545 uint64_t ASTWriter::getMacroDirectivesOffset(const IdentifierInfo *Name) {
6127 static uint64_t EmitCXXBaseSpecifiers(ASTWriter &W,
6144 static uint64_t
tools/clang/lib/Serialization/ASTWriterDecl.cpp 48 uint64_t Emit(Decl *D) {
646 uint64_t Kind = static_cast<uint64_t>(ES.getKind());
2368 uint64_t Offset = W.Emit(D);
tools/clang/lib/Serialization/ASTWriterStmt.cpp 44 uint64_t Emit() {
2404 llvm::DenseMap<Stmt *, uint64_t>::iterator I = SubStmtEntries.find(S);
2432 uint64_t Offset = Writer.Emit();
tools/clang/lib/Serialization/GlobalModuleIndex.cpp 178 SmallVector<uint64_t, 64> Record;
469 SmallVectorImpl<uint64_t> &Record) {
484 SmallVectorImpl<uint64_t> &Record) {
494 SmallVector<uint64_t, 64> Record;
619 SmallVector<uint64_t, 64> Record;
788 SmallVector<uint64_t, 2> Record;
843 uint64_t Record[] = {IDENTIFIER_INDEX, BucketOffset};
tools/clang/lib/StaticAnalyzer/Checkers/BasicObjCFoundationChecks.cpp 352 uint64_t SourceSize, uint64_t TargetSize, uint64_t NumberKind);
352 uint64_t SourceSize, uint64_t TargetSize, uint64_t NumberKind);
352 uint64_t SourceSize, uint64_t TargetSize, uint64_t NumberKind);
375 static Optional<uint64_t> GetCFNumberSize(ASTContext &Ctx, uint64_t i) {
375 static Optional<uint64_t> GetCFNumberSize(ASTContext &Ctx, uint64_t i) {
452 uint64_t NumberKind = V->getValue().getLimitedValue();
453 Optional<uint64_t> OptCFNumberSize = GetCFNumberSize(Ctx, NumberKind);
459 uint64_t CFNumberSize = *OptCFNumberSize;
484 uint64_t PrimitiveTypeSize = Ctx.getTypeSize(T);
tools/clang/lib/StaticAnalyzer/Checkers/CStringSyntaxChecker.cpp 162 uint64_t DstOff = 0;
182 uint64_t ILRawVal = IL->getValue().getZExtValue();
202 uint64_t BufferLen = C.getTypeSize(Buffer) / 8;
tools/clang/lib/StaticAnalyzer/Checkers/CallAndMessageChecker.cpp 567 const uint64_t voidPtrSize = Ctx.getTypeSize(Ctx.VoidPtrTy);
568 const uint64_t returnTypeSize = Ctx.getTypeSize(CanRetTy);
tools/clang/lib/StaticAnalyzer/Checkers/CheckSecuritySyntaxOnly.cpp 670 uint64_t ArraySize = BR.getContext().getTypeSize(Array) / 8;
tools/clang/lib/StaticAnalyzer/Checkers/MallocChecker.cpp 399 mutable Optional<uint64_t> KernelZeroFlagVal;
tools/clang/lib/StaticAnalyzer/Checkers/ObjCContainersASTChecker.cpp 32 uint64_t PtrWidth;
tools/clang/lib/StaticAnalyzer/Checkers/PaddingChecker.cpp 72 void visitRecord(const RecordDecl *RD, uint64_t PadMultiplier = 1) const {
118 uint64_t Elts = 0;
tools/clang/lib/StaticAnalyzer/Checkers/StdLibraryFunctionsChecker.cpp 83 typedef uint64_t RangeIntTy;
tools/clang/lib/StaticAnalyzer/Checkers/UnixAPIChecker.cpp 42 mutable Optional<uint64_t> Val_O_CREAT;
tools/clang/lib/StaticAnalyzer/Core/BasicValueFactory.cpp 113 const llvm::APSInt& BasicValueFactory::getValue(uint64_t X, unsigned BitWidth,
120 const llvm::APSInt& BasicValueFactory::getValue(uint64_t X, QualType T) {
237 uint64_t Amt = V2.getZExtValue();
260 uint64_t Amt = V2.getZExtValue();
tools/clang/lib/StaticAnalyzer/Core/ExprEngine.cpp 1999 uint64_t bits = 0;
2008 uint64_t newBits = Ctx.getTypeSize(T);
tools/clang/lib/StaticAnalyzer/Core/RegionStore.cpp 50 uint64_t Data;
61 explicit BindingKey(const MemRegion *r, uint64_t offset, Kind k)
75 uint64_t getOffset() const {
878 uint64_t Length = UINT64_MAX;
1186 Optional<uint64_t> NumElements;
1194 uint64_t ElemSize = Ctx.getTypeSize(ElementTy);
1205 uint64_t LowerOffset = RO.getOffset();
1206 uint64_t UpperOffset = LowerOffset + *NumElements * ElemSize;
1221 Optional<uint64_t> ROffset =
2238 Optional<uint64_t> Size;
2261 uint64_t i = 0;
tools/clang/lib/StaticAnalyzer/Core/SimpleSValBuilder.cpp 293 uint64_t ValWidth = RHS.getBitWidth();
294 uint64_t TypeWidth = Ctx.getTypeSize(SymbolType);
tools/clang/lib/StaticAnalyzer/Core/Store.cpp 62 uint64_t index) {
tools/clang/tools/clang-offload-bundler/ClangOffloadBundler.cpp 186 static uint64_t Read8byteIntegerFromBuffer(StringRef Buffer, size_t pos) {
187 uint64_t Res = 0;
192 uint64_t Char = (uint64_t)Data[pos + 7 - i];
199 static void Write8byteIntegerToBuffer(raw_fd_ostream &OS, uint64_t Val) {
211 uint64_t Size = 0u;
213 uint64_t Offset = 0u;
216 BundleInfo(uint64_t Size, uint64_t Offset) : Size(Size), Offset(Offset) {}
216 BundleInfo(uint64_t Size, uint64_t Offset) : Size(Size), Offset(Offset) {}
251 uint64_t NumberOfBundles = Read8byteIntegerFromBuffer(FC, ReadChars);
255 for (uint64_t i = 0; i < NumberOfBundles; ++i) {
261 uint64_t Offset = Read8byteIntegerFromBuffer(FC, ReadChars);
268 uint64_t Size = Read8byteIntegerFromBuffer(FC, ReadChars);
275 uint64_t TripleSize = Read8byteIntegerFromBuffer(FC, ReadChars);
322 uint64_t HeaderSize = 0;
tools/clang/tools/extra/clang-doc/BitcodeReader.cpp 18 using Record = llvm::SmallVector<uint64_t, 1024>;
tools/clang/tools/extra/clang-tidy/cppcoreguidelines/NarrowingConversionsCheck.cpp 141 uint64_t TypeSize = Context.getTypeSize(&T);
163 uint64_t HexBits) {
203 const llvm::APSInt &Value, const uint64_t HexBits) {
tools/clang/tools/extra/clang-tidy/cppcoreguidelines/NarrowingConversionsCheck.h 44 const uint64_t HexBits);
tools/clang/tools/extra/clang-tidy/cppcoreguidelines/ProTypeVarargCheck.cpp 31 static bool hasSingleVariadicArgumentWithValue(const CallExpr *C, uint64_t I) {
tools/clang/tools/extra/clang-tidy/misc/RedundantExpressionCheck.cpp 854 uint64_t LhsConstant = LhsValue.getZExtValue();
855 uint64_t RhsConstant = RhsValue.getZExtValue();
tools/clang/tools/extra/clang-tidy/misc/ThrowByValueCatchByReferenceCheck.cpp 26 MaxSize(Options.get("MaxSize", std::numeric_limits<uint64_t>::max())) {}
164 if (MaxSize == std::numeric_limits<uint64_t>::max())
tools/clang/tools/extra/clang-tidy/misc/ThrowByValueCatchByReferenceCheck.h 45 uint64_t MaxSize; // No `const` because we have to set it in two steps.
tools/clang/tools/extra/clang-tidy/readability/ContainerSizeEmptyCheck.cpp 137 uint64_t Value = 0;
tools/clang/tools/extra/clangd/SourceCode.cpp 683 uint64_t Hash{llvm::xxHash64(Content)};
tools/clang/tools/extra/clangd/Trace.cpp 74 uint64_t TID = llvm::get_threadid(), double Timestamp = 0) {
141 uint64_t TID;
162 uint64_t TID = llvm::get_threadid();
184 llvm::DenseSet<uint64_t> ThreadsWithMD /*GUARDED_BY(Mu)*/;
tools/clang/unittests/ASTMatchers/Dynamic/ParserTest.cpp 26 uint64_t expectMatcher(StringRef MatcherName) {
146 const uint64_t ExpectedFoo = Sema.expectMatcher("Foo");
147 const uint64_t ExpectedBar = Sema.expectMatcher("Bar");
148 const uint64_t ExpectedBaz = Sema.expectMatcher("Baz");
tools/clang/unittests/Basic/FixedPointTest.cpp 224 void CheckIntPartMax(const FixedPointSemantics &Sema, uint64_t Expected) {
tools/clang/unittests/CodeGen/IRMatchers.h 210 uint64_t IntValue;
213 ConstantIntMatcher(uint64_t V, unsigned W = 0) : IntValue(V), Width(W) {}
370 inline std::shared_ptr<Matcher> MConstInt(uint64_t V, unsigned W = 0) {
tools/clang/unittests/Lex/HeaderMapTest.cpp 192 PaddedFile<FileTy, uint64_t> P;
227 PaddedFile<FileTy, uint64_t> P;
tools/clang/utils/TableGen/ClangCommentHTMLNamedCharacterReferenceEmitter.cpp 58 uint64_t CodePoint = Tag.getValueAsInt("CodePoint");
tools/clang/utils/TableGen/ClangSACheckersEmitter.cpp 61 static inline uint64_t getValueFromBitsInit(const BitsInit *B, const Record &R) {
64 uint64_t Value = 0;
79 uint64_t V = getValueFromBitsInit(BI, R);
tools/clang/utils/TableGen/NeonEmitter.cpp 2138 uint64_t Mask;
2159 uint64_t Mask = 0ULL;
tools/dsymutil/CompileUnit.cpp 65 uint64_t CompileUnit::computeNextUnitOffset() {
95 void CompileUnit::addLabelLowPc(uint64_t LabelLowPc, int64_t PcOffset) {
99 void CompileUnit::addFunctionRange(uint64_t FuncLowPc, uint64_t FuncHighPc,
99 void CompileUnit::addFunctionRange(uint64_t FuncLowPc, uint64_t FuncHighPc,
tools/dsymutil/CompileUnit.h 26 using FunctionIntervals = HalfOpenIntervalMap<uint64_t, int64_t>;
35 void set(uint64_t New) const {
42 uint64_t get() const {
124 uint64_t getStartOffset() const { return StartOffset; }
125 uint64_t getNextUnitOffset() const { return NextUnitOffset; }
126 void setStartOffset(uint64_t DebugInfoSize) { StartOffset = DebugInfoSize; }
128 uint64_t getLowPc() const { return LowPc; }
129 uint64_t getHighPc() const { return HighPc; }
130 bool hasLabelAt(uint64_t Addr) const { return Labels.count(Addr); }
158 uint64_t computeNextUnitOffset();
172 void addLabelLowPc(uint64_t LabelLowPc, int64_t PcOffset);
176 void addFunctionRange(uint64_t LowPC, uint64_t HighPC, int64_t PCOffset);
176 void addFunctionRange(uint64_t LowPC, uint64_t HighPC, int64_t PCOffset);
261 uint64_t StartOffset;
262 uint64_t NextUnitOffset;
264 uint64_t LowPc = std::numeric_limits<uint64_t>::max();
264 uint64_t LowPc = std::numeric_limits<uint64_t>::max();
265 uint64_t HighPc = 0;
285 SmallDenseMap<uint64_t, uint64_t, 1> Labels;
285 SmallDenseMap<uint64_t, uint64_t, 1> Labels;
tools/dsymutil/DebugMap.cpp 46 bool DebugMapObject::addSymbol(StringRef Name, Optional<uint64_t> ObjectAddress,
47 uint64_t LinkedAddress, uint32_t Size) {
101 DebugMapObject::lookupObjectAddress(uint64_t Address) const {
239 StringMap<uint64_t> SymbolAddresses;
256 uint64_t Address = Sym.getValue();
273 Optional<uint64_t> ObjAddress;
tools/dsymutil/DebugMap.h 144 SymbolMapping(Optional<uint64_t> ObjectAddr, uint64_t BinaryAddress,
144 SymbolMapping(Optional<uint64_t> ObjectAddr, uint64_t BinaryAddress,
161 bool addSymbol(StringRef SymName, Optional<uint64_t> ObjectAddress,
162 uint64_t LinkedAddress, uint32_t Size);
170 const DebugMapEntry *lookupObjectAddress(uint64_t Address) const;
204 DenseMap<uint64_t, DebugMapEntry *> AddressToMapping;
tools/dsymutil/DeclContext.cpp 120 std::numeric_limits<uint64_t>::max());
tools/dsymutil/DwarfLinker.cpp 108 static CompileUnit *getUnitForOffset(const UnitListTy &Units, uint64_t Offset) {
126 uint64_t RefOffset = *RefValue.getAsReference();
291 DeclContextTree &Contexts, uint64_t ModulesEndOffset,
413 static bool isMachOPairedReloc(uint64_t RelocType, uint64_t Arch) {
413 static bool isMachOPairedReloc(uint64_t RelocType, uint64_t Arch) {
466 uint64_t Offset64 = Reloc.getOffset();
472 uint64_t OffsetCopy = Offset64;
474 uint64_t Addend = Data.getUnsigned(&OffsetCopy, RelocSize);
475 uint64_t SymAddress;
561 uint64_t StartOffset, uint64_t EndOffset, CompileUnit::DIEInfo &Info) {
561 uint64_t StartOffset, uint64_t EndOffset, CompileUnit::DIEInfo &Info) {
567 uint64_t RelocOffset = ValidRelocs[NextValidReloc].Offset;
581 const uint64_t BinaryAddress = Mapping.BinaryAddress;
582 const uint64_t ObjectAddress = Mapping.ObjectAddress
584 : std::numeric_limits<uint64_t>::max();
603 static std::pair<uint64_t, uint64_t>
603 static std::pair<uint64_t, uint64_t>
605 uint64_t Offset, const DWARFUnit &Unit) {
612 uint64_t End = Offset;
640 uint64_t Offset = DIE.getOffset() + getULEB128Size(Abbrev->getCode());
642 uint64_t LocationOffset, LocationEndOffset;
680 uint64_t Offset = DIE.getOffset() + getULEB128Size(Abbrev->getCode());
682 uint64_t LowPcOffset, LowPcEndOffset;
716 Optional<uint64_t> HighPc = DIE.getHighPC(*LowPc);
794 uint64_t Offset = Die.getOffset() + getULEB128Size(Abbrev->getCode());
1039 uint64_t Ref = *Val.getAsReference();
1081 uint64_t Attr;
1110 uint64_t OpOffset = 0;
1130 uint64_t RefOffset;
1226 uint64_t Addr = *Val.getAsAddress();
1243 Addr = (Info.OrigLowPc != std::numeric_limits<uint64_t>::max()
1249 if (Addr == std::numeric_limits<uint64_t>::max())
1255 if (uint64_t HighPc = Unit.getHighPc())
1275 uint64_t Value;
1395 MutableArrayRef<char> Data, uint64_t BaseOffset, bool IsLittleEndian) {
1408 uint64_t EndOffset = BaseOffset + Data.size();
1416 uint64_t Value = ValidReloc.Mapping->getValue().BinaryAddress;
1513 uint64_t Offset = InputDIE.getOffset();
1540 uint64_t NextOffset = (Idx + 1 < U.getNumDIEs())
1566 std::numeric_limits<uint64_t>::max());
1605 uint64_t AttrSize = Offset;
1644 uint64_t RuntimeLang =
1713 uint64_t OrigLowPc =
1722 uint64_t Offset = RangeAttribute.get();
1823 uint64_t StmtOffset = *StmtList;
1866 uint64_t StopAddress = CurrRange != InvalidRange
2018 uint64_t InputOffset = 0;
2022 DenseMap<uint64_t, StringRef> LocalCIES;
2025 uint64_t EntryOffset = InputOffset;
2150 static uint64_t getDwoId(const DWARFDie &CUDie, const DWARFUnit &Unit) {
2162 uint64_t ModulesEndOffset, unsigned &UnitID, bool IsLittleEndian,
2170 uint64_t DwoId = getDwoId(CUDie, Unit);
2238 DWARFDie CUDie, StringRef Filename, StringRef ModuleName, uint64_t DwoId,
2241 DeclContextTree &ODRContexts, uint64_t ModulesEndOffset, unsigned &UnitID,
2317 uint64_t PCMDwoId = getDwoId(CUDie, *CU);
2687 const uint64_t ModulesEndOffset = OutputDebugInfoSize;
tools/dsymutil/DwarfLinker.h 28 uint64_t HighPC;
32 DebugMapObjectRange(uint64_t EndPC, int64_t Offset)
39 using RangesTy = std::map<uint64_t, DebugMapObjectRange>;
85 uint64_t Offset;
87 uint64_t Addend;
90 ValidReloc(uint64_t Offset, uint32_t Size, uint64_t Addend,
90 ValidReloc(uint64_t Offset, uint32_t Size, uint64_t Addend,
135 bool hasValidRelocation(uint64_t StartOffset, uint64_t EndOffset,
135 bool hasValidRelocation(uint64_t StartOffset, uint64_t EndOffset,
138 bool applyValidRelocs(MutableArrayRef<char> Data, uint64_t BaseOffset,
202 uint64_t ModulesEndOffset, unsigned &UnitID,
210 StringRef ModuleName, uint64_t DwoId,
214 DeclContextTree &ODRContexts, uint64_t ModulesEndOffset,
316 uint64_t OrigLowPc = std::numeric_limits<uint64_t>::max();
316 uint64_t OrigLowPc = std::numeric_limits<uint64_t>::max();
319 uint64_t OrigHighPc = 0;
470 uint64_t OutputDebugInfoSize;
495 StringMap<uint64_t> ClangModules;
tools/dsymutil/DwarfStreamer.cpp 273 int64_t UnitPcOffset, uint64_t OrigLowPc,
317 std::vector<std::pair<uint64_t, uint64_t>> Ranges;
317 std::vector<std::pair<uint64_t, uint64_t>> Ranges;
355 uint64_t RangeStart = Range->first;
402 uint64_t BaseAddressMarker = (AddressSize == 8)
403 ? std::numeric_limits<uint64_t>::max()
415 uint64_t Offset = Attr.first.get();
421 uint64_t Low = Data.getUnsigned(&Offset, AddressSize);
422 uint64_t High = Data.getUnsigned(&Offset, AddressSize);
440 uint64_t Length = Data.getU16(&Offset);
493 uint64_t Address = -1ULL;
603 void DwarfStreamer::translateLineTable(DataExtractor Data, uint64_t Offset) {
611 uint64_t UnitEnd = Offset + UnitLength;
634 uint64_t AfterHeaderLengthOffset = Offset;
664 uint64_t OffsetBeforeLEBs = Offset;
tools/dsymutil/DwarfStreamer.h 83 int64_t UnitPcOffset, uint64_t OrigLowPc,
110 void translateLineTable(DataExtractor LineData, uint64_t Offset);
115 uint64_t getLineSectionSize() const { return LineSectionSize; }
171 uint64_t LineSectionSize;
tools/dsymutil/MachODebugMapParser.cpp 51 StringMap<uint64_t> MainBinarySymbolAddresses;
59 StringMap<Optional<uint64_t>> CurrentObjectAddresses;
65 uint64_t CurrentFunctionAddress;
74 uint64_t getMainBinarySymbolAddress(StringRef Name);
75 std::vector<StringRef> getMainBinarySymbolNames(uint64_t Value);
80 uint64_t Value);
93 void dumpSymTabEntry(raw_ostream &OS, uint64_t Index, uint32_t StringIndex,
95 uint64_t Value);
98 void dumpSymTabEntry(raw_ostream &OS, uint64_t Index, const STEType &STE) {
137 uint64_t CommonAddr = getMainBinarySymbolAddress(CommonSymbol);
251 void MachODebugMapParser::dumpSymTabEntry(raw_ostream &OS, uint64_t Index,
254 uint64_t Value) {
321 uint64_t Idx = 0;
401 uint64_t Value) {
480 uint64_t Addr = Sym.getValue();
510 uint64_t MachODebugMapParser::getMainBinarySymbolAddress(StringRef Name) {
519 MachODebugMapParser::getMainBinarySymbolNames(uint64_t Value) {
564 uint64_t Addr = Sym.getValue();
tools/dsymutil/MachOUtils.cpp 243 uint64_t LinkeditOffset, uint64_t LinkeditSize, uint64_t DwarfSegmentSize,
243 uint64_t LinkeditOffset, uint64_t LinkeditSize, uint64_t DwarfSegmentSize,
243 uint64_t LinkeditOffset, uint64_t LinkeditSize, uint64_t DwarfSegmentSize,
244 uint64_t &GapForDwarf, uint64_t &EndAddress) {
244 uint64_t &GapForDwarf, uint64_t &EndAddress) {
260 uint64_t PrevEndAddress = EndAddress;
268 std::max<uint64_t>(PrevEndAddress, Segment.vmaddr + Segment.vmsize);
283 static void createDwarfSegment(uint64_t VMAddr, uint64_t FileOffset,
283 static void createDwarfSegment(uint64_t VMAddr, uint64_t FileOffset,
284 uint64_t FileSize, unsigned NumSections,
425 uint64_t DwarfSegmentSize = 0;
432 if (uint64_t Size = Layout.getSectionFileSize(Sec)) {
448 uint64_t NewStringsSize = 0;
455 uint64_t SymtabStart = LoadCommandSize;
480 uint64_t StringStart = SymtabStart + NumSyms * NListSize;
485 uint64_t DwarfSegmentStart = StringStart + NewStringsSize;
490 uint64_t EndAddress = 0;
491 uint64_t GapForDwarf = UINT64_MAX;
505 uint64_t DwarfVMAddr = alignTo(EndAddress, 0x1000);
506 uint64_t DwarfVMMax = Is64Bit ? UINT64_MAX : UINT32_MAX;
555 uint64_t Pos = OutFile.tell();
tools/dsymutil/NonRelocatableStringpool.h 57 uint64_t getSize() { return CurrentEndOffset; }
tools/gold/gold-plugin.cpp 56 uint64_t *num_symbols, const char ***wrap_symbol_list);
627 uint64_t count = 0;
632 for (uint64_t i = 0; i < count; i++) {
tools/lld/COFF/Chunks.cpp 79 OutputSection *os, uint64_t s) {
82 uint64_t secRel = s - os->getRVA();
101 uint64_t s, uint64_t p) const {
101 uint64_t s, uint64_t p) const {
121 uint64_t s, uint64_t p) const {
121 uint64_t s, uint64_t p) const {
184 uint64_t s, uint64_t p) const {
184 uint64_t s, uint64_t p) const {
186 uint64_t sx = s;
208 void applyArm64Addr(uint8_t *off, uint64_t s, uint64_t p, int shift) {
208 void applyArm64Addr(uint8_t *off, uint64_t s, uint64_t p, int shift) {
210 uint64_t imm = ((orig >> 29) & 0x3) | ((orig >> 3) & 0x1FFFFC);
215 uint64_t mask = (0x3 << 29) | (0x1FFFFC << 3);
222 void applyArm64Imm(uint8_t *off, uint64_t imm, uint32_t rangeLimit) {
237 static void applyArm64Ldr(uint8_t *off, uint64_t imm) {
250 OutputSection *os, uint64_t s) {
256 OutputSection *os, uint64_t s) {
259 uint64_t secRel = (s - os->getRVA()) >> 12;
269 OutputSection *os, uint64_t s) {
293 uint64_t s, uint64_t p) const {
293 uint64_t s, uint64_t p) const {
393 uint64_t s = sym->getRVA();
396 uint64_t p = rva + rel.VirtualAddress;
716 uint64_t offset = target->getRVA() - rva - 12;
tools/lld/COFF/Chunks.h 88 void setRVA(uint64_t v) {
215 void applyRelX64(uint8_t *off, uint16_t type, OutputSection *os, uint64_t s,
216 uint64_t p) const;
217 void applyRelX86(uint8_t *off, uint16_t type, OutputSection *os, uint64_t s,
218 uint64_t p) const;
219 void applyRelARM(uint8_t *off, uint16_t type, OutputSection *os, uint64_t s,
220 uint64_t p) const;
221 void applyRelARM64(uint8_t *off, uint16_t type, OutputSection *os, uint64_t s,
222 uint64_t p) const;
649 AbsolutePointerChunk(uint64_t value) : value(value) {
656 uint64_t value;
673 void applyArm64Addr(uint8_t *off, uint64_t s, uint64_t p, int shift);
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);
tools/lld/COFF/Config.h 196 uint64_t align = 4096;
197 uint64_t imageBase = -1;
198 uint64_t fileAlign = 512;
199 uint64_t stackReserve = 1024 * 1024;
200 uint64_t stackCommit = 4096;
201 uint64_t heapReserve = 1024 * 1024;
202 uint64_t heapCommit = 4096;
tools/lld/COFF/DLL.cpp 620 uint64_t DelayLoadContents::getDirSize() {
tools/lld/COFF/DLL.h 48 uint64_t getDirRVA() { return dirs[0]->getRVA(); }
49 uint64_t getDirSize();
73 uint64_t getRVA() { return chunks[0]->getRVA(); }
74 uint64_t getSize() {
tools/lld/COFF/Driver.cpp 254 uint64_t offsetInArchive) {
289 uint64_t offsetInArchive = c.getChildOffset();
588 static uint64_t getDefaultImageBase() {
932 uint64_t symIndex = decodeULEB128(cur, &size, contents.end(), &err);
tools/lld/COFF/Driver.h 130 StringRef parentName, uint64_t offsetInArchive);
147 void parseNumbers(StringRef arg, uint64_t *addr, uint64_t *size = nullptr);
147 void parseNumbers(StringRef arg, uint64_t *addr, uint64_t *size = nullptr);
tools/lld/COFF/DriverUtils.cpp 76 void parseNumbers(StringRef arg, uint64_t *addr, uint64_t *size) {
76 void parseNumbers(StringRef arg, uint64_t *addr, uint64_t *size) {
tools/lld/COFF/InputFiles.cpp 880 uint64_t offsetInArchive,
tools/lld/COFF/InputFiles.h 111 llvm::DenseSet<uint64_t> seen;
339 uint64_t offsetInArchive)
342 uint64_t offsetInArchive,
tools/lld/COFF/MapFile.cpp 42 static void writeHeader(raw_ostream &os, uint64_t addr, uint64_t size,
42 static void writeHeader(raw_ostream &os, uint64_t addr, uint64_t size,
43 uint64_t align) {
tools/lld/COFF/PDB.cpp 189 uint64_t globalSymbols = 0;
190 uint64_t moduleSymbols = 0;
191 uint64_t publicSymbols = 0;
tools/lld/COFF/SymbolTable.cpp 598 Symbol *SymbolTable::addAbsolute(StringRef n, uint64_t va) {
653 Symbol *SymbolTable::addCommon(InputFile *f, StringRef n, uint64_t size,
tools/lld/COFF/SymbolTable.h 86 Symbol *addAbsolute(StringRef n, uint64_t va);
98 Symbol *addCommon(InputFile *f, StringRef n, uint64_t size,
tools/lld/COFF/Symbols.h 136 uint64_t getRVA();
184 uint64_t getRVA() const { return (*data)->getRVA() + sym->Value; }
193 DefinedCommon(InputFile *f, StringRef n, uint64_t size,
204 uint64_t getRVA() { return data->getRVA(); }
209 uint64_t getSize() const { return size; }
211 uint64_t size;
222 DefinedAbsolute(StringRef n, uint64_t v)
229 uint64_t getRVA() { return va - config->imageBase; }
230 void setVA(uint64_t v) { va = v; }
238 uint64_t va;
322 uint64_t getRVA() { return file->location->getRVA(); }
346 uint64_t getRVA() { return data->getRVA(); }
369 uint64_t getRVA() { return data->getRVA(); }
376 inline uint64_t Defined::getRVA() {
tools/lld/COFF/Writer.cpp 106 uint64_t offs = os->getFileOff() + (record->getRVA() - os->getRVA());
129 uint64_t rva, uint64_t offs) const {
129 uint64_t rva, uint64_t offs) const {
243 uint64_t importTableSize = 0;
247 uint64_t iatSize = 0;
257 uint64_t fileSize;
259 uint64_t sizeOfImage;
260 uint64_t sizeOfHeaders;
336 static bool isInRange(uint16_t relType, uint64_t s, uint64_t p, int margin) {
336 static bool isInRange(uint16_t relType, uint64_t s, uint64_t p, int margin) {
368 getThunk(DenseMap<uint64_t, Defined *> &lastThunks, Defined *target, uint64_t p,
368 getThunk(DenseMap<uint64_t, Defined *> &lastThunks, Defined *target, uint64_t p,
402 DenseMap<uint64_t, Defined *> lastThunks;
429 uint64_t p = sc->getRVA() + rel.VirtualAddress + thunksSize;
435 uint64_t s = sym->getRVA();
514 uint64_t p = sc->getRVA() + rel.VirtualAddress;
515 uint64_t s = sym->getRVA();
1172 uint64_t fileOff = fileSize;
1222 uint64_t rva = alignTo(sizeOfHeaders, config->align);
1227 uint64_t rawSize = 0, virtualSize = 0;
1419 uint64_t offsetInChunk = b->getRVA() - sc->getRVA();
1781 uint64_t hash = 0;
tools/lld/COFF/Writer.h 48 uint64_t getRVA() { return header.VirtualAddress; }
49 uint64_t getFileOff() { return header.PointerToRawData; }
58 uint64_t getVirtualSize() { return header.VirtualSize; }
61 uint64_t getRawSize() { return header.SizeOfRawData; }
tools/lld/Common/Args.cpp 51 uint64_t lld::args::getZOptionValue(opt::InputArgList &args, int id,
52 StringRef key, uint64_t Default) {
56 uint64_t result = Default;
tools/lld/Common/DWARF.cpp 91 Optional<DILineInfo> DWARFCache::getDILineInfo(uint64_t offset,
92 uint64_t sectionIndex) {
tools/lld/ELF/AArch64ErrataFix.cpp 338 static uint64_t scanCortexA53Errata843419(InputSection *isec, uint64_t &off,
338 static uint64_t scanCortexA53Errata843419(InputSection *isec, uint64_t &off,
339 uint64_t limit) {
340 uint64_t isecAddr = isec->getVA(0);
343 uint64_t initialPageOff = (isecAddr + off) & 0xfff;
354 uint64_t patchOff = 0;
376 Patch843419Section(InputSection *p, uint64_t off);
382 uint64_t getLDSTAddr() const;
387 uint64_t patcheeOffset;
392 Patch843419Section::Patch843419Section(InputSection *p, uint64_t off)
403 uint64_t Patch843419Section::getLDSTAddr() const {
418 uint64_t s = getLDSTAddr() + 4;
419 uint64_t p = patchSym->getVA() + 4;
484 uint64_t isecLimit;
485 uint64_t prevIsecLimit = isd.sections.front()->outSecOff;
486 uint64_t patchUpperBound = prevIsecLimit + target->getThunkSectionSpacing();
487 uint64_t outSecAddr = isd.sections.front()->getParent()->addr;
531 static void implementPatch(uint64_t adrpAddr, uint64_t patcheeOffset,
531 static void implementPatch(uint64_t adrpAddr, uint64_t patcheeOffset,
594 uint64_t off = (*codeSym)->value;
595 uint64_t limit =
599 uint64_t startAddr = isec->getVA(off);
600 if (uint64_t patcheeOffset =
tools/lld/ELF/ARMErrataFix.cpp 76 Patch657417Section(InputSection *p, uint64_t off, uint32_t instr, bool isARM);
83 uint64_t getBranchAddr() const;
88 uint64_t patcheeOffset;
135 Patch657417Section::Patch657417Section(InputSection *p, uint64_t off,
147 uint64_t Patch657417Section::getBranchAddr() const {
153 static uint64_t getThumbDestAddr(uint64_t sourceAddr, uint32_t instr) {
153 static uint64_t getThumbDestAddr(uint64_t sourceAddr, uint32_t instr) {
186 uint64_t s = getThumbDestAddr(getBranchAddr(), instr);
187 uint64_t p = getVA(4);
194 static bool branchDestInFirstRegion(const InputSection *isec, uint64_t off,
196 uint64_t sourceAddr = isec->getVA(0) + off;
198 uint64_t destAddr = sourceAddr;
203 uint64_t dst = (r->expr == R_PLT_PC) ? r->sym->getPltVA() : r->sym->getVA();
217 static bool patchInRange(const InputSection *isec, uint64_t off,
231 uint64_t off;
243 static ScanResult scanCortexA8Errata657417(InputSection *isec, uint64_t &off,
244 uint64_t limit) {
245 uint64_t isecAddr = isec->getVA(0);
271 uint64_t branchOff = off + 4;
354 uint64_t spacing = 0x100000 - 0x7500;
355 uint64_t isecLimit;
356 uint64_t prevIsecLimit = isd.sections.front()->outSecOff;
357 uint64_t patchUpperBound = prevIsecLimit + spacing;
358 uint64_t outSecAddr = isd.sections.front()->getParent()->addr;
432 uint64_t dstSymAddr = (sr.rel->expr == R_PLT_PC) ? sr.rel->sym->getPltVA()
489 uint64_t off = (*thumbSym)->value;
490 uint64_t limit = (nonThumbSym == mapSyms.end()) ? isec->data().size()
tools/lld/ELF/Arch/AArch64.cpp 27 uint64_t getAArch64Page(uint64_t expr) {
27 uint64_t getAArch64Page(uint64_t expr) {
40 void writePlt(uint8_t *buf, uint64_t gotPltEntryAddr, uint64_t pltEntryAddr,
40 void writePlt(uint8_t *buf, uint64_t gotPltEntryAddr, uint64_t pltEntryAddr,
43 uint64_t branchAddr, const Symbol &s) const override;
45 bool inBranchRange(RelType type, uint64_t src, uint64_t dst) const override;
45 bool inBranchRange(RelType type, uint64_t src, uint64_t dst) const override;
47 void relocateOne(uint8_t *loc, RelType type, uint64_t val) const override;
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;
207 uint64_t got = in.gotPlt->getVA();
208 uint64_t plt = in.plt->getVA();
215 void AArch64::writePlt(uint8_t *buf, uint64_t gotPltEntryAddr,
216 uint64_t pltEntryAddr, int32_t index,
233 uint64_t branchAddr, const Symbol &s) const {
239 uint64_t dst = (expr == R_PLT_PC) ? s.getPltVA() : s.getVA();
250 bool AArch64::inBranchRange(RelType type, uint64_t src, uint64_t dst) const {
250 bool AArch64::inBranchRange(RelType type, uint64_t src, uint64_t dst) const {
255 uint64_t range = 128 * 1024 * 1024;
264 static void write32AArch64Addr(uint8_t *l, uint64_t imm) {
267 uint64_t mask = (0x3 << 29) | (0x1FFFFC << 3);
273 static uint64_t getBits(uint64_t val, int start, int end) {
273 static uint64_t getBits(uint64_t val, int start, int end) {
274 uint64_t mask = ((uint64_t)1 << (end + 1 - start)) - 1;
281 static void or32AArch64Imm(uint8_t *l, uint64_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 {
570 void writePlt(uint8_t *buf, uint64_t gotPltEntryAddr, uint64_t pltEntryAddr,
570 void writePlt(uint8_t *buf, uint64_t gotPltEntryAddr, uint64_t pltEntryAddr,
609 uint64_t got = in.gotPlt->getVA();
610 uint64_t plt = in.plt->getVA();
630 void AArch64BtiPac::writePlt(uint8_t *buf, uint64_t gotPltEntryAddr,
631 uint64_t pltEntryAddr, int32_t index,
tools/lld/ELF/Arch/AMDGPU.cpp 29 void relocateOne(uint8_t *loc, RelType type, uint64_t val) const override;
61 void AMDGPU::relocateOne(uint8_t *loc, RelType type, uint64_t val) const {
tools/lld/ELF/Arch/ARM.cpp 37 void writePlt(uint8_t *buf, uint64_t gotPltEntryAddr, uint64_t pltEntryAddr,
37 void writePlt(uint8_t *buf, uint64_t gotPltEntryAddr, uint64_t pltEntryAddr,
39 void addPltSymbols(InputSection &isec, uint64_t off) const override;
42 uint64_t branchAddr, const Symbol &s) const override;
44 bool inBranchRange(RelType type, uint64_t src, uint64_t dst) const override;
44 bool inBranchRange(RelType type, uint64_t src, uint64_t dst) const override;
45 void relocateOne(uint8_t *loc, RelType type, uint64_t val) const override;
175 uint64_t gotPlt = in.gotPlt->getVA();
176 uint64_t l1 = in.plt->getVA() + 8;
194 uint64_t offset = in.gotPlt->getVA() - in.plt->getVA() - 4;
217 static void writePltLong(uint8_t *buf, uint64_t gotPltEntryAddr,
218 uint64_t pltEntryAddr, int32_t index,
227 uint64_t l1 = pltEntryAddr + 4;
233 void ARM::writePlt(uint8_t *buf, uint64_t gotPltEntryAddr,
234 uint64_t pltEntryAddr, int32_t index,
247 uint64_t offset = gotPltEntryAddr - pltEntryAddr - 8;
259 void ARM::addPltSymbols(InputSection &isec, uint64_t off) const {
265 uint64_t branchAddr, const Symbol &s) const {
283 uint64_t dst = (expr == R_PLT_PC) ? s.getPltVA() : s.getVA();
294 uint64_t dst = (expr == R_PLT_PC) ? s.getPltVA() : s.getVA();
335 bool ARM::inBranchRange(RelType type, uint64_t src, uint64_t dst) const {
335 bool ARM::inBranchRange(RelType type, uint64_t src, uint64_t dst) const {
336 uint64_t range;
337 uint64_t instrSize;
374 uint64_t distance = (src > dst) ? src - dst : dst - src;
378 void ARM::relocateOne(uint8_t *loc, RelType type, uint64_t val) const {
586 uint64_t val = read32le(buf) & 0x000f0fff;
tools/lld/ELF/Arch/AVR.cpp 49 void relocateOne(uint8_t *loc, RelType type, uint64_t val) const override;
60 void AVR::relocateOne(uint8_t *loc, RelType type, uint64_t val) const {
tools/lld/ELF/Arch/Hexagon.cpp 34 void relocateOne(uint8_t *loc, RelType type, uint64_t val) const override;
36 void writePlt(uint8_t *buf, uint64_t gotPltEntryAddr, uint64_t pltEntryAddr,
36 void writePlt(uint8_t *buf, uint64_t gotPltEntryAddr, uint64_t pltEntryAddr,
205 void Hexagon::relocateOne(uint8_t *loc, RelType type, uint64_t val) const {
300 uint64_t off = in.gotPlt->getVA() - in.plt->getVA();
305 void Hexagon::writePlt(uint8_t *buf, uint64_t gotPltEntryAddr,
306 uint64_t pltEntryAddr, int32_t index,
tools/lld/ELF/Arch/MSP430.cpp 39 void relocateOne(uint8_t *loc, RelType type, uint64_t val) const override;
63 void MSP430::relocateOne(uint8_t *loc, RelType type, uint64_t val) const {
tools/lld/ELF/Arch/Mips.cpp 35 void writePlt(uint8_t *buf, uint64_t gotPltEntryAddr, uint64_t pltEntryAddr,
35 void writePlt(uint8_t *buf, uint64_t gotPltEntryAddr, uint64_t pltEntryAddr,
38 uint64_t branchAddr, const Symbol &s) const override;
39 void relocateOne(uint8_t *loc, RelType type, uint64_t val) const override;
197 uint64_t va = in.plt->getVA();
216 static void writeValue(uint8_t *loc, uint64_t v, uint8_t bitsSize,
225 static void writeShuffleValue(uint8_t *loc, uint64_t v, uint8_t bitsSize,
239 static void writeMicroRelocation16(uint8_t *loc, uint64_t v, uint8_t bitsSize,
249 uint64_t gotPlt = in.gotPlt->getVA();
250 uint64_t plt = in.plt->getVA();
302 uint64_t gotPlt = in.gotPlt->getVA();
309 void MIPS<ELFT>::writePlt(uint8_t *buf, uint64_t gotPltEntryAddr,
310 uint64_t pltEntryAddr, int32_t index,
348 uint64_t branchAddr, const Symbol &s) const {
440 static std::pair<uint32_t, uint64_t>
441 calculateMipsRelChain(uint8_t *loc, RelType type, uint64_t val) {
478 static uint64_t fixupCrossModeJump(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/PPC.cpp 34 void writePlt(uint8_t *buf, uint64_t gotPltEntryAddr, uint64_t pltEntryAddr,
34 void writePlt(uint8_t *buf, uint64_t gotPltEntryAddr, uint64_t pltEntryAddr,
40 uint64_t branchAddr, const Symbol &s) const override;
42 bool inBranchRange(RelType type, uint64_t src, uint64_t dst) const override;
42 bool inBranchRange(RelType type, uint64_t src, uint64_t dst) const override;
43 void relocateOne(uint8_t *loc, RelType type, uint64_t val) const override;
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;
172 uint64_t branchAddr, const Symbol &s) const {
184 bool PPC::inBranchRange(RelType type, uint64_t src, uint64_t dst) const {
184 bool PPC::inBranchRange(RelType type, uint64_t src, uint64_t dst) const {
185 uint64_t offset = dst - src;
250 static std::pair<RelType, uint64_t> fromDTPREL(RelType type, uint64_t val) {
250 static std::pair<RelType, uint64_t> fromDTPREL(RelType type, uint64_t val) {
251 uint64_t dtpBiasedVal = val - 0x8000;
268 void PPC::relocateOne(uint8_t *loc, RelType type, uint64_t val) const {
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 23 static uint64_t ppc64TocOffset = 0x8000;
24 static uint64_t dynamicThreadPointerOffset = 0x8000;
63 uint64_t getPPC64TocBase() {
68 uint64_t tocVA = in.got->getVA();
110 getRelaTocSymAndAddend(InputSectionBase *tocSec, uint64_t offset) {
124 uint64_t index = std::min<uint64_t>(offset / 8, relas.size() - 1);
124 uint64_t index = std::min<uint64_t>(offset / 8, relas.size() - 1);
184 uint64_t tocRelative = d->getVA(addend) - getPPC64TocBase();
203 void writePlt(uint8_t *buf, uint64_t gotPltEntryAddr, uint64_t pltEntryAddr,
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;
208 uint64_t branchAddr, const Symbol &s) const override;
210 bool inBranchRange(RelType type, uint64_t src, uint64_t dst) const override;
210 bool inBranchRange(RelType type, uint64_t src, uint64_t dst) const override;
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;
228 static uint16_t lo(uint64_t v) { return v; }
229 static uint16_t hi(uint64_t v) { return v >> 16; }
230 static uint16_t ha(uint64_t v) { return (v + 0x8000) >> 16; }
231 static uint16_t higher(uint64_t v) { return v >> 32; }
232 static uint16_t highera(uint64_t v) { return (v + 0x8000) >> 32; }
233 static uint16_t highest(uint64_t v) { return v >> 48; }
234 static uint16_t highesta(uint64_t v) { return (v + 0x8000) >> 48; }
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 {
670 void PPC64::writePlt(uint8_t *buf, uint64_t gotPltEntryAddr,
671 uint64_t pltEntryAddr, int32_t index,
678 static std::pair<RelType, uint64_t> toAddr16Rel(RelType type, uint64_t val) {
678 static std::pair<RelType, uint64_t> toAddr16Rel(RelType type, uint64_t val) {
680 uint64_t tocBiasedVal = val - ppc64TocOffset;
682 uint64_t dtpBiasedVal = val - dynamicThreadPointerOffset;
763 void PPC64::relocateOne(uint8_t *loc, RelType type, uint64_t val) const {
901 uint64_t branchAddr, const Symbol &s) const {
930 bool PPC64::inBranchRange(RelType type, uint64_t src, uint64_t dst) const {
930 bool PPC64::inBranchRange(RelType type, uint64_t src, uint64_t dst) const {
965 void PPC64::relaxTlsGdToIe(uint8_t *loc, RelType type, uint64_t val) const {
tools/lld/ELF/Arch/RISCV.cpp 30 void writePlt(uint8_t *buf, uint64_t gotPltEntryAddr, uint64_t pltEntryAddr,
30 void writePlt(uint8_t *buf, uint64_t gotPltEntryAddr, uint64_t pltEntryAddr,
35 void relocateOne(uint8_t *loc, RelType type, uint64_t val) const override;
40 const uint64_t dtpOffset = 0x800;
165 void RISCV::writePlt(uint8_t *buf, uint64_t gotPltEntryAddr,
166 uint64_t pltEntryAddr, int32_t index,
235 static uint32_t extractBits(uint64_t v, uint32_t begin, uint32_t end) {
240 const uint64_t val) const {
345 uint64_t hi = val + 0x800;
354 uint64_t hi = (val + 0x800) >> 12;
355 uint64_t lo = val - (hi << 12);
363 uint64_t hi = (val + 0x800) >> 12;
364 uint64_t lo = val - (hi << 12);
tools/lld/ELF/Arch/SPARCV9.cpp 29 void writePlt(uint8_t *buf, uint64_t gotEntryAddr, uint64_t pltEntryAddr,
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;
78 void SPARCV9::relocateOne(uint8_t *loc, RelType type, uint64_t val) const {
127 void SPARCV9::writePlt(uint8_t *buf, uint64_t gotEntryAddr,
128 uint64_t pltEntryAddr, int32_t index,
142 uint64_t off = pltHeaderSize + pltEntrySize * index;
tools/lld/ELF/Arch/X86.cpp 36 void writePlt(uint8_t *buf, uint64_t gotPltEntryAddr, uint64_t pltEntryAddr,
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;
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;
216 void X86::writePlt(uint8_t *buf, uint64_t gotPltEntryAddr,
217 uint64_t pltEntryAddr, int32_t index,
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 {
337 void X86::relaxTlsGdToIe(uint8_t *loc, RelType type, uint64_t val) const {
354 void X86::relaxTlsIeToLe(uint8_t *loc, RelType type, uint64_t val) const {
391 void X86::relaxTlsLdToLe(uint8_t *loc, RelType type, uint64_t val) const {
418 void writePlt(uint8_t *buf, uint64_t gotPltEntryAddr, uint64_t pltEntryAddr,
418 void writePlt(uint8_t *buf, uint64_t gotPltEntryAddr, uint64_t pltEntryAddr,
427 void writePlt(uint8_t *buf, uint64_t gotPltEntryAddr, uint64_t pltEntryAddr,
427 void writePlt(uint8_t *buf, uint64_t gotPltEntryAddr, uint64_t pltEntryAddr,
462 void RetpolinePic::writePlt(uint8_t *buf, uint64_t gotPltEntryAddr,
463 uint64_t pltEntryAddr, int32_t index,
520 void RetpolineNoPic::writePlt(uint8_t *buf, uint64_t gotPltEntryAddr,
521 uint64_t pltEntryAddr, int32_t index,
tools/lld/ELF/Arch/X86_64.cpp 36 void writePlt(uint8_t *buf, uint64_t gotPltEntryAddr, uint64_t pltEntryAddr,
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;
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;
152 uint64_t gotPlt = in.gotPlt->getVA();
153 uint64_t plt = in.plt->getVA();
158 void X86_64::writePlt(uint8_t *buf, uint64_t gotPltEntryAddr,
159 uint64_t pltEntryAddr, int32_t index,
180 void X86_64::relaxTlsGdToLe(uint8_t *loc, RelType type, uint64_t val) const {
220 void X86_64::relaxTlsGdToIe(uint8_t *loc, RelType type, uint64_t val) const {
261 void X86_64::relaxTlsIeToLe(uint8_t *loc, RelType type, uint64_t val) const {
302 void X86_64::relaxTlsLdToLe(uint8_t *loc, RelType type, uint64_t val) const {
350 void X86_64::relocateOne(uint8_t *loc, RelType type, uint64_t val) const {
435 static void relaxGotNoPic(uint8_t *loc, uint64_t val, uint8_t op,
498 void X86_64::relaxGot(uint8_t *loc, RelType type, uint64_t val) const {
586 void writePlt(uint8_t *buf, uint64_t gotPltEntryAddr, uint64_t pltEntryAddr,
586 void writePlt(uint8_t *buf, uint64_t gotPltEntryAddr, uint64_t pltEntryAddr,
595 void writePlt(uint8_t *buf, uint64_t gotPltEntryAddr, uint64_t pltEntryAddr,
595 void writePlt(uint8_t *buf, uint64_t gotPltEntryAddr, uint64_t pltEntryAddr,
625 uint64_t gotPlt = in.gotPlt->getVA();
626 uint64_t plt = in.plt->getVA();
631 void Retpoline::writePlt(uint8_t *buf, uint64_t gotPltEntryAddr,
632 uint64_t pltEntryAddr, int32_t index,
644 uint64_t off = pltHeaderSize + pltEntrySize * index;
674 void RetpolineZNow::writePlt(uint8_t *buf, uint64_t gotPltEntryAddr,
675 uint64_t pltEntryAddr, int32_t index,
tools/lld/ELF/CallGraphSort.cpp 58 uint64_t weight;
73 uint64_t weight = 0;
74 uint64_t initialWeight = 0;
94 constexpr uint64_t MAX_CLUSTER_SIZE = 1024 * 1024;
104 MapVector<SectionPair, uint64_t> &profile = config->callGraphProfile;
117 for (std::pair<SectionPair, uint64_t> &c : profile) {
120 uint64_t weight = c.second;
tools/lld/ELF/Config.h 89 llvm::StringMap<uint64_t> sectionStartMap;
125 uint64_t>
230 llvm::Optional<uint64_t> imageBase;
231 uint64_t commonPageSize;
232 uint64_t maxPageSize;
233 uint64_t mipsGotSize;
234 uint64_t zStackSize;
tools/lld/ELF/DWARF.cpp 62 static uint64_t resolve(object::RelocationRef ref, uint64_t s,
62 static uint64_t resolve(object::RelocationRef ref, uint64_t s,
63 uint64_t /* A */) {
70 static uint64_t resolve(object::RelocationRef /*Ref*/, uint64_t s,
70 static uint64_t resolve(object::RelocationRef /*Ref*/, uint64_t s,
71 uint64_t a) {
83 LLDDwarfObj<ELFT>::findAux(const InputSectionBase &sec, uint64_t pos,
101 uint64_t val = 0;
120 uint64_t pos) const {
tools/lld/ELF/DWARF.h 73 uint64_t pos) const override;
78 uint64_t pos,
tools/lld/ELF/Driver.cpp 156 std::vector<std::pair<MemoryBufferRef, uint64_t>> static getArchiveMembers(
162 std::vector<std::pair<MemoryBufferRef, uint64_t>> v;
224 for (const std::pair<MemoryBufferRef, uint64_t> &p :
231 for (const std::pair<MemoryBufferRef, uint64_t> &p :
616 static uint64_t parseSectionAddress(StringRef s, opt::InputArgList &args,
618 uint64_t va = 0;
626 static StringMap<uint64_t> getSectionStartMap(opt::InputArgList &args) {
627 StringMap<uint64_t> ret;
733 uint64_t count;
1270 static uint64_t getMaxPageSize(opt::InputArgList &args) {
1271 uint64_t val = args::getZOptionValue(args, OPT_z, "max-page-size",
1285 static uint64_t getCommonPageSize(opt::InputArgList &args) {
1286 uint64_t val = args::getZOptionValue(args, OPT_z, "common-page-size",
1302 static Optional<uint64_t> getImageBase(opt::InputArgList &args) {
1310 uint64_t v;
1496 uint64_t symIndex = decodeULEB128(cur, &size, contents.end(), &err);
tools/lld/ELF/EhFrame.cpp 72 uint64_t v = read32(d.data());
75 uint64_t size = v + 4;
tools/lld/ELF/ICF.cpp 243 uint64_t addA = getAddend<ELFT>(ra[i]);
244 uint64_t addB = getAddend<ELFT>(rb[i]);
289 uint64_t offsetA =
291 uint64_t offsetB =
tools/lld/ELF/InputFiles.cpp 233 InputSectionBase &sec, uint64_t offset) {
249 uint64_t offset) {
285 uint64_t offset) {
289 uint64_t sectionIndex = object::SectionedAddress::UndefSection;
291 for (uint64_t curIndex = 0; curIndex < sections.size(); ++curIndex) {
446 uint64_t entSize = sec.sh_entsize;
454 uint64_t flags = sec.sh_flags;
504 uint64_t size = objSections.size();
1006 uint64_t value = eSym.st_value;
1007 uint64_t size = eSym.st_size;
1141 static uint64_t getAlignment(ArrayRef<typename ELFT::Shdr> sections,
1143 uint64_t ret = UINT64_MAX;
1147 ret = std::min<uint64_t>(ret, sections[sym.st_shndx].sh_addralign);
1206 uint64_t val = dyn.getVal();
1211 uint64_t val = dyn.getVal();
1360 uint64_t offsetInArchive)
1467 uint64_t offsetInArchive) {
tools/lld/ELF/InputFiles.h 112 uint64_t offset);
223 llvm::Optional<llvm::DILineInfo> getDILineInfo(InputSectionBase *, uint64_t);
298 uint64_t offsetInArchive)
309 uint64_t offsetInArchive;
327 llvm::DenseSet<uint64_t> seen;
333 uint64_t offsetInArchive);
378 uint64_t offsetInArchive = 0);
tools/lld/ELF/InputSection.cpp 57 InputSectionBase::InputSectionBase(InputFile *file, uint64_t flags,
58 uint32_t type, uint64_t entsize,
96 static uint64_t getFlags(uint64_t flags) {
96 static uint64_t getFlags(uint64_t flags) {
113 static uint64_t getType(uint64_t type, StringRef name) {
113 static uint64_t getType(uint64_t type, StringRef name) {
160 uint64_t InputSectionBase::getOffsetInFile() const {
166 uint64_t SectionBase::getOffset(uint64_t offset) const {
166 uint64_t SectionBase::getOffset(uint64_t offset) const {
190 uint64_t SectionBase::getVA(uint64_t offset) const {
190 uint64_t SectionBase::getVA(uint64_t offset) const {
284 Defined *InputSectionBase::getEnclosingFunction(uint64_t offset) {
295 std::string InputSectionBase::getLocation(uint64_t offset) {
327 std::string InputSectionBase::getSrcMsg(const Symbol &sym, uint64_t offset) {
340 std::string InputSectionBase::getObjMsg(uint64_t off) {
360 InputSection::InputSection(InputFile *f, uint64_t flags, uint32_t type,
529 static uint64_t getAArch64UndefinedRelativeWeakVA(uint64_t type, uint64_t a,
529 static uint64_t getAArch64UndefinedRelativeWeakVA(uint64_t type, uint64_t a,
529 static uint64_t getAArch64UndefinedRelativeWeakVA(uint64_t type, uint64_t a,
530 uint64_t p) {
557 static uint64_t getARMStaticBase(const Symbol &sym) {
570 static Relocation *getRISCVPCRelHi20(const Symbol *sym, uint64_t addend) {
648 static uint64_t getRelocTargetVA(const InputFile *file, RelType type, int64_t a,
649 uint64_t p, const Symbol &sym, RelExpr expr) {
698 uint64_t v = in.mipsGot->getGp(file) + a - p;
725 uint64_t val = sym.isUndefWeak() ? p + a : sym.getVA(a);
735 uint64_t dest;
763 uint64_t symVA = sym.getVA(a);
845 uint64_t offset = getOffset(rel.r_offset);
897 uint64_t targetVA = SignExtend64(rel.sym->getVA(rel.addend), bits);
926 uint64_t offset = rel.offset;
932 uint64_t addrLoc = getOutputSection()->addr + offset;
934 uint64_t targetVA = SignExtend64(
1026 static bool enclosingPrologueAttempted(uint64_t offset,
1262 MergeInputSection::MergeInputSection(uint64_t flags, uint32_t type,
1263 uint64_t entsize, ArrayRef<uint8_t> data,
1283 SectionPiece *MergeInputSection::getSectionPiece(uint64_t offset) {
1297 uint64_t MergeInputSection::getParentOffset(uint64_t offset) const {
1297 uint64_t MergeInputSection::getParentOffset(uint64_t offset) const {
1302 uint64_t addend = offset - piece.inputOff;
tools/lld/ELF/InputSection.h 73 uint64_t flags;
74 uint64_t entsize;
86 uint64_t getOffset(uint64_t offset) const;
86 uint64_t getOffset(uint64_t offset) const;
88 uint64_t getVA(uint64_t offset = 0) const;
88 uint64_t getVA(uint64_t offset = 0) const;
95 SectionBase(Kind sectionKind, StringRef name, uint64_t flags,
96 uint64_t entsize, uint64_t alignment, uint32_t type,
96 uint64_t entsize, uint64_t alignment, uint32_t type,
110 InputSectionBase(InputFile *file, uint64_t flags, uint32_t type,
111 uint64_t entsize, uint32_t link, uint32_t info,
137 uint64_t getOffsetInFile() const;
170 Defined *getEnclosingFunction(uint64_t offset);
173 template <class ELFT> std::string getLocation(uint64_t offset);
174 std::string getSrcMsg(const Symbol &sym, uint64_t offset);
175 std::string getObjMsg(uint64_t offset);
227 uint64_t outputOff = 0;
238 MergeInputSection(uint64_t flags, uint32_t type, uint64_t entsize,
238 MergeInputSection(uint64_t flags, uint32_t type, uint64_t entsize,
246 uint64_t getParentOffset(uint64_t offset) const;
246 uint64_t getParentOffset(uint64_t offset) const;
263 SectionPiece *getSectionPiece(uint64_t offset);
264 const SectionPiece *getSectionPiece(uint64_t offset) const {
314 InputSection(InputFile *f, uint64_t flags, uint32_t type, uint32_t alignment,
324 uint64_t getOffset(uint64_t offset) const { return outSecOff + offset; }
324 uint64_t getOffset(uint64_t offset) const { return outSecOff + offset; }
332 uint64_t outSecOff = 0;
tools/lld/ELF/LinkerScript.cpp 51 static uint64_t getOutputSectionVA(SectionBase *sec) {
57 uint64_t ExprValue::getValue() const {
64 uint64_t ExprValue::getSecAddr() const {
70 uint64_t ExprValue::getSectionOffset() const {
103 static void expandMemoryRegion(MemoryRegion *memRegion, uint64_t size,
106 uint64_t newSize = memRegion->curPos - memRegion->origin;
112 void LinkerScript::expandMemoryRegions(uint64_t size) {
122 void LinkerScript::expandOutputSection(uint64_t size) {
128 uint64_t val = e().getValue();
180 uint64_t symValue = value.sec ? 0 : value.getValue();
212 DenseMap<const Defined *, std::pair<SectionBase *, uint64_t>>;
730 uint64_t LinkerScript::advance(uint64_t size, unsigned alignment) {
730 uint64_t LinkerScript::advance(uint64_t size, unsigned alignment) {
733 uint64_t start = isTbss ? dot + ctx->threadBssOffset : dot;
735 uint64_t end = start + size;
746 uint64_t before = advance(0, 1);
747 uint64_t pos = advance(s->getSize(), s->alignment);
759 uint64_t before = advance(0, 1);
930 uint64_t flags = SHF_ALLOC;
1016 static uint64_t computeBase(uint64_t min, bool allocateHeaders) {
1016 static uint64_t computeBase(uint64_t min, bool allocateHeaders) {
1033 uint64_t min = std::numeric_limits<uint64_t>::max();
1033 uint64_t min = std::numeric_limits<uint64_t>::max();
1036 min = std::min<uint64_t>(min, sec->addr);
1049 uint64_t headerSize = getHeaderSize();
tools/lld/ELF/LinkerScript.h 41 ExprValue(SectionBase *sec, bool forceAbsolute, uint64_t val,
45 ExprValue(uint64_t val) : ExprValue(nullptr, false, val, "") {}
48 uint64_t getValue() const;
49 uint64_t getSecAddr() const;
50 uint64_t getSectionOffset() const;
59 uint64_t val;
60 uint64_t alignment = 1;
129 MemoryRegion(StringRef name, uint64_t origin, uint64_t length, uint32_t flags,
129 MemoryRegion(StringRef name, uint64_t origin, uint64_t length, uint32_t flags,
135 uint64_t origin;
136 uint64_t length;
139 uint64_t curPos = 0;
220 uint64_t threadBssOffset = 0;
224 uint64_t lmaOffset = 0;
232 void expandOutputSection(uint64_t size);
233 void expandMemoryRegions(uint64_t size);
245 uint64_t advance(uint64_t size, unsigned align);
245 uint64_t advance(uint64_t size, unsigned align);
260 uint64_t dot;
267 uint64_t getDot() { return dot; }
tools/lld/ELF/MapFile.cpp 45 static void writeHeader(raw_ostream &os, uint64_t vma, uint64_t lma,
45 static void writeHeader(raw_ostream &os, uint64_t vma, uint64_t lma,
46 uint64_t size, uint64_t align) {
46 uint64_t size, uint64_t align) {
90 uint64_t vma = syms[i]->getVA();
91 uint64_t lma = osec ? osec->getLMA() + vma - osec->getVA(0) : 0;
168 uint64_t lma = osec ? osec->getLMA() + cmd->addr - osec->getVA(0) : 0;
tools/lld/ELF/MarkLive.cpp 54 void enqueue(InputSectionBase *sec, uint64_t offset);
77 static uint64_t getAddend(InputSectionBase &sec,
84 static uint64_t getAddend(InputSectionBase &sec,
103 uint64_t offset = d->value;
154 uint64_t pieceEnd = piece.inputOff + piece.size;
180 void MarkLive<ELFT>::enqueue(InputSectionBase *sec, uint64_t offset) {
tools/lld/ELF/OutputSections.cpp 69 OutputSection::OutputSection(StringRef name, uint32_t type, uint64_t flags)
137 uint64_t andMask =
139 uint64_t orMask = ~andMask;
140 uint64_t andFlags = (flags & isec->flags) & andMask;
141 uint64_t orFlags = (flags | isec->flags) & orMask;
229 uint64_t getHeaderSize() {
283 static void writeInt(uint8_t *buf, uint64_t data, uint64_t size) {
283 static void writeInt(uint8_t *buf, uint64_t data, uint64_t size) {
tools/lld/ELF/OutputSections.h 34 OutputSection(StringRef name, uint32_t type, uint64_t flags);
42 uint64_t getLMA() const { return ptLoad ? addr + ptLoad->lmaOffset : addr; }
67 uint64_t size = 0;
70 uint64_t offset = 0;
71 uint64_t addr = 0;
143 uint64_t getHeaderSize();
tools/lld/ELF/Relocations.cpp 81 uint64_t off) {
103 static inline uint64_t build() { return 0; }
109 static inline uint64_t build() {
134 InputSectionBase &c, uint64_t offset,
170 uint64_t off = in.got->getGlobalDynOffset(sym);
230 uint64_t off = sym.getGotOffset();
242 uint64_t off = in.got->getGlobalDynOffset(sym);
253 uint64_t offsetOff = off + config->wordsize;
369 InputSectionBase &s, uint64_t relOff) {
501 static void replaceWithDefined(Symbol &sym, SectionBase *sec, uint64_t value,
502 uint64_t size) {
560 uint64_t symSize = ss.getSize();
691 uint64_t offset;
793 uint64_t offset = l.offset;
848 uint64_t offset) {
879 uint64_t offset = rel->r_offset;
909 uint64_t get(uint64_t off) {
909 uint64_t get(uint64_t off) {
933 static void addRelativeReloc(InputSectionBase *isec, uint64_t offsetInSec,
966 uint64_t off = sym.getGotOffset();
1028 uint64_t offset, Symbol &sym, const RelTy &rel,
1181 uint64_t offset = getOffset.get(rel.r_offset);
1583 uint32_t type, uint64_t src) {
1586 uint64_t tsBase = os->addr + ts->outSecOff;
1587 uint64_t tsLimit = tsBase + ts->getSize();
1597 uint64_t thunkSecOff = isec->outSecOff;
1688 uint64_t off) {
1705 Relocation &rel, uint64_t src) {
1733 bool ThunkCreator::normalizeExistingThunk(Relocation &rel, uint64_t src) {
1784 uint64_t src = isec->getVA(rel.offset);
tools/lld/ELF/Relocations.h 106 uint64_t offset;
139 uint64_t src);
146 uint64_t src);
149 uint64_t off);
151 bool normalizeExistingThunk(Relocation &rel, uint64_t src);
154 llvm::DenseMap<std::pair<SectionBase *, uint64_t>, std::vector<Thunk *>>
tools/lld/ELF/ScriptParser.cpp 107 uint64_t readMemoryAssignment(StringRef, StringRef, StringRef);
512 uint64_t max = 0;
770 uint64_t alignment = std::max((uint64_t)1, e().getValue());
886 uint64_t value = readExpr()().val;
963 if (uint64_t rv = r().getValue())
972 if (uint64_t rv = r().getValue())
1057 static Optional<uint64_t> parseInt(StringRef tok) {
1059 uint64_t val;
1278 if (Optional<uint64_t> val = parseInt(tok))
1315 if (Optional<uint64_t> val = parseInt(tok))
1443 uint64_t ScriptParser::readMemoryAssignment(StringRef s1, StringRef s2,
1474 uint64_t origin = readMemoryAssignment("ORIGIN", "org", "o");
1476 uint64_t length = readMemoryAssignment("LENGTH", "len", "l");
tools/lld/ELF/Symbols.cpp 56 static uint64_t getSymVA(const Symbol &sym, int64_t &addend) {
69 uint64_t offset = d.value;
97 uint64_t va = isec->getVA(offset);
140 uint64_t Symbol::getVA(int64_t addend) const {
141 uint64_t outVA = getSymVA(*this, addend);
145 uint64_t Symbol::getGotVA() const {
151 uint64_t Symbol::getGotOffset() const { return gotIndex * config->wordsize; }
153 uint64_t Symbol::getGotPltVA() const {
159 uint64_t Symbol::getGotPltOffset() const {
165 uint64_t Symbol::getPPC64LongBranchOffset() const {
170 uint64_t Symbol::getPltVA() const {
172 uint64_t outVA =
182 uint64_t Symbol::getPPC64LongBranchTableVA() const {
188 uint64_t Symbol::getSize() const {
566 InputSectionBase *errSec, uint64_t errOffset) {
tools/lld/ELF/Symbols.h 186 uint64_t getVA(int64_t addend = 0) const;
188 uint64_t getGotOffset() const;
189 uint64_t getGotVA() const;
190 uint64_t getGotPltOffset() const;
191 uint64_t getGotPltVA() const;
192 uint64_t getPltVA() const;
193 uint64_t getPPC64LongBranchTableVA() const;
194 uint64_t getPPC64LongBranchOffset() const;
195 uint64_t getSize() const;
289 uint8_t type, uint64_t value, uint64_t size, SectionBase *section)
289 uint8_t type, uint64_t value, uint64_t size, SectionBase *section)
295 uint64_t value;
296 uint64_t size;
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)
331 uint64_t size;
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,
379 uint64_t value; // st_value
380 uint64_t size; // st_size
tools/lld/ELF/SyntheticSections.cpp 56 static uint64_t readUint(uint8_t *buf) {
60 static void writeUint(uint8_t *buf, uint64_t val) {
263 Defined *addSyntheticLocal(StringRef name, uint8_t type, uint64_t value,
264 uint64_t size, InputSectionBase §ion) {
339 BssSection::BssSection(StringRef name, uint64_t size, uint32_t alignment)
511 uint64_t va = getPartition().ehFrameHdr->getVA();
515 uint64_t pc = getFdePc(buf, fde->outputOff, enc);
516 uint64_t fdeVA = getParent()->addr + fde->outputOff;
539 static uint64_t readFdeAddr(uint8_t *buf, int size) {
560 uint64_t EhFrameSection::getFdePc(uint8_t *buf, size_t fdeOff,
565 uint64_t addr = readFdeAddr(buf + off, enc & 0xf);
633 uint64_t GotSection::getGlobalDynAddr(const Symbol &b) const {
637 uint64_t GotSection::getGlobalDynOffset(const Symbol &b) const {
659 static uint64_t getMipsPageAddr(uint64_t addr) {
659 static uint64_t getMipsPageAddr(uint64_t addr) {
663 static uint64_t getMipsPageCount(uint64_t size) {
663 static uint64_t getMipsPageCount(uint64_t size) {
730 uint64_t MipsGotSection::getPageEntryOffset(const InputFile *f,
734 uint64_t index = 0;
736 uint64_t secAddr = getMipsPageAddr(outSec->addr);
737 uint64_t symAddr = getMipsPageAddr(sym.getVA(addend));
745 uint64_t MipsGotSection::getSymEntryOffset(const InputFile *f, const Symbol &s,
756 uint64_t MipsGotSection::getTlsIndexOffset(const InputFile *f) const {
761 uint64_t MipsGotSection::getGlobalDynOffset(const InputFile *f,
858 uint64_t secSize = 0;
862 uint64_t off = alignTo(secSize, isec->alignment);
943 uint64_t offset = p.second * config->wordsize;
949 uint64_t offset = p.second * config->wordsize;
978 uint64_t offset = p.second * config->wordsize;
988 uint64_t offset = (l.second.firstIndex + pi) * config->wordsize;
994 uint64_t offset = p.second * config->wordsize;
1007 uint64_t MipsGotSection::getGp(const InputFile *f) const {
1035 uint64_t va = a;
1044 uint64_t firstPageAddr = getMipsPageAddr(l.first->addr);
1207 void DynamicSection<ELFT>::add(int32_t tag, std::function<uint64_t()> fn) {
1212 void DynamicSection<ELFT>::addInt(int32_t tag, uint64_t val) {
1251 static std::function<uint64_t()> addRelaSz(RelocationBaseSection *relaDyn) {
1266 static uint64_t addPltRelSz() {
1502 for (std::pair<int32_t, std::function<uint64_t()>> &kv : entries) {
1509 uint64_t DynamicReloc::getOffset() const {
1535 uint64_t offsetInSec, Symbol *sym) {
1541 uint64_t offsetInSec, Symbol *sym,
1778 uint64_t offset = 0;
1779 uint64_t addend = 0;
1916 std::vector<uint64_t> offsets;
1926 uint64_t base = offsets[i] + wordsize;
1931 uint64_t bitmap = 0;
1934 uint64_t delta = offsets[i] - base;
2282 uint64_t numBits = symbols.size() * 12;
2324 uint64_t val = readUint(buf + i * config->wordsize);
2482 uint64_t got = b->getGotPltVA();
2483 uint64_t plt = this->getVA() + off;
2586 uint64_t offset = isec->getOffsetInFile();
2759 uint64_t baseAddr = e.section->getVA(0);
3038 uint64_t flags, uint32_t alignment)
3126 uint64_t flags,
3319 uint64_t offset = 0;
3329 uint64_t s = isec->getVA();
3330 uint64_t p = getVA() + offset;
3337 uint64_t s = sentinel->getVA(sentinel->getSize());
3338 uint64_t p = getVA() + offset;
3353 ThunkSection::ThunkSection(OutputSection *os, uint64_t off)
3378 uint64_t off = 0;
3575 uint64_t va = getVA();
tools/lld/ELF/SyntheticSections.h 40 SyntheticSection(uint64_t flags, uint32_t type, uint32_t alignment,
97 uint64_t size = 0;
110 uint64_t getFdePc(uint8_t *buf, size_t off, uint8_t enc) const;
129 uint64_t getGlobalDynAddr(const Symbol &b) const;
130 uint64_t getGlobalDynOffset(const Symbol &b) const;
132 uint64_t getTlsIndexVA() { return this->getVA() + tlsIndexOff; }
142 uint64_t size = 0;
183 BssSection(StringRef name, uint64_t size, uint32_t alignment);
191 uint64_t size;
211 uint64_t getPageEntryOffset(const InputFile *f, const Symbol &s,
213 uint64_t getSymEntryOffset(const InputFile *f, const Symbol &s,
215 uint64_t getGlobalDynOffset(const InputFile *f, const Symbol &s) const;
216 uint64_t getTlsIndexOffset(const InputFile *f) const;
229 uint64_t getGp(const InputFile *f = nullptr) const;
321 uint64_t size = 0;
414 uint64_t size = 0;
423 uint64_t offsetInSec, bool useSymVA, Symbol *sym, int64_t addend)
430 uint64_t offsetInSec, const OutputSection *outputSec,
435 uint64_t getOffset() const;
447 uint64_t offsetInSec;
466 std::vector<std::pair<int32_t, std::function<uint64_t()>>> entries;
475 void add(int32_t tag, std::function<uint64_t()> fn);
476 void addInt(int32_t tag, uint64_t val);
483 uint64_t size = 0;
490 void addReloc(RelType dynType, InputSectionBase *isec, uint64_t offsetInSec,
495 uint64_t offsetInSec, Symbol *sym, int64_t addend, RelExpr expr,
541 uint64_t getOffset() const { return inputSec->getVA(offsetInSec); }
544 uint64_t offsetInSec;
689 uint64_t lowAddress;
690 uint64_t highAddress;
695 uint64_t cuOffset;
696 uint64_t cuLength;
814 uint64_t hash;
816 uint64_t nameStrTab;
820 uint64_t nameStrTab;
844 MergeSyntheticSection(StringRef name, uint32_t type, uint64_t flags,
851 MergeTailSection(StringRef name, uint32_t type, uint64_t flags,
864 MergeNoTailSection(StringRef name, uint32_t type, uint64_t flags,
1029 ThunkSection(OutputSection *os, uint64_t off);
1103 uint64_t flags, uint32_t alignment);
1109 Defined *addSyntheticLocal(StringRef name, uint8_t type, uint64_t value,
1110 uint64_t size, InputSectionBase §ion);
1117 uint64_t nameStrTab;
tools/lld/ELF/Target.cpp 133 uint64_t branchAddr, const Symbol &s) const {
142 bool TargetInfo::inBranchRange(RelType type, uint64_t src, uint64_t dst) const {
142 bool TargetInfo::inBranchRange(RelType type, uint64_t src, uint64_t dst) const {
155 void TargetInfo::relaxGot(uint8_t *loc, RelType type, uint64_t val) const {
160 uint64_t val) const {
165 uint64_t val) const {
170 uint64_t val) const {
175 uint64_t val) const {
179 uint64_t TargetInfo::getImageBase() const {
tools/lld/ELF/Target.h 44 virtual void writePlt(uint8_t *buf, uint64_t gotEntryAddr,
45 uint64_t pltEntryAddr, int32_t index,
48 virtual void addPltSymbols(InputSection &isec, uint64_t off) const {}
60 const InputFile *file, uint64_t branchAddr,
77 virtual bool inBranchRange(RelType type, uint64_t src,
78 uint64_t dst) const;
80 virtual void relocateOne(uint8_t *loc, RelType type, uint64_t val) const = 0;
87 uint64_t getImageBase() const;
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;
137 uint64_t defaultImageBase = 0x10000;
185 uint64_t getPPC64TocBase();
186 uint64_t getAArch64Page(uint64_t expr);
186 uint64_t getAArch64Page(uint64_t expr);
194 int64_t min, uint64_t max) {
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) {
243 inline uint64_t read64(const void *p) {
255 inline void write64(void *p, uint64_t v) {
tools/lld/ELF/Thunks.cpp 320 Defined *Thunk::addSymbol(StringRef name, uint8_t type, uint64_t value,
327 void Thunk::setOffset(uint64_t newOffset) {
335 static uint64_t getAArch64ThunkDestVA(const Symbol &s) {
336 uint64_t v = s.isInPlt() ? s.getPltVA() : s.getVA();
347 uint64_t s = getAArch64ThunkDestVA(destination);
370 uint64_t s = getAArch64ThunkDestVA(destination);
371 uint64_t p = getThunkTargetSym()->getVA();
385 static uint64_t getARMThunkDestVA(const Symbol &s) {
386 uint64_t v = s.isInPlt() ? s.getPltVA() : s.getVA();
395 uint64_t s = getARMThunkDestVA(destination);
400 uint64_t p = getThunkTargetSym()->getVA();
412 uint64_t s = getARMThunkDestVA(destination);
413 uint64_t p = getThunkTargetSym()->getVA();
433 uint64_t s = getARMThunkDestVA(destination);
438 uint64_t p = getThunkTargetSym()->getVA() & ~1;
450 uint64_t s = getARMThunkDestVA(destination);
451 uint64_t p = getThunkTargetSym()->getVA();
472 uint64_t s = getARMThunkDestVA(destination);
490 uint64_t s = getARMThunkDestVA(destination);
509 uint64_t s = getARMThunkDestVA(destination);
510 uint64_t p = getThunkTargetSym()->getVA();
530 uint64_t s = getARMThunkDestVA(destination);
531 uint64_t p = getThunkTargetSym()->getVA() & ~0x1;
573 uint64_t s = getARMThunkDestVA(destination);
574 uint64_t p = getThunkTargetSym()->getVA() & ~0x1;
604 uint64_t s = getARMThunkDestVA(destination);
629 uint64_t s = getARMThunkDestVA(destination);
630 uint64_t p = getThunkTargetSym()->getVA() & ~0x1;
644 uint64_t s = destination.getVA();
666 uint64_t s = destination.getVA();
690 uint64_t s = destination.getVA();
691 uint64_t p = getThunkTargetSym()->getVA();
713 uint64_t va = destination.getGotPltVA();
tools/lld/ELF/Thunks.h 41 void setOffset(uint64_t offset);
42 Defined *addSymbol(StringRef name, uint8_t type, uint64_t value,
62 uint64_t offset = 0;
tools/lld/ELF/Writer.cpp 85 uint64_t fileSize;
86 uint64_t sectionHeaderOff;
150 uint64_t size = p->lastSec->addr + p->lastSec->size - p->firstSec->addr;
199 uint64_t val, uint8_t stOther = STV_HIDDEN,
262 uint64_t gotOff = 0;
745 uint64_t flags = sec->flags;
1265 uint64_t unorderedSize = 0;
1307 uint64_t unorderedPos = 0;
1402 uint64_t i = 0;
2036 static uint64_t computeFlags(uint64_t flags) {
2036 static uint64_t computeFlags(uint64_t flags) {
2060 uint64_t flags = computeFlags(PF_R);
2135 uint64_t newFlags = computeFlags(sec->getPhdrFlags());
2291 static uint64_t computeFileOffset(OutputSection *os, uint64_t off) {
2291 static uint64_t computeFileOffset(OutputSection *os, uint64_t off) {
2315 static uint64_t setFileOffset(OutputSection *os, uint64_t off) {
2315 static uint64_t setFileOffset(OutputSection *os, uint64_t off) {
2325 uint64_t off = 0;
2332 static std::string rangeToString(uint64_t addr, uint64_t len) {
2332 static std::string rangeToString(uint64_t addr, uint64_t len) {
2338 uint64_t off = 0;
2421 uint64_t offset;
2515 static uint64_t getEntryAddr() {
2521 uint64_t addr;
2587 uint64_t maxSize = config->is64 ? INT64_MAX : UINT32_MAX;
tools/lld/ELF/Writer.h 37 uint64_t p_paddr = 0;
38 uint64_t p_vaddr = 0;
39 uint64_t p_memsz = 0;
40 uint64_t p_filesz = 0;
41 uint64_t p_offset = 0;
50 uint64_t lmaOffset = 0;
tools/lld/include/lld/Common/Args.h 33 uint64_t getZOptionValue(llvm::opt::InputArgList &args, int id, StringRef key,
34 uint64_t Default);
tools/lld/include/lld/Common/DWARF.h 29 llvm::Optional<llvm::DILineInfo> getDILineInfo(uint64_t offset,
30 uint64_t sectionIndex);
tools/lld/include/lld/Common/ErrorHandler.h 85 uint64_t errorCount = 0;
86 uint64_t errorLimit = 20;
121 inline uint64_t errorCount() { return errorHandler().errorCount; }
tools/lld/include/lld/Core/AbsoluteAtom.h 21 virtual uint64_t value() const = 0;
tools/lld/include/lld/Core/DefinedAtom.h 218 virtual uint64_t ordinal() const = 0;
224 virtual uint64_t size() const = 0;
231 virtual uint64_t sectionSize() const { return 0; }
328 Reference::KindValue kindValue, uint64_t off,
tools/lld/include/lld/Core/File.h 87 uint64_t ordinal() const {
96 void setOrdinal(uint64_t ordinal) const { _ordinal = ordinal; }
99 uint64_t getNextAtomOrdinalAndIncrement() const {
235 mutable uint64_t _ordinal;
236 mutable uint64_t _nextAtomOrdinal;
tools/lld/include/lld/Core/LinkingContext.h 205 virtual uint64_t getNextOrdinalAndIncrement() const { return _nextOrdinal++; }
246 mutable uint64_t _nextOrdinal = 0;
tools/lld/include/lld/Core/Reference.h 82 virtual uint64_t offsetInAtom() const = 0;
tools/lld/include/lld/Core/SharedLibraryAtom.h 36 virtual uint64_t size() const = 0;
tools/lld/include/lld/Core/Simple.h 118 Reference::KindValue value, uint64_t off, const Atom *t,
126 uint64_t offsetInAtom() const override { return _offsetInAtom; }
139 uint64_t _offsetInAtom;
156 uint64_t ordinal() const override { return _ordinal; }
202 Reference::KindValue kindValue, uint64_t off,
220 uint64_t lhsOffset = lhs->offsetInAtom();
221 uint64_t rhsOffset = rhs->offsetInAtom();
236 void setOrdinal(uint64_t ord) { _ordinal = ord; }
242 uint64_t _ordinal;
tools/lld/include/lld/ReaderWriter/MachOLinkingContext.h 116 virtual uint64_t pageZeroSize() const { return _pageZeroSize; }
117 virtual uint64_t pageSize() const { return _pageSize; }
185 uint64_t stackSize() const { return _stackSize; }
186 void setStackSize(uint64_t stackSize) { _stackSize = stackSize; }
188 uint64_t baseAddress() const { return _baseAddress; }
189 void setBaseAddress(uint64_t baseAddress) { _baseAddress = baseAddress; }
196 void setSdkVersion(uint64_t v) { _sdkVersion = v; }
198 uint64_t sourceVersion() const { return _sourceVersion; }
199 void setSourceVersion(uint64_t v) { _sourceVersion = v; }
409 static bool parsePackedVersion(StringRef str, uint64_t &result);
464 uint64_t _sourceVersion = 0;
465 uint64_t _pageZeroSize = 0;
466 uint64_t _pageSize = 4096;
467 uint64_t _baseAddress = 0;
468 uint64_t _stackSize = 0;
tools/lld/lib/Core/SymbolTable.cpp 148 uint64_t existingSize = existingDef->sectionSize();
149 uint64_t newSize = newDef->sectionSize();
154 uint64_t existingSize = existingDef->sectionSize();
155 uint64_t newSize = newDef->sectionSize();
tools/lld/lib/Driver/DarwinLdDriver.cpp 295 static bool parseNumberBase16(StringRef numStr, uint64_t &baseAddress) {
454 uint64_t baseAddress;
939 uint64_t version = 0;
950 uint64_t stackSizeVal;
tools/lld/lib/ReaderWriter/MachO/ArchHandler.cpp 150 idOffset += sizeof(uint64_t);
tools/lld/lib/ReaderWriter/MachO/ArchHandler.h 123 typedef std::function<llvm::Error (uint32_t sectionIndex, uint64_t addr,
140 uint64_t fixupAddress, bool isBigEndian,
156 uint64_t fixupAddress, bool isBig, bool scatterable,
173 typedef std::function<uint64_t (const Atom &atom)> FindAddressForAtom;
184 uint64_t imageBaseAddress,
189 uint64_t atomSectionOffset,
tools/lld/lib/ReaderWriter/MachO/ArchHandler_arm.cpp 85 uint64_t fixupAddress, bool swap,
96 uint64_t fixupAddress, bool swap, bool scatterable,
106 uint64_t imageBaseAddress,
110 uint64_t atomSectionOffset,
201 uint64_t fixupAddress, uint64_t targetAddress,
201 uint64_t fixupAddress, uint64_t targetAddress,
202 uint64_t inAtomAddress, bool &thumbMode,
206 uint64_t fixupAddress,
207 uint64_t targetAddress,
208 uint64_t inAtomAddress, bool &thumbMode,
526 uint64_t fixupAddress, bool isBig,
531 uint64_t targetAddress;
640 uint64_t fixupAddress, bool isBig,
905 uint64_t fixupAddress,
906 uint64_t targetAddress,
907 uint64_t inAtomAddress,
1016 uint64_t imageBaseAddress,
1026 uint64_t targetAddress = 0;
1032 uint64_t atomAddress = findAddress(atom);
1033 uint64_t fixupAddress = atomAddress + offset;
1067 uint64_t fixupAddress,
1068 uint64_t targetAddress,
1069 uint64_t inAtomAddress,
1183 uint64_t atomSectionOffset,
1440 uint64_t size() const override {
1485 uint64_t size() const override {
tools/lld/lib/ReaderWriter/MachO/ArchHandler_arm64.cpp 140 uint64_t fixupAddress, bool isBig,
151 uint64_t fixupAddress, bool isBig, bool scatterable,
165 uint64_t imageBaseAddress,
169 uint64_t atomSectionOffset,
220 uint64_t fixupAddress, uint64_t targetAddress,
220 uint64_t fixupAddress, uint64_t targetAddress,
221 uint64_t inAtomAddress, uint64_t imageBaseAddress,
221 uint64_t inAtomAddress, uint64_t imageBaseAddress,
225 uint64_t fixupAddress, uint64_t targetAddress,
225 uint64_t fixupAddress, uint64_t targetAddress,
226 uint64_t inAtomAddress, bool targetUnnamed);
379 uint64_t fixupAddress, bool isBig,
474 const DefinedAtom *inAtom, uint32_t offsetInAtom, uint64_t fixupAddress,
540 FindAddressForAtom findSectionAddress, uint64_t imageBaseAddress,
567 uint64_t targetAddress = 0;
570 uint64_t atomAddress = findAddress(atom);
571 uint64_t fixupAddress = atomAddress + offset;
584 uint64_t fixupAddress,
585 uint64_t targetAddress,
586 uint64_t inAtomAddress,
587 uint64_t imageBaseAddress,
691 uint64_t fixupAddress,
692 uint64_t targetAddress,
693 uint64_t inAtomAddress,
775 const DefinedAtom &atom, uint64_t atomSectionOffset, const Reference &ref,
tools/lld/lib/ReaderWriter/MachO/ArchHandler_x86.cpp 91 uint64_t fixupAddress, bool swap,
102 uint64_t fixupAddress, bool swap, bool scatterable,
112 uint64_t imageBaseAddress,
116 uint64_t atomSectionOffset,
164 uint64_t fixupAddress, uint64_t targetAddress,
164 uint64_t fixupAddress, uint64_t targetAddress,
165 uint64_t inAtomAddress);
168 uint64_t fixupAddress,
169 uint64_t targetAddress,
170 uint64_t inAtomAddress);
254 uint64_t fixupAddress, bool swap,
262 uint64_t targetAddress;
352 uint64_t fixupAddress, bool swap,
413 uint64_t imageBaseAddress,
422 uint64_t targetAddress = 0;
425 uint64_t atomAddress = findAddress(atom);
426 uint64_t fixupAddress = atomAddress + offset;
440 uint64_t fixupAddress,
441 uint64_t targetAddress,
442 uint64_t inAtomAddress) {
483 uint64_t fixupAddress,
484 uint64_t targetAddress,
485 uint64_t inAtomAddress) {
553 uint64_t atomSectionOffset,
tools/lld/lib/ReaderWriter/MachO/ArchHandler_x86_64.cpp 148 uint64_t fixupAddress, bool swap,
159 uint64_t fixupAddress, bool swap, bool scatterable,
173 uint64_t imageBase,
177 uint64_t atomSectionOffset,
251 uint64_t fixupAddress, uint64_t targetAddress,
251 uint64_t fixupAddress, uint64_t targetAddress,
252 uint64_t inAtomAddress, uint64_t imageBaseAddress,
252 uint64_t inAtomAddress, uint64_t imageBaseAddress,
256 uint64_t fixupAddress,
257 uint64_t targetAddress,
258 uint64_t inAtomAddress);
399 uint64_t fixupAddress, bool swap,
409 uint64_t targetAddress;
477 uint64_t fixupAddress, bool swap,
485 uint64_t targetAddress;
495 uint64_t encodedAddend = (int64_t)*(const little64_t *)fixupContent;
547 FindAddressForAtom findSectionAddress, uint64_t imageBaseAddress,
556 uint64_t targetAddress = 0;
559 uint64_t atomAddress = findAddress(atom);
560 uint64_t fixupAddress = atomAddress + offset;
574 const Reference &ref, uint8_t *loc, uint64_t fixupAddress,
575 uint64_t targetAddress, uint64_t inAtomAddress, uint64_t imageBaseAddress,
575 uint64_t targetAddress, uint64_t inAtomAddress, uint64_t imageBaseAddress,
575 uint64_t targetAddress, uint64_t inAtomAddress, uint64_t imageBaseAddress,
644 uint64_t val = targetAddress - findSectionAddress(*ref.target()) + ref.addend();
658 uint64_t fixupAddress,
659 uint64_t targetAddress,
660 uint64_t inAtomAddress) {
766 uint64_t atomSectionOffset,
tools/lld/lib/ReaderWriter/MachO/Atoms.h 38 ContentType type, uint64_t size, bool noDeadStrip,
47 uint64_t size() const override { return _content.size(); }
114 uint64_t size, DefinedAtom::Alignment align)
120 uint64_t size() const override { return _size; }
137 const uint64_t _size;
166 uint64_t size() const override {
tools/lld/lib/ReaderWriter/MachO/CompactUnwindPass.cpp 98 uint64_t size() const override { return _contents.size(); }
tools/lld/lib/ReaderWriter/MachO/File.h 41 uint64_t sectionOffset, uint64_t contentSize, bool thumb,
41 uint64_t sectionOffset, uint64_t contentSize, bool thumb,
63 bool thumb, bool noDeadStrip, uint64_t sectionOffset,
64 uint64_t contentSize, StringRef sectionName,
87 uint64_t sectionOffset, uint64_t size,
87 uint64_t sectionOffset, uint64_t size,
126 void addTentativeDefAtom(StringRef name, Atom::Scope scope, uint64_t size,
141 uint64_t offsetInSect,
155 uint64_t atomsEndOffset = ao.offset+ao.atom->rawContent().size();
184 typedef std::function<void(MachODefinedAtom *atom, uint64_t offset)>
253 struct SectionOffsetAndAtom { uint64_t offset; MachODefinedAtom *atom; };
256 uint64_t sectionOffset) {
tools/lld/lib/ReaderWriter/MachO/GOTPass.cpp 66 uint64_t size() const override {
tools/lld/lib/ReaderWriter/MachO/LayoutPass.cpp 235 uint64_t leftOrdinal = leftRoot->ordinal();
236 uint64_t rightOrdinal = rightRoot->ordinal();
405 uint64_t index = 0;
429 uint64_t override = (oi == _ordinalOverrideMap.end()) ? 0 : oi->second;
tools/lld/lib/ReaderWriter/MachO/LayoutPass.h 36 const DefinedAtom *root, uint64_t override)
40 uint64_t _override;
84 typedef llvm::DenseMap<const DefinedAtom *, uint64_t> AtomToOrdinalT;
tools/lld/lib/ReaderWriter/MachO/MachOLinkingContext.cpp 75 bool MachOLinkingContext::parsePackedVersion(StringRef str, uint64_t &result) {
tools/lld/lib/ReaderWriter/MachO/MachONormalizedFileBinaryUtils.h 35 void append_uleb128(uint64_t value) {
38 void append_uleb128Fixed(uint64_t value, unsigned byteCount) {
84 static inline uint64_t read64(const T *loc, bool isBig) {
103 inline void write64(uint8_t *loc, uint64_t value, bool isBig) {
tools/lld/lib/ReaderWriter/MachO/MachONormalizedFileBinaryWriter.cpp 97 uint64_t _address;
98 uint64_t _flags;
99 uint64_t _other;
192 uint64_t _seg1addr;
225 uint64_t _addressOfLinkEdit;
287 uint64_t offset = _startOfSectionsContent;
1185 uint64_t lastAddend = 0;
tools/lld/lib/ReaderWriter/MachO/MachONormalizedFileFromAtoms.cpp 49 uint64_t offsetInSection;
61 uint64_t address;
62 uint64_t size;
94 uint64_t address;
95 uint64_t size;
150 typedef llvm::DenseMap<const Atom*, uint64_t> AtomToAddress;
160 void layoutSectionsInSegment(SegmentInfo *seg, uint64_t &addr);
161 void layoutSectionsInTextSegment(size_t, SegmentInfo *, uint64_t &);
166 uint8_t &segmentIndex, uint64_t &segmentStartAddr);
378 uint64_t offset = sect->size;
380 uint64_t align = atomAlign.value;
381 uint64_t requiredModulus = atomAlign.modulus;
382 uint64_t currentModulus = (offset % align);
556 void Util::layoutSectionsInSegment(SegmentInfo *seg, uint64_t &addr) {
567 uint64_t &addr) {
592 uint64_t address = 0;
1270 uint64_t &segmentStartAddr) {
1284 uint64_t address = _atomToAddress[atom];
1340 const uint64_t badAddress = ~0ULL;
1341 uint64_t addr = badAddress;
1356 uint64_t nextAddr = _atomToAddress[info.atom];
1359 uint64_t delta = nextAddr - addr;
1427 uint64_t segmentStartAddr;
1435 uint64_t segmentOffset = _atomToAddress[atom] + ref->offsetInAtom()
tools/lld/lib/ReaderWriter/MachO/MachONormalizedFileToAtoms.cpp 240 MachOFile &file, uint64_t symbolAddr, StringRef symbolName,
242 uint64_t nextSymbolAddr, bool scatterable, bool copyRefs) {
245 uint64_t size = nextSymbolAddr - symbolAddr;
246 uint64_t offset = symbolAddr - section.address;
299 uint64_t lhsAddr = lhs->value;
300 uint64_t rhsAddr = rhs->value;
493 uint64_t address) {
495 uint64_t sAddr = s.address;
505 uint64_t addr, Reference::Addend &addend) {
512 uint64_t offsetInSect = addr - sect->address;
543 uint64_t offsetInSect = addr - sect->address;
577 uint64_t targetOffsetInSect = sym->value - symSection.address;
614 uint64_t fixupAddress = section.address + reloc.offset;
725 uint64_t currentAtomAddress = 0;
835 static uint64_t getCUAbbrevOffset(llvm::DataExtractor abbrevData,
836 uint64_t abbrCode) {
837 uint64_t curCode;
838 uint64_t offset = 0;
856 uint64_t &infoOffset, const Section &stringsSection) {
862 uint64_t stringOffset = infoData.getU32(&infoOffset);
878 uint64_t offset = 0;
900 uint64_t abbrevOffset = getCUAbbrevOffset(abbrevData, abbrCode);
901 uint64_t tag = abbrevData.getULEB128(&abbrevOffset);
1025 uint64_t idx = 1;
1075 uint64_t offset,
1083 uint64_t cieIDField = size == 0xffffffffU
1084 ? sizeof(uint32_t) + sizeof(uint64_t)
1086 uint64_t versionField = cieIDField + sizeof(uint32_t);
1087 uint64_t augmentationStringField = versionField + sizeof(uint8_t);
1099 uint64_t EHDataField = augmentationStringField + augmentationStringLength;
1104 uint64_t CodeAlignField = EHDataField + EHDataFieldSize;
1109 uint64_t DataAlignField = CodeAlignField + lengthFieldSize;
1113 uint64_t ReturnAddressField = DataAlignField + lengthFieldSize;
1116 uint64_t AugmentationLengthField = ReturnAddressField + 1;
1117 uint64_t AugmentationLength =
1126 uint64_t AugmentationDataField = AugmentationLengthField + lengthFieldSize;
1129 uint64_t PersonalityField =
1134 uint64_t PersonalityFunctionField = PersonalityField + 1;
1151 uint64_t funcAddress = ehFrameSection->address + offset +
1180 uint64_t offset,
1254 uint64_t cieFieldInFDE = size == 0xffffffffU
1255 ? sizeof(uint32_t) + sizeof(uint64_t)
1261 uint64_t cieAddress = ehFrameSection->address + offset + cieFieldInFDE;
1277 uint64_t rangeFieldInFDE = cieFieldInFDE + sizeof(uint32_t);
1281 uint64_t rangeStart = ehFrameSection->address + offset + rangeFieldInFDE;
1291 uint64_t augmentationDataLengthFieldInFDE =
1292 rangeFieldInFDE + 2 * (is64 ? sizeof(uint64_t) : sizeof(uint32_t));
1294 uint64_t augmentationDataLength =
1301 uint64_t augmentationDataFieldInFDE =
1306 uint64_t lsdaStart =
1507 uint64_t offsetInSect = entry.offset - s->address;
tools/lld/lib/ReaderWriter/MachO/MachONormalizedFileYAML.cpp 305 uint64_t size = sect.content.size();
tools/lld/lib/ReaderWriter/MachO/ObjCPass.cpp 71 uint64_t size() const override {
tools/lld/lib/ReaderWriter/MachO/SectCreateFile.h 35 uint64_t size() const override { return _content->getBufferSize(); }
tools/lld/lib/ReaderWriter/MachO/StubsPass.cpp 49 uint64_t size() const override {
85 uint64_t size() const override {
122 uint64_t size() const override {
156 uint64_t size() const override {
191 uint64_t size() const override {
346 const lld::Atom *target, uint64_t addend) {
tools/lld/lib/ReaderWriter/MachO/TLVPass.cpp 42 uint64_t size() const override {
tools/lld/lib/ReaderWriter/YAML/ReaderWriterYAML.cpp 777 uint64_t offsetInAtom() const override { return _offset; }
867 uint64_t size() const override { return _size; }
875 uint64_t sectionSize() const override { return _sectionSize; }
887 uint64_t ordinal() const override { return _ordinal; }
912 Reference::KindValue kindValue, uint64_t off,
935 uint64_t _size;
937 uint64_t _sectionSize;
1105 uint64_t size() const override { return _size; }
1112 uint64_t _size;
1175 uint64_t value() const override { return _value; }
tools/lld/wasm/InputFiles.h 86 llvm::DenseSet<uint64_t> seen;
tools/lld/wasm/Writer.cpp 89 uint64_t fileSize = 0;
tools/lld/wasm/WriterUtils.cpp 66 void debugWrite(uint64_t offset, const Twine &msg) {
tools/lld/wasm/WriterUtils.h 19 void debugWrite(uint64_t offset, const Twine &msg);
tools/lldb/include/lldb/API/SBData.h 56 uint64_t GetUnsignedInt64(lldb::SBError &error, lldb::offset_t offset);
94 uint64_t *array,
119 bool SetDataFromUInt64Array(uint64_t *array, size_t array_len);
tools/lldb/include/lldb/API/SBProcess.h 193 uint64_t ReadUnsignedFromMemory(addr_t addr, uint32_t byte_size,
tools/lldb/include/lldb/API/SBSection.h 47 uint64_t GetFileOffset();
49 uint64_t GetFileByteSize();
53 lldb::SBData GetSectionData(uint64_t offset, uint64_t size);
53 lldb::SBData GetSectionData(uint64_t offset, uint64_t size);
tools/lldb/include/lldb/API/SBStructuredData.h 64 uint64_t GetIntegerValue(uint64_t fail_value = 0) const;
64 uint64_t GetIntegerValue(uint64_t fail_value = 0) const;
tools/lldb/include/lldb/API/SBThread.h 70 uint64_t GetStopReasonDataAtIndex(uint32_t idx);
tools/lldb/include/lldb/API/SBThreadPlan.h 64 uint64_t GetStopReasonDataAtIndex(uint32_t idx);
tools/lldb/include/lldb/API/SBTraceOptions.h 22 uint64_t getTraceBufferSize() const;
30 uint64_t getMetaDataBufferSize() const;
39 void setTraceBufferSize(uint64_t size);
41 void setMetaDataBufferSize(uint64_t size);
tools/lldb/include/lldb/API/SBType.h 36 uint64_t GetOffsetInBytes();
38 uint64_t GetOffsetInBits();
116 uint64_t GetByteSize();
148 lldb::SBType GetArrayType(uint64_t size);
tools/lldb/include/lldb/API/SBTypeEnumMember.h 33 uint64_t GetValueAsUnsigned();
tools/lldb/include/lldb/API/SBValue.h 59 uint64_t GetValueAsUnsigned(lldb::SBError &error, uint64_t fail_value = 0);
59 uint64_t GetValueAsUnsigned(lldb::SBError &error, uint64_t fail_value = 0);
63 uint64_t GetValueAsUnsigned(uint64_t fail_value = 0);
63 uint64_t GetValueAsUnsigned(uint64_t fail_value = 0);
tools/lldb/include/lldb/Core/DumpDataExtractor.h 84 size_t item_count, size_t num_per_line, uint64_t base_addr,
tools/lldb/include/lldb/Core/EmulateInstruction.h 222 uint64_t unsigned_immediate; // unsigned immediate value
290 void SetImmediate(uint64_t immediate) {
388 uint64_t ReadRegisterUnsigned(const RegisterInfo *reg_info,
389 uint64_t fail_value, bool *success_ptr);
395 const RegisterInfo *reg_info, uint64_t reg_value);
404 uint64_t ReadRegisterUnsigned(lldb::RegisterKind reg_kind, uint32_t reg_num,
405 uint64_t fail_value, bool *success_ptr);
409 uint64_t reg_value);
414 uint64_t ReadMemoryUnsigned(const Context &context, lldb::addr_t addr,
415 size_t byte_size, uint64_t fail_value,
422 uint64_t uval, size_t uval_byte_size);
tools/lldb/include/lldb/Core/FormatEntity.h 107 uint64_t data;
tools/lldb/include/lldb/Core/Module.h 550 uint64_t GetObjectOffset() const { return m_object_offset; }
959 uint64_t m_object_offset;
tools/lldb/include/lldb/Core/ModuleSpec.h 129 uint64_t GetObjectOffset() const { return m_object_offset; }
131 void SetObjectOffset(uint64_t object_offset) {
135 uint64_t GetObjectSize() const { return m_object_size; }
137 void SetObjectSize(uint64_t object_size) { m_object_size = object_size; }
294 uint64_t m_object_offset;
295 uint64_t m_object_size;
tools/lldb/include/lldb/Core/Opcode.h 58 Opcode(uint64_t inst, lldb::ByteOrder order)
134 uint64_t GetOpcode64(uint64_t invalid_opcode = UINT64_MAX) const {
134 uint64_t GetOpcode64(uint64_t invalid_opcode = UINT64_MAX) const {
177 void SetOpcode64(uint64_t inst, lldb::ByteOrder order) {
262 uint64_t inst64;
tools/lldb/include/lldb/Core/StructuredDataImpl.h 124 uint64_t GetIntegerValue(uint64_t fail_value = 0) const {
124 uint64_t GetIntegerValue(uint64_t fail_value = 0) const {
tools/lldb/include/lldb/Core/Value.h 210 uint64_t GetValueByteSize(Status *error_ptr, ExecutionContext *exe_ctx);
tools/lldb/include/lldb/Core/ValueObject.h 362 virtual uint64_t GetByteSize() = 0;
435 virtual uint64_t GetValueAsUnsigned(uint64_t fail_value,
435 virtual uint64_t GetValueAsUnsigned(uint64_t fail_value,
652 CreateValueObjectFromAddress(llvm::StringRef name, uint64_t address,
678 virtual uint64_t GetData(DataExtractor &data, Status &error);
784 virtual uint64_t GetLanguageFlags();
786 virtual void SetLanguageFlags(uint64_t flags);
899 uint64_t m_language_flags;
tools/lldb/include/lldb/Core/ValueObjectCast.h 33 uint64_t GetByteSize() override;
tools/lldb/include/lldb/Core/ValueObjectChild.h 33 uint64_t GetByteSize() override { return m_byte_size; }
66 uint64_t m_byte_size;
84 ConstString name, uint64_t byte_size,
89 uint64_t language_flags);
tools/lldb/include/lldb/Core/ValueObjectConstResult.h 65 uint64_t GetByteSize() override;
116 uint64_t m_byte_size;
tools/lldb/include/lldb/Core/ValueObjectConstResultChild.h 38 uint64_t language_flags);
tools/lldb/include/lldb/Core/ValueObjectDynamicValue.h 38 uint64_t GetByteSize() override;
100 uint64_t GetLanguageFlags() override;
102 void SetLanguageFlags(uint64_t flags) override;
tools/lldb/include/lldb/Core/ValueObjectMemory.h 43 uint64_t GetByteSize() override;
tools/lldb/include/lldb/Core/ValueObjectRegister.h 37 uint64_t GetByteSize() override;
76 uint64_t GetByteSize() override;
123 uint64_t GetByteSize() override;
tools/lldb/include/lldb/Core/ValueObjectSyntheticFilter.h 41 uint64_t GetByteSize() override;
118 uint64_t GetLanguageFlags() override;
120 void SetLanguageFlags(uint64_t flags) override;
tools/lldb/include/lldb/Core/ValueObjectVariable.h 40 uint64_t GetByteSize() override;
tools/lldb/include/lldb/Core/dwarf.h 26 typedef uint64_t dw_addr_t; // Dwarf address define that must be big enough for
tools/lldb/include/lldb/DataFormatters/FormatCache.h 71 uint64_t m_cache_hits;
72 uint64_t m_cache_misses;
101 uint64_t GetCacheHits() { return m_cache_hits; }
103 uint64_t GetCacheMisses() { return m_cache_misses; }
tools/lldb/include/lldb/DataFormatters/FormattersHelpers.h 79 InferiorSizedWord(uint64_t val, Process &process)
140 uint64_t GetValue() const {
171 InferiorSizedWord(uint64_t val, size_t psz) : ptr_size(psz) {
181 uint64_t sixty_four;
tools/lldb/include/lldb/DataFormatters/StringPrinter.h 110 void SetLocation(uint64_t l) { m_location = l; }
112 uint64_t GetLocation() const { return m_location; }
119 uint64_t m_location = 0;
tools/lldb/include/lldb/DataFormatters/TypeSynthetic.h 88 CreateValueObjectFromAddress(llvm::StringRef name, uint64_t address,
tools/lldb/include/lldb/DataFormatters/ValueObjectPrinter.h 36 typedef std::set<uint64_t> InstancePointersSet;
tools/lldb/include/lldb/Expression/DWARFExpression.h 127 void UpdateValue(uint64_t const_value, lldb::offset_t const_value_byte_size,
tools/lldb/include/lldb/Expression/FunctionCaller.h 335 std::vector<uint64_t>
337 uint64_t m_return_size; ///< The size of the result variable, in bytes.
338 uint64_t m_return_offset; ///< The offset of the result variable in the
tools/lldb/include/lldb/Expression/IRExecutionUnit.h 301 void registerEHFrames(uint8_t *Addr, uint64_t LoadAddr,
304 uint64_t getSymbolAddress(const std::string &Name) override;
308 uint64_t GetSymbolAddressAndPresence(const std::string &Name,
tools/lldb/include/lldb/Host/Debug.h 143 uint64_t type;
tools/lldb/include/lldb/Host/FileCache.h 35 uint64_t WriteFile(lldb::user_id_t fd, uint64_t offset, const void *src,
35 uint64_t WriteFile(lldb::user_id_t fd, uint64_t offset, const void *src,
36 uint64_t src_len, Status &error);
37 uint64_t ReadFile(lldb::user_id_t fd, uint64_t offset, void *dst,
37 uint64_t ReadFile(lldb::user_id_t fd, uint64_t offset, void *dst,
38 uint64_t dst_len, Status &error);
tools/lldb/include/lldb/Host/FileSystem.h 93 uint64_t GetByteSize(const FileSpec &file_spec) const;
94 uint64_t GetByteSize(const llvm::Twine &path) const;
147 uint64_t size = 0,
148 uint64_t offset = 0);
150 uint64_t size = 0,
151 uint64_t offset = 0);
tools/lldb/include/lldb/Host/LZMA.h 24 llvm::Expected<uint64_t>
tools/lldb/include/lldb/Host/LockFileBase.h 24 Status WriteLock(const uint64_t start, const uint64_t len);
24 Status WriteLock(const uint64_t start, const uint64_t len);
25 Status TryWriteLock(const uint64_t start, const uint64_t len);
25 Status TryWriteLock(const uint64_t start, const uint64_t len);
27 Status ReadLock(const uint64_t start, const uint64_t len);
27 Status ReadLock(const uint64_t start, const uint64_t len);
28 Status TryReadLock(const uint64_t start, const uint64_t len);
28 Status TryReadLock(const uint64_t start, const uint64_t len);
33 using Locker = std::function<Status(const uint64_t, const uint64_t)>;
33 using Locker = std::function<Status(const uint64_t, const uint64_t)>;
39 virtual Status DoWriteLock(const uint64_t start, const uint64_t len) = 0;
39 virtual Status DoWriteLock(const uint64_t start, const uint64_t len) = 0;
40 virtual Status DoTryWriteLock(const uint64_t start, const uint64_t len) = 0;
40 virtual Status DoTryWriteLock(const uint64_t start, const uint64_t len) = 0;
42 virtual Status DoReadLock(const uint64_t start, const uint64_t len) = 0;
42 virtual Status DoReadLock(const uint64_t start, const uint64_t len) = 0;
43 virtual Status DoTryReadLock(const uint64_t start, const uint64_t len) = 0;
43 virtual Status DoTryReadLock(const uint64_t start, const uint64_t len) = 0;
47 Status DoLock(const Locker &locker, const uint64_t start, const uint64_t len);
47 Status DoLock(const Locker &locker, const uint64_t start, const uint64_t len);
51 uint64_t m_start;
52 uint64_t m_len;
tools/lldb/include/lldb/Host/StringConvert.h 32 uint64_t ToUInt64(const char *s, uint64_t fail_value = 0, int base = 0,
32 uint64_t ToUInt64(const char *s, uint64_t fail_value = 0, int base = 0,
tools/lldb/include/lldb/Host/XML.h 64 bool GetElementTextAsUnsigned(uint64_t &value, uint64_t fail_value = 0,
64 bool GetElementTextAsUnsigned(uint64_t &value, uint64_t fail_value = 0,
80 bool GetAttributeValueAsUnsigned(const char *name, uint64_t &value,
81 uint64_t fail_value = 0, int base = 0) const;
tools/lldb/include/lldb/Host/common/NativeRegisterContext.h 148 Status WriteRegisterFromUnsigned(uint32_t reg, uint64_t uval);
150 Status WriteRegisterFromUnsigned(const RegisterInfo *reg_info, uint64_t uval);
tools/lldb/include/lldb/Host/posix/LockFilePosix.h 22 Status DoWriteLock(const uint64_t start, const uint64_t len) override;
22 Status DoWriteLock(const uint64_t start, const uint64_t len) override;
24 Status DoTryWriteLock(const uint64_t start, const uint64_t len) override;
24 Status DoTryWriteLock(const uint64_t start, const uint64_t len) override;
26 Status DoReadLock(const uint64_t start, const uint64_t len) override;
26 Status DoReadLock(const uint64_t start, const uint64_t len) override;
28 Status DoTryReadLock(const uint64_t start, const uint64_t len) override;
28 Status DoTryReadLock(const uint64_t start, const uint64_t len) override;
tools/lldb/include/lldb/Interpreter/OptionGroupFormat.h 30 uint64_t default_byte_size =
32 uint64_t default_count =
tools/lldb/include/lldb/Interpreter/OptionGroupUInt64.h 24 const char *usage_text, uint64_t default_value);
tools/lldb/include/lldb/Interpreter/OptionValue.h 176 uint64_t GetUInt64Value(uint64_t fail_value, bool *success_ptr);
176 uint64_t GetUInt64Value(uint64_t fail_value, bool *success_ptr);
295 uint64_t GetUInt64Value(uint64_t fail_value = 0) const;
295 uint64_t GetUInt64Value(uint64_t fail_value = 0) const;
297 bool SetUInt64Value(uint64_t new_value);
tools/lldb/include/lldb/Interpreter/OptionValueProperties.h 161 uint64_t GetPropertyAtIndexAsUInt64(const ExecutionContext *exe_ctx,
162 uint32_t idx, uint64_t fail_value) const;
165 uint64_t new_value);
tools/lldb/include/lldb/Interpreter/OptionValueUInt64.h 21 OptionValueUInt64(uint64_t value)
24 OptionValueUInt64(uint64_t current_value, uint64_t default_value)
24 OptionValueUInt64(uint64_t current_value, uint64_t default_value)
60 const uint64_t &operator=(uint64_t value) {
60 const uint64_t &operator=(uint64_t value) {
65 operator uint64_t() const { return m_current_value; }
67 uint64_t GetCurrentValue() const { return m_current_value; }
69 uint64_t GetDefaultValue() const { return m_default_value; }
71 void SetCurrentValue(uint64_t value) { m_current_value = value; }
73 void SetDefaultValue(uint64_t value) { m_default_value = value; }
76 uint64_t m_current_value;
77 uint64_t m_default_value;
tools/lldb/include/lldb/Symbol/ArmUnwindInfo.h 55 uint64_t GetULEB128(const uint32_t *data, uint16_t &offset,
tools/lldb/include/lldb/Symbol/ClangASTContext.h 442 void *baton, const clang::RecordDecl *record_decl, uint64_t &size,
443 uint64_t &alignment,
444 llvm::DenseMap<const clang::FieldDecl *, uint64_t> &field_offsets,
512 CompilerType *element_type, uint64_t *size,
516 CompilerType *element_type, uint64_t *size) override;
634 uint64_t *stride) override;
637 uint64_t size) override;
692 llvm::Optional<uint64_t> GetByteSize(lldb::opaque_compiler_type_t type,
694 if (llvm::Optional<uint64_t> bit_size = GetBitSize(type, exe_scope))
699 llvm::Optional<uint64_t>
704 uint64_t &count) override;
734 std::string &name, uint64_t *bit_offset_ptr,
759 ValueObject *valobj, uint64_t &language_flags) override;
tools/lldb/include/lldb/Symbol/ClangASTImporter.h 70 uint64_t m_visible_query_count;
71 uint64_t m_lexical_query_count;
72 uint64_t m_lldb_import_count;
73 uint64_t m_clang_import_count;
74 uint64_t m_decls_completed_count;
75 uint64_t m_record_layout_count;
90 uint64_t bit_size;
91 uint64_t alignment;
92 llvm::DenseMap<const clang::FieldDecl *, uint64_t> field_offsets;
124 const clang::RecordDecl *record_decl, uint64_t &bit_size,
125 uint64_t &alignment,
126 llvm::DenseMap<const clang::FieldDecl *, uint64_t> &field_offsets,
tools/lldb/include/lldb/Symbol/ClangExternalASTSourceCallbacks.h 33 void *baton, const clang::RecordDecl *Record, uint64_t &Size,
34 uint64_t &Alignment,
35 llvm::DenseMap<const clang::FieldDecl *, uint64_t> &FieldOffsets,
61 clang::Stmt *GetExternalDeclStmt(uint64_t Offset) override {
77 GetExternalCXXBaseSpecifiers(uint64_t Offset) override {
97 const clang::RecordDecl *Record, uint64_t &Size, uint64_t &Alignment,
97 const clang::RecordDecl *Record, uint64_t &Size, uint64_t &Alignment,
98 llvm::DenseMap<const clang::FieldDecl *, uint64_t> &FieldOffsets,
tools/lldb/include/lldb/Symbol/ClangExternalASTSourceCommon.h 67 void SetISAPtr(uint64_t isa_ptr) {
73 uint64_t GetISAPtr() const {
117 uint64_t m_isa_ptr;
tools/lldb/include/lldb/Symbol/CompilerType.h 64 bool IsArrayType(CompilerType *element_type, uint64_t *size,
67 bool IsVectorType(CompilerType *element_type, uint64_t *size) const;
174 CompilerType GetArrayElementType(uint64_t *stride = nullptr) const;
176 CompilerType GetArrayType(uint64_t size) const;
248 llvm::Optional<uint64_t> GetByteSize(ExecutionContextScope *exe_scope) const;
250 llvm::Optional<uint64_t> GetBitSize(ExecutionContextScope *exe_scope) const;
252 lldb::Encoding GetEncoding(uint64_t &count) const;
276 uint64_t *bit_offset_ptr,
292 uint64_t *bit_offset_ptr = nullptr,
303 uint64_t &language_flags) const;
tools/lldb/include/lldb/Symbol/DebugMacros.h 47 uint64_t GetLineNumber() const { return m_line; }
tools/lldb/include/lldb/Symbol/ObjectFile.h 694 static lldb::DataBufferSP MapFileData(const FileSpec &file, uint64_t Size,
695 uint64_t Offset);
tools/lldb/include/lldb/Symbol/Symbol.h 90 uint64_t GetIntegerValue(uint64_t fail_value = 0) const {
90 uint64_t GetIntegerValue(uint64_t fail_value = 0) const {
tools/lldb/include/lldb/Symbol/SymbolFile.h 144 llvm::SmallVector<uint64_t, 1> element_orders;
tools/lldb/include/lldb/Symbol/Type.h 101 llvm::Optional<uint64_t> byte_size, SymbolContextScope *context,
127 llvm::Optional<uint64_t> GetByteSize();
168 lldb::Encoding GetEncoding(uint64_t &count);
217 uint64_t m_byte_size : 63;
218 uint64_t m_byte_size_has_value : 1;
344 TypeMemberImpl(const lldb::TypeImplSP &type_impl_sp, uint64_t bit_offset,
350 TypeMemberImpl(const lldb::TypeImplSP &type_impl_sp, uint64_t bit_offset)
361 uint64_t GetBitOffset() const { return m_bit_offset; }
375 uint64_t m_bit_offset;
489 uint64_t GetValueAsUnsigned() const { return m_value.getZExtValue(); }
tools/lldb/include/lldb/Symbol/TypeSystem.h 155 CompilerType *element_type, uint64_t *size,
235 uint64_t *stride) = 0;
238 uint64_t size);
282 virtual llvm::Optional<uint64_t>
287 uint64_t &count) = 0;
310 uint64_t *bit_offset_ptr,
335 ValueObject *valobj, uint64_t &language_flags) = 0;
437 CompilerType *element_type, uint64_t *size) = 0;
tools/lldb/include/lldb/Target/LanguageRuntime.h 146 uint64_t &size) {
tools/lldb/include/lldb/Target/Platform.h 521 virtual uint64_t ReadFile(lldb::user_id_t fd, uint64_t offset, void *dst,
521 virtual uint64_t ReadFile(lldb::user_id_t fd, uint64_t offset, void *dst,
522 uint64_t dst_len, Status &error) {
529 virtual uint64_t WriteFile(lldb::user_id_t fd, uint64_t offset,
529 virtual uint64_t WriteFile(lldb::user_id_t fd, uint64_t offset,
530 const void *src, uint64_t src_len, Status &error) {
632 virtual bool CalculateMD5(const FileSpec &file_spec, uint64_t &low,
633 uint64_t &high);
883 const uint64_t src_offset,
884 const uint64_t src_size,
tools/lldb/include/lldb/Target/Process.h 70 uint64_t GetMemoryCacheLineSize() const;
1561 uint64_t ReadUnsignedIntegerFromMemory(lldb::addr_t load_addr,
1562 size_t byte_size, uint64_t fail_value,
2068 uint32_t GetNextThreadIndexID(uint64_t thread_id);
2073 bool HasAssignedIndexIDToThread(uint64_t sb_thread_id);
2078 uint32_t AssignIndexIDToThread(uint64_t thread_id);
2517 void PrintWarning(uint64_t warning_type, const void *repeat_key,
2628 typedef std::map<uint64_t, WarningsPointerSet> WarningsCollection;
2667 std::map<uint64_t, uint32_t> m_thread_id_to_index_id_map;
tools/lldb/include/lldb/Target/ProcessStructReader.h 52 uint64_t bit_offset;
tools/lldb/include/lldb/Target/RegisterContext.h 147 uint64_t GetPC(uint64_t fail_value = LLDB_INVALID_ADDRESS);
147 uint64_t GetPC(uint64_t fail_value = LLDB_INVALID_ADDRESS);
149 bool SetPC(uint64_t pc);
153 uint64_t GetSP(uint64_t fail_value = LLDB_INVALID_ADDRESS);
153 uint64_t GetSP(uint64_t fail_value = LLDB_INVALID_ADDRESS);
155 bool SetSP(uint64_t sp);
157 uint64_t GetFP(uint64_t fail_value = LLDB_INVALID_ADDRESS);
157 uint64_t GetFP(uint64_t fail_value = LLDB_INVALID_ADDRESS);
159 bool SetFP(uint64_t fp);
163 uint64_t GetReturnAddress(uint64_t fail_value = LLDB_INVALID_ADDRESS);
163 uint64_t GetReturnAddress(uint64_t fail_value = LLDB_INVALID_ADDRESS);
165 uint64_t GetFlags(uint64_t fail_value = 0);
165 uint64_t GetFlags(uint64_t fail_value = 0);
167 uint64_t ReadRegisterAsUnsigned(uint32_t reg, uint64_t fail_value);
167 uint64_t ReadRegisterAsUnsigned(uint32_t reg, uint64_t fail_value);
169 uint64_t ReadRegisterAsUnsigned(const RegisterInfo *reg_info,
170 uint64_t fail_value);
172 bool WriteRegisterFromUnsigned(uint32_t reg, uint64_t uval);
174 bool WriteRegisterFromUnsigned(const RegisterInfo *reg_info, uint64_t uval);
tools/lldb/include/lldb/Target/RemoteAwarePlatform.h 30 uint64_t ReadFile(lldb::user_id_t fd, uint64_t offset, void *dst,
30 uint64_t ReadFile(lldb::user_id_t fd, uint64_t offset, void *dst,
31 uint64_t dst_len, Status &error) override;
33 uint64_t WriteFile(lldb::user_id_t fd, uint64_t offset, const void *src,
33 uint64_t WriteFile(lldb::user_id_t fd, uint64_t offset, const void *src,
34 uint64_t src_len, Status &error) override;
56 bool CalculateMD5(const FileSpec &file_spec, uint64_t &low,
57 uint64_t &high) override;
tools/lldb/include/lldb/Target/StackFrameRecognizer.h 140 uint64_t GetByteSize() override { return m_parent->GetByteSize(); }
tools/lldb/include/lldb/Target/StopInfo.h 26 StopInfo(Thread &thread, uint64_t value);
45 uint64_t GetValue() const { return m_value; }
164 uint64_t m_value; // A generic value that can be used for things pertaining to
tools/lldb/include/lldb/Target/Target.h 999 uint64_t ReadUnsignedIntegerFromMemory(const Address &addr,
1002 uint64_t fail_value, Status &error);
tools/lldb/include/lldb/Target/Thread.h 54 uint64_t GetMaxBacktraceDepth() const;
1155 virtual void SetExtendedBacktraceToken(uint64_t token) {}
1165 virtual uint64_t GetExtendedBacktraceToken() { return LLDB_INVALID_ADDRESS; }
tools/lldb/include/lldb/Target/UnixSignals.h 85 uint64_t GetVersion() const;
120 uint64_t m_version = 0;
tools/lldb/include/lldb/Utility/Args.h 255 static bool UInt64ValueIsValidForByteSize(uint64_t uval64,
263 const uint64_t max = (static_cast<uint64_t>(1)
tools/lldb/include/lldb/Utility/DataBufferHeap.h 99 void AppendData(const void *src, uint64_t src_len);
tools/lldb/include/lldb/Utility/DataEncoder.h 155 uint32_t PutU64(uint32_t offset, uint64_t value);
179 uint32_t PutMaxU64(uint32_t offset, uint32_t byte_size, uint64_t value);
tools/lldb/include/lldb/Utility/DataExtractor.h 198 lldb::offset_t length, uint64_t base_addr,
246 uint64_t GetAddress(lldb::offset_t *offset_ptr) const;
248 uint64_t GetAddress_unchecked(lldb::offset_t *offset_ptr) const;
262 uint64_t GetByteSize() const { return m_end - m_start; }
477 uint64_t GetMaxU64(lldb::offset_t *offset_ptr, size_t byte_size) const;
479 uint64_t GetMaxU64_unchecked(lldb::offset_t *offset_ptr,
539 uint64_t GetMaxU64Bitfield(lldb::offset_t *offset_ptr, size_t size,
597 uint64_t GetPointer(lldb::offset_t *offset_ptr) const;
632 uint64_t GetU64_unchecked(lldb::offset_t *offset_ptr) const;
754 uint64_t GetU64(lldb::offset_t *offset_ptr) const;
815 uint64_t GetULEB128(lldb::offset_t *offset_ptr) const;
993 void Checksum(llvm::SmallVectorImpl<uint8_t> &dest, uint64_t max_data = 0);
tools/lldb/include/lldb/Utility/RegisterValue.h 57 explicit RegisterValue(uint64_t inst) : m_type(eTypeUInt64) {
125 uint64_t GetAsUInt64(uint64_t fail_value = UINT64_MAX,
125 uint64_t GetAsUInt64(uint64_t fail_value = UINT64_MAX,
164 void operator=(uint64_t uint) {
204 void SetUInt64(uint64_t uint, Type t = eTypeUInt64) {
214 bool SetUInt(uint64_t uint, uint32_t byte_size);
tools/lldb/include/lldb/Utility/Scalar.h 240 static bool UIntValueIsValidForSize(uint64_t uval64, size_t total_byte_size) {
247 const uint64_t max = (static_cast<uint64_t>(1)
tools/lldb/include/lldb/Utility/Stream.h 154 size_t PutHex64(uint64_t uvalue,
157 size_t PutMaxHex64(uint64_t uvalue, size_t byte_size,
254 Stream &operator<<(uint64_t uval);
312 void Address(uint64_t addr, uint32_t addr_size, const char *prefix = nullptr,
334 void AddressRange(uint64_t lo_addr, uint64_t hi_addr, uint32_t addr_size,
334 void AddressRange(uint64_t lo_addr, uint64_t hi_addr, uint32_t addr_size,
467 size_t PutULEB128(uint64_t uval);
515 uint64_t current_pos() const override {
tools/lldb/include/lldb/Utility/StreamCallback.h 30 uint64_t current_pos() const override;
tools/lldb/include/lldb/Utility/StringExtractor.h 37 uint64_t GetFilePos() const { return m_index; }
81 uint64_t GetU64(uint64_t fail_value, int base = 0);
81 uint64_t GetU64(uint64_t fail_value, int base = 0);
85 uint64_t GetHexMaxU64(bool little_endian, uint64_t fail_value);
85 uint64_t GetHexMaxU64(bool little_endian, uint64_t fail_value);
118 uint64_t m_index;
tools/lldb/include/lldb/Utility/StructuredData.h 103 uint64_t GetIntegerValue(uint64_t fail_value = 0) {
103 uint64_t GetIntegerValue(uint64_t fail_value = 0) {
287 Integer(uint64_t i = 0)
292 void SetValue(uint64_t value) { m_value = value; }
294 uint64_t GetValue() { return m_value; }
299 uint64_t m_value;
499 void AddIntegerItem(llvm::StringRef key, uint64_t value) {
tools/lldb/include/lldb/Utility/Timer.h 32 std::atomic<uint64_t> m_nanos;
33 std::atomic<uint64_t> m_nanos_total;
34 std::atomic<uint64_t> m_count;
tools/lldb/include/lldb/Utility/TraceOptions.h 28 uint64_t getTraceBufferSize() const { return m_trace_buffer_size; }
30 uint64_t getMetaDataBufferSize() const { return m_meta_data_buffer_size; }
38 void setTraceBufferSize(uint64_t size) { m_trace_buffer_size = size; }
40 void setMetaDataBufferSize(uint64_t size) { m_meta_data_buffer_size = size; }
48 uint64_t m_trace_buffer_size;
49 uint64_t m_meta_data_buffer_size;
tools/lldb/include/lldb/lldb-private-types.h 122 typedef struct type128 { uint64_t x[2]; } type128;
123 typedef struct type256 { uint64_t x[4]; } type256;
tools/lldb/include/lldb/lldb-types.h 57 typedef uint64_t process_t; // Process type is just a pid.
83 typedef uint64_t addr_t;
84 typedef uint64_t user_id_t;
85 typedef uint64_t pid_t;
86 typedef uint64_t tid_t;
87 typedef uint64_t offset_t;
91 typedef uint64_t queue_id_t;
tools/lldb/source/API/SBData.cpp 231 uint64_t SBData::GetUnsignedInt64(lldb::SBError &error, lldb::offset_t offset) {
235 uint64_t value = 0;
409 uint64_t *array,
418 size_t data_len = array_len * sizeof(uint64_t);
539 bool SBData::SetDataFromUInt64Array(uint64_t *array, size_t array_len) {
548 size_t data_len = array_len * sizeof(uint64_t);
tools/lldb/source/API/SBProcess.cpp 917 uint64_t SBProcess::ReadUnsignedFromMemory(addr_t addr, uint32_t byte_size,
923 uint64_t value = 0;
tools/lldb/source/API/SBSection.cpp 156 uint64_t SBSection::GetFileOffset() {
171 uint64_t SBSection::GetFileByteSize() {
186 SBData SBSection::GetSectionData(uint64_t offset, uint64_t size) {
186 SBData SBSection::GetSectionData(uint64_t offset, uint64_t size) {
193 const uint64_t sect_file_size = section_sp->GetFileSize();
199 const uint64_t sect_file_offset =
201 const uint64_t file_offset = sect_file_offset + offset;
202 uint64_t file_size = size;
tools/lldb/source/API/SBStructuredData.cpp 177 uint64_t SBStructuredData::GetIntegerValue(uint64_t fail_value) const {
177 uint64_t SBStructuredData::GetIntegerValue(uint64_t fail_value) const {
tools/lldb/source/API/SBThread.cpp 205 uint64_t SBThread::GetStopReasonDataAtIndex(uint32_t idx) {
tools/lldb/source/API/SBThreadPlan.cpp 131 uint64_t SBThreadPlan::GetStopReasonDataAtIndex(uint32_t idx) {
tools/lldb/source/API/SBTraceOptions.cpp 36 uint64_t SBTraceOptions::getTraceBufferSize() const {
60 uint64_t SBTraceOptions::getMetaDataBufferSize() const {
89 void SBTraceOptions::setTraceBufferSize(uint64_t size) {
97 void SBTraceOptions::setMetaDataBufferSize(uint64_t size) {
tools/lldb/source/API/SBType.cpp 121 uint64_t SBType::GetByteSize() {
125 if (llvm::Optional<uint64_t> size =
219 SBType SBType::GetArrayType(uint64_t size) {
461 uint64_t bit_offset = 0;
676 uint64_t SBTypeMember::GetOffsetInBytes() {
684 uint64_t SBTypeMember::GetOffsetInBits() {
tools/lldb/source/API/SBTypeEnumMember.cpp 78 uint64_t SBTypeEnumMember::GetValueAsUnsigned() {
tools/lldb/source/API/SBValue.cpp 918 uint64_t ret_val = fail_value;
930 uint64_t SBValue::GetValueAsUnsigned(SBError &error, uint64_t fail_value) {
930 uint64_t SBValue::GetValueAsUnsigned(SBError &error, uint64_t fail_value) {
939 uint64_t ret_val = fail_value;
962 uint64_t SBValue::GetValueAsUnsigned(uint64_t fail_value) {
962 uint64_t SBValue::GetValueAsUnsigned(uint64_t fail_value) {
tools/lldb/source/Commands/CommandObjectCommands.cpp 126 std::pair<bool, uint64_t> start_idx(
129 std::pair<bool, uint64_t> stop_idx(
132 std::pair<bool, uint64_t> count(m_options.m_count.OptionWasSet(),
tools/lldb/source/Commands/CommandObjectMemory.cpp 533 llvm::Optional<uint64_t> size = compiler_type.GetByteSize(nullptr);
656 llvm::Optional<uint64_t> size = compiler_type.GetByteSize(nullptr);
1072 uint64_t value = result_sp->GetValueAsUnsigned(0);
1073 llvm::Optional<uint64_t> size =
1289 bool UIntValueIsValidForSize(uint64_t uval64, size_t total_byte_size) {
1296 const uint64_t max = ((uint64_t)1 << (uint64_t)(total_byte_size * 8)) - 1;
1402 uint64_t uval64;
tools/lldb/source/Core/Address.cpp 100 static uint64_t ReadUIntMax64(ExecutionContextScope *exe_scope,
103 uint64_t uval64 = 0;
104 if (exe_scope == nullptr || byte_size > sizeof(uint64_t)) {
108 uint64_t buf = 0;
tools/lldb/source/Core/Disassembler.cpp 1332 uint64_t value64 = *((uint64_t *)opcode_data);
tools/lldb/source/Core/DumpDataExtractor.cpp 71 llvm::SmallVector<uint64_t, 2> uint64_array;
73 uint64_t u64;
134 size_t num_per_line, uint64_t base_addr,
239 uint64_t uval64 = DE.GetMaxU64Bitfield(&offset, item_byte_size,
285 const uint64_t ch = DE.GetMaxU64Bitfield(&offset, item_byte_size,
373 uint64_t uval64 = DE.GetMaxU64Bitfield(&offset, item_byte_size,
741 DE, s, offset, eFormatDecimal, sizeof(uint64_t),
742 item_byte_size / sizeof(uint64_t), item_byte_size / sizeof(uint64_t),
742 item_byte_size / sizeof(uint64_t), item_byte_size / sizeof(uint64_t),
749 offset = DumpDataExtractor(DE, s, offset, eFormatHex, sizeof(uint64_t),
750 item_byte_size / sizeof(uint64_t),
751 item_byte_size / sizeof(uint64_t),
tools/lldb/source/Core/DynamicLoader.cpp 223 uint64_t value =
tools/lldb/source/Core/EmulateInstruction.cpp 92 uint64_t EmulateInstruction::ReadRegisterUnsigned(lldb::RegisterKind reg_kind,
94 uint64_t fail_value,
104 uint64_t EmulateInstruction::ReadRegisterUnsigned(const RegisterInfo *reg_info,
105 uint64_t fail_value,
136 uint64_t uint_value) {
148 uint64_t uint_value) {
165 uint64_t EmulateInstruction::ReadMemoryUnsigned(const Context &context,
168 uint64_t fail_value,
170 uint64_t uval64 = 0;
173 uint8_t buf[sizeof(uint64_t)];
193 lldb::addr_t addr, uint64_t uval,
tools/lldb/source/Core/IOHandler.cpp 1325 uint64_t identifier);
1391 uint64_t GetIdentifier() const { return m_identifier; }
1393 void SetIdentifier(uint64_t identifier) { m_identifier = identifier; }
1398 uint64_t m_identifier;
1422 uint64_t identifier)
2179 uint64_t GetIdentifier() const { return m_identifier; }
2181 void SetIdentifier(uint64_t identifier) { m_identifier = identifier; }
2189 uint64_t m_identifier;
2398 const uint64_t frame_idx = item.GetIdentifier();
2423 const uint64_t frame_idx = item.GetIdentifier();
tools/lldb/source/Core/Value.cpp 211 uint64_t Value::GetValueByteSize(Status *error_ptr, ExecutionContext *exe_ctx) {
226 if (llvm::Optional<uint64_t> size = GetCompilerType().GetByteSize(scope)) {
343 if (llvm::Optional<uint64_t> size = ast_type.GetByteSize(
tools/lldb/source/Core/ValueObject.cpp 251 const uint64_t max_checksum_size = 128;
653 uint64_t language_flags = 0;
775 llvm::Optional<uint64_t> item_type_size =
780 const uint64_t bytes = item_count * *item_type_size;
781 const uint64_t offset = item_idx * *item_type_size;
847 size_t bytes_read = std::min<uint64_t>(*max_bytes - offset, bytes);
863 uint64_t ValueObject::GetData(DataExtractor &data, Status &error) {
890 uint64_t count = 0;
988 uint64_t array_size = 0;
1201 uint64_t ValueObject::GetValueAsUnsigned(uint64_t fail_value, bool *success) {
1201 uint64_t ValueObject::GetValueAsUnsigned(uint64_t fail_value, bool *success) {
1580 uint64_t count = 0;
1843 llvm::Optional<uint64_t> size =
1885 llvm::Optional<uint64_t> size =
2079 uint64_t load_addr =
2843 uint64_t language_flags;
3158 llvm::StringRef name, uint64_t address, const ExecutionContext &exe_ctx,
3327 uint64_t ValueObject::GetLanguageFlags() { return m_language_flags; }
3329 void ValueObject::SetLanguageFlags(uint64_t flags) { m_language_flags = flags; }
tools/lldb/source/Core/ValueObjectCast.cpp 52 uint64_t ValueObjectCast::GetByteSize() {
tools/lldb/source/Core/ValueObjectChild.cpp 31 ConstString name, uint64_t byte_size, int32_t byte_offset,
34 AddressType child_ptr_or_ref_addr_type, uint64_t language_flags)
192 uint64_t bitfield_end =
195 uint64_t overhang_bytes =
tools/lldb/source/Core/ValueObjectConstResult.cpp 198 uint64_t ValueObjectConstResult::GetByteSize() {
tools/lldb/source/Core/ValueObjectConstResultChild.cpp 29 uint64_t language_flags)
tools/lldb/source/Core/ValueObjectConstResultImpl.cpp 66 uint64_t language_flags;
tools/lldb/source/Core/ValueObjectDynamicValue.cpp 101 uint64_t ValueObjectDynamicValue::GetByteSize() {
281 uint64_t my_value = GetValueAsUnsigned(UINT64_MAX);
282 uint64_t parent_value = m_parent->GetValueAsUnsigned(UINT64_MAX);
314 uint64_t my_value = GetValueAsUnsigned(UINT64_MAX);
315 uint64_t parent_value = m_parent->GetValueAsUnsigned(UINT64_MAX);
378 uint64_t ValueObjectDynamicValue::GetLanguageFlags() {
384 void ValueObjectDynamicValue::SetLanguageFlags(uint64_t flags) {
tools/lldb/source/Core/ValueObjectMemory.cpp 137 uint64_t ValueObjectMemory::GetByteSize() {
tools/lldb/source/Core/ValueObjectRegister.cpp 69 uint64_t ValueObjectRegisterContext::GetByteSize() { return 0; }
146 uint64_t ValueObjectRegisterSet::GetByteSize() { return 0; }
291 uint64_t ValueObjectRegister::GetByteSize() { return m_reg_info.byte_size; }
tools/lldb/source/Core/ValueObjectSyntheticFilter.cpp 122 uint64_t ValueObjectSynthetic::GetByteSize() { return m_parent->GetByteSize(); }
383 uint64_t ValueObjectSynthetic::GetLanguageFlags() {
389 void ValueObjectSynthetic::SetLanguageFlags(uint64_t flags) {
tools/lldb/source/Core/ValueObjectVariable.cpp 106 uint64_t ValueObjectVariable::GetByteSize() {
tools/lldb/source/DataFormatters/TypeFormat.cpp 98 llvm::Optional<uint64_t> size = compiler_type.GetByteSize(exe_scope);
tools/lldb/source/DataFormatters/TypeSynthetic.cpp 109 llvm::StringRef name, uint64_t address, const ExecutionContext &exe_ctx,
tools/lldb/source/DataFormatters/ValueObjectPrinter.cpp 769 uint64_t instance_ptr_value = m_valobj->GetValueAsUnsigned(0);
tools/lldb/source/DataFormatters/VectorType.cpp 174 llvm::Optional<uint64_t> container_size =
176 llvm::Optional<uint64_t> element_size = element_type.GetByteSize(exe_scope);
202 llvm::Optional<uint64_t> size = m_child_type.GetByteSize(nullptr);
tools/lldb/source/Expression/DWARFExpression.cpp 75 void DWARFExpression::UpdateValue(uint64_t const_value,
400 uint64_t block_len = data.Skip_LEB128(&offset);
407 uint64_t subexpr_len = data.GetULEB128(&offset);
434 uint64_t index = m_data.GetULEB128(&offset);
1046 uint64_t op_piece_offset = 0;
1699 const uint64_t uconst_value = opcodes.GetULEB128(&offset);
2173 const uint64_t piece_byte_size = opcodes.GetULEB128(&offset);
2309 const uint64_t piece_bit_size = opcodes.GetULEB128(&offset);
2310 const uint64_t piece_bit_offset = opcodes.GetULEB128(&offset);
2436 const uint64_t die_offset = opcodes.GetULEB128(&offset);
2438 uint64_t bit_size;
2464 uint64_t encoding =
2589 uint64_t index = opcodes.GetULEB128(&offset);
2609 uint64_t index = opcodes.GetULEB128(&offset);
2679 uint64_t index = debug_loc_data.GetULEB128(offset_ptr);
2686 uint64_t index = debug_loc_data.GetULEB128(offset_ptr);
2688 uint64_t length = (format == LocLists)
2719 uint64_t uint;
2918 uint64_t start_addr, end_addr;
tools/lldb/source/Expression/FunctionCaller.cpp 166 uint64_t first_offset = m_member_offsets[0];
186 uint64_t offset = m_member_offsets[i + 1]; // Clang sizes are in bytes.
tools/lldb/source/Expression/IRExecutionUnit.cpp 366 uint64_t var_ptr_addr =
1011 uint64_t addr = GetSymbolAddressAndPresence(Name, missing_weak);
1020 uint64_t
1026 uint64_t
tools/lldb/source/Expression/IRInterpreter.cpp 150 bool AssignToMatchType(lldb_private::Scalar &scalar, uint64_t u64value,
191 uint64_t u64value = value_extractor.GetMaxU64(&offset, value_size);
287 uint64_t offset =
308 bool MakeArgument(const Argument *value, uint64_t address) {
1064 uint64_t offset =
tools/lldb/source/Expression/IRMemoryMap.cpp 98 const uint64_t end_of_memory = process_sp->GetAddressByteSize() == 8
536 uint64_t offset = process_address - allocation.m_process_start;
654 uint64_t offset = process_address - allocation.m_process_start;
824 uint64_t offset = process_address - allocation.m_process_start;
836 uint64_t offset = process_address - allocation.m_process_start;
tools/lldb/source/Expression/Materializer.cpp 789 llvm::Optional<uint64_t> byte_size = m_type.GetByteSize(exe_scope);
tools/lldb/source/Host/common/FileCache.cpp 63 uint64_t FileCache::WriteFile(lldb::user_id_t fd, uint64_t offset,
63 uint64_t FileCache::WriteFile(lldb::user_id_t fd, uint64_t offset,
64 const void *src, uint64_t src_len,
90 uint64_t FileCache::ReadFile(lldb::user_id_t fd, uint64_t offset, void *dst,
90 uint64_t FileCache::ReadFile(lldb::user_id_t fd, uint64_t offset, void *dst,
91 uint64_t dst_len, Status &error) {
tools/lldb/source/Host/common/FileSystem.cpp 119 uint64_t FileSystem::GetByteSize(const FileSpec &file_spec) const {
123 uint64_t FileSystem::GetByteSize(const Twine &path) const {
280 FileSystem::CreateDataBuffer(const llvm::Twine &path, uint64_t size,
281 uint64_t offset) {
309 FileSystem::CreateDataBuffer(const FileSpec &file_spec, uint64_t size,
310 uint64_t offset) {
tools/lldb/source/Host/common/Host.cpp 557 uint64_t file_size =
tools/lldb/source/Host/common/LZMA.cpp 23 llvm::Expected<uint64_t>
tools/lldb/source/Host/common/LockFileBase.cpp 26 Status LockFileBase::WriteLock(const uint64_t start, const uint64_t len) {
26 Status LockFileBase::WriteLock(const uint64_t start, const uint64_t len) {
32 Status LockFileBase::TryWriteLock(const uint64_t start, const uint64_t len) {
32 Status LockFileBase::TryWriteLock(const uint64_t start, const uint64_t len) {
38 Status LockFileBase::ReadLock(const uint64_t start, const uint64_t len) {
38 Status LockFileBase::ReadLock(const uint64_t start, const uint64_t len) {
44 Status LockFileBase::TryReadLock(const uint64_t start, const uint64_t len) {
44 Status LockFileBase::TryReadLock(const uint64_t start, const uint64_t len) {
65 Status LockFileBase::DoLock(const Locker &locker, const uint64_t start,
66 const uint64_t len) {
tools/lldb/source/Host/common/NativeRegisterContext.cpp 122 const uint64_t retval = ReadRegisterAsUnsigned(reg, fail_value);
185 uint64_t
212 uint64_t uval) {
220 uint64_t uval) {
tools/lldb/source/Host/common/StringConvert.cpp 64 uint64_t ToUInt64(const char *s, uint64_t fail_value, int base,
64 uint64_t ToUInt64(const char *s, uint64_t fail_value, int base,
68 uint64_t uval = ::strtoull(s, &end, base);
tools/lldb/source/Host/common/XML.cpp 153 bool XMLNode::GetAttributeValueAsUnsigned(const char *name, uint64_t &value,
154 uint64_t fail_value, int base) const {
302 bool XMLNode::GetElementTextAsUnsigned(uint64_t &value, uint64_t fail_value,
302 bool XMLNode::GetElementTextAsUnsigned(uint64_t &value, uint64_t fail_value,
tools/lldb/source/Host/posix/LockFilePosix.cpp 21 Status fileLock(int fd, int cmd, int lock_type, const uint64_t start,
22 const uint64_t len) {
44 Status LockFilePosix::DoWriteLock(const uint64_t start, const uint64_t len) {
44 Status LockFilePosix::DoWriteLock(const uint64_t start, const uint64_t len) {
48 Status LockFilePosix::DoTryWriteLock(const uint64_t start, const uint64_t len) {
48 Status LockFilePosix::DoTryWriteLock(const uint64_t start, const uint64_t len) {
52 Status LockFilePosix::DoReadLock(const uint64_t start, const uint64_t len) {
52 Status LockFilePosix::DoReadLock(const uint64_t start, const uint64_t len) {
56 Status LockFilePosix::DoTryReadLock(const uint64_t start, const uint64_t len) {
56 Status LockFilePosix::DoTryReadLock(const uint64_t start, const uint64_t len) {
tools/lldb/source/Interpreter/OptionArgParser.cpp 217 uint64_t offset = 0;
tools/lldb/source/Interpreter/OptionGroupFormat.cpp 20 uint64_t default_byte_size,
21 uint64_t default_count)
89 uint64_t count = 0;
tools/lldb/source/Interpreter/OptionGroupUInt64.cpp 21 uint64_t default_value)
tools/lldb/source/Interpreter/OptionValue.cpp 19 uint64_t OptionValue::GetUInt64Value(uint64_t fail_value, bool *success_ptr) {
19 uint64_t OptionValue::GetUInt64Value(uint64_t fail_value, bool *success_ptr) {
423 uint64_t OptionValue::GetUInt64Value(uint64_t fail_value) const {
423 uint64_t OptionValue::GetUInt64Value(uint64_t fail_value) const {
430 bool OptionValue::SetUInt64Value(uint64_t new_value) {
tools/lldb/source/Interpreter/OptionValueProperties.cpp 498 uint64_t OptionValueProperties::GetPropertyAtIndexAsUInt64(
499 const ExecutionContext *exe_ctx, uint32_t idx, uint64_t fail_value) const {
510 const ExecutionContext *exe_ctx, uint32_t idx, uint64_t new_value) {
tools/lldb/source/Interpreter/OptionValueUInt64.cpp 51 uint64_t value = StringConvert::ToUInt64(value_str.c_str(), 0, 0, &success);
tools/lldb/source/Plugins/ABI/MacOSX-arm/ABIMacOSX_arm.cpp 1471 llvm::Optional<uint64_t> bit_size = compiler_type.GetBitSize(&thread);
1577 llvm::Optional<uint64_t> bit_width = compiler_type.GetBitSize(&thread);
1597 llvm::Optional<uint64_t> byte_size =
1648 uint64_t raw_value;
tools/lldb/source/Plugins/ABI/MacOSX-arm64/ABIMacOSX_arm64.cpp 1763 llvm::Optional<uint64_t> bit_size = value_type.GetBitSize(&thread);
1878 const uint64_t byte_size = new_value_sp->GetData(data, data_error);
1894 uint64_t raw_value = data.GetMaxU64(&offset, byte_size);
1899 uint64_t raw_value = data.GetMaxU64(&offset, 8);
2113 llvm::Optional<uint64_t> byte_size = value_type.GetByteSize(nullptr);
2130 llvm::Optional<uint64_t> base_byte_size = base_type.GetByteSize(nullptr);
2266 llvm::Optional<uint64_t> byte_size =
2282 uint64_t raw_value =
2326 case sizeof(uint64_t):
tools/lldb/source/Plugins/ABI/MacOSX-i386/ABIMacOSX_i386.cpp 825 llvm::Optional<uint64_t> bit_size = compiler_type.GetBitSize(&thread);
934 llvm::Optional<uint64_t> bit_width = compiler_type.GetBitSize(&thread);
948 uint64_t raw_value;
tools/lldb/source/Plugins/ABI/SysV-arc/ABISysV_arc.cpp 343 uint64_t raw_value = data.GetMaxU64(&offset, num_bytes);
374 void SetInteger(Scalar &scalar, uint64_t raw_value, bool is_signed) {
382 bool SetSizedInteger(Scalar &scalar, uint64_t raw_value, uint8_t size_in_bytes,
388 case sizeof(uint64_t):
389 SetInteger<uint64_t>(scalar, raw_value, is_signed);
408 bool SetSizedFloat(Scalar &scalar, uint64_t raw_value, uint8_t size_in_bytes) {
413 case sizeof(uint64_t):
425 uint64_t ReadRawValue(const RegisterContextSP ®_ctx, uint8_t size_in_bytes) {
430 uint64_t raw_value =
433 if (sizeof(uint64_t) == size_in_bytes)
tools/lldb/source/Plugins/ABI/SysV-arm/ABISysV_arm.cpp 1474 if (llvm::Optional<uint64_t> size = compiler_type.GetBitSize(&thread))
1581 llvm::Optional<uint64_t> bit_width = compiler_type.GetBitSize(&thread);
1582 llvm::Optional<uint64_t> byte_size = compiler_type.GetByteSize(&thread);
1593 uint64_t raw_value;
1659 static_assert(sizeof(double) == sizeof(uint64_t), "");
1668 uint64_t raw_value;
1718 llvm::Optional<uint64_t> base_byte_size =
1747 llvm::Optional<uint64_t> base_byte_size =
tools/lldb/source/Plugins/ABI/SysV-arm64/ABISysV_arm64.cpp 1768 llvm::Optional<uint64_t> bit_size = value_type.GetBitSize(&thread);
1850 const uint64_t byte_size = new_value_sp->GetData(data, data_error);
1867 uint64_t raw_value = data.GetMaxU64(&offset, byte_size);
1872 uint64_t raw_value = data.GetMaxU64(&offset, 8);
2089 llvm::Optional<uint64_t> byte_size = value_type.GetByteSize(nullptr);
2107 llvm::Optional<uint64_t> base_byte_size = base_type.GetByteSize(nullptr);
2236 llvm::Optional<uint64_t> byte_size =
2253 uint64_t raw_value =
2298 case sizeof(uint64_t):
tools/lldb/source/Plugins/ABI/SysV-hexagon/ABISysV_hexagon.cpp 1339 uint64_t size = retType.getScalarSizeInBits();
1340 uint64_t mask = (1ull << size) - 1;
tools/lldb/source/Plugins/ABI/SysV-i386/ABISysV_i386.cpp 309 llvm::Optional<uint64_t> bit_size = compiler_type.GetBitSize(&thread);
514 llvm::Optional<uint64_t> byte_size =
523 uint64_t raw_value =
639 llvm::Optional<uint64_t> byte_size =
tools/lldb/source/Plugins/ABI/SysV-mips/ABISysV_mips.cpp 806 llvm::Optional<uint64_t> bit_width = return_compiler_type.GetBitSize(&thread);
815 uint64_t raw_value;
858 uint64_t mem_address = reg_ctx->ReadRegisterAsUnsigned(
866 uint64_t raw_value = reg_ctx->ReadRegisterAsUnsigned(r2_reg_info, 0);
877 static_assert(sizeof(double) == sizeof(uint64_t), "");
905 static_assert(sizeof(double) == sizeof(uint64_t), "");
tools/lldb/source/Plugins/ABI/SysV-mips64/ABISysV_mips64.cpp 698 uint64_t raw_value = data.GetMaxU64(&offset, num_bytes);
703 uint64_t raw_value = data.GetMaxU64(&offset, 8);
753 llvm::Optional<uint64_t> byte_size =
772 uint64_t raw_value = reg_ctx->ReadRegisterAsUnsigned(r2_info, 0);
779 case sizeof(uint64_t):
815 uint64_t raw_value = reg_ctx->ReadRegisterAsUnsigned(r2_info, 0);
826 uint64_t result[2];
931 uint64_t field_bit_offset = 0;
962 llvm::Optional<uint64_t> field_byte_width =
968 uint64_t return_value[2];
1028 uint64_t field_bit_offset = 0;
1034 llvm::Optional<uint64_t> field_byte_width =
1120 uint64_t mem_address = reg_ctx->ReadRegisterAsUnsigned(
tools/lldb/source/Plugins/ABI/SysV-ppc/ABISysV_ppc.cpp 395 llvm::Optional<uint64_t> bit_size = compiler_type.GetBitSize(&thread);
450 uint64_t raw_value = data.GetMaxU64(&offset, num_bytes);
463 llvm::Optional<uint64_t> bit_width =
527 llvm::Optional<uint64_t> byte_size =
531 uint64_t raw_value = thread.GetRegisterContext()->ReadRegisterAsUnsigned(
538 case sizeof(uint64_t):
574 llvm::Optional<uint64_t> byte_size =
608 llvm::Optional<uint64_t> byte_size =
659 llvm::Optional<uint64_t> bit_width = return_compiler_type.GetBitSize(&thread);
696 uint64_t field_bit_offset = 0;
703 llvm::Optional<uint64_t> field_bit_width =
765 uint64_t next_field_bit_offset = 0;
785 uint64_t prev_field_bit_offset = 0;
tools/lldb/source/Plugins/ABI/SysV-ppc64/ABISysV_ppc64.cpp 126 uint64_t reg_value;
159 uint64_t stack_offset;
242 uint64_t stack_offset;
271 llvm::Optional<uint64_t> bit_size = compiler_type.GetBitSize(&thread);
328 uint64_t raw_value = data.GetMaxU64(&offset, num_bytes);
341 llvm::Optional<uint64_t> bit_width =
409 : m_index(index), m_offs(offs % sizeof(uint64_t)),
410 m_avail(sizeof(uint64_t) - m_offs), m_type(ty), m_reg_ctx(reg_ctx),
420 : Register(GPR, offs / sizeof(uint64_t), offs, reg_ctx, byte_order) {}
447 bool GetRawData(uint64_t &raw_data) {
551 uint64_t m_byte_size;
584 uint64_t raw_value;
596 case sizeof(uint64_t):
633 uint64_t raw_data;
644 llvm::Optional<uint64_t> byte_size = type.GetByteSize(nullptr);
665 uint64_t raw_data;
750 if (m_byte_size > 2 * sizeof(uint64_t)) {
751 uint64_t addr;
778 llvm::Optional<uint64_t> elem_size = elem_type.GetByteSize(nullptr);
851 uint64_t raw_data;
910 uint64_t language_flags;
tools/lldb/source/Plugins/ABI/SysV-s390x/ABISysV_s390x.cpp 371 llvm::Optional<uint64_t> bit_size = compiler_type.GetBitSize(&thread);
428 uint64_t raw_value = data.GetMaxU64(&offset, num_bytes);
441 llvm::Optional<uint64_t> bit_width =
508 llvm::Optional<uint64_t> byte_size =
512 uint64_t raw_value = thread.GetRegisterContext()->ReadRegisterAsUnsigned(
519 case sizeof(uint64_t):
555 llvm::Optional<uint64_t> byte_size =
tools/lldb/source/Plugins/ABI/SysV-x86_64/ABISysV_x86_64.cpp 421 llvm::Optional<uint64_t> bit_size = compiler_type.GetBitSize(&thread);
478 uint64_t raw_value = data.GetMaxU64(&offset, num_bytes);
491 llvm::Optional<uint64_t> bit_width =
560 llvm::Optional<uint64_t> byte_size =
564 uint64_t raw_value = thread.GetRegisterContext()->ReadRegisterAsUnsigned(
571 case sizeof(uint64_t):
607 llvm::Optional<uint64_t> byte_size =
646 llvm::Optional<uint64_t> byte_size =
738 uint64_t field_bit_offset = 0;
741 llvm::Optional<uint64_t> field_bit_width =
784 llvm::Optional<uint64_t> bit_width = return_compiler_type.GetBitSize(&thread);
tools/lldb/source/Plugins/ABI/Windows-x86_64/ABIWindows_x86_64.cpp 1254 llvm::Optional<uint64_t> bit_size = compiler_type.GetBitSize(&thread);
1311 uint64_t raw_value = data.GetMaxU64(&offset, num_bytes);
1324 llvm::Optional<uint64_t> bit_width =
1394 llvm::Optional<uint64_t> byte_size =
1398 uint64_t raw_value = thread.GetRegisterContext()->ReadRegisterAsUnsigned(
1405 case sizeof(uint64_t):
1441 llvm::Optional<uint64_t> byte_size =
1479 llvm::Optional<uint64_t> byte_size =
1537 uint64_t field_bit_offset = 0;
1540 llvm::Optional<uint64_t> field_bit_width =
1591 llvm::Optional<uint64_t> bit_width = return_compiler_type.GetBitSize(&thread);
tools/lldb/source/Plugins/Architecture/Mips/ArchitectureMips.cpp 129 uint64_t breakable_addr = addr - insn->GetOpcode().GetByteSize();
tools/lldb/source/Plugins/Disassembler/llvm/DisassemblerLLVMC.cpp 54 uint64_t GetMCInst(const uint8_t *opcode_data, size_t opcode_data_len,
350 const uint64_t uval64 = data.GetU64(&offset);
1015 uint64_t DisassemblerLLVMC::MCDisasmInstance::GetMCInst(
1021 uint64_t new_inst_size;
1317 int DisassemblerLLVMC::OpInfoCallback(void *disassembler, uint64_t pc,
1318 uint64_t offset, uint64_t size,
1318 uint64_t offset, uint64_t size,
1325 uint64_t value,
1326 uint64_t *type, uint64_t pc,
1326 uint64_t *type, uint64_t pc,
1347 int DisassemblerLLVMC::OpInfo(uint64_t PC, uint64_t Offset, uint64_t Size,
1347 int DisassemblerLLVMC::OpInfo(uint64_t PC, uint64_t Offset, uint64_t Size,
1347 int DisassemblerLLVMC::OpInfo(uint64_t PC, uint64_t Offset, uint64_t Size,
1359 const char *DisassemblerLLVMC::SymbolLookup(uint64_t value, uint64_t *type_ptr,
1359 const char *DisassemblerLLVMC::SymbolLookup(uint64_t value, uint64_t *type_ptr,
1360 uint64_t pc, const char **name) {
tools/lldb/source/Plugins/Disassembler/llvm/DisassemblerLLVMC.h 57 int OpInfo(uint64_t PC, uint64_t Offset, uint64_t Size, int TagType,
57 int OpInfo(uint64_t PC, uint64_t Offset, uint64_t Size, int TagType,
57 int OpInfo(uint64_t PC, uint64_t Offset, uint64_t Size, int TagType,
60 const char *SymbolLookup(uint64_t ReferenceValue, uint64_t *ReferenceType,
60 const char *SymbolLookup(uint64_t ReferenceValue, uint64_t *ReferenceType,
61 uint64_t ReferencePC, const char **ReferenceName);
63 static int OpInfoCallback(void *DisInfo, uint64_t PC, uint64_t Offset,
63 static int OpInfoCallback(void *DisInfo, uint64_t PC, uint64_t Offset,
64 uint64_t Size, int TagType, void *TagBug);
67 uint64_t ReferenceValue,
68 uint64_t *ReferenceType,
69 uint64_t ReferencePC,
tools/lldb/source/Plugins/DynamicLoader/Darwin-Kernel/DynamicLoaderDarwinKernel.cpp 261 uint64_t addr = data.GetU64 (&offset);
605 uint64_t DynamicLoaderDarwinKernel::KextImageInfo::GetSize() const {
609 void DynamicLoaderDarwinKernel::KextImageInfo::SetSize(uint64_t size) {
tools/lldb/source/Plugins/DynamicLoader/Darwin-Kernel/DynamicLoaderDarwinKernel.h 176 uint64_t GetSize() const;
178 void SetSize(uint64_t size);
209 uint64_t m_size;
tools/lldb/source/Plugins/DynamicLoader/Hexagon-DYLD/HexagonDYLDRendezvous.cpp 218 addr_t HexagonDYLDRendezvous::ReadWord(addr_t addr, uint64_t *dst,
tools/lldb/source/Plugins/DynamicLoader/Hexagon-DYLD/HexagonDYLDRendezvous.h 38 uint64_t version;
41 uint64_t state;
85 uint64_t GetVersion() const { return m_current.version; }
106 uint64_t GetState() const { return m_current.state; }
214 lldb::addr_t ReadWord(lldb::addr_t addr, uint64_t *dst, size_t size);
tools/lldb/source/Plugins/DynamicLoader/MacOSX-DYLD/DynamicLoaderDarwin.h 193 typedef std::map<uint64_t, lldb::addr_t> PthreadKeyToTLSMap;
tools/lldb/source/Plugins/DynamicLoader/MacOSX-DYLD/DynamicLoaderMacOS.cpp 274 for (uint64_t i = 0; i < image_infos_count; i++) {
tools/lldb/source/Plugins/DynamicLoader/MacOSX-DYLD/DynamicLoaderMacOSXDYLD.cpp 490 uint64_t dyld_all_image_infos_addr = data.GetPointer(&offset);
506 uint64_t image_infos_offset =
509 uint64_t notification_offset =
tools/lldb/source/Plugins/DynamicLoader/POSIX-DYLD/DYLDRendezvous.cpp 455 addr_t DYLDRendezvous::ReadWord(addr_t addr, uint64_t *dst, size_t size) {
tools/lldb/source/Plugins/DynamicLoader/POSIX-DYLD/DYLDRendezvous.h 41 uint64_t version;
44 uint64_t state;
83 uint64_t GetVersion() const { return m_current.version; }
99 uint64_t GetState() const { return m_current.state; }
208 lldb::addr_t ReadWord(lldb::addr_t addr, uint64_t *dst, size_t size);
tools/lldb/source/Plugins/DynamicLoader/POSIX-DYLD/DynamicLoaderPOSIXDYLD.cpp 623 if (llvm::Optional<uint64_t> vdso_base =
627 if (llvm::Optional<uint64_t> interpreter_base =
639 llvm::Optional<uint64_t> entry_point =
tools/lldb/source/Plugins/DynamicLoader/Windows-DYLD/DynamicLoaderWindowsDYLD.cpp 190 uint64_t pc = thread.GetRegisterContext()->GetPC();
tools/lldb/source/Plugins/ExpressionParser/Clang/ASTUtils.h 43 clang::Stmt *GetExternalDeclStmt(uint64_t Offset) override {
48 GetExternalCXXCtorInitializers(uint64_t Offset) override {
53 GetExternalCXXBaseSpecifiers(uint64_t Offset) override {
121 const clang::RecordDecl *Record, uint64_t &Size, uint64_t &Alignment,
121 const clang::RecordDecl *Record, uint64_t &Size, uint64_t &Alignment,
122 llvm::DenseMap<const clang::FieldDecl *, uint64_t> &FieldOffsets,
296 clang::Stmt *GetExternalDeclStmt(uint64_t Offset) override {
304 GetExternalCXXBaseSpecifiers(uint64_t Offset) override {
313 GetExternalCXXCtorInitializers(uint64_t Offset) override {
414 const clang::RecordDecl *Record, uint64_t &Size, uint64_t &Alignment,
414 const clang::RecordDecl *Record, uint64_t &Size, uint64_t &Alignment,
415 llvm::DenseMap<const clang::FieldDecl *, uint64_t> &FieldOffsets,
tools/lldb/source/Plugins/ExpressionParser/Clang/ClangASTSource.cpp 1654 typedef llvm::DenseMap<const FieldDecl *, uint64_t> FieldOffsetMap;
1734 bool ClangASTSource::layoutRecordType(const RecordDecl *record, uint64_t &size,
1735 uint64_t &alignment,
1783 uint64_t field_offset = record_layout.getFieldOffset(field_idx);
tools/lldb/source/Plugins/ExpressionParser/Clang/ClangASTSource.h 49 clang::Stmt *GetExternalDeclStmt(uint64_t) override { return nullptr; }
55 GetExternalCXXBaseSpecifiers(uint64_t Offset) override {
135 const clang::RecordDecl *Record, uint64_t &Size, uint64_t &Alignment,
135 const clang::RecordDecl *Record, uint64_t &Size, uint64_t &Alignment,
136 llvm::DenseMap<const clang::FieldDecl *, uint64_t> &FieldOffsets,
238 const clang::RecordDecl *Record, uint64_t &Size, uint64_t &Alignment,
238 const clang::RecordDecl *Record, uint64_t &Size, uint64_t &Alignment,
239 llvm::DenseMap<const clang::FieldDecl *, uint64_t> &FieldOffsets,
tools/lldb/source/Plugins/ExpressionParser/Clang/ClangExpressionDeclMap.cpp 509 uint64_t &ptr) {
tools/lldb/source/Plugins/ExpressionParser/Clang/ClangExpressionDeclMap.h 222 bool GetFunctionInfo(const clang::NamedDecl *decl, uint64_t &ptr);
397 uint64_t GetParserID() { return (uint64_t) this; }
tools/lldb/source/Plugins/ExpressionParser/Clang/ClangExpressionVariable.h 84 uint64_t parser_id) {
137 typedef std::map<uint64_t, ParserVars> ParserVarMap;
143 void EnableParserVars(uint64_t parser_id) {
148 void DisableParserVars(uint64_t parser_id) { m_parser_vars.erase(parser_id); }
151 ParserVars *GetParserVars(uint64_t parser_id) {
172 typedef std::map<uint64_t, JITVars> JITVarMap;
178 void EnableJITVars(uint64_t parser_id) {
183 void DisableJITVars(uint64_t parser_id) { m_jit_vars.erase(parser_id); }
185 JITVars *GetJITVars(uint64_t parser_id) {
tools/lldb/source/Plugins/ExpressionParser/Clang/IRForTarget.cpp 315 llvm::Optional<uint64_t> bit_size =
1250 llvm::Optional<uint64_t> value_size = compiler_type.GetByteSize(nullptr);
tools/lldb/source/Plugins/ExpressionParser/Clang/IRForTarget.h 176 LookupResult GetFunctionAddress(llvm::Function *function, uint64_t &ptr,
tools/lldb/source/Plugins/Instruction/ARM/EmulateInstructionARM.cpp 1551 uint64_t operand1 =
1558 uint64_t operand2 =
1564 uint64_t result = operand1 * operand2;
2445 uint64_t imm64 = imm32; // Need to expand it to 64 bits before attempting
2630 uint64_t reg_value = ReadRegisterUnsigned(&dwarf_reg, 0, &success);
2711 uint64_t data; // uint64_t to accommodate 64-bit registers.
3109 uint64_t Rn =
6434 uint64_t data = MemURead(context, address, addr_byte_size, 0, &success);
6640 uint64_t data = MemURead(context, address, addr_byte_size, 0, &success);
6820 uint64_t data = MemURead(context, address, 1, 0, &success);
6909 uint64_t data = MemURead(context, address, 1, 0, &success);
7062 uint64_t data = MemURead(context, address, 1, 0, &success);
7199 uint64_t data = MemURead(context, address, 2, 0, &success);
7288 uint64_t pc_value = ReadCoreReg(PC_REG, &success);
7309 uint64_t data = MemURead(context, address, 2, 0, &success);
7440 uint64_t Rm =
7453 uint64_t Rn =
7478 uint64_t data = MemURead(context, address, 2, 0, &success);
7609 uint64_t Rn = ReadCoreReg(n, &success);
7636 uint64_t unsigned_data = MemURead(context, address, 1, 0, &success);
7713 uint64_t pc_value = ReadCoreReg(PC_REG, &success);
7716 uint64_t base = AlignPC(pc_value);
7733 uint64_t unsigned_data = MemURead(context, address, 1, 0, &success);
7844 uint64_t Rm =
7858 uint64_t Rn =
7884 uint64_t unsigned_data = MemURead(context, address, 1, 0, &success);
8008 uint64_t Rn =
8034 uint64_t data = MemURead(context, address, 2, 0, &success);
8123 uint64_t pc_value = ReadCoreReg(PC_REG, &success);
8127 uint64_t base = AlignPC(pc_value);
8144 uint64_t data = MemURead(context, address, 2, 0, &success);
8272 uint64_t Rm =
8277 uint64_t Rn =
8313 uint64_t data = MemURead(context, address, 2, 0, &success);
8403 uint64_t Rm =
8409 uint64_t rotated = ROR(Rm, rotation, &success);
8488 uint64_t Rm =
8494 uint64_t rotated = ROR(Rm, rotation, &success);
8573 uint64_t Rm =
8579 uint64_t rotated = ROR(Rm, rotation, &success);
8655 uint64_t Rm =
8661 uint64_t rotated = ROR(Rm, rotation, &success);
8768 uint64_t Rn =
8792 uint64_t data = MemARead(context, address + 4, 4, 0, &success);
8799 uint64_t data2 = MemARead(context, address, 4, 0, &success);
11396 uint64_t data;
11580 uint64_t data = ReadRegisterUnsigned(eRegisterKindDWARF,
11730 uint64_t data64;
11851 uint64_t data =
12015 uint64_t assembled_data = 0;
12020 uint64_t data = MemURead(context, address, ebytes, 0, &success);
12187 uint64_t reg_data =
12192 uint64_t all_ones = -1;
12193 uint64_t mask = all_ones
12202 uint64_t masked_reg =
12349 uint64_t register_data = ReadRegisterUnsigned(
12357 uint64_t word = Bits64(register_data, ((e + 1) * esize) - 1, e * esize);
12512 uint64_t register_data =
12517 uint64_t word =
12639 uint64_t word = MemURead(context, address, ebytes, 0, &success);
12643 uint64_t replicated_element = 0;
14177 uint64_t unsigned_sum = x + y + carry_in;
tools/lldb/source/Plugins/Instruction/ARM/EmulateInstructionARM.h 217 inline uint64_t MemARead(EmulateInstruction::Context &context,
219 uint64_t fail_value, bool *success_ptr) {
236 lldb::addr_t address, uint64_t data_val, uint32_t size)
254 inline uint64_t MemURead(EmulateInstruction::Context &context,
256 uint64_t fail_value, bool *success_ptr) {
273 lldb::addr_t address, uint64_t data_val, uint32_t size)
tools/lldb/source/Plugins/Instruction/ARM/EmulationStateARM.cpp 52 uint64_t value = reg_value.GetAsUInt64();
67 uint64_t value) {
86 uint64_t EmulationStateARM::ReadPseudoRegisterValue(uint32_t reg_num,
88 uint64_t value = 0;
231 uint64_t reg_uval =
290 uint64_t start_address = 0;
311 uint64_t value = value_sp->GetUInt64Value();
333 uint64_t reg_value = value_sp->GetUInt64Value();
351 uint64_t reg_value = value_sp->GetUInt64Value();
tools/lldb/source/Plugins/Instruction/ARM/EmulationStateARM.h 23 bool StorePseudoRegisterValue(uint32_t reg_num, uint64_t value);
25 uint64_t ReadPseudoRegisterValue(uint32_t reg_num, bool &success);
68 uint64_t d_regs[16]; // dregs 16-31
tools/lldb/source/Plugins/Instruction/ARM64/EmulateInstructionARM64.cpp 73 static inline bool IsZero(uint64_t x) { return x == 0; }
75 static inline uint64_t NOT(uint64_t x) { return ~x; }
75 static inline uint64_t NOT(uint64_t x) { return ~x; }
80 static inline uint64_t LSL(uint64_t x, integer shift) {
80 static inline uint64_t LSL(uint64_t x, integer shift) {
88 static inline uint64_t
89 AddWithCarry(uint32_t N, uint64_t x, uint64_t y, bit carry_in,
89 AddWithCarry(uint32_t N, uint64_t x, uint64_t y, bit carry_in,
91 uint64_t unsigned_sum = UInt(x) + UInt(y) + UInt(carry_in);
93 uint64_t result = unsigned_sum;
642 uint64_t imm;
654 uint64_t result;
655 uint64_t operand1 =
657 uint64_t operand2 = imm;
718 uint64_t idx;
780 uint64_t datasize = size * 8;
781 uint64_t address;
782 uint64_t wb_address;
941 uint64_t offset;
973 uint64_t address;
1071 const uint64_t pc = ReadRegisterUnsigned(eRegisterKindGeneric,
1108 const uint64_t pc = ReadRegisterUnsigned(
1143 const uint64_t operand =
1149 const uint64_t pc = ReadRegisterUnsigned(
1179 const uint64_t operand =
1185 const uint64_t pc = ReadRegisterUnsigned(
tools/lldb/source/Plugins/Instruction/MIPS/EmulateInstructionMIPS.cpp 977 uint64_t inst_addr) {
978 uint64_t next_inst_size = 0;
1016 uint64_t next_inst_addr = (m_addr & (~1ull)) + current_inst_size;
1064 uint64_t insn_size;
1101 uint64_t old_pc = 0, new_pc = 0;
1210 uint64_t result = src_opd_val + imm;
1352 uint64_t result;
1364 uint64_t src_opd_val = ReadRegisterUnsigned(
1370 uint64_t rt_opd_val = ReadRegisterUnsigned(
1395 uint64_t src_opd_val = ReadRegisterUnsigned(
1401 uint64_t rt_opd_val = ReadRegisterUnsigned(
1444 uint64_t result;
1448 uint64_t src_opd_val =
1471 uint64_t result;
1479 uint64_t src_opd_val = ReadRegisterUnsigned(
tools/lldb/source/Plugins/Instruction/MIPS/EmulateInstructionMIPS.h 101 uint64_t inst_addr);
tools/lldb/source/Plugins/Instruction/MIPS64/EmulateInstructionMIPS64.cpp 960 uint64_t insn_size;
992 uint64_t old_pc = 0, new_pc = 0;
1054 bool EmulateInstructionMIPS64::nonvolatile_reg_p(uint64_t regnum) {
1095 const uint64_t src_opd_val = ReadRegisterUnsigned(
1113 uint64_t result = src_opd_val + imm;
1140 uint64_t address;
1145 uint64_t imm = SignedBits(imm16, 15, 0);
1265 uint64_t result;
1277 uint64_t src_opd_val = ReadRegisterUnsigned(
1283 uint64_t rt_opd_val = ReadRegisterUnsigned(
1308 uint64_t src_opd_val = ReadRegisterUnsigned(
1314 uint64_t rt_opd_val = ReadRegisterUnsigned(
1798 uint64_t offset, pc;
1822 uint64_t offset, target, pc;
1854 uint64_t pc, rs_val;
1953 uint64_t rs_val;
2026 uint64_t ft_val;
2062 uint64_t ft_val;
tools/lldb/source/Plugins/Instruction/MIPS64/EmulateInstructionMIPS64.h 169 bool nonvolatile_reg_p(uint64_t regnum);
tools/lldb/source/Plugins/Instruction/PPC64/EmulateInstructionPPC64.cpp 225 uint64_t lr =
280 uint64_t rs_val = ReadRegisterUnsigned(eRegisterKindLLDB, rs, 0, &success);
293 uint64_t lr =
313 uint64_t ra_val = ReadRegisterUnsigned(eRegisterKindLLDB, ra, 0, &success);
356 uint64_t rb_val = ReadRegisterUnsigned(eRegisterKindLLDB, rb, 0, &success);
391 uint64_t r1 =
tools/lldb/source/Plugins/InstrumentationRuntime/MainThreadChecker/MainThreadCheckerRuntime.cpp 95 uint64_t apiname_ptr = regctx_sp->ReadRegisterAsUnsigned(reginfo, 0);
tools/lldb/source/Plugins/InstrumentationRuntime/TSan/TSanRuntime.cpp 265 std::map<uint64_t, user_id_t> &thread_id_map) {
270 uint64_t thread_id =
272 uint64_t thread_os_id =
293 static user_id_t Renumber(uint64_t id,
294 std::map<uint64_t, user_id_t> &thread_id_map) {
338 std::map<uint64_t, user_id_t> thread_id_map;
tools/lldb/source/Plugins/JITLoader/GDB/JITLoaderGDB.cpp 42 uint64_t symfile_size;
123 llvm::alignTo(sizeof(ptr_t) * 3, uint64_align_bytes) + sizeof(uint64_t);
228 Target &target, uint64_t symbolfile_addr,
229 uint64_t symbolfile_size,
230 uint64_t &vmaddrheuristic,
231 uint64_t &min_addr, uint64_t &max_addr) {
231 uint64_t &min_addr, uint64_t &max_addr) {
237 uint64_t lower = (uint64_t)-1;
238 uint64_t upper = 0;
252 uint64_t lower;
261 uint64_t upper = lower + section_sp->GetByteSize();
275 return ReadJITDescriptorImpl<uint64_t>(all_entries);
343 uint64_t vmaddrheuristic = 0;
344 uint64_t lower = (uint64_t)-1;
345 uint64_t upper = 0;
tools/lldb/source/Plugins/Language/CPlusPlus/BlockPointer.cpp 116 uint64_t language_flags = 0;
tools/lldb/source/Plugins/Language/CPlusPlus/CxxStringTypes.cpp 128 llvm::Optional<uint64_t> size = wchar_compiler_type.GetBitSize(nullptr);
251 llvm::Optional<uint64_t> size = wchar_compiler_type.GetBitSize(nullptr);
tools/lldb/source/Plugins/Language/CPlusPlus/LibCxx.cpp 231 uint64_t bit_offset_ptr;
258 llvm::Optional<uint64_t> size = tree_node_type.GetByteSize(nullptr);
379 uint64_t count = 1 + shared_owners_sp->GetValueAsUnsigned(0);
393 uint64_t count = 1 + shared_weak_owners_sp->GetValueAsUnsigned(0);
456 uint64_t value = valobj.GetValueAsUnsigned(0);
477 uint64_t &size) {
496 uint64_t size_mode_value = 0;
550 uint64_t size = 0;
620 uint64_t size = 0;
tools/lldb/source/Plugins/Language/CPlusPlus/LibCxxBitset.cpp 89 llvm::Optional<uint64_t> bit_size =
101 llvm::Optional<uint64_t> bit_size =
tools/lldb/source/Plugins/Language/CPlusPlus/LibCxxInitializerList.cpp 77 uint64_t offset = idx * m_element_size;
96 if (llvm::Optional<uint64_t> size = m_element_type.GetByteSize(nullptr)) {
tools/lldb/source/Plugins/Language/CPlusPlus/LibCxxList.cpp 51 uint64_t value() const {
343 uint64_t next_val = m_head->GetValueAsUnsigned(0);
344 uint64_t prev_val = m_tail->GetValueAsUnsigned(0);
351 uint64_t size = 2;
tools/lldb/source/Plugins/Language/CPlusPlus/LibCxxMap.cpp 59 uint64_t value() const {
274 uint64_t bit_offset_ptr;
294 uint64_t bit_offset;
317 uint64_t language_flags;
tools/lldb/source/Plugins/Language/CPlusPlus/LibCxxUnorderedMap.cpp 50 std::vector<std::pair<ValueObject *, uint64_t>> m_elements_cache;
144 std::pair<ValueObject *, uint64_t> val_hash = m_elements_cache[idx];
tools/lldb/source/Plugins/Language/CPlusPlus/LibCxxVariant.cpp 84 llvm::Optional<uint64_t> LibcxxVariantIndexValue(ValueObjectSP &impl_sp) {
94 ValueObjectSP LibcxxVariantGetNthHead(ValueObjectSP &impl_sp, uint64_t index) {
102 for (uint64_t n = index; n != 0; --n) {
145 uint64_t index_value = *optional_index_value;
222 uint64_t index_value = *optional_index_value;
tools/lldb/source/Plugins/Language/CPlusPlus/LibCxxVector.cpp 61 uint64_t m_count;
89 uint64_t start_val = m_start->GetValueAsUnsigned(0);
90 uint64_t finish_val = m_finish->GetValueAsUnsigned(0);
110 uint64_t offset = idx * m_element_size;
147 if (llvm::Optional<uint64_t> size = m_element_type.GetByteSize(nullptr)) {
215 llvm::Optional<uint64_t> size = m_bool_type.GetByteSize(nullptr);
tools/lldb/source/Plugins/Language/CPlusPlus/LibStdcpp.cpp 300 llvm::Optional<uint64_t> size = wchar_compiler_type.GetBitSize(nullptr);
tools/lldb/source/Plugins/Language/CPlusPlus/LibStdcppUniquePointer.cpp 153 uint64_t ptr_value = m_ptr_obj->GetValueAsUnsigned(0, &success);
tools/lldb/source/Plugins/Language/ObjC/CF.cpp 154 uint64_t num_bytes = count / 8 + ((count & 7) ? 1 : 0);
168 for (uint64_t byte_idx = 0; byte_idx < num_bytes - 1; byte_idx++) {
tools/lldb/source/Plugins/Language/ObjC/Cocoa.cpp 69 uint64_t offset = 5 * ptr_size;
117 uint64_t offset = ptr_size;
162 uint64_t offset = ptr_size;
206 uint64_t port_number = 0;
209 uint64_t offset = (ptr_size == 4 ? 12 : 20);
252 uint64_t count = 0;
343 uint64_t value, lldb::LanguageType lang) {
448 uint64_t value = 0;
449 uint64_t i_bits = 0;
491 uint64_t data_location = valobj_addr + 2 * ptr_size;
495 uint64_t cfinfoa =
529 uint64_t value = 0;
579 uint64_t dbl_as_lng = process_sp->ReadUnsignedIntegerFromMemory(
591 uint64_t words[2];
650 uint64_t mantissa = process_sp->ReadUnsignedIntegerFromMemory(
691 uint64_t offset_text = ptr_size + ptr_size +
693 uint64_t offset_base = offset_text + ptr_size;
738 uint64_t fraction : 52; // unsigned
739 uint64_t exponent : 11; // signed
740 uint64_t sign : 1;
744 uint64_t fraction : 52; // unsigned
745 uint64_t exponent : 7; // signed
746 uint64_t sign : 1;
747 uint64_t unused : 4; // placeholder for pointer tag bits
750 static uint64_t decodeExponent(uint64_t exp) {
750 static uint64_t decodeExponent(uint64_t exp) {
756 static double decodeTaggedTimeInterval(uint64_t encodedTimeInterval) {
759 if (encodedTimeInterval == std::numeric_limits<uint64_t>::max())
800 uint64_t date_value_bits = 0;
813 uint64_t info_bits = 0, value_bits = 0;
953 uint64_t value = 0;
tools/lldb/source/Plugins/Language/ObjC/NSArray.cpp 65 virtual uint64_t GetUsedCount() = 0;
67 virtual uint64_t GetOffset() = 0;
69 virtual uint64_t GetSize() = 0;
88 uint64_t GetUsedCount() override;
90 uint64_t GetOffset() override;
92 uint64_t GetSize() override;
111 uint64_t _used;
112 uint64_t _priv1 : 2;
113 uint64_t _size : 62;
114 uint64_t _priv2 : 2;
115 uint64_t _offset : 62;
117 uint64_t _data;
129 uint64_t _priv1 : 4;
135 uint64_t _used;
136 uint64_t _offset;
137 uint64_t _size : 60;
138 uint64_t _priv1 : 4;
140 uint64_t _data;
156 uint64_t _used;
157 uint64_t _offset;
158 uint64_t _size;
159 uint64_t _data;
180 DataDescriptor<uint32_t>, DataDescriptor<uint64_t>>;
183 uint64_t
197 uint64_t
204 return __NSArrayMSize_Impl<DataDescriptor<uint64_t>>(process, valobj_addr,
220 uint64_t _data;
221 uint64_t _used;
222 uint64_t _offset;
223 const uint64_t _size = 0;
263 uint64_t used;
264 uint64_t list;
283 uint64_t used;
284 uint64_t list; // in Inline cases, this is the first element
296 uint64_t
365 uint64_t value = 0;
524 uint64_t data_location = valobj_sp->GetValueAsUnsigned(0) + m_ptr_size;
575 uint64_t
585 uint64_t
595 uint64_t
670 uint64_t data_location = valobj_sp->GetValueAsUnsigned(0) + m_ptr_size;
tools/lldb/source/Plugins/Language/ObjC/NSDictionary.cpp 122 uint64_t _used : 58;
223 uint64_t _used : 58;
225 uint64_t _size;
226 uint64_t _mutations;
227 uint64_t _objs_addr;
228 uint64_t _keys_addr;
253 uint64_t GetSize() { return _size; }
257 uint64_t _used : 58;
259 uint64_t _size;
260 uint64_t _buffer;
261 uint64_t GetSize() { return _size; }
271 static const uint64_t NSDictionaryCapacities[] = {
279 static const size_t NSDictionaryNumSizeBuckets = sizeof(NSDictionaryCapacities) / sizeof(uint64_t);
288 uint64_t GetSize() {
295 uint64_t _buffer;
301 uint64_t GetSize() {
311 uint64_t
325 uint64_t
368 uint64_t value = 0;
545 uint64_t data_location = valobj_sp->GetValueAsUnsigned(0) + m_ptr_size;
625 uint64_t *data_ptr = (uint64_t *)buffer_sp->GetBytes();
702 uint64_t *data_ptr = (uint64_t *)buffer_sp->GetBytes();
773 uint64_t data_location = valobj_sp->GetValueAsUnsigned(0) + m_ptr_size;
869 uint64_t *data_ptr = (uint64_t *)buffer_sp->GetBytes();
941 uint64_t data_location = valobj_sp->GetValueAsUnsigned(0) + m_ptr_size;
1027 uint64_t *data_ptr = (uint64_t *)buffer_sp->GetBytes();
tools/lldb/source/Plugins/Language/ObjC/NSError.cpp 70 uint64_t code = process_sp->ReadUnsignedIntegerFromMemory(code_location,
tools/lldb/source/Plugins/Language/ObjC/NSIndexPath.cpp 82 uint64_t info_bits(0), value_bits(0), payload(0);
171 void SetIndexes(uint64_t value, Process &p) {
184 std::pair<uint64_t, bool> value(_indexAtPositionForInlinePayload(idx));
217 uint64_t m_indexes;
232 std::pair<uint64_t, bool> _indexAtPositionForInlinePayload(size_t pos) {
233 static const uint64_t PACKED_INDEX_MASK = ((1 << 13) - 1);
tools/lldb/source/Plugins/Language/ObjC/NSSet.cpp 65 uint64_t _used : 58;
122 uint64_t _used : 58;
123 uint64_t _size;
124 uint64_t _mutations;
125 uint64_t _objs_addr;
141 uint64_t _used : 58;
142 uint64_t _size;
143 uint64_t _objs_addr;
144 uint64_t _mutations;
162 uint64_t _cow;
164 uint64_t _objs_addr;
174 uint64_t
188 uint64_t
246 uint64_t value = 0;
411 uint64_t data_location = valobj_sp->GetAddressOf() + m_ptr_size;
571 uint64_t data_location = valobj_sp->GetAddressOf() + m_ptr_size;
tools/lldb/source/Plugins/Language/ObjC/NSString.cpp 99 uint64_t info_bits_location = valobj_addr + ptr_size;
164 uint64_t location = 2 * ptr_size + valobj_addr;
196 uint64_t location = 3 * ptr_size + valobj_addr;
209 uint64_t location = valobj_addr + 2 * ptr_size;
253 uint64_t location = valobj_addr + 2 * ptr_size;
279 uint64_t location = valobj_addr + 2 * ptr_size;
304 uint64_t pointer_value = valobj.GetValueAsUnsigned(0);
339 uint64_t len_bits = 0, data_bits = 0;
tools/lldb/source/Plugins/LanguageRuntime/CPlusPlus/ItaniumABI/ItaniumABILanguageRuntime.cpp 529 uint64_t break_site_id = stop_reason->GetValue();
tools/lldb/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/AppleObjCClassDescriptorV2.cpp 341 uint64_t)> const &ivar_func) const {
472 uint64_t ClassDescriptorV2::GetInstanceSize() {
tools/lldb/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/AppleObjCClassDescriptorV2.h 38 bool GetTaggedPointerInfo(uint64_t *info_bits = nullptr,
39 uint64_t *value_bits = nullptr,
40 uint64_t *payload = nullptr) override {
44 uint64_t GetInstanceSize() override;
54 uint64_t)> const &ivar_func) const override;
236 ClassDescriptorV2Tagged(ConstString class_name, uint64_t payload) {
250 uint64_t payload) {
293 bool GetTaggedPointerInfo(uint64_t *info_bits = nullptr,
294 uint64_t *value_bits = nullptr,
295 uint64_t *payload = nullptr) override {
305 uint64_t GetInstanceSize() override {
314 virtual uint64_t GetValueBits() { return (IsValid() ? m_value_bits : 0); }
316 virtual uint64_t GetInfoBits() { return (IsValid() ? m_info_bits : 0); }
318 virtual uint64_t GetPayload() { return (IsValid() ? m_payload : 0); }
324 uint64_t m_info_bits;
325 uint64_t m_value_bits;
326 uint64_t m_payload;
tools/lldb/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/AppleObjCDeclVendor.cpp 133 const clang::RecordDecl *Record, uint64_t &Size, uint64_t &Alignment,
133 const clang::RecordDecl *Record, uint64_t &Size, uint64_t &Alignment,
134 llvm::DenseMap<const clang::FieldDecl *, uint64_t> &FieldOffsets,
594 uint64_t isa_value = LLDB_INVALID_ADDRESS;
tools/lldb/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/AppleObjCRuntime.cpp 432 uint64_t break_site_id = stop_reason->GetValue();
tools/lldb/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/AppleObjCRuntimeV1.cpp 282 uint64_t)> const &ivar_func) const {
tools/lldb/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/AppleObjCRuntimeV1.h 61 bool GetTaggedPointerInfo(uint64_t *info_bits = nullptr,
62 uint64_t *value_bits = nullptr,
63 uint64_t *payload = nullptr) override {
67 uint64_t GetInstanceSize() override { return m_instance_size; }
79 uint64_t)> const &ivar_func) const override;
90 uint64_t m_instance_size;
tools/lldb/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/AppleObjCRuntimeV2.cpp 374 static uint64_t
378 uint64_t default_value = LLDB_INVALID_ADDRESS,
722 uint64_t info_bits = 0;
723 uint64_t value_bits = 0;
724 uint64_t payload = 0;
2274 uint64_t class_bits = (ptr & 0xE) >> 1;
2328 AppleObjCRuntimeV2 &runtime, uint64_t objc_debug_taggedpointer_mask,
2354 uint64_t data_payload;
2355 uint64_t unobfuscated = (ptr) ^ m_runtime.GetTaggedPointerObfuscator();
2391 AppleObjCRuntimeV2 &runtime, uint64_t objc_debug_taggedpointer_mask,
2392 uint64_t objc_debug_taggedpointer_ext_mask,
2439 uint64_t data_payload;
2440 uint64_t unobfuscated = (ptr) ^ m_runtime.GetTaggedPointerObfuscator();
2480 uint64_t objc_debug_isa_class_mask, uint64_t objc_debug_isa_magic_mask,
2480 uint64_t objc_debug_isa_class_mask, uint64_t objc_debug_isa_magic_mask,
2481 uint64_t objc_debug_isa_magic_value,
2482 uint64_t objc_debug_indexed_isa_magic_mask,
2483 uint64_t objc_debug_indexed_isa_magic_value,
2484 uint64_t objc_debug_indexed_isa_index_mask,
2485 uint64_t objc_debug_indexed_isa_index_shift,
tools/lldb/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/AppleObjCRuntimeV2.h 139 uint64_t objc_debug_isa_class_mask,
140 uint64_t objc_debug_isa_magic_mask,
141 uint64_t objc_debug_isa_magic_value,
142 uint64_t objc_debug_indexed_isa_magic_mask,
143 uint64_t objc_debug_indexed_isa_magic_value,
144 uint64_t objc_debug_indexed_isa_index_mask,
145 uint64_t objc_debug_indexed_isa_index_shift,
153 uint64_t m_objc_debug_isa_class_mask;
154 uint64_t m_objc_debug_isa_magic_mask;
155 uint64_t m_objc_debug_isa_magic_value;
157 uint64_t m_objc_debug_indexed_isa_magic_mask;
158 uint64_t m_objc_debug_indexed_isa_magic_value;
159 uint64_t m_objc_debug_indexed_isa_index_mask;
160 uint64_t m_objc_debug_indexed_isa_index_shift;
198 AppleObjCRuntimeV2 &runtime, uint64_t objc_debug_taggedpointer_mask,
208 uint64_t m_objc_debug_taggedpointer_mask;
228 AppleObjCRuntimeV2 &runtime, uint64_t objc_debug_taggedpointer_mask,
229 uint64_t objc_debug_taggedpointer_ext_mask,
246 uint64_t m_objc_debug_taggedpointer_ext_mask;
tools/lldb/source/Plugins/LanguageRuntime/ObjC/ObjCLanguageRuntime.cpp 331 uint64_t &size) {
344 uint64_t sizeof_max = 0;
tools/lldb/source/Plugins/LanguageRuntime/ObjC/ObjCLanguageRuntime.h 90 virtual bool GetTaggedPointerInfo(uint64_t *info_bits = nullptr,
91 uint64_t *value_bits = nullptr,
92 uint64_t *payload = nullptr) = 0;
94 virtual uint64_t GetInstanceSize() = 0;
111 uint64_t)> const &ivar_func) const {
122 uint64_t m_size;
303 uint64_t &size) override;
386 typedef ThreadSafeDenseMap<void *, uint64_t> TypeSizeCache;
tools/lldb/source/Plugins/LanguageRuntime/RenderScript/RenderScriptRuntime/RenderScriptRuntime.cpp 109 uint64_t value;
111 explicit operator uint64_t() const { return value; }
127 uint64_t sp = ctx.reg_ctx->GetSP();
169 uint64_t sp = ctx.reg_ctx->GetSP();
171 sp += sizeof(uint64_t);
180 uint64_t sp_offset = 0;
231 uint64_t sp = ctx.reg_ctx->GetSP();
309 uint64_t sp = ctx.reg_ctx->GetSP() + 16;
353 uint64_t sp = ctx.reg_ctx->GetSP();
369 const size_t arg_size = sizeof(uint64_t);
760 {eFormatDecimal, eFormatVectorOfUInt64, sizeof(uint64_t)},
1157 const uint64_t len = uint64_t(args[eGroupNameSize]);
1197 for (uint64_t i = 0; i < uint64_t(args[eKernelCount]); ++i) {
1201 uint64_t kernel_addr = 0;
1295 std::vector<uint64_t> allocs;
1298 for (uint64_t i = 0; i < uint64_t(args[eRsInLen]); ++i) {
1304 uint64_t result = 0;
1316 if (uint64_t alloc_out = uint64_t(args[eRsAOut])) {
1321 for (const uint64_t alloc_addr : allocs) {
1680 uint64_t *result) {
1848 uint64_t result = 0;
1883 uint64_t result = 0;
1916 uint64_t results[num_exprs];
1972 uint64_t results[num_exprs];
2028 uint64_t results;
2148 uint64_t result = 0;
2185 uint64_t result = 0;
3030 uint64_t n_lines;
3101 std::map<addr_t, uint64_t> contextReferences;
3548 uint64_t &val) {
3624 uint64_t x, y, z;
tools/lldb/source/Plugins/LanguageRuntime/RenderScript/RenderScriptRuntime/RenderScriptRuntime.h 434 uint64_t *result);
530 const char *var_name, uint64_t &val);
tools/lldb/source/Plugins/ObjectContainer/BSD-Archive/ObjectContainerBSDArchive.cpp 180 const uint64_t object_modification_date = llvm::sys::toTimeT(object_mod_time);
tools/lldb/source/Plugins/ObjectFile/ELF/ELFHeader.cpp 26 lldb::offset_t *offset, uint64_t *value,
34 lldb::offset_t *offset, uint64_t *value,
tools/lldb/source/Plugins/ObjectFile/ELF/ELFHeader.h 41 typedef uint64_t elf_addr;
42 typedef uint64_t elf_off;
46 typedef uint64_t elf_size;
47 typedef uint64_t elf_xword;
tools/lldb/source/Plugins/ObjectFile/ELF/ObjectFileELF.cpp 851 uint64_t rel_offset;
1197 uint64_t count = data.GetAddress(&offset);
1233 void ObjectFileELF::ParseARMAttributes(DataExtractor &data, uint64_t length,
1259 uint64_t Tag = data.GetULEB128(&Offset);
1278 uint64_t VFPArgs = data.GetULEB128(&Offset);
1400 const uint64_t section_size =
1801 const uint64_t file_size =
2173 uint64_t symbol_value = symbol.st_value + symbol_value_offset;
2375 static std::pair<uint64_t, uint64_t>
2375 static std::pair<uint64_t, uint64_t>
2419 uint64_t plt_offset, plt_entsize;
2450 uint64_t plt_index = plt_offset + i * plt_entsize;
2593 uint64_t *dst = reinterpret_cast<uint64_t *>(
2596 uint64_t val_offset = value + ELFRelocation::RelocAddend64(rel);
2597 memcpy(dst, &val_offset, sizeof(uint64_t));
2700 uint64_t symbol_id = 0;
2789 uint64_t symbol_id = m_symtab_up->GetNumSymbols();
2892 uint64_t symbol_id = symbol_table->GetNumSymbols();
tools/lldb/source/Plugins/ObjectFile/ELF/ObjectFileELF.h 257 uint64_t length,
tools/lldb/source/Plugins/ObjectFile/Mach-O/ObjectFileMachO.cpp 78 uint64_t dyldBaseAddress;
79 uint64_t codeSignatureOffset;
80 uint64_t codeSignatureSize;
81 uint64_t slideInfoOffset;
82 uint64_t slideInfoSize;
83 uint64_t localSymbolsOffset;
84 uint64_t localSymbolsSize;
90 uint64_t address;
91 uint64_t size;
92 uint64_t fileOffset;
1909 uint64_t address = LLDB_INVALID_ADDRESS;
1910 uint64_t flags = 0;
1911 uint64_t other = 0;
1940 const uint64_t terminalSize = data.GetULEB128(&offset);
1954 uint64_t resolver_addr = e.entry.other;
2411 uint64_t delta;
2480 typedef std::multimap<uint64_t, uint32_t> ValueToSymbolIndexMap;
4269 uint64_t symbol_value = nlist.n_value;
5236 uint64_t entryoffset = m_data.GetU64(&offset);
5354 uint64_t fileoff = m_data.GetU64_unchecked(&offset);
5355 uint64_t size = m_data.GetU64_unchecked(&offset);
5422 uint64_t fileoff = m_data.GetU64_unchecked(&offset);
5423 uint64_t size = m_data.GetU64_unchecked(&offset);
5608 uint64_t version = 0;
5673 uint64_t cacheBaseAddress; // load address of dyld shared cache
tools/lldb/source/Plugins/ObjectFile/PECOFF/ObjectFilePECOFF.h 198 uint64_t image_base = 0;
213 uint64_t stack_reserve_size = 0;
214 uint64_t stack_commit_size = 0;
215 uint64_t heap_reserve_size = 0;
216 uint64_t heap_commit_size = 0;
tools/lldb/source/Plugins/Platform/Android/PlatformAndroid.cpp 251 const uint64_t src_offset,
252 const uint64_t src_size,
tools/lldb/source/Plugins/Platform/Android/PlatformAndroid.h 64 const uint64_t src_offset, const uint64_t src_size,
64 const uint64_t src_offset, const uint64_t src_size,
tools/lldb/source/Plugins/Platform/FreeBSD/PlatformFreeBSD.cpp 310 uint64_t flags_platform = 0;
tools/lldb/source/Plugins/Platform/Linux/PlatformLinux.cpp 388 uint64_t flags_platform = 0;
389 uint64_t map_anon = arch.IsMIPS() ? 0x800 : MAP_ANON;
tools/lldb/source/Plugins/Platform/MacOSX/PlatformDarwin.cpp 272 uint64_t high_local, high_remote, low_local, low_remote;
tools/lldb/source/Plugins/Platform/NetBSD/PlatformNetBSD.cpp 355 uint64_t flags_platform = 0;
tools/lldb/source/Plugins/Platform/OpenBSD/PlatformOpenBSD.cpp 206 uint64_t flags_platform = 0;
tools/lldb/source/Plugins/Platform/POSIX/PlatformPOSIX.cpp 375 uint64_t offset = 0;
378 const uint64_t n_read = ReadFile(fd_src, offset, buffer_sp->GetBytes(),
tools/lldb/source/Plugins/Platform/gdb-server/PlatformRemoteGDBServer.cpp 647 uint64_t PlatformRemoteGDBServer::ReadFile(lldb::user_id_t fd, uint64_t offset,
647 uint64_t PlatformRemoteGDBServer::ReadFile(lldb::user_id_t fd, uint64_t offset,
648 void *dst, uint64_t dst_len,
653 uint64_t PlatformRemoteGDBServer::WriteFile(lldb::user_id_t fd, uint64_t offset,
653 uint64_t PlatformRemoteGDBServer::WriteFile(lldb::user_id_t fd, uint64_t offset,
654 const void *src, uint64_t src_len,
tools/lldb/source/Plugins/Platform/gdb-server/PlatformRemoteGDBServer.h 121 uint64_t ReadFile(lldb::user_id_t fd, uint64_t offset, void *data_ptr,
121 uint64_t ReadFile(lldb::user_id_t fd, uint64_t offset, void *data_ptr,
122 uint64_t len, Status &error) override;
124 uint64_t WriteFile(lldb::user_id_t fd, uint64_t offset, const void *data,
124 uint64_t WriteFile(lldb::user_id_t fd, uint64_t offset, const void *data,
125 uint64_t len, Status &error) override;
tools/lldb/source/Plugins/Process/Linux/NativeRegisterContextLinux_x86_64.cpp 1024 uint64_t status_bits = reg_value.GetAsUInt64();
1060 uint64_t control_bits = reg_value.GetAsUInt64();
1099 uint64_t enable_bit = 1 << (2 * wp_index);
1103 uint64_t rw_bits = watch_flags << (16 + 4 * wp_index);
1108 uint64_t size_bits = (size == 8 ? 0x2 : size - 1) << (18 + 4 * wp_index);
1110 uint64_t bit_mask = (0x3 << (2 * wp_index)) | (0xF << (16 + 4 * wp_index));
1112 uint64_t control_bits = reg_value.GetAsUInt64() & ~bit_mask;
1141 uint64_t bit_mask = 1 << wp_index;
1142 uint64_t status_bits = reg_value.GetAsUInt64() & ~bit_mask;
1154 uint64_t control_bits = reg_value.GetAsUInt64() & ~bit_mask;
1166 uint64_t bit_mask = 0xF;
1167 uint64_t status_bits = reg_value.GetAsUInt64() & ~bit_mask;
1177 uint64_t control_bits = reg_value.GetAsUInt64() & ~bit_mask;
tools/lldb/source/Plugins/Process/Linux/NativeRegisterContextLinux_x86_64.h 117 uint64_t m_gpr_x86_64[k_num_gpr_registers_x86_64];
tools/lldb/source/Plugins/Process/Linux/ProcessorTrace.cpp 55 uint64_t page_size = getpagesize();
56 uint64_t bufsize = config.getTraceBufferSize();
57 uint64_t metabufsize = config.getMetaDataBufferSize();
59 uint64_t numpages = static_cast<uint64_t>(
61 numpages = std::max<uint64_t>(1, numpages);
172 uint64_t cpu_family = -1;
173 uint64_t model = -1;
174 uint64_t stepping = -1;
278 uint64_t head = m_mmap_meta->aux_head;
307 uint64_t bytes_remaining = buffer.size();
310 uint64_t head = m_mmap_meta->data_head;
tools/lldb/source/Plugins/Process/POSIX/NativeProcessELF.cpp 15 llvm::Optional<uint64_t>
47 llvm::Optional<uint64_t> maybe_phdr_addr =
49 llvm::Optional<uint64_t> maybe_phdr_entry_size =
51 llvm::Optional<uint64_t> maybe_phdr_num_entries =
65 uint64_t dynamic_section_size = 0;
166 GetAddressByteSize() == 8 ? ReadSVR4LibraryInfo<uint64_t>(link_map)
tools/lldb/source/Plugins/Process/POSIX/NativeProcessELF.h 33 llvm::Optional<uint64_t> GetAuxValue(enum AuxVector::EntryType type);
tools/lldb/source/Plugins/Process/Utility/AuxVector.cpp 21 const uint64_t type = data.GetAddress(&offset);
22 const uint64_t value = data.GetAddress(&offset);
32 llvm::Optional<uint64_t>
tools/lldb/source/Plugins/Process/Utility/AuxVector.h 63 llvm::Optional<uint64_t> GetAuxValue(enum EntryType entry_type) const;
70 std::unordered_map<uint64_t, uint64_t> m_auxv_entries;
70 std::unordered_map<uint64_t, uint64_t> m_auxv_entries;
tools/lldb/source/Plugins/Process/Utility/DynamicRegisterInfo.cpp 356 uint64_t invalidate_reg_num;
tools/lldb/source/Plugins/Process/Utility/HistoryThread.h 49 void SetExtendedBacktraceToken(uint64_t token) override {
53 uint64_t GetExtendedBacktraceToken() override {
82 uint64_t m_extended_unwind_token;
tools/lldb/source/Plugins/Process/Utility/InstructionUtils.h 21 static inline uint64_t Bits64(const uint64_t bits, const uint32_t msbit,
21 static inline uint64_t Bits64(const uint64_t bits, const uint32_t msbit,
40 static inline uint64_t Bit64(const uint64_t bits, const uint32_t bit) {
40 static inline uint64_t Bit64(const uint64_t bits, const uint32_t bit) {
73 static inline uint64_t MaskUpToBit(const uint64_t bit) {
73 static inline uint64_t MaskUpToBit(const uint64_t bit) {
80 static inline uint32_t BitCount(uint64_t x) {
89 static inline bool BitIsSet(const uint64_t value, const uint64_t bit) {
89 static inline bool BitIsSet(const uint64_t value, const uint64_t bit) {
93 static inline bool BitIsClear(const uint64_t value, const uint64_t bit) {
93 static inline bool BitIsClear(const uint64_t value, const uint64_t bit) {
97 static inline uint64_t UnsignedBits(const uint64_t value, const uint64_t msbit,
97 static inline uint64_t UnsignedBits(const uint64_t value, const uint64_t msbit,
97 static inline uint64_t UnsignedBits(const uint64_t value, const uint64_t msbit,
98 const uint64_t lsbit) {
99 uint64_t result = value >> lsbit;
104 static inline int64_t SignedBits(const uint64_t value, const uint64_t msbit,
104 static inline int64_t SignedBits(const uint64_t value, const uint64_t msbit,
105 const uint64_t lsbit) {
106 uint64_t result = UnsignedBits(value, msbit, lsbit);
tools/lldb/source/Plugins/Process/Utility/RegisterContextDarwin_arm.h 101 uint64_t d[32];
tools/lldb/source/Plugins/Process/Utility/RegisterContextDarwin_arm64.cpp 394 uint64_t retval = regdata.GetMaxU64(&offset, 8);
tools/lldb/source/Plugins/Process/Utility/RegisterContextDarwin_arm64.h 67 uint64_t x[29]; // x0-x28
68 uint64_t fp; // x29
69 uint64_t lr; // x30
70 uint64_t sp; // x31
71 uint64_t pc; // pc
88 uint64_t far; // Virtual Fault Address
95 uint64_t bvr[16];
96 uint64_t bcr[16];
97 uint64_t wvr[16];
98 uint64_t wcr[16];
99 uint64_t mdscr_el1;
tools/lldb/source/Plugins/Process/Utility/RegisterContextDarwin_x86_64.cpp 1047 const uint64_t trace_bit = 0x100ull;
tools/lldb/source/Plugins/Process/Utility/RegisterContextDarwin_x86_64.h 48 uint64_t rax;
49 uint64_t rbx;
50 uint64_t rcx;
51 uint64_t rdx;
52 uint64_t rdi;
53 uint64_t rsi;
54 uint64_t rbp;
55 uint64_t rsp;
56 uint64_t r8;
57 uint64_t r9;
58 uint64_t r10;
59 uint64_t r11;
60 uint64_t r12;
61 uint64_t r13;
62 uint64_t r14;
63 uint64_t r15;
64 uint64_t rip;
65 uint64_t rflags;
66 uint64_t cs;
67 uint64_t fs;
68 uint64_t gs;
104 uint64_t faultvaddr;
tools/lldb/source/Plugins/Process/Utility/RegisterContextFreeBSD_mips64.cpp 40 uint64_t zero;
41 uint64_t r1;
42 uint64_t r2;
43 uint64_t r3;
44 uint64_t r4;
45 uint64_t r5;
46 uint64_t r6;
47 uint64_t r7;
48 uint64_t r8;
49 uint64_t r9;
50 uint64_t r10;
51 uint64_t r11;
52 uint64_t r12;
53 uint64_t r13;
54 uint64_t r14;
55 uint64_t r15;
56 uint64_t r16;
57 uint64_t r17;
58 uint64_t r18;
59 uint64_t r19;
60 uint64_t r20;
61 uint64_t r21;
62 uint64_t r22;
63 uint64_t r23;
64 uint64_t r24;
65 uint64_t r25;
66 uint64_t r26;
67 uint64_t r27;
68 uint64_t gp;
69 uint64_t sp;
70 uint64_t r30;
71 uint64_t ra;
72 uint64_t sr;
73 uint64_t mullo;
74 uint64_t mulhi;
75 uint64_t badvaddr;
76 uint64_t cause;
77 uint64_t pc;
78 uint64_t ic;
79 uint64_t dummy;
tools/lldb/source/Plugins/Process/Utility/RegisterContextFreeBSD_powerpc.cpp 18 uint64_t r0;
19 uint64_t r1;
20 uint64_t r2;
21 uint64_t r3;
22 uint64_t r4;
23 uint64_t r5;
24 uint64_t r6;
25 uint64_t r7;
26 uint64_t r8;
27 uint64_t r9;
28 uint64_t r10;
29 uint64_t r11;
30 uint64_t r12;
31 uint64_t r13;
32 uint64_t r14;
33 uint64_t r15;
34 uint64_t r16;
35 uint64_t r17;
36 uint64_t r18;
37 uint64_t r19;
38 uint64_t r20;
39 uint64_t r21;
40 uint64_t r22;
41 uint64_t r23;
42 uint64_t r24;
43 uint64_t r25;
44 uint64_t r26;
45 uint64_t r27;
46 uint64_t r28;
47 uint64_t r29;
48 uint64_t r30;
49 uint64_t r31;
50 uint64_t lr;
51 uint64_t cr;
52 uint64_t xer;
53 uint64_t ctr;
54 uint64_t pc;
98 uint64_t f0;
99 uint64_t f1;
100 uint64_t f2;
101 uint64_t f3;
102 uint64_t f4;
103 uint64_t f5;
104 uint64_t f6;
105 uint64_t f7;
106 uint64_t f8;
107 uint64_t f9;
108 uint64_t f10;
109 uint64_t f11;
110 uint64_t f12;
111 uint64_t f13;
112 uint64_t f14;
113 uint64_t f15;
114 uint64_t f16;
115 uint64_t f17;
116 uint64_t f18;
117 uint64_t f19;
118 uint64_t f20;
119 uint64_t f21;
120 uint64_t f22;
121 uint64_t f23;
122 uint64_t f24;
123 uint64_t f25;
124 uint64_t f26;
125 uint64_t f27;
126 uint64_t f28;
127 uint64_t f29;
128 uint64_t f30;
129 uint64_t f31;
130 uint64_t fpscr;
tools/lldb/source/Plugins/Process/Utility/RegisterContextFreeBSD_x86_64.cpp 19 uint64_t r15;
20 uint64_t r14;
21 uint64_t r13;
22 uint64_t r12;
23 uint64_t r11;
24 uint64_t r10;
25 uint64_t r9;
26 uint64_t r8;
27 uint64_t rdi;
28 uint64_t rsi;
29 uint64_t rbp;
30 uint64_t rbx;
31 uint64_t rdx;
32 uint64_t rcx;
33 uint64_t rax;
40 uint64_t rip;
41 uint64_t cs;
42 uint64_t rflags;
43 uint64_t rsp;
44 uint64_t ss;
48 uint64_t dr[16]; /* debug registers */
tools/lldb/source/Plugins/Process/Utility/RegisterContextLinux_i386.cpp 42 uint64_t fip; // Instruction Pointer
43 uint64_t fdp; // Data Pointer
tools/lldb/source/Plugins/Process/Utility/RegisterContextLinux_x86_64.cpp 18 uint64_t r15;
19 uint64_t r14;
20 uint64_t r13;
21 uint64_t r12;
22 uint64_t rbp;
23 uint64_t rbx;
24 uint64_t r11;
25 uint64_t r10;
26 uint64_t r9;
27 uint64_t r8;
28 uint64_t rax;
29 uint64_t rcx;
30 uint64_t rdx;
31 uint64_t rsi;
32 uint64_t rdi;
33 uint64_t orig_rax;
34 uint64_t rip;
35 uint64_t cs;
36 uint64_t rflags;
37 uint64_t rsp;
38 uint64_t ss;
39 uint64_t fs_base;
40 uint64_t gs_base;
41 uint64_t ds;
42 uint64_t es;
43 uint64_t fs;
44 uint64_t gs;
48 uint64_t dr[8];
57 uint64_t tsize; // Text segment size.
58 uint64_t dsize; // Data segment size.
59 uint64_t ssize; // Stack segment size.
60 uint64_t start_code; // VM address of text.
61 uint64_t start_stack; // VM address of stack bottom (top in rsp).
65 uint64_t ar0; // Location of GPR's.
67 uint64_t magic; // Identifier for core dumps.
70 uint64_t error_code; // CPU error code.
71 uint64_t fault_address; // Control register CR3.
tools/lldb/source/Plugins/Process/Utility/RegisterContextMacOSXFrameBackchain.cpp 59 uint64_t reg_value = LLDB_INVALID_ADDRESS;
94 } else if (sizeof(float) == sizeof(uint64_t)) {
104 } else if (sizeof(double) == sizeof(uint64_t)) {
119 } else if (sizeof(long double) == sizeof(uint64_t)) {
tools/lldb/source/Plugins/Process/Utility/RegisterContextNetBSD_x86_64.cpp 21 uint64_t rdi; /* 0 */
22 uint64_t rsi; /* 1 */
23 uint64_t rdx; /* 2 */
24 uint64_t rcx; /* 3 */
25 uint64_t r8; /* 4 */
26 uint64_t r9; /* 5 */
27 uint64_t r10; /* 6 */
28 uint64_t r11; /* 7 */
29 uint64_t r12; /* 8 */
30 uint64_t r13; /* 9 */
31 uint64_t r14; /* 10 */
32 uint64_t r15; /* 11 */
33 uint64_t rbp; /* 12 */
34 uint64_t rbx; /* 13 */
35 uint64_t rax; /* 14 */
36 uint64_t gs; /* 15 */
37 uint64_t fs; /* 16 */
38 uint64_t es; /* 17 */
39 uint64_t ds; /* 18 */
40 uint64_t trapno; /* 19 */
41 uint64_t err; /* 20 */
42 uint64_t rip; /* 21 */
43 uint64_t cs; /* 22 */
44 uint64_t rflags; /* 23 */
45 uint64_t rsp; /* 24 */
46 uint64_t ss; /* 25 */
50 uint64_t dr[16]; /* debug registers */
70 uint64_t mc_tlsbase;
tools/lldb/source/Plugins/Process/Utility/RegisterContextOpenBSD_x86_64.cpp 18 uint64_t rdi;
19 uint64_t rsi;
20 uint64_t rdx;
21 uint64_t rcx;
22 uint64_t r8;
23 uint64_t r9;
24 uint64_t r10;
25 uint64_t r11;
26 uint64_t r12;
27 uint64_t r13;
28 uint64_t r14;
29 uint64_t r15;
30 uint64_t rbp;
31 uint64_t rbx;
32 uint64_t rax;
33 uint64_t rsp;
34 uint64_t rip;
35 uint64_t rflags;
36 uint64_t cs;
37 uint64_t ss;
38 uint64_t ds;
39 uint64_t es;
40 uint64_t fs;
41 uint64_t gs;
45 uint64_t dr[16]; /* debug registers */
tools/lldb/source/Plugins/Process/Utility/RegisterContextPOSIX_arm.h 73 uint64_t d[32];
tools/lldb/source/Plugins/Process/Utility/RegisterContextPOSIX_arm64.h 78 uint64_t m_gpr_arm64[lldb_private::k_num_gpr_registers_arm64]; // 64-bit
tools/lldb/source/Plugins/Process/Utility/RegisterContextPOSIX_powerpc.h 172 uint64_t
174 uint64_t
tools/lldb/source/Plugins/Process/Utility/RegisterContextPOSIX_ppc64le.h 47 uint64_t m_gpr_ppc64le[k_num_gpr_registers_ppc64le];
50 uint64_t m_fpr_ppc64le[k_num_fpr_registers_ppc64le];
53 uint64_t m_vmx_ppc64le[k_num_vmx_registers_ppc64le * 2];
56 uint64_t m_vsx_ppc64le[k_num_vsx_registers_ppc64le * 2];
tools/lldb/source/Plugins/Process/Utility/RegisterContextPOSIX_x86.h 138 uint64_t m_gpr_x86_64[lldb_private::k_num_gpr_registers_x86_64]; // 64-bit
tools/lldb/source/Plugins/Process/Utility/RegisterContextWindows_x86_64.cpp 20 uint64_t rax;
21 uint64_t rcx;
22 uint64_t rdx;
23 uint64_t rbx;
24 uint64_t rsp;
25 uint64_t rbp;
26 uint64_t rsi;
27 uint64_t rdi;
28 uint64_t r8;
29 uint64_t r9;
30 uint64_t r10;
31 uint64_t r11;
32 uint64_t r12;
33 uint64_t r13;
34 uint64_t r14;
35 uint64_t r15;
36 uint64_t rip;
37 uint64_t rflags;
tools/lldb/source/Plugins/Process/Utility/RegisterContext_mips.h 245 uint64_t zero;
246 uint64_t r1;
247 uint64_t r2;
248 uint64_t r3;
249 uint64_t r4;
250 uint64_t r5;
251 uint64_t r6;
252 uint64_t r7;
253 uint64_t r8;
254 uint64_t r9;
255 uint64_t r10;
256 uint64_t r11;
257 uint64_t r12;
258 uint64_t r13;
259 uint64_t r14;
260 uint64_t r15;
261 uint64_t r16;
262 uint64_t r17;
263 uint64_t r18;
264 uint64_t r19;
265 uint64_t r20;
266 uint64_t r21;
267 uint64_t r22;
268 uint64_t r23;
269 uint64_t r24;
270 uint64_t r25;
271 uint64_t r26;
272 uint64_t r27;
273 uint64_t gp;
274 uint64_t sp;
275 uint64_t r30;
276 uint64_t ra;
277 uint64_t mullo;
278 uint64_t mulhi;
279 uint64_t pc;
280 uint64_t badvaddr;
281 uint64_t sr;
282 uint64_t cause;
283 uint64_t config5;
287 uint64_t f0;
288 uint64_t f1;
289 uint64_t f2;
290 uint64_t f3;
291 uint64_t f4;
292 uint64_t f5;
293 uint64_t f6;
294 uint64_t f7;
295 uint64_t f8;
296 uint64_t f9;
297 uint64_t f10;
298 uint64_t f11;
299 uint64_t f12;
300 uint64_t f13;
301 uint64_t f14;
302 uint64_t f15;
303 uint64_t f16;
304 uint64_t f17;
305 uint64_t f18;
306 uint64_t f19;
307 uint64_t f20;
308 uint64_t f21;
309 uint64_t f22;
310 uint64_t f23;
311 uint64_t f24;
312 uint64_t f25;
313 uint64_t f26;
314 uint64_t f27;
315 uint64_t f28;
316 uint64_t f29;
317 uint64_t f30;
318 uint64_t f31;
tools/lldb/source/Plugins/Process/Utility/RegisterContext_x86.h 259 uint64_t fip; // Instruction Pointer
260 uint64_t fdp; // Data Pointer
275 uint64_t xcr0;
309 enum class XFeature : uint64_t {
327 uint64_t reserved1[1];
328 uint64_t reserved2[5];
341 uint64_t reserved3[16];
tools/lldb/source/Plugins/Process/Utility/RegisterInfoPOSIX_arm.h 30 uint64_t d[32];
tools/lldb/source/Plugins/Process/Utility/RegisterInfoPOSIX_arm64.h 20 uint64_t x[29]; // x0-x28
21 uint64_t fp; // x29
22 uint64_t lr; // x30
23 uint64_t sp; // x31
24 uint64_t pc; // pc
42 uint64_t far; // Virtual Fault Address
49 uint64_t bvr[16];
50 uint64_t bcr[16];
51 uint64_t wvr[16];
52 uint64_t wcr[16];
53 uint64_t mdscr_el1;
tools/lldb/source/Plugins/Process/Utility/RegisterInfos_ppc64.h 200 uint64_t r0;
201 uint64_t r1;
202 uint64_t r2;
203 uint64_t r3;
204 uint64_t r4;
205 uint64_t r5;
206 uint64_t r6;
207 uint64_t r7;
208 uint64_t r8;
209 uint64_t r9;
210 uint64_t r10;
211 uint64_t r11;
212 uint64_t r12;
213 uint64_t r13;
214 uint64_t r14;
215 uint64_t r15;
216 uint64_t r16;
217 uint64_t r17;
218 uint64_t r18;
219 uint64_t r19;
220 uint64_t r20;
221 uint64_t r21;
222 uint64_t r22;
223 uint64_t r23;
224 uint64_t r24;
225 uint64_t r25;
226 uint64_t r26;
227 uint64_t r27;
228 uint64_t r28;
229 uint64_t r29;
230 uint64_t r30;
231 uint64_t r31;
232 uint64_t cr;
233 uint64_t msr;
234 uint64_t xer;
235 uint64_t lr;
236 uint64_t ctr;
237 uint64_t pc;
238 uint64_t pad[3];
242 uint64_t f0;
243 uint64_t f1;
244 uint64_t f2;
245 uint64_t f3;
246 uint64_t f4;
247 uint64_t f5;
248 uint64_t f6;
249 uint64_t f7;
250 uint64_t f8;
251 uint64_t f9;
252 uint64_t f10;
253 uint64_t f11;
254 uint64_t f12;
255 uint64_t f13;
256 uint64_t f14;
257 uint64_t f15;
258 uint64_t f16;
259 uint64_t f17;
260 uint64_t f18;
261 uint64_t f19;
262 uint64_t f20;
263 uint64_t f21;
264 uint64_t f22;
265 uint64_t f23;
266 uint64_t f24;
267 uint64_t f25;
268 uint64_t f26;
269 uint64_t f27;
270 uint64_t f28;
271 uint64_t f29;
272 uint64_t f30;
273 uint64_t f31;
274 uint64_t fpscr;
tools/lldb/source/Plugins/Process/Utility/RegisterInfos_ppc64le.h 275 uint64_t r0;
276 uint64_t r1;
277 uint64_t r2;
278 uint64_t r3;
279 uint64_t r4;
280 uint64_t r5;
281 uint64_t r6;
282 uint64_t r7;
283 uint64_t r8;
284 uint64_t r9;
285 uint64_t r10;
286 uint64_t r11;
287 uint64_t r12;
288 uint64_t r13;
289 uint64_t r14;
290 uint64_t r15;
291 uint64_t r16;
292 uint64_t r17;
293 uint64_t r18;
294 uint64_t r19;
295 uint64_t r20;
296 uint64_t r21;
297 uint64_t r22;
298 uint64_t r23;
299 uint64_t r24;
300 uint64_t r25;
301 uint64_t r26;
302 uint64_t r27;
303 uint64_t r28;
304 uint64_t r29;
305 uint64_t r30;
306 uint64_t r31;
307 uint64_t pc;
308 uint64_t msr;
309 uint64_t origr3;
310 uint64_t ctr;
311 uint64_t lr;
312 uint64_t xer;
313 uint64_t cr;
314 uint64_t softe;
315 uint64_t trap;
316 uint64_t pad[3];
320 uint64_t f0;
321 uint64_t f1;
322 uint64_t f2;
323 uint64_t f3;
324 uint64_t f4;
325 uint64_t f5;
326 uint64_t f6;
327 uint64_t f7;
328 uint64_t f8;
329 uint64_t f9;
330 uint64_t f10;
331 uint64_t f11;
332 uint64_t f12;
333 uint64_t f13;
334 uint64_t f14;
335 uint64_t f15;
336 uint64_t f16;
337 uint64_t f17;
338 uint64_t f18;
339 uint64_t f19;
340 uint64_t f20;
341 uint64_t f21;
342 uint64_t f22;
343 uint64_t f23;
344 uint64_t f24;
345 uint64_t f25;
346 uint64_t f26;
347 uint64_t f27;
348 uint64_t f28;
349 uint64_t f29;
350 uint64_t f30;
351 uint64_t f31;
352 uint64_t fpscr;
tools/lldb/source/Plugins/Process/Utility/StopInfoMachException.cpp 298 uint64_t exc_code, uint64_t exc_sub_code, uint64_t exc_sub_sub_code,
298 uint64_t exc_code, uint64_t exc_sub_code, uint64_t exc_sub_sub_code,
298 uint64_t exc_code, uint64_t exc_sub_code, uint64_t exc_sub_sub_code,
tools/lldb/source/Plugins/Process/Utility/StopInfoMachException.h 22 uint32_t exc_data_count, uint64_t exc_code,
23 uint64_t exc_subcode)
40 uint64_t exc_code, uint64_t exc_sub_code, uint64_t exc_sub_sub_code,
40 uint64_t exc_code, uint64_t exc_sub_code, uint64_t exc_sub_sub_code,
40 uint64_t exc_code, uint64_t exc_sub_code, uint64_t exc_sub_sub_code,
45 uint64_t m_exc_code;
46 uint64_t m_exc_subcode;
tools/lldb/source/Plugins/Process/Utility/UnwindLLDB.cpp 132 uint64_t max_stack_depth = m_thread.GetMaxBacktraceDepth();
tools/lldb/source/Plugins/Process/Utility/UnwindLLDB.h 62 uint64_t inferred_value; // eRegisterValueInferred - e.g. stack pointer ==
tools/lldb/source/Plugins/Process/Utility/UnwindMacOSXFrameBackchain.cpp 178 uint64_t fp;
179 uint64_t pc;
tools/lldb/source/Plugins/Process/elf-core/ProcessElfCore.cpp 824 const uint64_t count = note.data.GetAddress(&offset);
826 for (uint64_t i = 0; i < count; ++i) {
833 for (uint64_t i = 0; i < count; ++i) {
tools/lldb/source/Plugins/Process/elf-core/RegisterContextPOSIXCore_arm.cpp 47 uint64_t v = m_gpr.GetMaxU64(&offset, reg_info->byte_size);
tools/lldb/source/Plugins/Process/elf-core/RegisterContextPOSIXCore_arm64.cpp 48 uint64_t v = m_gpr.GetMaxU64(&offset, reg_info->byte_size);
tools/lldb/source/Plugins/Process/elf-core/RegisterContextPOSIXCore_mips64.cpp 56 uint64_t v;
tools/lldb/source/Plugins/Process/elf-core/RegisterContextPOSIXCore_powerpc.cpp 69 uint64_t v = m_fpr.GetMaxU64(&offset, reg_info->byte_size);
82 uint64_t v = m_gpr.GetMaxU64(&offset, reg_info->byte_size);
tools/lldb/source/Plugins/Process/elf-core/RegisterContextPOSIXCore_ppc64le.cpp 52 return k_num_fpr_registers_ppc64le * sizeof(uint64_t);
56 return (k_num_vmx_registers_ppc64le - 1) * sizeof(uint64_t) * 2 +
61 return k_num_vsx_registers_ppc64le * sizeof(uint64_t) * 2;
69 uint64_t v;
98 uint8_t *dst = (uint8_t *)&v + sizeof(uint64_t);
116 uint64_t v = m_gpr.GetMaxU64(&offset, reg_info->byte_size);
tools/lldb/source/Plugins/Process/elf-core/RegisterContextPOSIXCore_s390x.cpp 60 uint64_t v = m_gpr.GetMaxU64(&offset, reg_info->byte_size);
69 uint64_t v = m_fpr.GetMaxU64(&offset, reg_info->byte_size);
tools/lldb/source/Plugins/Process/elf-core/ThreadElfCore.h 19 alignas(8) uint64_t tv_sec;
20 alignas(8) uint64_t tv_usec;
41 alignas(8) uint64_t pr_sigpend;
42 alignas(8) uint64_t pr_sighold;
100 alignas(8) uint64_t pr_flag;
tools/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunication.cpp 460 uint64_t decompressed_bufsize = ULONG_MAX;
tools/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationClient.cpp 195 uint64_t GDBRemoteCommunicationClient::GetRemoteMaxPacketSize() {
1630 uint64_t start;
1631 uint64_t length;
1656 uint64_t blocksize;
2339 uint64_t recv_amount,
2578 bool GDBRemoteCommunicationClient::SetCurrentThread(uint64_t tid) {
2613 bool GDBRemoteCommunicationClient::SetCurrentThreadForRun(uint64_t tid) {
2899 static uint64_t ParseHostIOPacketResponse(StringExtractorGDBRemote &response,
2900 uint64_t fail_result, Status &error) {
3005 uint64_t GDBRemoteCommunicationClient::ReadFile(lldb::user_id_t fd,
3006 uint64_t offset, void *dst,
3007 uint64_t dst_len,
3027 const uint64_t data_to_write =
3028 std::min<uint64_t>(dst_len, buffer.size());
3038 uint64_t GDBRemoteCommunicationClient::WriteFile(lldb::user_id_t fd,
3039 uint64_t offset,
3041 uint64_t src_len,
3053 uint64_t bytes_written = response.GetU64(UINT64_MAX);
3156 const lldb_private::FileSpec &file_spec, uint64_t &high, uint64_t &low) {
3156 const lldb_private::FileSpec &file_spec, uint64_t &high, uint64_t &low) {
3445 uint64_t type = std::numeric_limits<uint64_t>::max();
3445 uint64_t type = std::numeric_limits<uint64_t>::max();
3446 uint64_t buffersize = std::numeric_limits<uint64_t>::max();
3446 uint64_t buffersize = std::numeric_limits<uint64_t>::max();
3447 uint64_t metabuffersize = std::numeric_limits<uint64_t>::max();
3447 uint64_t metabuffersize = std::numeric_limits<uint64_t>::max();
3459 json_dict->GetValueForKeyAsInteger<uint64_t>("metabuffersize",
3463 json_dict->GetValueForKeyAsInteger<uint64_t>("buffersize", buffersize);
3466 json_dict->GetValueForKeyAsInteger<uint64_t>("type", type);
3578 uint64_t ival = 0;
3582 uint64_t ival = 0;
3603 uint64_t integer;
3698 uint64_t size = GetRemoteMaxPacketSize();
tools/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationClient.h 309 uint32_t max_recv, uint64_t recv_amount, bool json,
319 bool SetCurrentThread(uint64_t tid);
321 bool SetCurrentThreadForRun(uint64_t tid);
331 uint64_t GetRemoteMaxPacketSize();
367 uint64_t ReadFile(lldb::user_id_t fd, uint64_t offset, void *dst,
367 uint64_t ReadFile(lldb::user_id_t fd, uint64_t offset, void *dst,
368 uint64_t dst_len, Status &error);
370 uint64_t WriteFile(lldb::user_id_t fd, uint64_t offset, const void *src,
370 uint64_t WriteFile(lldb::user_id_t fd, uint64_t offset, const void *src,
371 uint64_t src_len, Status &error);
392 bool CalculateMD5(const FileSpec &file_spec, uint64_t &high, uint64_t &low);
392 bool CalculateMD5(const FileSpec &file_spec, uint64_t &high, uint64_t &low);
563 uint64_t m_max_packet_size; // as returned by qSupported
tools/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServerCommon.cpp 642 uint64_t Size;
tools/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServerLLGS.cpp 1043 uint64_t type = std::numeric_limits<uint64_t>::max();
1043 uint64_t type = std::numeric_limits<uint64_t>::max();
1044 uint64_t buffersize = std::numeric_limits<uint64_t>::max();
1044 uint64_t buffersize = std::numeric_limits<uint64_t>::max();
1046 uint64_t metabuffersize = std::numeric_limits<uint64_t>::max();
1046 uint64_t metabuffersize = std::numeric_limits<uint64_t>::max();
1077 if (buffersize == std::numeric_limits<uint64_t>::max() ||
1211 uint64_t byte_count = std::numeric_limits<uint64_t>::max();
1211 uint64_t byte_count = std::numeric_limits<uint64_t>::max();
1213 uint64_t offset = std::numeric_limits<uint64_t>::max();
1213 uint64_t offset = std::numeric_limits<uint64_t>::max();
2288 const uint64_t byte_count = packet.GetHexMaxU64(false, 0);
2369 const uint64_t byte_count = packet.GetHexMaxU64(false, 0);
2387 const uint64_t convert_count = packet.GetHexBytes(buf, 0);
2808 const uint64_t xfer_offset =
2809 offset_data.GetHexMaxU64(false, std::numeric_limits<uint64_t>::max());
2810 if (xfer_offset == std::numeric_limits<uint64_t>::max())
2817 const uint64_t xfer_length =
2818 offset_data.GetHexMaxU64(false, std::numeric_limits<uint64_t>::max());
2819 if (xfer_length == std::numeric_limits<uint64_t>::max())
tools/lldb/source/Plugins/Process/gdb-remote/GDBRemoteRegisterContext.cpp 123 uint64_t new_reg_val) {
563 uint64_t size_including_slice_registers = 0;
564 uint64_t size_not_including_slice_registers = 0;
565 uint64_t size_by_highest_offset = 0;
tools/lldb/source/Plugins/Process/gdb-remote/GDBRemoteRegisterContext.h 86 bool PrivateSetRegisterValue(uint32_t reg, uint64_t val);
tools/lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp 135 uint64_t GetPacketTimeout() {
141 bool SetPacketTimeout(uint64_t timeout) {
308 const uint64_t timeout_seconds =
1688 void ProcessGDBRemote::SetThreadPc(const ThreadSP &thread_sp, uint64_t index) {
1763 std::string &queue_name, QueueKind queue_kind, uint64_t queue_serial) {
2041 uint64_t queue_serial_number = 0;
2198 uint64_t queue_serial_number = 0;
2206 uint64_t x;
2828 uint64_t blocksize = region.GetBlocksize();
3923 uint64_t new_signals_version = m_unix_signals_sp->GetVersion();
4179 const uint64_t reasonable_largeish_default = 128 * 1024;
4180 const uint64_t conservative_default = 512;
4183 uint64_t stub_max_size = m_gdb_comm.GetRemoteMaxPacketSize();
4217 uint64_t user_specified_max) {
4982 std::map<uint64_t, uint32_t> new_thread_id_to_used_usec_map;
4991 uint64_t thread_id = threadIDHexExtractor.GetHexMaxU64(false, 0);
5010 std::map<uint64_t, uint32_t>::iterator iterator =
5164 const uint64_t max_send = m_max_send.GetOptionValue().GetCurrentValue();
5165 const uint64_t max_recv = m_max_recv.GetOptionValue().GetCurrentValue();
5167 const uint64_t k_recv_amount =
5247 uint64_t user_specified_max = strtoul(packet_size, nullptr, 10);
tools/lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.h 193 void SetUserSpecifiedMaxMemoryTransferSize(uint64_t user_specified_max);
276 uint64_t m_max_memory_size; // The maximum number of bytes to read/write when
278 uint64_t m_remote_stub_max_memory_size; // The maximum memory size the remote
370 lldb::QueueKind queue_kind, uint64_t queue_serial);
411 std::map<uint64_t, uint32_t> m_thread_id_to_used_usec_map;
412 uint64_t m_last_signals_version = 0;
425 void SetThreadPc(const lldb::ThreadSP &thread_sp, uint64_t index);
tools/lldb/source/Plugins/Process/gdb-remote/ThreadGDBRemote.cpp 70 QueueKind queue_kind, uint64_t queue_serial,
328 bool ThreadGDBRemote::PrivateSetRegisterValue(uint32_t reg, uint64_t regval) {
tools/lldb/source/Plugins/Process/gdb-remote/ThreadGDBRemote.h 81 uint64_t queue_serial, lldb::addr_t dispatch_queue_t,
100 uint64_t
106 bool PrivateSetRegisterValue(uint32_t reg, uint64_t regval);
tools/lldb/source/Plugins/Process/minidump/MinidumpParser.cpp 365 uint64_t base_rva;
499 uint64_t base_rva;
tools/lldb/source/Plugins/Process/minidump/MinidumpTypes.cpp 60 std::pair<llvm::ArrayRef<MinidumpMemoryDescriptor64>, uint64_t>
tools/lldb/source/Plugins/Process/minidump/MinidumpTypes.h 82 static std::pair<llvm::ArrayRef<MinidumpMemoryDescriptor64>, uint64_t>
tools/lldb/source/Plugins/Process/minidump/ProcessMinidump.cpp 414 const uint64_t load_addr = module->BaseOfImage;
415 const uint64_t load_size = module->SizeOfImage;
tools/lldb/source/Plugins/Process/minidump/RegisterContextMinidump_ARM.h 68 uint64_t lo;
69 uint64_t hi;
76 uint64_t fpscr;
78 uint64_t d[32];
tools/lldb/source/Plugins/Process/minidump/RegisterContextMinidump_ARM64.h 61 uint64_t context_flags;
62 uint64_t x[32];
63 uint64_t pc;
tools/lldb/source/Plugins/ScriptInterpreter/Python/PythonDataObjects.cpp 479 const uint64_t uval = PyLong_AsUnsignedLongLong(m_py_obj);
tools/lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp 2680 uint64_t replace_all(std::string &str, const std::string &oldStr,
2683 uint64_t matches = 0;
tools/lldb/source/Plugins/StructuredData/DarwinLog/StructuredDataDarwinLog.cpp 45 const uint64_t NANOS_PER_MICRO = 1000;
46 const uint64_t NANOS_PER_MILLI = NANOS_PER_MICRO * 1000;
47 const uint64_t NANOS_PER_SECOND = NANOS_PER_MILLI * 1000;
48 const uint64_t NANOS_PER_MINUTE = NANOS_PER_SECOND * 60;
49 const uint64_t NANOS_PER_HOUR = NANOS_PER_MINUTE * 60;
1211 uint64_t timestamp = 0;
1661 uint64_t timestamp) {
1662 const uint64_t delta_nanos = timestamp - m_first_timestamp_seen;
1664 const uint64_t hours = delta_nanos / NANOS_PER_HOUR;
1665 uint64_t nanos_remaining = delta_nanos % NANOS_PER_HOUR;
1667 const uint64_t minutes = nanos_remaining / NANOS_PER_MINUTE;
1670 const uint64_t seconds = nanos_remaining / NANOS_PER_SECOND;
1709 uint64_t timestamp = 0;
tools/lldb/source/Plugins/StructuredData/DarwinLog/StructuredDataDarwinLog.h 96 void DumpTimestamp(Stream &stream, uint64_t timestamp);
110 uint64_t m_first_timestamp_seen;
tools/lldb/source/Plugins/SymbolFile/DWARF/DWARFASTParserClang.cpp 89 uint64_t bit_size;
90 uint64_t bit_offset;
105 bool NextBitfieldOffsetIsValid(const uint64_t next_bit_offset) const {
1214 uint64_t array_element_bit_stride =
1217 uint64_t num_elements = 0;
1253 if (llvm::Optional<uint64_t> clang_type_size =
1779 uint64_t uval64 = 0;
1831 llvm::Optional<uint64_t> size = clang_type.GetBitSize(nullptr);
2117 llvm::DenseMap<const clang::FieldDecl *, uint64_t>::const_iterator
2463 const uint64_t parent_byte_size =
2465 const uint64_t parent_bit_size =
2498 llvm::Optional<uint64_t> byte_size;
2500 uint64_t data_bit_offset = UINT64_MAX;
2668 uint64_t field_bit_offset =
2751 const uint64_t character_width = 8;
2752 const uint64_t word_width = 32;
2770 uint64_t last_field_end = 0;
2825 uint64_t member_array_size;
2832 uint64_t parent_byte_size =
3207 uint64_t num_elements = 0;
3208 uint64_t lower_bound = 0;
3209 uint64_t upper_bound = 0;
tools/lldb/source/Plugins/SymbolFile/DWARF/DWARFASTParserClang.h 196 llvm::Optional<uint64_t> byte_size;
tools/lldb/source/Plugins/SymbolFile/DWARF/DWARFBaseDIE.cpp 48 uint64_t DWARFBaseDIE::GetAttributeValueAsUnsigned(const dw_attr_t attr,
49 uint64_t fail_value) const {
56 uint64_t DWARFBaseDIE::GetAttributeValueAsAddress(const dw_attr_t attr,
57 uint64_t fail_value) const {
tools/lldb/source/Plugins/SymbolFile/DWARF/DWARFBaseDIE.h 113 uint64_t GetAttributeValueAsUnsigned(const dw_attr_t attr,
114 uint64_t fail_value) const;
116 uint64_t GetAttributeValueAsAddress(const dw_attr_t attr,
117 uint64_t fail_value) const;
tools/lldb/source/Plugins/SymbolFile/DWARF/DWARFDataExtractor.cpp 14 uint64_t
tools/lldb/source/Plugins/SymbolFile/DWARF/DWARFDataExtractor.h 26 uint64_t GetDWARFInitialLength(lldb::offset_t *offset_ptr) const;
tools/lldb/source/Plugins/SymbolFile/DWARF/DWARFDebugInfo.cpp 165 DWARFTypeUnit *DWARFDebugInfo::GetTypeUnitForHash(uint64_t hash) {
tools/lldb/source/Plugins/SymbolFile/DWARF/DWARFDebugInfo.h 50 DWARFTypeUnit *GetTypeUnitForHash(uint64_t hash);
74 std::vector<std::pair<uint64_t, uint32_t>> m_type_hash_to_unit_index;
tools/lldb/source/Plugins/SymbolFile/DWARF/DWARFDebugInfoEntry.cpp 45 const uint64_t abbr_idx = data.GetULEB128(offset_ptr);
510 uint64_t debug_loc_offset = form_value.Unsigned();
689 uint64_t DWARFDebugInfoEntry::GetAttributeValueAsUnsigned(
690 const DWARFUnit *cu, const dw_attr_t attr, uint64_t fail_value,
713 uint64_t DWARFDebugInfoEntry::GetAttributeValueAsAddress(
714 const DWARFUnit *cu, const dw_attr_t attr, uint64_t fail_value,
730 const DWARFUnit *cu, dw_addr_t lo_pc, uint64_t fail_value,
754 uint64_t fail_value, bool check_specification_or_abstract_origin) const {
tools/lldb/source/Plugins/SymbolFile/DWARF/DWARFDebugInfoEntry.h 68 uint64_t GetAttributeValueAsUnsigned(
69 const DWARFUnit *cu, const dw_attr_t attr, uint64_t fail_value,
76 uint64_t GetAttributeValueAsAddress(
77 const DWARFUnit *cu, const dw_attr_t attr, uint64_t fail_value,
81 GetAttributeHighPC(const DWARFUnit *cu, dw_addr_t lo_pc, uint64_t fail_value,
86 uint64_t fail_value,
tools/lldb/source/Plugins/SymbolFile/DWARF/DWARFDebugMacro.cpp 50 uint64_t operand_count = debug_macro_data.GetULEB128(offset);
52 for (uint64_t j = 0; j < operand_count; j++) {
tools/lldb/source/Plugins/SymbolFile/DWARF/DWARFDebugMacro.h 48 uint64_t m_debug_line_offset;
tools/lldb/source/Plugins/SymbolFile/DWARF/DWARFDebugRanges.cpp 193 static uint64_t ReadAddressFromDebugAddrSection(const DWARFUnit *cu,
255 uint64_t length = data.GetU32(&offset);
283 uint64_t DWARFDebugRngLists::GetOffset(size_t Index) const {
tools/lldb/source/Plugins/SymbolFile/DWARF/DWARFDebugRanges.h 55 uint64_t value0;
56 uint64_t value1;
63 uint64_t GetOffset(size_t Index) const;
70 std::vector<uint64_t> Offsets;
tools/lldb/source/Plugins/SymbolFile/DWARF/DWARFFormValue.cpp 331 uint64_t uvalue = Unsigned();
336 s.Address(uvalue, sizeof(uint64_t));
412 s.Address(uvalue, sizeof(uint64_t) * 2);
511 uint64_t value = m_value.value.uval;
555 uint64_t DWARFFormValue::Reference(dw_offset_t base_offset) const {
556 uint64_t value = m_value.value.uval;
624 uint64_t a = a_value.Unsigned();
625 uint64_t b = b_value.Unsigned();
663 uint64_t a_len = a_value.Unsigned();
664 uint64_t b_len = b_value.Unsigned();
678 uint64_t a = a_value.m_value.value.uval;
679 uint64_t b = b_value.m_value.value.uval;
tools/lldb/source/Plugins/SymbolFile/DWARF/DWARFFormValue.h 26 uint64_t uval;
61 uint64_t Reference(dw_offset_t offset) const;
63 uint64_t Unsigned() const { return m_value.value.uval; }
64 void SetUnsigned(uint64_t uval) { m_value.value.uval = uval; }
tools/lldb/source/Plugins/SymbolFile/DWARF/DWARFTypeUnit.h 21 uint64_t GetTypeHash() { return m_header.GetTypeHash(); }
tools/lldb/source/Plugins/SymbolFile/DWARF/DWARFUnit.cpp 269 uint64_t length = strOffsets.GetU32(&baseOffset);
285 llvm::Optional<uint64_t> addr_base, gnu_addr_base, ranges_base,
340 uint64_t main_dwo_id =
342 uint64_t sub_dwo_id =
585 LanguageType DWARFUnit::LanguageTypeFromDWARF(uint64_t val) {
tools/lldb/source/Plugins/SymbolFile/DWARF/DWARFUnit.h 45 uint64_t m_type_hash = 0;
48 uint64_t m_dwo_id = 0;
59 uint64_t GetTypeHash() const { return m_type_hash; }
194 static lldb::LanguageType LanguageTypeFromDWARF(uint64_t val);
tools/lldb/source/Plugins/SymbolFile/DWARF/DebugNamesDWARFIndex.cpp 48 llvm::Optional<uint64_t> cu_offset = entry.getCUOffset();
62 if (llvm::Optional<uint64_t> die_offset = entry.getDIEUnitOffset())
108 uint64_t entry_offset = nte.getEntryOffset();
125 uint64_t cu_offset = cu.GetOffset();
128 uint64_t entry_offset = nte.getEntryOffset();
251 uint64_t entry_offset = nte.getEntryOffset();
tools/lldb/source/Plugins/SymbolFile/DWARF/SymbolFileDWARF.cpp 490 uint64_t debug_abbrev_file_size = 0;
491 uint64_t debug_info_file_size = 0;
492 uint64_t debug_line_file_size = 0;
894 uint64_t line_table_offset = offset;
1556 uint64_t dwo_id =
3732 uint64_t has_call_edges =
tools/lldb/source/Plugins/SymbolFile/DWARF/SymbolFileDWARFDebugMap.cpp 720 const uint64_t oso_idx = GetOSOIndexFromUserID(type_uid);
730 const uint64_t oso_idx = GetOSOIndexFromUserID(type_uid);
1284 const uint64_t oso_idx = GetOSOIndexFromUserID(type_uid);
1293 const uint64_t oso_idx = GetOSOIndexFromUserID(type_uid);
tools/lldb/source/Plugins/SymbolFile/DWARF/SymbolFileDWARFDwoDwp.cpp 25 uint64_t dwo_id)
tools/lldb/source/Plugins/SymbolFile/DWARF/SymbolFileDWARFDwoDwp.h 19 uint64_t dwo_id);
26 uint64_t m_dwo_id;
tools/lldb/source/Plugins/SymbolFile/DWARF/SymbolFileDWARFDwp.cpp 85 uint64_t dwo_id) {
91 uint64_t dwo_id, lldb::SectionType sect_type,
tools/lldb/source/Plugins/SymbolFile/DWARF/SymbolFileDWARFDwp.h 27 GetSymbolFileForDwoId(DWARFCompileUnit &dwarf_cu, uint64_t dwo_id);
29 bool LoadSectionData(uint64_t dwo_id, lldb::SectionType sect_type,
47 std::map<uint64_t, const llvm::DWARFUnitIndex::Entry *> m_debug_cu_index_map;
tools/lldb/source/Plugins/SymbolFile/NativePDB/PdbAstBuilder.cpp 1120 uint64_t element_count =
tools/lldb/source/Plugins/SymbolFile/NativePDB/PdbIndex.cpp 99 llvm::IntervalMap<uint64_t, uint16_t> &m_imap;
102 Visitor(PdbIndex &ctx, llvm::IntervalMap<uint64_t, uint16_t> &imap)
109 uint64_t va = m_ctx.MakeVirtualAddress(C.ISect, C.Off);
110 uint64_t end = va + C.Size;
tools/lldb/source/Plugins/SymbolFile/NativePDB/PdbSymUid.cpp 17 uint64_t tag : 4;
18 uint64_t data : 60;
22 uint64_t tag : 4;
23 uint64_t modi : 16;
24 uint64_t unused : 44;
28 uint64_t tag : 4;
29 uint64_t modi : 16;
30 uint64_t offset : 32;
31 uint64_t unused : 12;
35 uint64_t tag : 4;
36 uint64_t offset : 32;
37 uint64_t pub : 1;
38 uint64_t unused : 27;
42 uint64_t tag : 4;
43 uint64_t index : 32;
44 uint64_t ipi : 1;
45 uint64_t unused : 27;
49 uint64_t tag : 4;
50 uint64_t index : 32;
51 uint64_t offset : 16;
52 uint64_t unused : 12;
73 m_repr = repr_cast<uint64_t>(repr);
82 m_repr = repr_cast<uint64_t>(repr);
91 m_repr = repr_cast<uint64_t>(repr);
100 m_repr = repr_cast<uint64_t>(repr);
109 m_repr = repr_cast<uint64_t>(repr);
tools/lldb/source/Plugins/SymbolFile/NativePDB/PdbSymUid.h 92 uint64_t m_repr = 0;
96 PdbSymUid(uint64_t repr) : m_repr(repr) {}
103 uint64_t toOpaqueId() const { return m_repr; }
114 template <typename T> uint64_t toOpaqueUid(const T &cid) {
tools/lldb/source/Plugins/SymbolFile/NativePDB/SymbolFileNativePDB.cpp 488 uint64_t uid = toOpaqueUid(PdbTypeSymId(ti, false));
719 uint64_t best_uid = toOpaqueUid(best_decl_id);
1034 uint64_t addr = base_addr + cur.Offset;
1088 uint64_t virtual_addr =
tools/lldb/source/Plugins/SymbolFile/NativePDB/UdtRecordCompleter.cpp 54 llvm::Optional<uint64_t> vtable_idx) {
147 uint64_t offset = data_member.FieldOffset * 8;
tools/lldb/source/Plugins/SymbolFile/NativePDB/UdtRecordCompleter.h 39 std::pair<uint64_t, std::unique_ptr<clang::CXXBaseSpecifier>>;
72 llvm::Optional<uint64_t> vtable_idx = llvm::Optional<uint64_t>());
tools/lldb/source/Plugins/SymbolFile/PDB/PDBASTParser.cpp 479 uint64_t bytes = enum_type->getLength();
577 llvm::Optional<uint64_t> size;
659 llvm::Optional<uint64_t> bytes;
660 if (uint64_t size = array_type->getLength())
697 llvm::Optional<uint64_t> bytes;
698 if (uint64_t size = builtin_type->getLength())
tools/lldb/source/Plugins/SymbolFile/PDB/SymbolFilePDB.cpp 387 uint64_t func_file_vm_addr, const llvm::pdb::PDBSymbol *pdb_symbol,
1206 std::map<uint64_t, uint32_t> addr_ids;
1795 uint64_t prev_addr;
1803 uint64_t lno = line->getLineNumber();
1804 uint64_t addr = line->getVirtualAddress();
tools/lldb/source/Plugins/SymbolFile/PDB/SymbolFilePDB.h 240 llvm::DenseMap<uint64_t, std::string> m_public_names;
tools/lldb/source/Plugins/SystemRuntime/MacOSX/AppleGetItemInfoHandler.cpp 225 AppleGetItemInfoHandler::GetItemInfo(Thread &thread, uint64_t item,
227 uint64_t page_to_free_size,
tools/lldb/source/Plugins/SystemRuntime/MacOSX/AppleGetItemInfoHandler.h 90 uint64_t page_to_free_size,
tools/lldb/source/Plugins/SystemRuntime/MacOSX/AppleGetPendingItemsHandler.cpp 226 uint64_t page_to_free_size,
tools/lldb/source/Plugins/SystemRuntime/MacOSX/AppleGetPendingItemsHandler.h 56 uint64_t count; /* the number of pending items included in the buffer */
94 uint64_t page_to_free_size,
tools/lldb/source/Plugins/SystemRuntime/MacOSX/AppleGetQueuesHandler.cpp 229 uint64_t page_to_free_size,
tools/lldb/source/Plugins/SystemRuntime/MacOSX/AppleGetQueuesHandler.h 52 uint64_t count; /* the number of queues included in the queues buffer */
87 uint64_t page_to_free_size,
tools/lldb/source/Plugins/SystemRuntime/MacOSX/AppleGetThreadItemInfoHandler.cpp 235 uint64_t page_to_free_size,
tools/lldb/source/Plugins/SystemRuntime/MacOSX/AppleGetThreadItemInfoHandler.h 88 uint64_t page_to_free_size,
tools/lldb/source/Plugins/SystemRuntime/MacOSX/SystemRuntimeMacOSX.cpp 177 uint64_t width = m_process->ReadUnsignedIntegerFromMemory(
246 uint64_t dispatch_queue_addr =
877 lldb::addr_t queues_buffer, uint64_t queues_buffer_size, uint64_t count,
877 lldb::addr_t queues_buffer, uint64_t queues_buffer_size, uint64_t count,
894 uint64_t queues_read = 0;
916 uint64_t serialnum = extractor.GetU64(&offset);
tools/lldb/source/Plugins/SystemRuntime/MacOSX/SystemRuntimeMacOSX.h 71 uint64_t queues_buffer_size, uint64_t count,
71 uint64_t queues_buffer_size, uint64_t count,
75 uint64_t items_buffer_size,
76 uint64_t count,
126 uint64_t enqueuing_thread_id;
127 uint64_t enqueuing_queue_serialnum;
128 uint64_t target_queue_serialnum;
206 uint64_t dti_queue_index;
207 uint64_t dti_voucher_index;
208 uint64_t dti_qos_class_index;
274 uint64_t m_page_to_free_size;
tools/lldb/source/Plugins/UnwindAssembly/InstEmulation/UnwindAssemblyInstEmulation.cpp 331 uint64_t UnwindAssemblyInstEmulation::MakeRegisterKindValuePair(
348 const uint64_t reg_id = MakeRegisterKindValuePair(reg_info);
tools/lldb/source/Plugins/UnwindAssembly/InstEmulation/UnwindAssemblyInstEmulation.h 120 static uint64_t
133 typedef std::map<uint64_t, uint64_t> PushedRegisterToAddrMap;
133 typedef std::map<uint64_t, uint64_t> PushedRegisterToAddrMap;
134 uint64_t m_initial_sp;
137 typedef std::map<uint64_t, lldb_private::RegisterValue> RegisterValueMap;
tools/lldb/source/Symbol/ArmUnwindInfo.cpp 85 uint64_t ArmUnwindInfo::GetULEB128(const uint32_t *data, uint16_t &offset,
87 uint64_t result = 0;
227 uint64_t uleb128 = GetULEB128(data, byte_offset, byte_count);
tools/lldb/source/Symbol/ClangASTContext.cpp 838 static inline bool QualTypeMatchesBitSize(const uint64_t bit_size,
840 uint64_t qual_type_bit_size = ast->getTypeSize(qual_type);
2827 uint64_t *size, bool *is_incomplete) {
2916 CompilerType *element_type, uint64_t *size) {
3095 uint64_t base_bitwidth = 0;
3099 uint64_t field_bitwidth = getASTContext()->getTypeSize(qual_type);
4417 uint64_t *stride) {
4432 if (Optional<uint64_t> size = element_type.GetByteSize(nullptr))
4441 uint64_t size) {
4954 Optional<uint64_t>
4975 uint64_t bit_size = 0;
5029 uint64_t &count) {
5910 std::string &name, uint64_t *bit_offset_ptr,
5961 uint64_t *bit_offset_ptr,
6570 ValueObject *valobj, uint64_t &language_flags) {
6666 Optional<uint64_t> size =
6670 uint64_t base_class_clang_type_bit_size = *size;
6699 Optional<uint64_t> size =
6875 if (Optional<uint64_t> size =
6899 if (Optional<uint64_t> size =
6919 if (Optional<uint64_t> size =
6958 if (Optional<uint64_t> size =
6995 if (Optional<uint64_t> size =
9202 const uint64_t element_count = array->getSize().getLimitedValue();
9209 uint64_t element_byte_size = field_type_info.Width / 8;
9275 uint64_t typedef_byte_size = typedef_type_info.Width / 8;
9301 uint64_t elaborated_byte_size = elaborated_type_info.Width / 8;
9327 uint64_t elaborated_byte_size = elaborated_type_info.Width / 8;
9353 uint64_t desugar_byte_size = desugar_type_info.Width / 8;
9392 const uint64_t enum_svalue = data.GetMaxS64Bitfield(
9395 uint64_t covered_bits = 0;
9405 uint64_t val = enumerator->getInitVal().getSExtValue();
9420 const uint64_t enum_uvalue = data.GetMaxU64Bitfield(
9433 uint64_t remaining_value = enum_uvalue;
9434 std::vector<std::pair<uint64_t, llvm::StringRef>> values;
9494 uint64_t typedef_byte_size = typedef_type_info.Width / 8;
9862 void *baton, const clang::RecordDecl *record_decl, uint64_t &bit_size,
9863 uint64_t &alignment,
9864 llvm::DenseMap<const clang::FieldDecl *, uint64_t> &field_offsets,
tools/lldb/source/Symbol/ClangASTImporter.cpp 571 const clang::RecordDecl *record_decl, uint64_t &bit_size,
572 uint64_t &alignment,
573 llvm::DenseMap<const clang::FieldDecl *, uint64_t> &field_offsets,
tools/lldb/source/Symbol/ClangExternalASTSourceCallbacks.cpp 76 const clang::RecordDecl *Record, uint64_t &Size, uint64_t &Alignment,
76 const clang::RecordDecl *Record, uint64_t &Size, uint64_t &Alignment,
77 llvm::DenseMap<const clang::FieldDecl *, uint64_t> &FieldOffsets,
tools/lldb/source/Symbol/ClangExternalASTSourceCommon.cpp 16 uint64_t g_TotalSizeOfMetadata = 0;
68 uint64_t orig_size = m_metadata.size();
70 uint64_t new_size = m_metadata.size();
85 uint64_t isa_ptr = GetISAPtr();
tools/lldb/source/Symbol/CompactUnwindInfo.cpp 825 uint64_t large_stack_size = process_sp->ReadUnsignedIntegerFromMemory(
1090 uint64_t large_stack_size = process_sp->ReadUnsignedIntegerFromMemory(
tools/lldb/source/Symbol/CompilerType.cpp 49 bool CompilerType::IsArrayType(CompilerType *element_type_ptr, uint64_t *size,
65 uint64_t *size) const {
335 CompilerType CompilerType::GetArrayElementType(uint64_t *stride) const {
342 CompilerType CompilerType::GetArrayType(uint64_t size) const {
477 llvm::Optional<uint64_t>
484 llvm::Optional<uint64_t>
486 if (llvm::Optional<uint64_t> bit_size = GetBitSize(exe_scope))
497 lldb::Encoding CompilerType::GetEncoding(uint64_t &count) const {
540 uint64_t *bit_offset_ptr,
581 uint64_t *bit_offset_ptr, uint32_t *bitfield_bit_size_ptr,
605 uint64_t &language_flags) const {
786 uint64_t count = 0;
792 llvm::Optional<uint64_t> byte_size = GetByteSize(nullptr);
803 uint64_t uval64 = data.GetMaxU64(&offset, *byte_size);
838 uint64_t u64;
844 } else if (sizeof(float) == sizeof(uint64_t)) {
854 } else if (sizeof(double) == sizeof(uint64_t)) {
864 } else if (sizeof(long double) == sizeof(uint64_t)) {
884 uint64_t count = 0;
890 llvm::Optional<uint64_t> bit_width = GetBitSize(nullptr);
898 const uint64_t byte_size = (*bit_width + 7) / 8;
tools/lldb/source/Symbol/DWARFCallFrameInfo.cpp 31 static uint64_t
39 uint64_t baseAddress = 0;
40 uint64_t addressValue = 0;
137 uint64_t sign_bit = 1ull << ((addr_size * 8ull) - 1ull);
139 uint64_t mask = ~sign_bit + 1;
tools/lldb/source/Symbol/ObjectFile.cpp 524 const uint64_t section_size = section->GetByteSize();
525 const uint64_t section_bytes_left = section_size - section_offset;
526 uint64_t section_dst_len = dst_len;
682 DataBufferSP ObjectFile::MapFileData(const FileSpec &file, uint64_t Size,
683 uint64_t Offset) {
tools/lldb/source/Symbol/Type.cpp 143 ConstString name, llvm::Optional<uint64_t> byte_size,
335 llvm::Optional<uint64_t> Type::GetByteSize() {
350 if (llvm::Optional<uint64_t> size = encoding_type->GetByteSize()) {
356 if (llvm::Optional<uint64_t> size =
397 lldb::Encoding Type::GetEncoding(uint64_t &count) {
428 const uint64_t byte_size = GetByteSize().getValueOr(0);
tools/lldb/source/Symbol/TypeSystem.cpp 80 uint64_t size) {
tools/lldb/source/Target/Platform.cpp 1249 uint64_t offset = 0;
1256 const uint64_t bytes_written =
1304 uint64_t flags_platform = 0;
1331 bool Platform::CalculateMD5(const FileSpec &file_spec, uint64_t &low,
1332 uint64_t &high) {
1625 const uint64_t src_offset,
1626 const uint64_t src_size,
1649 uint64_t total_bytes_read = 0;
1653 const uint64_t n_read =
tools/lldb/source/Target/Process.cpp 159 uint64_t ProcessProperties::GetMemoryCacheLineSize() const {
245 uint64_t value = m_collection_sp->GetPropertyAtIndexAsUInt64(
898 uint64_t signo = thread->GetStopInfo()->GetValue();
1276 uint32_t Process::GetNextThreadIndexID(uint64_t thread_id) {
1280 bool Process::HasAssignedIndexIDToThread(uint64_t thread_id) {
1285 uint32_t Process::AssignIndexIDToThread(uint64_t thread_id) {
1287 std::map<uint64_t, uint32_t>::iterator iterator =
2108 uint64_t Process::ReadUnsignedIntegerFromMemory(lldb::addr_t vm_addr,
2110 uint64_t fail_value,
2190 uint64_t bytes_written = 0;
2263 uint64_t uval = 0;
2340 uint64_t allocated_memory = AllocateMemory(
5667 void Process::PrintWarning(uint64_t warning_type, const void *repeat_key,
tools/lldb/source/Target/RegisterContext.cpp 121 uint64_t RegisterContext::GetPC(uint64_t fail_value) {
121 uint64_t RegisterContext::GetPC(uint64_t fail_value) {
124 uint64_t pc = ReadRegisterAsUnsigned(reg, fail_value);
138 bool RegisterContext::SetPC(uint64_t pc) {
164 uint64_t RegisterContext::GetSP(uint64_t fail_value) {
164 uint64_t RegisterContext::GetSP(uint64_t fail_value) {
170 bool RegisterContext::SetSP(uint64_t sp) {
176 uint64_t RegisterContext::GetFP(uint64_t fail_value) {
176 uint64_t RegisterContext::GetFP(uint64_t fail_value) {
182 bool RegisterContext::SetFP(uint64_t fp) {
188 uint64_t RegisterContext::GetReturnAddress(uint64_t fail_value) {
188 uint64_t RegisterContext::GetReturnAddress(uint64_t fail_value) {
194 uint64_t RegisterContext::GetFlags(uint64_t fail_value) {
194 uint64_t RegisterContext::GetFlags(uint64_t fail_value) {
200 uint64_t RegisterContext::ReadRegisterAsUnsigned(uint32_t reg,
201 uint64_t fail_value) {
207 uint64_t RegisterContext::ReadRegisterAsUnsigned(const RegisterInfo *reg_info,
208 uint64_t fail_value) {
217 bool RegisterContext::WriteRegisterFromUnsigned(uint32_t reg, uint64_t uval) {
224 uint64_t uval) {
tools/lldb/source/Target/RemoteAwarePlatform.cpp 81 uint64_t RemoteAwarePlatform::ReadFile(lldb::user_id_t fd, uint64_t offset,
81 uint64_t RemoteAwarePlatform::ReadFile(lldb::user_id_t fd, uint64_t offset,
82 void *dst, uint64_t dst_len,
91 uint64_t RemoteAwarePlatform::WriteFile(lldb::user_id_t fd, uint64_t offset,
91 uint64_t RemoteAwarePlatform::WriteFile(lldb::user_id_t fd, uint64_t offset,
92 const void *src, uint64_t src_len,
103 uint64_t Size;
138 bool RemoteAwarePlatform::CalculateMD5(const FileSpec &file_spec, uint64_t &low,
139 uint64_t &high) {
tools/lldb/source/Target/StopInfo.cpp 30 StopInfo::StopInfo(Thread &thread, uint64_t value)
1192 uint64_t address = strtoull(address_loc, nullptr, 0);
tools/lldb/source/Target/Target.cpp 1881 uint64_t uval;
1906 uint64_t Target::ReadUnsignedIntegerFromMemory(const Address &addr,
1909 uint64_t fail_value,
tools/lldb/source/Target/Thread.cpp 150 uint64_t ThreadProperties::GetMaxBacktraceDepth() const {
2089 uint64_t value = m_stop_info_sp->GetValue();
tools/lldb/source/Target/ThreadPlanCallFunction.cpp 287 uint64_t break_site_id = m_real_stop_info_sp->GetValue();
tools/lldb/source/Target/ThreadPlanStepInstruction.cpp 101 uint64_t pc = m_thread.GetRegisterContext()->GetPC(0);
tools/lldb/source/Target/UnixSignals.cpp 292 uint64_t UnixSignals::GetVersion() const { return m_version; }
tools/lldb/source/Utility/DataBufferHeap.cpp 45 uint64_t DataBufferHeap::GetByteSize() const { return m_data.size(); }
49 uint64_t DataBufferHeap::SetByteSize(uint64_t new_size) {
49 uint64_t DataBufferHeap::SetByteSize(uint64_t new_size) {
54 void DataBufferHeap::CopyData(const void *src, uint64_t src_len) {
62 void DataBufferHeap::AppendData(const void *src, uint64_t src_len) {
tools/lldb/source/Utility/DataEncoder.cpp 178 uint32_t DataEncoder::PutU64(uint32_t offset, uint64_t value) {
199 uint64_t value) {
tools/lldb/source/Utility/DataExtractor.cpp 56 static inline uint64_t ReadInt64(const unsigned char *ptr,
58 uint64_t value;
83 static inline uint64_t ReadSwapInt64(const unsigned char *ptr,
85 uint64_t value;
102 static inline uint64_t ReadSwapInt64(const void *ptr) {
103 uint64_t value;
108 static inline uint64_t ReadMaxInt64(const uint8_t *data, size_t byte_size,
110 uint64_t res = 0;
384 uint64_t DataExtractor::GetU64_unchecked(offset_t *offset_ptr) const {
385 uint64_t val;
478 uint64_t DataExtractor::GetU64(offset_t *offset_ptr) const {
479 uint64_t val = 0;
499 const size_t src_size = sizeof(uint64_t) * count;
500 const uint64_t *src =
504 uint64_t *dst_pos = static_cast<uint64_t *>(void_dst);
505 uint64_t *dst_end = dst_pos + count;
506 const uint64_t *src_pos = src;
528 uint64_t DataExtractor::GetMaxU64(offset_t *offset_ptr,
552 uint64_t DataExtractor::GetMaxU64_unchecked(offset_t *offset_ptr,
564 uint64_t res = ReadMaxInt64(&m_start[*offset_ptr], byte_size, m_byte_order);
573 uint64_t u64 = GetMaxU64(offset_ptr, byte_size);
577 uint64_t DataExtractor::GetMaxU64Bitfield(offset_t *offset_ptr, size_t size,
580 uint64_t uval64 = GetMaxU64(offset_ptr, size);
587 uint64_t bitfield_mask = ((1ul << bitfield_bit_size) - 1);
605 uint64_t bitfield_mask =
672 uint64_t DataExtractor::GetAddress(offset_t *offset_ptr) const {
677 uint64_t DataExtractor::GetAddress_unchecked(offset_t *offset_ptr) const {
688 uint64_t DataExtractor::GetPointer(offset_t *offset_ptr) const {
876 uint64_t DataExtractor::GetULEB128(offset_t *offset_ptr) const {
884 uint64_t result = *src++;
976 offset_t length, uint64_t base_addr,
1104 uint64_t max_data) {
tools/lldb/source/Utility/RegisterValue.cpp 160 if (buffer.length % sizeof(uint64_t) == 0) {
162 const auto length_in_uint64 = buffer.length / sizeof(uint64_t);
247 uint64_t data1 = src.GetU64(&src_offset);
248 uint64_t data2 = src.GetU64(&src_offset);
348 uint64_t uval64;
359 if (byte_size > sizeof(uint64_t)) {
561 uint64_t RegisterValue::GetAsUInt64(uint64_t fail_value,
561 uint64_t RegisterValue::GetAsUInt64(uint64_t fail_value,
731 bool RegisterValue::SetUInt(uint64_t uint, uint32_t byte_size) {
tools/lldb/source/Utility/Scalar.cpp 101 const uint64_t *apint_words;
105 static uint64_t swapped_words[8];
2419 if (byte_size <= sizeof(uint64_t)) {
2420 uint64_t uval64;
tools/lldb/source/Utility/Stream.cpp 53 size_t Stream::PutULEB128(uint64_t uval) {
79 void Stream::Address(uint64_t addr, uint32_t addr_size, const char *prefix,
92 void Stream::AddressRange(uint64_t lo_addr, uint64_t hi_addr,
92 void Stream::AddressRange(uint64_t lo_addr, uint64_t hi_addr,
182 Stream &Stream::operator<<(uint64_t uval) {
322 size_t Stream::PutHex64(uint64_t uvalue, ByteOrder byte_order) {
338 size_t Stream::PutMaxHex64(uint64_t uvalue, size_t byte_size,
tools/lldb/source/Utility/StreamCallback.cpp 22 uint64_t StreamCallback::current_pos() const { return 0; }
tools/lldb/source/Utility/StringExtractor.cpp 124 uint64_t StringExtractor::GetU64(uint64_t fail_value, int base) {
124 uint64_t StringExtractor::GetU64(uint64_t fail_value, int base) {
129 uint64_t result = ::strtoull(cstr, &end, base);
205 uint64_t StringExtractor::GetHexMaxU64(bool little_endian,
206 uint64_t fail_value) {
207 uint64_t result = 0;
215 if (nibble_count >= (sizeof(uint64_t) * 2)) {
239 if (nibble_count >= (sizeof(uint64_t) * 2)) {
tools/lldb/source/Utility/StructuredData.cpp 121 uint64_t val = strtoul(match.second.str().c_str(), nullptr, 10);
tools/lldb/source/Utility/Timer.cpp 110 uint64_t nanos;
111 uint64_t nanos_total;
112 uint64_t count;
132 uint64_t nanos = i->m_nanos.load(std::memory_order_acquire);
134 uint64_t nanos_total = i->m_nanos_total.load(std::memory_order_acquire);
135 uint64_t count = i->m_count.load(std::memory_order_acquire);
tools/lldb/tools/intel-features/intel-mpx/cli-wrapper-mpxtable.cpp 23 static bool GetPtr(char *cptr, uint64_t &ptr, lldb::SBFrame &frame,
60 uint64_t value, uint64_t meta,
60 uint64_t value, uint64_t meta,
75 static bool GetBTEntryAddr(uint64_t bndcfgu, uint64_t ptr,
75 static bool GetBTEntryAddr(uint64_t bndcfgu, uint64_t ptr,
151 static bool GetBTEntry(uint64_t bndcfgu, uint64_t ptr, lldb::SBTarget &target,
151 static bool GetBTEntry(uint64_t bndcfgu, uint64_t ptr, lldb::SBTarget &target,
178 uint64_t value;
179 uint64_t meta;
205 static std::vector<uint8_t> uIntToU8(uint64_t input, size_t size) {
214 static bool SetBTEntry(uint64_t bndcfgu, uint64_t ptr, lldb::addr_t lbound,
214 static bool SetBTEntry(uint64_t bndcfgu, uint64_t ptr, lldb::addr_t lbound,
250 llvm::Triple::ArchType &arch, uint64_t &bndcfgu,
251 char *arg, uint64_t &ptr,
331 uint64_t bndcfgu;
332 uint64_t ptr;
375 uint64_t bndcfgu;
376 uint64_t ptr;
384 uint64_t lbound = std::strtoul(arg[1], &endptr, 16);
391 uint64_t ubound = std::strtoul(arg[2], &endptr, 16);
tools/lldb/tools/lldb-test/FormatUtil.cpp 54 uint64_t Base, uint32_t StartOffset) {
tools/lldb/tools/lldb-test/FormatUtil.h 55 uint64_t BaseAddr, uint32_t StartOffset);
tools/lldb/tools/lldb-vscode/BreakpointBase.cpp 22 uint64_t hitCount = 0;
tools/lldb/tools/lldb-vscode/JSONUtils.cpp 54 uint64_t GetUnsigned(const llvm::json::Object &obj, llvm::StringRef key,
55 uint64_t fail_value) {
61 uint64_t GetUnsigned(const llvm::json::Object *obj, llvm::StringRef key,
62 uint64_t fail_value) {
tools/lldb/tools/lldb-vscode/JSONUtils.h 73 uint64_t GetUnsigned(const llvm::json::Object &obj, llvm::StringRef key,
74 uint64_t fail_value);
75 uint64_t GetUnsigned(const llvm::json::Object *obj, llvm::StringRef key,
76 uint64_t fail_value);
tools/lldb/tools/lldb-vscode/LLDBUtils.cpp 69 uint32_t GetLLDBThreadIndexID(uint64_t dap_frame_id) {
73 uint32_t GetLLDBFrameID(uint64_t dap_frame_id) {
84 uint32_t GetLLDBBreakpointID(uint64_t dap_breakpoint_id) {
88 uint32_t GetLLDBBreakpointLocationID(uint64_t dap_breakpoint_id) {
tools/lldb/tools/lldb-vscode/LLDBUtils.h 94 uint32_t GetLLDBThreadIndexID(uint64_t dap_frame_id);
107 uint32_t GetLLDBFrameID(uint64_t dap_frame_id);
135 uint32_t GetLLDBBreakpointID(uint64_t dap_breakpoint_id);
148 uint32_t GetLLDBBreakpointLocationID(uint64_t dap_breakpoint_id);
tools/lldb/tools/lldb-vscode/VSCode.cpp 263 const uint64_t frame_id = GetUnsigned(arguments, "frameId", UINT64_MAX);
tools/lldb/tools/lldb-vscode/lldb-vscode.cpp 2355 uint64_t index = 0;
tools/lldb/unittests/Expression/DWARFExpressionTest.cpp 166 static Scalar GetScalar(unsigned bits, uint64_t value, bool sign) {
tools/lldb/unittests/Process/POSIX/NativeProcessELFTest.cpp 55 uint64_t phdr_addr = 0x42;
tools/lldb/unittests/Process/gdb-remote/GDBRemoteCommunicationClientTest.cpp 511 uint64_t psb_value;
tools/lldb/unittests/Process/minidump/MinidumpParserTest.cpp 261 void check_mem_range_exists(MinidumpParser &parser, const uint64_t range_start,
262 const uint64_t range_size) {
tools/lldb/unittests/Process/minidump/RegisterContextMinidumpTest.cpp 25 static uint64_t reg64(const DataBuffer &Buf, const RegisterInfo &Info) {
tools/lldb/unittests/ScriptInterpreter/Python/PythonDataObjectsTests.cpp 606 const uint64_t value = 0xf000000000000000ull;
622 const uint64_t extracted_value =
tools/lldb/unittests/Signals/UnixSignalsTest.cpp 78 uint64_t ver = signals.GetVersion();
tools/lldb/unittests/Symbol/TestClangASTContext.cpp 183 uint64_t actual_size = context->getTypeSize(qtype);
tools/lldb/unittests/Utility/StreamTest.cpp 231 s.PutHex64(std::numeric_limits<uint64_t>::max(), lldb::eByteOrderLittle);
245 s.PutHex64(std::numeric_limits<uint64_t>::max(), lldb::eByteOrderBig);
311 s << std::numeric_limits<uint64_t>::max();
470 auto bytes = s.PutULEB128(std::numeric_limits<uint64_t>::max());
tools/lldb/unittests/tools/lldb-server/tests/MessageObjects.cpp 113 uint64_t signal;
115 uint64_t tid;
tools/lldb/unittests/tools/lldb-server/tests/MessageObjects.h 25 typedef llvm::DenseMap<uint64_t, ThreadInfo> ThreadInfoMap;
tools/lli/RemoteJITUtils.h 115 void registerEHFrames(uint8_t *Addr, uint64_t LoadAddr,
tools/llvm-ar/llvm-ar.cpp 475 Expected<uint64_t> Size = C.getSize();
tools/llvm-cfi-verify/lib/FileAnalysis.cpp 123 std::map<uint64_t, Instr>::const_iterator KV =
136 std::map<uint64_t, Instr>::const_iterator KV =
155 const Instr *FileAnalysis::getInstruction(uint64_t Address) const {
163 const Instr &FileAnalysis::getInstructionOrDie(uint64_t Address) const {
178 uint64_t Target;
213 uint64_t Target;
242 for (uint64_t SourceInstrAddress : TargetRefsKV->second) {
307 uint64_t FileAnalysis::indirectCFOperandClobber(const GraphResult &Graph) const {
321 uint64_t Node;
334 std::vector<uint64_t> Nodes = Graph.flattenAddress(Node);
476 uint64_t InstructionSize;
478 for (uint64_t Byte = 0; Byte < SectionBytes.size();) {
486 uint64_t VMAddress = Address.Address + Byte - InstructionSize;
503 uint64_t Target;
tools/llvm-cfi-verify/lib/FileAnalysis.h 79 uint64_t VMAddress; // Virtual memory address of this instruction.
81 uint64_t InstructionSize; // Size of this instruction.
98 const Instr *getInstruction(uint64_t Address) const;
102 const Instr &getInstructionOrDie(uint64_t Address) const;
164 uint64_t indirectCFOperandClobber(const GraphResult& Graph) const;
222 std::map<uint64_t, Instr> Instructions;
226 DenseMap<uint64_t, std::vector<uint64_t>> StaticBranchTargetings;
226 DenseMap<uint64_t, std::vector<uint64_t>> StaticBranchTargetings;
232 SmallSet<uint64_t, 4> TrapOnFailFunctionAddresses;
tools/llvm-cfi-verify/lib/GraphBuilder.cpp 41 uint64_t SearchLengthForUndef;
42 uint64_t SearchLengthForConditionalBranch;
44 static cl::opt<uint64_t, true> SearchLengthForUndefArg(
51 static cl::opt<uint64_t, true> SearchLengthForConditionalBranchArg(
58 std::vector<uint64_t> GraphResult::flattenAddress(uint64_t Address) const {
58 std::vector<uint64_t> GraphResult::flattenAddress(uint64_t Address) const {
59 std::vector<uint64_t> Addresses;
72 uint64_t From, uint64_t To) {
72 uint64_t From, uint64_t To) {
82 std::map<uint64_t, uint64_t> SortedIntermediateNodes(
82 std::map<uint64_t, uint64_t> SortedIntermediateNodes(
99 DenseSet<uint64_t> OpenedNodes;
120 uint64_t NextAddress = 0;
139 uint64_t Target;
165 uint64_t CurrentAddress = NextAddress;
169 for (uint64_t i = 1; i < SearchLengthForUndef; ++i) {
198 DenseSet<uint64_t> &OpenedNodes,
199 GraphResult &Result, uint64_t Address,
200 uint64_t Depth) {
256 uint64_t BranchTarget;
tools/llvm-cfi-verify/lib/GraphBuilder.h 49 extern uint64_t SearchLengthForUndef;
50 extern uint64_t SearchLengthForConditionalBranch;
53 uint64_t Address;
54 uint64_t Target;
55 uint64_t Fallthrough;
68 uint64_t BaseAddress;
74 DenseMap<uint64_t, uint64_t> IntermediateNodes;
74 DenseMap<uint64_t, uint64_t> IntermediateNodes;
82 std::vector<uint64_t> OrphanedNodes;
91 std::vector<uint64_t> flattenAddress(uint64_t Address) const;
91 std::vector<uint64_t> flattenAddress(uint64_t Address) const;
118 DenseSet<uint64_t> &OpenedNodes,
119 GraphResult &Result, uint64_t Address,
120 uint64_t Depth);
tools/llvm-cfi-verify/llvm-cfi-verify.cpp 126 uint64_t ExpectedProtected = 0;
127 uint64_t UnexpectedProtected = 0;
128 uint64_t ExpectedUnprotected = 0;
129 uint64_t UnexpectedUnprotected = 0;
131 std::map<unsigned, uint64_t> BlameCounter;
213 uint64_t IndirectCFInstructions = ExpectedProtected + UnexpectedProtected +
tools/llvm-cov/CoverageSummaryInfo.h 147 uint64_t ExecutionCount;
154 FunctionCoverageSummary(const std::string &Name, uint64_t ExecutionCount,
tools/llvm-cov/SourceCoverageView.cpp 102 std::string SourceCoverageView::formatCount(uint64_t N) {
tools/llvm-cov/SourceCoverageView.h 224 static std::string formatCount(uint64_t N);
tools/llvm-cov/TestingSupport.cpp 75 uint64_t ProfileNamesAddress = ProfileNames.getAddress();
tools/llvm-cxxdump/llvm-cxxdump.cpp 82 const SectionRef &Sec, uint64_t SecAddress,
83 uint64_t SymAddress, uint64_t SymSize,
83 uint64_t SymAddress, uint64_t SymSize,
85 uint64_t SymOffset = SymAddress - SecAddress;
86 uint64_t SymEnd = SymOffset + SymSize;
96 uint64_t Offset = Reloc.getOffset();
106 const ObjectFile *Obj, const SectionRef &Sec, uint64_t SecAddress,
107 uint64_t SymAddress, uint64_t SymSize, StringRef SymName,
107 uint64_t SymAddress, uint64_t SymSize, StringRef SymName,
108 std::map<std::pair<StringRef, uint64_t>, StringRef> &Collection) {
109 uint64_t SymOffset = SymAddress - SecAddress;
110 uint64_t SymEnd = SymOffset + SymSize;
118 uint64_t Offset = Reloc.getOffset();
140 uint64_t AlwaysZero;
157 std::map<std::pair<StringRef, uint64_t>, StringRef> VFTableEntries;
158 std::map<std::pair<StringRef, uint64_t>, StringRef> TIEntries;
159 std::map<std::pair<StringRef, uint64_t>, StringRef> CTAEntries;
163 std::map<std::pair<StringRef, uint64_t>, StringRef> BCAEntries;
170 std::map<std::pair<StringRef, uint64_t>, StringRef> VTableSymEntries;
171 std::map<std::pair<StringRef, uint64_t>, int64_t> VTableDataEntries;
172 std::map<std::pair<StringRef, uint64_t>, StringRef> VTTEntries;
188 std::vector<std::pair<SymbolRef, uint64_t>> SymAddr =
193 uint64_t SymSize = P.second;
208 Expected<uint64_t> SymAddressOrErr = Sym.getAddress();
210 uint64_t SymAddress = *SymAddressOrErr;
211 uint64_t SecAddress = Sec.getAddress();
212 uint64_t SecSize = Sec.getSize();
213 uint64_t SymOffset = SymAddress - SecAddress;
324 for (uint64_t SymOffI = 0; SymOffI < SymSize; SymOffI += BytesInAddress) {
345 uint64_t Offset = VFTableEntry.first.second;
377 uint64_t Offset = BCAEntry.first.second;
459 uint64_t VTTOffset = VTTPair.first.second;
478 uint64_t Offset = VTableSymI->first.second;
488 uint64_t Offset = VTableDataI->first.second;
tools/llvm-dwarfdump/Statistics.cpp 137 static uint64_t getLowPC(DWARFDie Die) {
150 static void collectLocStats(uint64_t BytesCovered, uint64_t BytesInScope,
150 static void collectLocStats(uint64_t BytesCovered, uint64_t BytesInScope,
179 static void collectStatsForDie(DWARFDie Die, uint64_t UnitLowPC, std::string FnPrefix,
180 std::string VarPrefix, uint64_t ScopeLowPC,
181 uint64_t BytesInScope, uint32_t InlineDepth,
189 uint64_t BytesCovered = 0;
190 uint64_t BytesEntryValuesCovered = 0;
191 uint64_t OffsetToFirstDefinition = 0;
254 uint64_t BytesEntryCovered = Entry.End - Entry.Begin;
260 uint64_t FirstDef = List->Entries[0].Begin;
261 uint64_t UnitOfs = UnitLowPC;
352 static void collectStatsRecursive(DWARFDie Die, uint64_t UnitLowPC, std::string FnPrefix,
353 std::string VarPrefix, uint64_t ScopeLowPC,
354 uint64_t BytesInScope, uint32_t InlineDepth,
386 uint64_t BytesInThisScope = 0;
tools/llvm-dwarfdump/llvm-dwarfdump.cpp 39 uint64_t Val = 0;
111 static std::array<llvm::Optional<uint64_t>, (unsigned)DIDT_ID_Count>
154 static opt<uint64_t>
329 if (llvm::Optional<uint64_t> Off = Entry.getDIESectionOffset()) {
338 llvm::Optional<uint64_t> CUOff = Entry.getCUOffset();
339 llvm::Optional<uint64_t> Off = Entry.getDIEUnitOffset();
347 if (llvm::Optional<uint64_t> DWOId = CU->getDWOId()) {
388 static bool lookup(ObjectFile &Obj, DWARFContext &DICtx, uint64_t Address,
tools/llvm-dwp/llvm-dwp.cpp 73 DenseMap<uint64_t, uint32_t> OffsetRemapping;
76 uint64_t LocalOffset = 0;
77 uint64_t PrevOffset = 0;
88 uint64_t Offset = 0;
89 uint64_t Size = CurStrOffsetSection.size();
97 static uint64_t getCUAbbrev(StringRef Abbrev, uint64_t AbbrCode) {
97 static uint64_t getCUAbbrev(StringRef Abbrev, uint64_t AbbrCode) {
98 uint64_t CurCode;
99 uint64_t Offset = 0;
114 uint64_t Signature = 0;
121 uint64_t &InfoOffset, StringRef StrOffsets, StringRef Str) {
129 uint64_t StrOffsetsOffset = 4 * StrIndex;
130 uint64_t StrOffset = StrOffsetsData.getU32(&StrOffsetsOffset);
139 uint64_t Offset = 0;
142 uint64_t Length = InfoData.getU32(&Offset);
156 uint64_t AbbrevOffset = getCUAbbrev(Abbrev, AbbrCode);
165 Optional<uint64_t> Signature = None;
217 MCStreamer &Out, MapVector<uint64_t, UnitIndexEntry> &TypeIndexEntries,
247 MapVector<uint64_t, UnitIndexEntry> &TypeIndexEntries,
253 uint64_t Offset = 0;
283 const MapVector<uint64_t, UnitIndexEntry> &IndexEntries,
294 const MapVector<uint64_t, UnitIndexEntry> &IndexEntries) {
304 uint64_t Mask = Buckets.size() - 1;
467 buildDuplicateError(const std::pair<uint64_t, UnitIndexEntry> &PrevE,
523 MapVector<uint64_t, UnitIndexEntry> IndexEntries;
524 MapVector<uint64_t, UnitIndexEntry> TypeIndexEntries;
tools/llvm-elfabi/ELFObjHandler.cpp 30 uint64_t StrTabAddr = 0;
31 uint64_t StrSize = 0;
32 Optional<uint64_t> SONameOffset;
33 std::vector<uint64_t> NeededLibNames;
35 uint64_t DynSymAddr = 0;
37 Optional<uint64_t> ElfHash;
38 Optional<uint64_t> GnuHash;
137 for (uint64_t Offset : Dyn.NeededLibNames) {
154 static uint64_t getDynSymtabSize(const typename ELFT::GnuHash &Table) {
158 uint64_t LastSymIdx = 0;
159 uint64_t BucketVal = 0;
182 static Expected<uint64_t> getNumSyms(DynamicEntries &Dyn,
338 for (uint64_t NeededStrOffset : DynEnt.NeededLibNames) {
348 Expected<uint64_t> SymCount = getNumSyms(DynEnt, *ElfFile);
tools/llvm-exegesis/lib/Analysis.cpp 108 uint64_t MISize = 0;
tools/llvm-exegesis/lib/Assembler.cpp 313 const uint64_t FunctionAddress = ExecEngine->getFunctionAddress(FunctionID);
tools/llvm-exegesis/lib/BenchmarkResult.cpp 111 OS.write_hex(bit_cast<uint64_t>(Value));
tools/llvm-exegesis/lib/SnippetFile.cpp 89 void EmitCommonSymbol(MCSymbol *Symbol, uint64_t Size,
97 void EmitZerofill(MCSection *Section, MCSymbol *Symbol, uint64_t Size,
tools/llvm-exegesis/lib/X86/Target.cpp 395 uint64_t Imm) {
tools/llvm-ifs/llvm-ifs.cpp 81 uint64_t Size;
tools/llvm-jitlink/llvm-jitlink-macho.cpp 155 uint64_t SecSize =
tools/llvm-jitlink/llvm-jitlink.cpp 155 static uint64_t computeTotalBlockSizes(LinkGraph &G) {
156 uint64_t TotalSize = 0;
232 Create(uint64_t SlabSize) {
301 uint64_t ZeroFillStart = Seg.getContentSize();
302 uint64_t SegmentSize = ZeroFillStart + Seg.getZeroFillSize();
309 uint64_t SlabRemainingSize = SlabRemaining.allocatedSize();
332 JITLinkSlabAllocator(uint64_t SlabSize, Error &Err) {
361 uint64_t PageSize = 0;
364 Expected<uint64_t> getSlabAllocSize(StringRef SizeString) {
367 uint64_t Units = 1024;
379 uint64_t SlabSize = 0;
649 uint64_t Addr;
tools/llvm-jitlink/llvm-jitlink.h 64 uint64_t SizeBeforePruning = 0;
65 uint64_t SizeAfterFixups = 0;
tools/llvm-lipo/llvm-lipo.cpp 231 uint64_t getCPUID() const {
587 DenseMap<uint64_t, const Binary *> CPUIds;
655 uint64_t Offset =
690 const uint64_t OutputFileSize =
tools/llvm-lto/llvm-lto.cpp 160 static cl::opt<uint64_t> ThinLTOCacheMaxSizeBytes(
413 uint64_t NextModuleId = 0;
tools/llvm-mc/Disassembler.cpp 42 uint64_t Size;
43 uint64_t Index;
tools/llvm-mca/CodeRegionGenerator.cpp 59 void EmitCommonSymbol(MCSymbol *Symbol, uint64_t Size,
62 uint64_t Size = 0, unsigned ByteAlignment = 0,
tools/llvm-mca/Views/BottleneckAnalysis.cpp 40 uint64_t ResourceMask = ProcResID2Mask[I];
49 void PressureTracker::getResourceUsers(uint64_t ResourceMask,
81 uint64_t CumulativeMask) {
83 uint64_t Current = CumulativeMask & (-CumulativeMask);
86 uint64_t Mask = ProcResID2Mask[ProcResID];
96 uint64_t SubUnit = Mask & (-Mask);
116 const uint64_t ResourceMask = Event.ResourceMask;
244 uint64_t Cost = N.Cost + DepEdge.Dep.Cost;
486 uint64_t Mask, unsigned Cost) {
515 uint64_t ResourceMask = IS.getCriticalResourceMask();
518 uint64_t Current = ResourceMask & (-ResourceMask);
tools/llvm-mca/Views/BottleneckAnalysis.h 105 SmallVector<uint64_t, 4> ProcResID2Mask;
129 void updateResourcePressureDistribution(uint64_t CumulativeMask);
143 void getResourceUsers(uint64_t ResourceMask,
164 const char *resolveResourceName(uint64_t ResourceMask) const {
187 uint64_t ResourceOrRegID;
188 uint64_t Cost;
225 uint64_t Cost;
260 void addResourceDep(unsigned From, unsigned To, uint64_t Mask,
318 void addResourceDep(unsigned From, unsigned To, uint64_t Mask, unsigned Cy);
tools/llvm-mca/Views/SchedulerStatistics.h 62 uint64_t CumulativeNumUsedSlots;
tools/llvm-mca/Views/SummaryView.cpp 57 for (const std::pair<uint64_t, const ResourceUsage> &RU : Desc.Resources) {
tools/llvm-mca/Views/SummaryView.h 57 llvm::SmallVector<uint64_t, 8> ProcResourceMasks;
tools/llvm-nm/llvm-nm.cpp 286 uint64_t Address;
287 uint64_t Size;
366 uint64_t NValue = 0;
912 uint64_t Flags = SecI->getFlags();
1228 Expected<uint64_t> AddressOrErr = SymRef.getAddress();
1285 uint64_t BaseSegmentAddress = 0;
1333 uint64_t EFlags = Entry.flags();
1648 SmallVector<uint64_t, 8> FoundFns;
1649 uint64_t lc_main_offset = UINT64_MAX;
1666 for (uint64_t f = 0; f < FoundFns.size(); f++) {
tools/llvm-objcopy/COFF/COFFObjcopy.cpp 35 static uint64_t getNextRVA(const Object &Obj) {
tools/llvm-objcopy/CopyConfig.cpp 158 static Expected<std::pair<StringRef, uint64_t>>
169 uint64_t NewAlign;
549 Expected<std::pair<StringRef, uint64_t>> NameAndAlign =
714 auto EAddr = getAsInteger<uint64_t>(Arg->getValue());
tools/llvm-objcopy/CopyConfig.h 195 StringMap<uint64_t> SetSectionAlignment;
203 std::function<uint64_t(uint64_t)> EntryExpr;
203 std::function<uint64_t(uint64_t)> EntryExpr;
tools/llvm-objcopy/ELF/ELFConfig.h 27 uint64_t Value = 0;
tools/llvm-objcopy/ELF/ELFObjcopy.cpp 74 uint64_t getNewShfFlags(SectionFlag AllFlags) {
75 uint64_t NewFlags = 0;
89 static uint64_t getSectionFlagsPreserveMask(uint64_t OldFlags,
89 static uint64_t getSectionFlagsPreserveMask(uint64_t OldFlags,
90 uint64_t NewFlags) {
93 const uint64_t PreserveMask = ELF::SHF_COMPRESSED | ELF::SHF_EXCLUDE |
723 uint64_t Value = Sec ? Sec->Addr + SI.Value : SI.Value;
tools/llvm-objcopy/ELF/Object.cpp 150 static bool addressOverflows32bit(uint64_t Addr) {
300 static uint64_t sectionPhysicalAddr(const SectionBase *Sec) {
314 uint64_t DataSize = std::min<uint64_t>(Data.size(), ChunkSize);
314 uint64_t DataSize = std::min<uint64_t>(Data.size(), ChunkSize);
327 uint64_t SegOffset = Addr - BaseAddr - SegmentAddr;
336 uint64_t IHexSectionWriterBase::writeSegmentAddr(uint64_t Addr) {
336 uint64_t IHexSectionWriterBase::writeSegmentAddr(uint64_t Addr) {
343 uint64_t IHexSectionWriterBase::writeBaseAddr(uint64_t Addr) {
343 uint64_t IHexSectionWriterBase::writeBaseAddr(uint64_t Addr) {
345 uint64_t Base = Addr & 0xFFFF0000U;
408 static std::tuple<uint64_t, uint64_t>
408 static std::tuple<uint64_t, uint64_t>
411 const uint64_t DecompressedSize =
415 const uint64_t DecompressedAlign =
487 const uint64_t DecompressedSize =
516 ChdrSize = sizeof("ZLIB") - 1 + sizeof(uint64_t);
530 uint64_t DecompressedSize,
531 uint64_t DecompressedAlign)
648 SectionBase *DefinedIn, uint64_t Value,
650 uint64_t SymbolSize) {
859 static void setAddend(Elf_Rel_Impl<ELFT, false> &Rel, uint64_t Addend) {}
862 static void setAddend(Elf_Rel_Impl<ELFT, true> &Rela, uint64_t Addend) {
1014 OriginalOffset = std::numeric_limits<uint64_t>::max();
1063 uint64_t SecSize = Sec.Size ? Sec.Size : 1;
1186 uint64_t SegmentAddr = 0, BaseAddr = 0;
1190 uint64_t RecAddr;
1406 static void getAddend(uint64_t &ToSet, const Elf_Rel_Impl<ELFT, false> &Rel) {}
1409 static void getAddend(uint64_t &ToSet, const Elf_Rel_Impl<ELFT, true> &Rela) {
1492 uint64_t DecompressedSize, DecompressedAlign;
1759 uint64_t Shnum = Obj.sections().size() + 1;
1799 uint64_t Offset =
1890 static uint64_t layoutSegments(std::vector<Segment *> &Segments,
1891 uint64_t Offset) {
1910 alignTo(Offset, std::max<uint64_t>(Seg->Align, 1), Seg->VAddr);
1924 static uint64_t layoutSections(Range Sections, uint64_t Offset) {
1924 static uint64_t layoutSections(Range Sections, uint64_t Offset) {
1971 uint64_t Offset = 0;
2081 uint64_t Index = 0;
2109 uint64_t Offset = Obj.SHOff + sizeof(Elf_Shdr);
2159 uint64_t Offset = 0;
2174 uint64_t LowestPAddr = Seg->PAddr;
2204 uint64_t IHexWriter::writeEntryPointRecord(uint8_t *Buf) {
2225 uint64_t IHexWriter::writeEndOfFileRecord(uint8_t *Buf) {
2237 uint64_t Offset = Writer.getBufferOffset();
2247 uint64_t Addr = sectionPhysicalAddr(&Sec);
tools/llvm-objcopy/ELF/Object.h 273 uint64_t writeSegmentAddr(uint64_t Addr);
273 uint64_t writeSegmentAddr(uint64_t Addr);
275 uint64_t writeBaseAddr(uint64_t Addr);
275 uint64_t writeBaseAddr(uint64_t Addr);
279 uint64_t Offset = 0;
287 uint64_t getBufferOffset() const { return Offset; }
354 uint64_t TotalSize;
372 uint64_t writeEntryPointRecord(uint8_t *Buf);
373 uint64_t writeEndOfFileRecord(uint8_t *Buf);
386 uint64_t HeaderOffset;
387 uint64_t OriginalOffset = std::numeric_limits<uint64_t>::max();
387 uint64_t OriginalOffset = std::numeric_limits<uint64_t>::max();
391 uint64_t Addr = 0;
392 uint64_t Align = 1;
394 uint64_t Flags = 0;
395 uint64_t Info = 0;
396 uint64_t Link = ELF::SHN_UNDEF;
397 uint64_t NameIndex = 0;
398 uint64_t Offset = 0;
399 uint64_t Size = 0;
400 uint64_t Type = ELF::SHT_NULL;
440 uint64_t Offset;
441 uint64_t VAddr;
442 uint64_t PAddr;
443 uint64_t FileSize;
444 uint64_t MemSize;
445 uint64_t Align;
448 uint64_t OriginalOffset;
495 OriginalOffset = std::numeric_limits<uint64_t>::max();
498 OwnedDataSection(const Twine &SecName, uint64_t SecAddr, uint64_t SecFlags,
498 OwnedDataSection(const Twine &SecName, uint64_t SecAddr, uint64_t SecFlags,
499 uint64_t SecOff) {
516 uint64_t DecompressedSize;
517 uint64_t DecompressedAlign;
523 CompressedSection(ArrayRef<uint8_t> CompressedData, uint64_t DecompressedSize,
524 uint64_t DecompressedAlign);
526 uint64_t getDecompressedSize() const { return DecompressedSize; }
527 uint64_t getDecompressedAlign() const { return DecompressedAlign; }
613 uint64_t Size;
615 uint64_t Value;
672 uint64_t Value, uint8_t Visibility, uint16_t Shndx,
673 uint64_t SymbolSize);
704 uint64_t Offset;
705 uint64_t Addend;
1017 uint64_t Entry;
1018 uint64_t SHOff;
tools/llvm-objcopy/MachO/MachOLayoutBuilder.cpp 102 uint64_t MachOLayoutBuilder::layoutSegments() {
107 uint64_t Offset = IsObjectFile ? (HeaderSize + O.Header.SizeOfCmds) : 0;
111 uint64_t SegmentVmAddr;
112 uint64_t SegmentVmSize;
140 uint64_t SegOffset = Offset;
141 uint64_t SegFileSize = 0;
142 uint64_t VMSize = 0;
148 uint64_t PaddingSize =
204 uint64_t MachOLayoutBuilder::layoutRelocations(uint64_t Offset) {
204 uint64_t MachOLayoutBuilder::layoutRelocations(uint64_t Offset) {
215 Error MachOLayoutBuilder::layoutTail(uint64_t Offset) {
220 uint64_t NListSize = Is64Bit ? sizeof(MachO::nlist_64) : sizeof(MachO::nlist);
221 uint64_t StartOfLinkEdit = Offset;
222 uint64_t StartOfRebaseInfo = StartOfLinkEdit;
223 uint64_t StartOfBindingInfo = StartOfRebaseInfo + O.Rebases.Opcodes.size();
224 uint64_t StartOfWeakBindingInfo = StartOfBindingInfo + O.Binds.Opcodes.size();
225 uint64_t StartOfLazyBindingInfo =
227 uint64_t StartOfExportTrie =
229 uint64_t StartOfFunctionStarts = StartOfExportTrie + O.Exports.Trie.size();
230 uint64_t StartOfDataInCode =
232 uint64_t StartOfSymbols = StartOfDataInCode + O.DataInCode.Data.size();
233 uint64_t StartOfIndirectSymbols =
235 uint64_t StartOfSymbolStrings =
238 uint64_t LinkEditSize =
346 uint64_t Offset = layoutSegments();
tools/llvm-objcopy/MachO/MachOLayoutBuilder.h 22 uint64_t PageSize;
32 uint64_t layoutSegments();
33 uint64_t layoutRelocations(uint64_t Offset);
33 uint64_t layoutRelocations(uint64_t Offset);
34 Error layoutTail(uint64_t Offset);
37 MachOLayoutBuilder(Object &O, bool Is64Bit, uint64_t PageSize)
tools/llvm-objcopy/MachO/MachOObjcopy.cpp 77 const uint64_t PageSize = 4096;
tools/llvm-objcopy/MachO/MachOWriter.cpp 405 typedef std::pair<uint64_t, WriteHandlerType> WriteOperation;
tools/llvm-objcopy/MachO/MachOWriter.h 26 uint64_t PageSize;
53 MachOWriter(Object &O, bool Is64Bit, bool IsLittleEndian, uint64_t PageSize,
tools/llvm-objcopy/MachO/Object.h 43 uint64_t Addr;
44 uint64_t Size;
94 uint64_t n_value;
tools/llvm-objdump/COFFDump.cpp 161 uint64_t &ResolvedAddr) {
162 Expected<uint64_t> ResolvedAddrOrErr = Sym.getAddress();
176 uint64_t Offset, SymbolRef &Sym) {
178 uint64_t Ofs = R.getOffset();
193 const std::vector<RelocationRef> &Rels, uint64_t Offset,
194 ArrayRef<uint8_t> &Contents, uint64_t &Addr) {
208 uint64_t Offset, StringRef &Name) {
221 uint64_t Offset, uint32_t Disp) {
555 uint64_t SectionOffset,
580 uint64_t UnwindInfoOffset = 0;
622 uint64_t SectionOffset =
tools/llvm-objdump/ELFDump.cpp 130 static uint64_t getSectionLMA(const ELFFile<ELFT> *Obj,
147 uint64_t getELFSectionLMA(const object::ELFSectionRef &Sec) {
241 countTrailingZeros<uint64_t>(Phdr.p_align))
tools/llvm-objdump/MachODump.cpp 246 uint64_t AAddr = (AType != SymbolRef::ST_Function) ? 0 : A.getValue();
247 uint64_t BAddr = (BType != SymbolRef::ST_Function) ? 0 : B.getValue();
254 typedef std::pair<uint64_t, DiceRef> DiceTableEntry;
301 static uint64_t DumpDataInCode(const uint8_t *bytes, uint64_t Length,
301 static uint64_t DumpDataInCode(const uint8_t *bytes, uint64_t Length,
366 SmallVectorImpl<uint64_t> &FoundFns,
367 uint64_t &BaseSegmentAddress) {
405 static bool DumpAndSkipDataInCode(uint64_t PC, const uint8_t *bytes,
406 DiceTable &Dices, uint64_t &InstSize) {
440 uint64_t Addr = unwrapOrError(Symbol.getAddress(), FileName);
450 uint64_t Addr = Section.getAddress();
464 uint64_t Val = O->getPlainRelocationSymbolNum(RE);
680 uint32_t stride, uint64_t addr) {
796 static void PrintRType(const uint64_t cputype, const unsigned r_type) {
841 static void PrintRLength(const uint64_t cputype, const unsigned r_type,
880 const uint64_t cputype,
1053 const uint64_t cputype = O->getHeader().cputype;
1165 uint64_t identifier = decodeULEB128((const uint8_t *)(loh + i), &n);
1199 uint64_t narguments = decodeULEB128((const uint8_t *)(loh + i), &n);
1206 uint64_t value = decodeULEB128((const uint8_t *)(loh + i), &n);
1272 typedef DenseMap<uint64_t, StringRef> SymbolAddressMap;
1282 uint64_t Address = Symbol.getValue();
1293 static const char *GuessSymbolName(uint64_t value, SymbolAddressMap *AddrMap) {
1312 uint32_t sect_size, uint64_t sect_addr,
1345 uint32_t sect_size, uint64_t sect_addr,
1389 uint32_t sect_size, uint64_t sect_addr,
1421 uint32_t sect_size, uint64_t sect_addr,
1448 uint64_t sect_addr,
1473 std::vector<std::pair<uint64_t, SymbolRef>> Relocs;
1482 uint64_t RelocOffset = Reloc.getOffset();
1497 uint64_t lp;
1499 memcpy(&lp, sect + i, sizeof(uint64_t));
1530 uint64_t SectAddress = Sect->getAddress();
1531 uint64_t SectSize = Sect->getSize();
1559 for (uint64_t i = lp - SectAddress; i < SectSize && Contents[i] != '\0';
1616 uint32_t sect_size, uint64_t sect_addr,
1620 stride = (O->is64Bit()) ? sizeof(uint64_t) : sizeof(uint32_t);
1623 std::vector<std::pair<uint64_t, SymbolRef>> Relocs;
1632 uint64_t RelocOffset = Reloc.getOffset();
1641 uint64_t p;
1644 uint64_t pointer_value;
1678 uint32_t size, uint64_t addr) {
1777 uint64_t sect_addr = Section.getAddress();
2157 uint64_t size = Buf.size();
2158 uint64_t big_size = sizeof(struct MachO::fat_header) +
2579 uint64_t adrp_addr = 0;
2600 static int SymbolizerGetOpInfo(void *DisInfo, uint64_t Pc, uint64_t Offset,
2600 static int SymbolizerGetOpInfo(void *DisInfo, uint64_t Pc, uint64_t Offset,
2601 uint64_t Size, int TagType, void *TagBuf) {
2604 uint64_t value = op_info->Value;
2639 uint64_t RelocOffset = Reloc.getOffset();
2704 uint64_t seg_offset = Pc + Offset;
2711 uint64_t RelocOffset = Reloc.getOffset();
2741 uint64_t sect_addr = info->S.getAddress();
2742 uint64_t sect_offset = (Pc + Offset) - sect_addr;
2749 uint64_t RelocOffset = Reloc.getOffset();
2817 uint64_t RelocOffset = Reloc.getOffset();
2944 uint64_t sect_addr = info->S.getAddress();
2945 uint64_t sect_offset = (Pc + Offset) - sect_addr;
2948 uint64_t RelocOffset = Reloc.getOffset();
3014 static const char *GuessCstringPointer(uint64_t ReferenceValue,
3025 uint64_t sect_offset = ReferenceValue - Sec.addr;
3026 uint64_t object_offset = Sec.offset + sect_offset;
3028 uint64_t object_size = MachOContents.size();
3046 uint64_t sect_offset = ReferenceValue - Sec.addr;
3047 uint64_t object_offset = Sec.offset + sect_offset;
3049 uint64_t object_size = MachOContents.size();
3068 static const char *GuessIndirectSymbol(uint64_t ReferenceValue,
3150 uint64_t *ReferenceType,
3215 static uint64_t GuessPointerPointer(uint64_t ReferenceValue,
3215 static uint64_t GuessPointerPointer(uint64_t ReferenceValue,
3235 uint64_t sect_offset = ReferenceValue - Sec.addr;
3236 uint64_t object_offset = Sec.offset + sect_offset;
3238 uint64_t object_size = MachOContents.size();
3241 uint64_t pointer_value;
3243 sizeof(uint64_t));
3255 sizeof(uint64_t));
3277 static const char *get_pointer_64(uint64_t Address, uint32_t &offset,
3285 uint64_t SectAddress = ((*(info->Sections))[SectIdx]).getAddress();
3286 uint64_t SectSize = ((*(info->Sections))[SectIdx]).getSize();
3328 DisassembleInfo *info, uint64_t &n_value,
3329 uint64_t ReferenceValue = 0) {
3341 uint64_t RelocOffset = Reloc.getOffset();
3388 uint64_t n_value64;
3399 uint64_t isa; // class64_t * (64-bit pointer)
3400 uint64_t flags; // flag bits
3401 uint64_t characters; // char * (64-bit pointer)
3402 uint64_t length; // number of non-NULL characters in above
3407 uint64_t isa; // class64_t * (64-bit pointer)
3408 uint64_t superclass; // class64_t * (64-bit pointer)
3409 uint64_t cache; // Cache (64-bit pointer)
3410 uint64_t vtable; // IMP * (64-bit pointer)
3411 uint64_t data; // class_ro64_t * (64-bit pointer)
3427 uint64_t ivarLayout; // const uint8_t * (64-bit pointer)
3428 uint64_t name; // const char * (64-bit pointer)
3429 uint64_t baseMethods; // const method_list_t * (64-bit pointer)
3430 uint64_t baseProtocols; // const protocol_list_t * (64-bit pointer)
3431 uint64_t ivars; // const ivar_list_t * (64-bit pointer)
3432 uint64_t weakIvarLayout; // const uint8_t * (64-bit pointer)
3433 uint64_t baseProperties; // const struct objc_property_list (64-bit pointer)
3468 uint64_t name; /* SEL (64-bit pointer) */
3469 uint64_t types; /* const char * (64-bit pointer) */
3470 uint64_t imp; /* IMP (64-bit pointer) */
3480 uint64_t count; /* uintptr_t (a 64-bit value) */
3490 uint64_t isa; /* id * (64-bit pointer) */
3491 uint64_t name; /* const char * (64-bit pointer) */
3492 uint64_t protocols; /* struct protocol_list64_t *
3494 uint64_t instanceMethods; /* method_list_t * (64-bit pointer) */
3495 uint64_t classMethods; /* method_list_t * (64-bit pointer) */
3496 uint64_t optionalInstanceMethods; /* method_list_t * (64-bit pointer) */
3497 uint64_t optionalClassMethods; /* method_list_t * (64-bit pointer) */
3498 uint64_t instanceProperties; /* struct objc_property_list *
3528 uint64_t offset; /* uintptr_t * (64-bit pointer) */
3529 uint64_t name; /* const char * (64-bit pointer) */
3530 uint64_t type; /* const char * (64-bit pointer) */
3556 uint64_t name; /* const char * (64-bit pointer) */
3557 uint64_t attributes; /* const char * (64-bit pointer) */
3566 uint64_t name; /* const char * (64-bit pointer) */
3567 uint64_t cls; /* struct class_t * (64-bit pointer) */
3568 uint64_t instanceMethods; /* struct method_list_t * (64-bit pointer) */
3569 uint64_t classMethods; /* struct method_list_t * (64-bit pointer) */
3570 uint64_t protocols; /* struct protocol_list_t * (64-bit pointer) */
3571 uint64_t instanceProperties; /* struct objc_property_list *
3604 uint64_t imp; /* IMP (64-bit pointer) */
3605 uint64_t sel; /* SEL (64-bit pointer) */
3977 static const char *get_dyld_bind_info_symbolname(uint64_t ReferenceValue,
3985 static const char *get_objc2_64bit_class_name(uint64_t pointer_value,
3986 uint64_t ReferenceValue,
3997 if (r == nullptr || left < sizeof(uint64_t))
3999 uint64_t n_value;
4036 static const char *get_objc2_64bit_cfstring_name(uint64_t ReferenceValue,
4042 uint64_t cfs_characters;
4051 uint64_t n_value;
4070 static uint64_t get_objc2_64bit_selref(uint64_t ReferenceValue,
4070 static uint64_t get_objc2_64bit_selref(uint64_t ReferenceValue,
4076 if (r == nullptr || left < sizeof(uint64_t))
4078 uint64_t n_value;
4106 void (*func)(uint64_t, struct DisassembleInfo *info)) {
4124 for (uint32_t i = 0; i < S.getSize(); i += sizeof(uint64_t)) {
4126 uint32_t size = left < sizeof(uint64_t) ? left : sizeof(uint64_t);
4126 uint32_t size = left < sizeof(uint64_t) ? left : sizeof(uint64_t);
4127 uint64_t p = 0;
4129 if (i + sizeof(uint64_t) > S.getSize())
4137 uint64_t n_value = 0;
4210 static void print_layout_map64(uint64_t p, struct DisassembleInfo *info) {
4232 static void print_method_list64_t(uint64_t p, struct DisassembleInfo *info,
4240 uint64_t n_value;
4325 static void print_method_list32_t(uint64_t p, struct DisassembleInfo *info,
4458 static void print_protocol_list64_t(uint64_t p, struct DisassembleInfo *info) {
4460 uint64_t q, n_value;
4487 if (left < sizeof(uint64_t)) {
4491 memcpy(&q, r, sizeof(uint64_t));
4582 p += sizeof(uint64_t);
4583 offset += sizeof(uint64_t);
4853 static void print_ivar_list64_t(uint64_t p, struct DisassembleInfo *info) {
4860 uint64_t ivar_offset, n_value;
5022 static void print_objc_property_list64(uint64_t p,
5030 uint64_t n_value;
5156 static bool print_class_ro64_t(uint64_t p, struct DisassembleInfo *info,
5163 uint64_t n_value;
5354 static void print_class64_t(uint64_t p, struct DisassembleInfo *info) {
5360 uint64_t isa_n_value, n_value;
5661 static void print_category64_t(uint64_t p, struct DisassembleInfo *info) {
5667 uint64_t n_value;
5829 uint64_t p, n_value;
5950 uint64_t p;
6878 static const char *GuessLiteralPointer(uint64_t ReferenceValue,
6879 uint64_t ReferencePC,
6880 uint64_t *ReferenceType,
6884 uint64_t sect_addr = info->S.getAddress();
6885 uint64_t sect_offset = ReferencePC - sect_addr;
6892 uint64_t RelocOffset = Reloc.getOffset();
6922 uint64_t pointer_value = GuessPointerPointer(ReferenceValue, info, classref,
7015 uint64_t ReferenceValue,
7016 uint64_t *ReferenceType,
7017 uint64_t ReferencePC,
7078 uint64_t adrp_imm, addxri_imm;
7108 uint64_t adrp_imm, ldrxui_imm;
7305 SmallVector<uint64_t, 8> FoundFns;
7306 uint64_t BaseSegmentAddress = 0;
7315 uint64_t BaseAddress = 0;
7447 uint64_t SectAddress = Sections[SectIdx].getAddress();
7460 uint64_t Address = Symbol.getValue();
7538 uint64_t SectSize = Sections[SectIdx].getSize();
7539 uint64_t Start = Symbols[SymIdx].getValue();
7540 uint64_t SectionAddress = Sections[SectIdx].getAddress();
7552 uint64_t NextSym = 0;
7553 uint64_t NextSymIdx = SymIdx + 1;
7567 uint64_t End = containsNextSym ? std::min(NextSym, SectSize) : SectSize;
7568 uint64_t Size;
7584 uint64_t SymbolStart = Start;
7593 for (uint64_t Index = Start; Index < End; Index += Size) {
7602 uint64_t PC = SectAddress + Index;
7685 uint64_t SectAddress = Sections[SectIdx].getAddress();
7686 uint64_t SectSize = Sections[SectIdx].getSize();
7687 uint64_t InstSize;
7688 for (uint64_t Index = 0; Index < SectSize; Index += InstSize) {
7691 uint64_t PC = SectAddress + Index;
7751 static uint64_t read(StringRef Contents, ptrdiff_t Offset) {
7760 uint64_t Val =
7766 static uint64_t readNext(StringRef Contents, ptrdiff_t &Offset) {
7775 uint64_t FunctionAddr;
7778 uint64_t PersonalityAddr;
7779 uint64_t LSDAAddr;
7788 read<uint64_t>(Contents, Offset);
7815 std::map<uint64_t, SymbolRef> &Symbols,
7816 const RelocationRef &Reloc, uint64_t Addr,
7817 StringRef &Name, uint64_t &Addend) {
7827 uint64_t SectionAddr = RelocSection.getAddress();
7865 std::map<uint64_t, SymbolRef> &Symbols,
7866 const RelocationRef &Reloc, uint64_t Addr) {
7868 uint64_t Addend;
7882 std::map<uint64_t, SymbolRef> &Symbols,
7891 uint32_t PointerSize = Is64 ? sizeof(uint64_t) : sizeof(uint32_t);
7907 uint64_t RelocAddress = Reloc.getOffset();
8026 std::map<uint64_t, SymbolRef> &Symbols,
8205 std::map<uint64_t, SymbolRef> Symbols;
8219 uint64_t Addr = SymRef.getValue();
8534 StringRef SegName, uint64_t vmaddr,
8535 uint64_t vmsize, uint64_t fileoff,
8535 uint64_t vmsize, uint64_t fileoff,
8536 uint64_t filesize, uint32_t maxprot,
8540 uint64_t expected_cmdsize;
8633 uint64_t addr, uint64_t size, uint32_t offset,
8633 uint64_t addr, uint64_t size, uint32_t offset,
8778 uint64_t big_size;
8825 uint64_t big_size;
8875 uint64_t modtabend;
8960 uint64_t big_size;
9168 uint64_t a = (sd.version >> 40) & 0xffffff;
9169 uint64_t b = (sd.version >> 30) & 0x3ff;
9170 uint64_t c = (sd.version >> 20) & 0x3ff;
9171 uint64_t d = (sd.version >> 10) & 0x3ff;
9172 uint64_t e = sd.version & 0x3ff;
10054 uint64_t big_size = ld.dataoff;
10240 uint64_t BaseSegmentAddress = 0;
10258 uint64_t Flags = Entry.flags();
10324 uint64_t Address = Entry.address();
10368 uint64_t Address = Entry.address();
10398 uint64_t Address = Entry.address();
10429 uint64_t Address = Entry.address();
10448 static const char *get_dyld_bind_info_symbolname(uint64_t ReferenceValue,
10454 uint64_t Address = Entry.address();
tools/llvm-objdump/llvm-objdump.cpp 96 static cl::opt<uint64_t> AdjustVMA(
307 static cl::opt<uint64_t>
310 static cl::opt<uint64_t> StopAddress("stop-address",
344 typedef std::vector<std::tuple<uint64_t, StringRef, uint8_t>> SectionSymbolsTy;
381 SectionFilter ToolSectionFilter(object::ObjectFile const &O, uint64_t *Idx) {
518 uint64_t Type = MachO->getRelocationType(Rel);
531 uint64_t PrevType = MachO->getRelocationType(RelPrev);
674 uint64_t Address, bool Is64Bits) {
720 void printLead(ArrayRef<uint8_t> Bytes, uint64_t Address,
911 uint64_t Address = unwrapOrError(Symbol.getAddress(), Obj->getFileName());
997 uint64_t I = (uint64_t)-1;
1032 typedef std::pair<uint64_t, char> MappingSymbolPair;
1034 uint64_t Address) {
1046 static uint64_t
1047 dumpARMELFData(uint64_t SectionAddr, uint64_t Index, uint64_t End,
1047 dumpARMELFData(uint64_t SectionAddr, uint64_t Index, uint64_t End,
1047 dumpARMELFData(uint64_t SectionAddr, uint64_t Index, uint64_t End,
1079 static void dumpELFData(uint64_t SectionAddr, uint64_t Index, uint64_t End,
1079 static void dumpELFData(uint64_t SectionAddr, uint64_t Index, uint64_t End,
1079 static void dumpELFData(uint64_t SectionAddr, uint64_t Index, uint64_t End,
1138 uint64_t Address = unwrapOrError(Symbol.getAddress(), FileName);
1165 std::vector<std::pair<uint64_t, SectionRef>> SectionAddresses;
1184 uint64_t VA = COFFObj->getImageBase() + RVA;
1209 uint64_t SectionAddr = Section.getAddress();
1210 uint64_t SectSize = Section.getSize();
1219 uint64_t Address = std::get<0>(Symb);
1267 uint64_t VMAAdjustment = 0;
1271 uint64_t Size;
1272 uint64_t Index;
1288 uint64_t Start = std::get<0>(Symbols[SI]);
1296 uint64_t End = std::min<uint64_t>(SectionAddr + SectSize, StopAddress);
1296 uint64_t End = std::min<uint64_t>(SectionAddr + SectSize, StopAddress);
1321 const uint64_t EndAlign = 256;
1357 Index = std::max<uint64_t>(Index, StartAddress - SectionAddr);
1388 uint64_t MaxOffset = End - Index;
1432 uint64_t Target;
1474 uint64_t TargetAddress = std::get<0>(*TargetSym);
1477 uint64_t Disp = Target - TargetAddress;
1490 uint64_t Offset = RelCur->getOffset();
1620 uint64_t Ndx;
1639 uint64_t Address = Reloc.getOffset();
1675 uint64_t Address = Reloc.getOffset();
1724 uint64_t Idx;
1727 uint64_t VMA = Section.getAddress();
1731 uint64_t Size = Section.getSize();
1756 uint64_t BaseAddr = Section.getAddress();
1757 uint64_t Size = Section.getSize();
1809 uint64_t Address = unwrapOrError(Symbol.getAddress(), FileName, ArchiveName,
1880 uint64_t Val =
2036 uint64_t Address = unwrapOrError(O->getStartAddress(), O->getFileName());
2101 uint64_t Start, uint64_t Stop) {
2101 uint64_t Start, uint64_t Stop) {
2107 uint64_t BaseAddr = Section.getAddress();
2108 uint64_t Size = Section.getSize();
tools/llvm-objdump/llvm-objdump.h 94 uint64_t *Idx = nullptr);
109 uint64_t getELFSectionLMA(const object::ELFSectionRef& Sec);
tools/llvm-pdbutil/BytesOutputStyle.cpp 212 uint64_t Base = I;
tools/llvm-pdbutil/ExplainOutputStyle.cpp 31 ExplainOutputStyle::ExplainOutputStyle(InputFile &File, uint64_t FileOffset)
95 uint64_t BlockStart = pdbBlockIndex() * File.pdb().getBlockSize();
225 uint64_t BlockMapOffset = File.pdb().getBlockMapOffset();
tools/llvm-pdbutil/ExplainOutputStyle.h 28 ExplainOutputStyle(InputFile &File, uint64_t FileOffset);
61 const uint64_t FileOffset;
tools/llvm-pdbutil/FormatUtil.h 73 inline int NumDigits(uint64_t N) {
tools/llvm-pdbutil/LinePrinter.cpp 116 uint64_t Base, uint32_t StartOffset) {
230 uint64_t Base = FoundRun.Block * File.getBlockSize() + RunOffset;
258 uint64_t BaseOffset = Blocks.front();
tools/llvm-pdbutil/LinePrinter.h 53 void formatBinary(StringRef Label, ArrayRef<uint8_t> Data, uint64_t BaseAddr,
tools/llvm-pdbutil/PrettyCompilandDumper.cpp 99 uint64_t AddrStart = Line->getVirtualAddress();
100 uint64_t AddrEnd = AddrStart + Line->getLength() - 1;
106 uint64_t AddrStart = Line->getVirtualAddress();
194 uint64_t VA = Symbol.getVirtualAddress();
196 uint64_t Target = Symbol.getTargetVirtualAddress();
tools/llvm-pdbutil/PrettyExternalSymbolDumper.cpp 35 uint64_t Addr = Symbol.getVirtualAddress();
tools/llvm-pdbutil/PrettyFunctionDumper.cpp 117 uint64_t FuncStart = Symbol.getVirtualAddress();
118 uint64_t FuncEnd = FuncStart + Symbol.getLength();
123 uint64_t Prologue = DebugStart->getVirtualAddress() - FuncStart;
130 uint64_t Epilogue = FuncEnd - DebugEnd->getVirtualAddress();
tools/llvm-pdbutil/PrettyVariableDumper.cpp 45 uint64_t Length = VarType->getRawSymbol().getLength();
tools/llvm-pdbutil/llvm-pdbutil.cpp 303 cl::opt<uint64_t> LoadAddress(
705 cl::list<uint64_t> Offsets("offset", cl::desc("The file offset to explain"),
945 uint64_t Size = IS->getCodeByteSize();
1078 uint64_t FileSize = 0;
1349 for (uint64_t Off : opts::explain::Offsets) {
tools/llvm-pdbutil/llvm-pdbutil.h 110 uint64_t Min;
111 llvm::Optional<uint64_t> Max;
208 extern llvm::cl::list<uint64_t> Offsets;
tools/llvm-profdata/llvm-profdata.cpp 179 uint64_t Weight;
536 uint64_t Weight;
545 uint64_t Weight = WF.Weight;
758 uint64_t TotalNumValueSites;
759 uint64_t TotalNumValueSitesWithValueProfile;
760 uint64_t TotalNumValues;
780 uint64_t SiteSum = 0;
817 uint64_t ValueCutoff, bool OnlyListBelow,
841 std::priority_queue<std::pair<std::string, uint64_t>,
842 std::vector<std::pair<std::string, uint64_t>>,
877 uint64_t FuncMax = 0;
878 uint64_t FuncSum = 0;
969 std::vector<std::pair<std::string, uint64_t>> SortedHottestFuncs;
tools/llvm-rc/ResourceFileWriter.cpp 362 uint64_t ResourceFileWriter::writeObject(const ArrayRef<uint8_t> Data) {
363 uint64_t Result = tell();
413 void ResourceFileWriter::padStream(uint64_t Length) {
415 uint64_t Location = tell();
417 uint64_t Pad = (Length - Location) % Length;
418 for (uint64_t i = 0; i < Pad; ++i)
553 uint64_t HeaderLoc = writeObject(HeaderPrefix);
573 uint64_t DataLoc = tell();
1337 uint64_t LengthLoc;
1361 uint64_t CurLoc = tell();
tools/llvm-rc/ResourceFileWriter.h 175 uint64_t tell() const { return FS->tell(); }
177 uint64_t writeObject(const ArrayRef<uint8_t> Data);
179 template <typename T> uint64_t writeInt(const T &Value) {
186 template <typename T> uint64_t writeObject(const T &Value) {
191 template <typename T> void writeObjectAt(const T &Value, uint64_t Position) {
204 void padStream(uint64_t Length);
tools/llvm-readobj/ARMEHABIPrinter.h 180 uint64_t Value = 0;
338 static uint64_t PREL31(uint32_t Address, uint32_t Place) {
339 uint64_t Location = Address & 0x7fffffff;
345 ErrorOr<StringRef> FunctionAtAddress(unsigned Section, uint64_t Address) const;
351 uint64_t TableEntryOffset) const;
368 uint64_t Address) const {
435 uint64_t TableEntryOffset) const {
486 uint64_t Address = PREL31(Word, EHT->sh_addr);
535 const uint64_t Offset = PREL31(Word0, IT->sh_addr);
560 uint64_t TableEntryOffset = PREL31(Word1, IT->sh_addr);
tools/llvm-readobj/ARMWinEHPrinter.cpp 95 static std::string formatSymbol(StringRef Name, uint64_t Address,
96 uint64_t Offset = 0) {
212 Decoder::getSectionContaining(const COFFObjectFile &COFF, uint64_t VA) {
214 uint64_t Address = Section.getAddress();
215 uint64_t Size = Section.getSize();
224 uint64_t VA, bool FunctionOnly) {
232 Expected<uint64_t> Address = Symbol.getAddress();
243 uint64_t Offset) {
245 uint64_t RelocationOffset = Relocation.getOffset();
812 uint64_t FunctionAddress, uint64_t VA) {
812 uint64_t FunctionAddress, uint64_t VA) {
817 uint64_t SectionVA = Section.getAddress();
818 uint64_t Offset = VA - SectionVA;
840 uint64_t ByteCodeLength = XData.CodeWords() * sizeof(uint32_t);
921 const SectionRef Section, uint64_t Offset,
940 uint64_t FunctionAddress;
951 Expected<uint64_t> FunctionAddressOrErr = Function->getAddress();
976 Expected<uint64_t> AddressOrErr = XDataRecord->getAddress();
984 uint64_t Address = *AddressOrErr;
1000 uint64_t Address = COFF.getImageBase() + RF.ExceptionInformationRVA();
1012 const SectionRef Section, uint64_t Offset,
1023 uint64_t FunctionAddress;
1034 Expected<uint64_t> FunctionAddressOrErr = Function->getAddress();
1065 uint64_t Offset = PDataEntrySize * Index;
tools/llvm-readobj/ARMWinEHPrinter.h 130 getSectionContaining(const object::COFFObjectFile &COFF, uint64_t Address);
133 getSymbol(const object::COFFObjectFile &COFF, uint64_t Address,
138 const object::SectionRef &Section, uint64_t Offset);
142 uint64_t FunctionAddress, uint64_t VA);
142 uint64_t FunctionAddress, uint64_t VA);
144 const object::SectionRef Section, uint64_t Offset,
147 const object::SectionRef Section, uint64_t Offset,
tools/llvm-readobj/COFFDumper.cpp 70 uint64_t SEHTableVA = 0;
71 uint64_t SEHTableCount = 0;
73 uint64_t GuardFidTableVA = 0;
74 uint64_t GuardFidTableCount = 0;
75 uint64_t GuardLJmpTableVA = 0;
76 uint64_t GuardLJmpTableCount = 0;
112 uint64_t Bias = 0);
122 void printRVATable(uint64_t TableVA, uint64_t Count, uint64_t EntrySize,
122 void printRVATable(uint64_t TableVA, uint64_t Count, uint64_t EntrySize,
122 void printRVATable(uint64_t TableVA, uint64_t Count, uint64_t EntrySize,
163 std::error_code resolveSymbol(const coff_section *Section, uint64_t Offset,
166 uint64_t Offset, StringRef &Name);
259 uint64_t Offset, SymbolRef &Sym) {
264 uint64_t RelocationOffset = Relocation.getOffset();
280 uint64_t Offset,
301 uint64_t Offset = ptrdiff_t(reinterpret_cast<const char *>(RelocPtr) -
326 uint64_t OffsetStart = Block.data() - SectionContents.data();
327 uint64_t OffsetEnd = OffsetStart + Block.size();
335 uint64_t RelocationOffset = Relocation.getOffset();
750 void COFFDumper::printRVATable(uint64_t TableVA, uint64_t Count,
750 void COFFDumper::printRVATable(uint64_t TableVA, uint64_t Count,
751 uint64_t EntrySize, PrintExtraCB PrintExtra) {
1392 const RelocationRef &Reloc, uint64_t Bias) {
1393 uint64_t Offset = Reloc.getOffset() - Bias;
1394 uint64_t RelocType = Reloc.getType();
1648 uint64_t Addr;
1944 uint64_t SymIndex = decodeULEB128(Cur, &Size, End, &Err);
tools/llvm-readobj/DwarfCFIEHPrinter.h 36 void printEHFrameHdr(uint64_t Offset, uint64_t Address, uint64_t Size) const;
36 void printEHFrameHdr(uint64_t Offset, uint64_t Address, uint64_t Size) const;
36 void printEHFrameHdr(uint64_t Offset, uint64_t Address, uint64_t Size) const;
49 findSectionByAddress(const object::ELFObjectFile<ELFT> *ObjF, uint64_t Addr) {
99 void PrinterContext<ELFT>::printEHFrameHdr(uint64_t EHFrameHdrOffset,
100 uint64_t EHFrameHdrAddress,
101 uint64_t EHFrameHdrSize) const {
122 uint64_t Offset = 0;
131 uint64_t EHFramePtrEnc = DE.getU8(&Offset);
137 uint64_t FDECountEnc = DE.getU8(&Offset);
143 uint64_t TableEnc = DE.getU8(&Offset);
156 uint64_t PrevPC = 0;
177 uint64_t Address = EHFrameShdr->sh_addr;
178 uint64_t ShOffset = EHFrameShdr->sh_offset;
tools/llvm-readobj/ELFDumper.cpp 126 DynRegionInfo(const void *A, uint64_t S, uint64_t ES, StringRef ObjName)
126 DynRegionInfo(const void *A, uint64_t S, uint64_t ES, StringRef ObjName)
132 uint64_t Size = 0;
134 uint64_t EntSize = 0;
306 std::string getDynamicString(uint64_t Value) const;
312 void printDynamicEntry(raw_ostream &OS, uint64_t Type, uint64_t Value) const;
312 void printDynamicEntry(raw_ostream &OS, uint64_t Type, uint64_t Value) const;
421 void printFunctionStackSize(const ELFObjectFile<ELFT> *Obj, uint64_t SymValue,
424 uint64_t *Offset);
429 virtual void printStackSizeEntry(uint64_t Size, StringRef FuncName) = 0;
481 void printStackSizeEntry(uint64_t Size, StringRef FuncName) override;
588 void printStackSizeEntry(uint64_t Size, StringRef FuncName) override;
869 uint64_t Addr) {
1176 static std::string getGNUFlags(uint64_t Flags) {
1179 uint64_t Flag = Entry.Value & Flags;
1623 static const char *getTypeString(unsigned Arch, uint64_t Type) {
1707 uint64_t SONameOffset = 0;
1709 uint64_t StringTableSize = 0;
1970 void ELFDumper<ELFT>::printDynamicEntry(raw_ostream &OS, uint64_t Type,
1971 uint64_t Value) const {
2118 const std::map<uint64_t, const char*> TagNames = {
2143 std::string ELFDumper<ELFT>::getDynamicString(uint64_t Value) const {
2295 uint64_t getGp() const;
2307 uint64_t getGotAddress(const Entry * E) const;
2311 uint64_t getPltAddress(const Entry * E) const;
2361 Optional<uint64_t> DtPltGot;
2362 Optional<uint64_t> DtLocalGotNum;
2363 Optional<uint64_t> DtGotSym;
2364 Optional<uint64_t> DtMipsPltGot;
2365 Optional<uint64_t> DtJmpRel;
2445 template <class ELFT> uint64_t MipsGOTParser<ELFT>::getGp() const {
2493 uint64_t MipsGOTParser<ELFT>::getGotAddress(const Entry *E) const {
2532 uint64_t MipsGOTParser<ELFT>::getPltAddress(const Entry *E) const {
2817 uint64_t Index;
2823 uint64_t ShName;
2824 uint64_t Index;
2839 uint64_t I = 0;
2875 DenseMap<uint64_t, const GroupSection *>
2877 DenseMap<uint64_t, const GroupSection *> Ret;
2888 DenseMap<uint64_t, const GroupSection *> Map = mapSectionsToGroups(V);
3798 for (uint64_t VersymRow = 0; VersymRow < Entries; VersymRow += 4) {
3801 for (uint64_t VersymIndex = 0;
4385 uint64_t PaddedSize = alignTo(DataSize, sizeof(typename ELFT::uint));
4526 uint64_t Start, End, Offset;
4531 uint64_t PageSize;
4553 uint64_t DescOffset = 0;
4554 uint64_t FileCount = Desc.getAddress(&DescOffset);
4561 uint64_t FilenamesOffset = 0;
4717 const ELFObjectFile<ELFT> *Obj, uint64_t SymValue, SectionRef FunctionSec,
4718 const StringRef SectionName, DataExtractor Data, uint64_t *Offset) {
4723 Expected<uint64_t> SymAddrOrErr = Symbol.getAddress();
4748 uint64_t PrevOffset = *Offset;
4749 uint64_t StackSize = Data.getULEB128(Offset);
4763 void GNUStyle<ELFT>::printStackSizeEntry(uint64_t Size, StringRef FuncName) {
4780 uint64_t RelocSymValue = 0;
4803 Expected<uint64_t> RelocSymValueOrErr = RelocSym->getValue();
4810 uint64_t Offset = Reloc.getOffset();
4819 uint64_t Addend = Data.getAddress(&Offset);
4820 uint64_t SymValue = Resolver(Reloc, RelocSymValue, Addend);
4846 uint64_t Offset = 0;
4858 uint64_t SymValue = Data.getAddress(&Offset);
4942 bool (*IsSupportedFn)(uint64_t);
5209 DenseMap<uint64_t, const GroupSection *> Map = mapSectionsToGroups(V);
5758 static Expected<std::vector<uint64_t>> toULEB128Array(ArrayRef<uint8_t> Data) {
5759 std::vector<uint64_t> Ret;
5781 Expected<std::vector<uint64_t>> V = toULEB128Array(Contents);
5787 for (uint64_t Sym : *V) {
5967 void LLVMStyle<ELFT>::printStackSizeEntry(uint64_t Size, StringRef FuncName) {
6034 uint64_t(Parser.getOtherEntries().size()));
tools/llvm-readobj/MachODumper.cpp 284 uint64_t Address;
285 uint64_t Size;
299 uint64_t cmdsize;
300 uint64_t vmaddr;
301 uint64_t vmsize;
302 uint64_t fileoff;
303 uint64_t filesize;
315 uint64_t Value;
544 uint64_t Offset = Reloc.getOffset();
879 uint64_t DataSize = LOLC.cmdsize - sizeof(MachO::linker_option_command);
tools/llvm-readobj/WasmDumper.cpp 87 uint64_t RelocType = Reloc.getType();
tools/llvm-readobj/Win64EHDumper.cpp 44 static uint64_t getOffsetOfLSDA(const UnwindInfo& UI) {
115 const coff_section *Section, uint64_t Offset,
142 uint64_t Offset,
144 uint64_t &ResolvedAddress) {
150 Expected<uint64_t> ResolvedAddressOrErr = Symbol.getAddress();
166 uint64_t Offset,
267 uint64_t LSDAOffset = Offset + getOffsetOfLSDA(UI);
282 uint64_t SectionOffset,
288 uint64_t Offset;
tools/llvm-readobj/Win64EHDumper.h 29 uint64_t, object::SymbolRef &,
45 uint64_t SectionOffset,
52 uint64_t SectionOffset, const RuntimeFunction &RF);
tools/llvm-rtdyld/llvm-rtdyld.cpp 100 static cl::opt<uint64_t>
105 static cl::opt<uint64_t> TargetAddrStart(
112 static cl::opt<uint64_t> TargetAddrEnd(
117 static cl::opt<uint64_t> TargetSectionSep(
220 void addDummySymbol(const std::string &Name, uint64_t Addr) {
241 void registerEHFrames(uint8_t *Addr, uint64_t LoadAddr,
245 void preallocateSlab(uint64_t Size) {
277 std::map<std::string, uint64_t> DummyExterns;
417 std::vector<std::pair<SymbolRef, uint64_t>> SymAddr =
437 Expected<uint64_t> AddrOrErr = Sym.getAddress();
443 uint64_t Addr = *AddrOrErr;
447 uint64_t Size = P.second;
460 uint64_t SectionLoadAddress =
616 uint64_t NewAddr;
654 std::map<uint64_t, uint64_t> AlreadyAllocated;
654 std::map<uint64_t, uint64_t> AlreadyAllocated;
693 uint64_t NextSectionAddr = TargetAddrStart;
717 uint64_t Addr;
840 uint64_t SymSize = SecContent.size() - (CSymAddr - SecContent.data());
tools/llvm-size/llvm-size.cpp 55 static uint64_t TotalObjectText = 0;
56 static uint64_t TotalObjectData = 0;
57 static uint64_t TotalObjectBss = 0;
58 static uint64_t TotalObjectTotal = 0;
163 static size_t getNumLengthAsString(uint64_t num) {
199 static uint64_t getCommonSize(ObjectFile *Obj) {
200 uint64_t TotalCommons = 0;
221 uint64_t total = 0;
232 uint64_t sec_total = 0;
251 uint64_t Seg_vmsize = Seg.vmsize;
259 uint64_t sec_total = 0;
267 uint64_t Sec_size = Sec.size;
287 uint64_t total_text = 0;
288 uint64_t total_data = 0;
289 uint64_t total_objc = 0;
290 uint64_t total_others = 0;
346 uint64_t total = total_text + total_data + total_objc + total_others;
361 uint64_t total = 0;
385 uint64_t size = Section.getSize();
394 uint64_t addr = Section.getAddress();
432 uint64_t size = Section.getSize();
433 uint64_t addr = Section.getAddress();
438 uint64_t CommonSize = getCommonSize(Obj);
453 uint64_t total_text = 0;
454 uint64_t total_data = 0;
455 uint64_t total_bss = 0;
459 uint64_t size = Section.getSize();
tools/llvm-stress/llvm-stress.cpp 124 uint64_t Rand64() {
125 uint64_t Val = Rand() & 0xffff;
435 uint64_t RandomBits[2];
tools/llvm-symbolizer/llvm-symbolizer.cpp 141 static cl::opt<uint64_t>
180 std::string &ModuleName, uint64_t &ModuleOffset) {
223 uint64_t Offset = 0;
tools/llvm-xray/func-id-helper.h 25 using FunctionAddressMap = std::unordered_map<int32_t, uint64_t>;
tools/llvm-xray/xray-account.cpp 225 uint64_t Count;
236 ResultRow getStats(std::vector<uint64_t> &Timings) {
261 using TupleType = std::tuple<int32_t, uint64_t, ResultRow>;
tools/llvm-xray/xray-account.h 30 typedef std::map<int32_t, std::vector<uint64_t>> FunctionLatencyMap;
31 typedef std::map<uint32_t, std::pair<uint64_t, uint64_t>>
31 typedef std::map<uint32_t, std::pair<uint64_t, uint64_t>>
33 typedef std::map<uint8_t, std::pair<uint64_t, uint64_t>> PerCPUMinMaxTSCMap;
33 typedef std::map<uint8_t, std::pair<uint64_t, uint64_t>> PerCPUMinMaxTSCMap;
34 typedef std::vector<std::pair<int32_t, uint64_t>> FunctionStack;
45 uint64_t CurrentMaxTSC = 0;
47 void recordLatency(int32_t FuncId, uint64_t Latency) {
tools/llvm-xray/xray-fdr-dump.cpp 42 uint64_t FileSize;
54 uint64_t OffsetPtr = 0;
tools/llvm-xray/xray-graph.cpp 238 uint64_t D = diff(ThreadStack.back().TSC, Record.TSC);
293 std::vector<uint64_t> TempTimings;
tools/llvm-xray/xray-graph.h 54 using TimestampT = uint64_t;
76 uint64_t TSC;
tools/llvm-xray/xray-stacks.cpp 330 DenseMap<uint32_t, SmallVector<std::pair<StackTrieNode *, uint64_t>, 8>>
611 SmallVector<std::pair<const StackTrieNode *, uint64_t>, 11>
613 SmallVector<std::pair<const StackTrieNode *, uint64_t>, 11> TopStacksBySum;
619 uint64_t UniqueStacks = 0;
tools/lto/lto.cpp 596 uint64_t MaxSizeBytes = MaxSizeMegabytes;
tools/obj2yaml/dwarf2yaml.cpp 19 void dumpInitialLength(DataExtractor &Data, uint64_t &Offset,
62 uint64_t Offset = 0;
86 uint64_t Offset = 0;
128 uint64_t offset = DIE.getOffset();
229 bool dumpFileEntry(DataExtractor &Data, uint64_t &Offset,
250 uint64_t Offset = *StmtOffset;
252 uint64_t LineTableLength = DebugLines.Length.getLength();
253 uint64_t SizeOfPrologueLength = DebugLines.Length.isDWARF64() ? 8 : 4;
257 const uint64_t EndPrologue = DebugLines.PrologueLength + Offset;
287 const uint64_t LineEnd =
tools/obj2yaml/elf2yaml.cpp 527 uint64_t Address = Data.getAddress(Cur);
528 uint64_t Size = Data.getULEB128(Cur);
559 uint64_t SymNdx = Data.getULEB128(Cur);
tools/obj2yaml/macho2yaml.cpp 265 uint64_t ULEB = 0;
313 uint64_t ULEB = 0;
tools/opt/Debugify.cpp 42 uint64_t getAllocSizeInBits(Module &M, Type *Ty) {
75 DenseMap<uint64_t, DIType *> TypeCache;
77 uint64_t Size = getAllocSizeInBits(M, Ty);
186 uint64_t ValueOperandSize = getAllocSizeInBits(M, Ty);
187 Optional<uint64_t> DbgVarSize = DVI->getFragmentSizeInBits();
tools/polly/lib/CodeGen/IslNodeBuilder.cpp 1456 uint64_t ArraySizeInt = 1;
tools/polly/lib/External/isl/imath/imath.h 50 typedef uint64_t mp_word;
tools/polly/lib/External/isl/isl_int_sioimath.c 21 extern void isl_siomath_uint64_to_digits(uint64_t num, mp_digit *digits,
130 uint64_t multiple;
tools/polly/lib/External/isl/isl_int_sioimath.h 232 inline void isl_siomath_uint64_to_digits(uint64_t num, mp_digit *digits,
298 uint64_t num;
tools/polly/lib/Support/GICHelper.cpp 40 const uint64_t *Data = Abs.getRawData();
43 v = isl_val_int_from_chunks(Ctx, Words, sizeof(uint64_t), Data);
52 uint64_t *Data;
54 const static int ChunkSize = sizeof(uint64_t);
tools/polly/lib/Transform/ScheduleOptimizer.cpp 861 static uint64_t getMatMulAlignTypeSize(MatMulInfoTy MMI) {
876 static uint64_t getMatMulTypeSize(MatMulInfoTy MMI) {
tools/sancov/sancov.cpp 136 explicit RawCoverage(std::unique_ptr<std::set<uint64_t>> Addrs)
143 std::unique_ptr<std::set<uint64_t>> Addrs;
223 std::set<uint64_t> *Ints) {
248 auto Addrs = std::make_unique<std::set<uint64_t>>();
252 readInts<uint64_t>(Buf->getBufferStart() + 8, Buf->getBufferEnd(),
521 const std::set<uint64_t> &Addrs,
522 const std::set<uint64_t> &CoveredAddrs) {
606 std::set<uint64_t> *Result) {
624 uint64_t Addr = Sec.addr + J * Stride;
645 static std::set<uint64_t>
647 std::set<uint64_t> Result;
650 Expected<uint64_t> AddressOrErr = Symbol.getAddress();
652 uint64_t Address = AddressOrErr.get();
687 static uint64_t getPreviousInstructionPc(uint64_t PC,
687 static uint64_t getPreviousInstructionPc(uint64_t PC,
704 std::set<uint64_t> *Addrs) {
746 uint64_t SectionAddr = Section.getAddress();
747 uint64_t SectSize = Section.getSize();
755 for (uint64_t Index = 0, Size = 0; Index < Section.getSize();
764 uint64_t Addr = Index + SectionAddr;
766 uint64_t CovPoint = getPreviousInstructionPc(Addr + Size, TheTriple);
767 uint64_t Target;
808 static std::set<uint64_t>
810 std::set<uint64_t> Result;
821 static std::set<uint64_t> findCoveragePointAddrs(const std::string &FileName) {
822 std::set<uint64_t> Result;
830 for (uint64_t Addr : findCoveragePointAddrs(ObjFile)) {
878 for (uint64_t Addr : *Data.Addrs) {
890 std::set<uint64_t> AllAddrs = findCoveragePointAddrs(ObjectFile);
tools/sanstats/sanstats.cpp 31 inline uint64_t KindFromData(uint64_t Data, char SizeofPtr) {
31 inline uint64_t KindFromData(uint64_t Data, char SizeofPtr) {
35 inline uint64_t CountFromData(uint64_t Data, char SizeofPtr) {
35 inline uint64_t CountFromData(uint64_t Data, char SizeofPtr) {
39 uint64_t ReadLE(char Size, const char *Begin, const char *End) {
40 uint64_t Result = 0;
72 uint64_t Addr = ReadLE(SizeofPtr, Begin, End);
74 uint64_t Data = ReadLE(SizeofPtr, Begin, End);
unittests/ADT/APFloatTest.cpp 1100 uint64_t payload) {
1110 uint64_t expected;
1114 uint64_t payload;
3375 using DataType = std::tuple<uint64_t, uint64_t, uint64_t, uint64_t,
3375 using DataType = std::tuple<uint64_t, uint64_t, uint64_t, uint64_t,
3375 using DataType = std::tuple<uint64_t, uint64_t, uint64_t, uint64_t,
3375 using DataType = std::tuple<uint64_t, uint64_t, uint64_t, uint64_t,
3402 uint64_t Op1[2], Op2[2];
3431 using DataType = std::tuple<uint64_t, uint64_t, uint64_t, uint64_t, uint64_t,
3431 using DataType = std::tuple<uint64_t, uint64_t, uint64_t, uint64_t, uint64_t,
3431 using DataType = std::tuple<uint64_t, uint64_t, uint64_t, uint64_t, uint64_t,
3431 using DataType = std::tuple<uint64_t, uint64_t, uint64_t, uint64_t, uint64_t,
3431 using DataType = std::tuple<uint64_t, uint64_t, uint64_t, uint64_t, uint64_t,
3432 uint64_t, APFloat::roundingMode>;
3467 uint64_t Op1[2], Op2[2], Expected[2];
3503 using DataType = std::tuple<uint64_t, uint64_t, uint64_t, uint64_t, uint64_t,
3503 using DataType = std::tuple<uint64_t, uint64_t, uint64_t, uint64_t, uint64_t,
3503 using DataType = std::tuple<uint64_t, uint64_t, uint64_t, uint64_t, uint64_t,
3503 using DataType = std::tuple<uint64_t, uint64_t, uint64_t, uint64_t, uint64_t,
3503 using DataType = std::tuple<uint64_t, uint64_t, uint64_t, uint64_t, uint64_t,
3504 uint64_t, APFloat::roundingMode>;
3517 uint64_t Op1[2], Op2[2], Expected[2];
3537 using DataType = std::tuple<uint64_t, uint64_t, uint64_t, uint64_t,
3537 using DataType = std::tuple<uint64_t, uint64_t, uint64_t, uint64_t,
3537 using DataType = std::tuple<uint64_t, uint64_t, uint64_t, uint64_t,
3537 using DataType = std::tuple<uint64_t, uint64_t, uint64_t, uint64_t,
3570 uint64_t Op1[2], Op2[2];
3599 using DataType = std::tuple<uint64_t, uint64_t, uint64_t, uint64_t, uint64_t,
3599 using DataType = std::tuple<uint64_t, uint64_t, uint64_t, uint64_t, uint64_t,
3599 using DataType = std::tuple<uint64_t, uint64_t, uint64_t, uint64_t, uint64_t,
3599 using DataType = std::tuple<uint64_t, uint64_t, uint64_t, uint64_t, uint64_t,
3599 using DataType = std::tuple<uint64_t, uint64_t, uint64_t, uint64_t, uint64_t,
3600 uint64_t, APFloat::roundingMode>;
3644 uint64_t Op1[2], Op2[2], Expected[2];
3680 using DataType = std::tuple<uint64_t, uint64_t, uint64_t, uint64_t, uint64_t,
3680 using DataType = std::tuple<uint64_t, uint64_t, uint64_t, uint64_t, uint64_t,
3680 using DataType = std::tuple<uint64_t, uint64_t, uint64_t, uint64_t, uint64_t,
3680 using DataType = std::tuple<uint64_t, uint64_t, uint64_t, uint64_t, uint64_t,
3680 using DataType = std::tuple<uint64_t, uint64_t, uint64_t, uint64_t, uint64_t,
3681 uint64_t, APFloat::roundingMode>;
3692 uint64_t Op1[2], Op2[2], Expected[2];
3713 std::tuple<uint64_t, uint64_t, uint64_t, uint64_t, uint64_t, uint64_t>;
3713 std::tuple<uint64_t, uint64_t, uint64_t, uint64_t, uint64_t, uint64_t>;
3713 std::tuple<uint64_t, uint64_t, uint64_t, uint64_t, uint64_t, uint64_t>;
3713 std::tuple<uint64_t, uint64_t, uint64_t, uint64_t, uint64_t, uint64_t>;
3713 std::tuple<uint64_t, uint64_t, uint64_t, uint64_t, uint64_t, uint64_t>;
3713 std::tuple<uint64_t, uint64_t, uint64_t, uint64_t, uint64_t, uint64_t>;
3726 uint64_t Op1[2], Op2[2], Expected[2];
3746 std::tuple<uint64_t, uint64_t, uint64_t, uint64_t, uint64_t, uint64_t>;
3746 std::tuple<uint64_t, uint64_t, uint64_t, uint64_t, uint64_t, uint64_t>;
3746 std::tuple<uint64_t, uint64_t, uint64_t, uint64_t, uint64_t, uint64_t>;
3746 std::tuple<uint64_t, uint64_t, uint64_t, uint64_t, uint64_t, uint64_t>;
3746 std::tuple<uint64_t, uint64_t, uint64_t, uint64_t, uint64_t, uint64_t>;
3746 std::tuple<uint64_t, uint64_t, uint64_t, uint64_t, uint64_t, uint64_t>;
3761 uint64_t Op1[2], Op2[2], Expected[2];
3806 std::tuple<uint64_t, uint64_t, uint64_t, uint64_t, APFloat::cmpResult>;
3806 std::tuple<uint64_t, uint64_t, uint64_t, uint64_t, APFloat::cmpResult>;
3806 std::tuple<uint64_t, uint64_t, uint64_t, uint64_t, APFloat::cmpResult>;
3806 std::tuple<uint64_t, uint64_t, uint64_t, uint64_t, APFloat::cmpResult>;
3833 uint64_t Op1[2], Op2[2];
3847 using DataType = std::tuple<uint64_t, uint64_t, uint64_t, uint64_t, bool>;
3847 using DataType = std::tuple<uint64_t, uint64_t, uint64_t, uint64_t, bool>;
3847 using DataType = std::tuple<uint64_t, uint64_t, uint64_t, uint64_t, bool>;
3847 using DataType = std::tuple<uint64_t, uint64_t, uint64_t, uint64_t, bool>;
3865 uint64_t Op1[2], Op2[2];
3879 uint64_t Data1[] = {0x3ff0000000000001ull, 0x0000000000000001ull};
3880 uint64_t Data2[] = {0x3ff0000000000001ull, 0};
3888 uint64_t Data[] = {
3908 uint64_t Data[] = {
3915 uint64_t Data[] = {
3922 uint64_t Data[] = {
3930 uint64_t Data[] = {0x0360000000000000ull, 0};
3936 uint64_t Data[] = {
3944 uint64_t Data[] = {
3952 uint64_t Data[] = {
3960 uint64_t Data[] = {
3978 uint64_t Data[] = {
3988 uint64_t Input[] = {
4001 uint64_t Input[] = {
unittests/ADT/APIntTest.cpp 483 uint64_t edge = 0x4000000000000000;
484 uint64_t edgeP1 = edge + 1;
485 uint64_t edgeM1 = edge - 1;
545 uint64_t E1 = 0x2CA7F46BF6569915ULL;
567 uint64_t N = 0xEB6EB136591CBA21ULL;
611 const uint64_t *RawDataL = nullptr;
612 const uint64_t *RawDataR = nullptr;
778 const uint64_t *RawDataL = nullptr;
779 const uint64_t *RawDataR = nullptr;
896 const uint64_t *RawData = nullptr;
1005 void testDiv(APInt a, uint64_t b, APInt c) {
1009 uint64_t r;
1608 uint64_t E1 = 0x2CA7F46BF6569915ULL;
1643 uint64_t I1 = 0x1800001;
1648 uint64_t I2 = 0x1000011;
1653 uint64_t I3 = 0x1800000;
1670 uint64_t I6[4] = {0x0, 0x0, 0x0, 0x18};
1898 uint64_t iSrc = 0x00123456;
2519 for (uint64_t Ai = 1; Ai <= 255; Ai++) {
2526 for (uint64_t Bi = 1; Bi <= 255; Bi++) {
2556 for (uint64_t Bi = -128; Bi <= 127; Bi++) {
2586 const std::pair<uint64_t, uint64_t> Overflows[] = {
2586 const std::pair<uint64_t, uint64_t> Overflows[] = {
2592 const std::pair<uint64_t, uint64_t> NonOverflows[] = {
2592 const std::pair<uint64_t, uint64_t> NonOverflows[] = {
unittests/ADT/APSIntTest.cpp 28 const uint64_t *Bits = Wide.getRawData();
unittests/ADT/HashingTest.cpp 30 struct LargeTestInteger { uint64_t arr[8]; };
33 uint64_t x, y;
34 NonPOD(uint64_t x, uint64_t y) : x(x), y(y) {}
34 NonPOD(uint64_t x, uint64_t y) : x(x), y(y) {}
60 uint64_t i = 71;
209 struct { const char *s; uint64_t hash; } golden_data[] = {
324 const uint64_t bigarr[] = {
unittests/ADT/StringRefTest.cpp 556 uint64_t Expected;
602 uint64_t U64;
698 uint64_t Expected;
771 uint64_t U64;
unittests/Analysis/BlockFrequencyInfoTest.cpp 69 uint64_t BB0Freq = BFI.getBlockFreq(&BB0).getFrequency();
70 uint64_t BB1Freq = BFI.getBlockFreq(BB1).getFrequency();
71 uint64_t BB2Freq = BFI.getBlockFreq(BB2).getFrequency();
72 uint64_t BB3Freq = BFI.getBlockFreq(BB3).getFrequency();
unittests/Analysis/ValueTrackingTest.cpp 76 void expectKnownBits(uint64_t Zero, uint64_t One) {
76 void expectKnownBits(uint64_t Zero, uint64_t One) {
unittests/BinaryFormat/MsgPackReaderTest.cpp 212 for (uint64_t u = 0; u <= 127; ++u) {
unittests/BinaryFormat/MsgPackWriterTest.cpp 38 for (uint64_t u = 0; u <= 127; ++u) {
49 uint64_t u = 128;
55 uint64_t u = 221;
61 uint64_t u = UINT8_MAX;
67 uint64_t u = static_cast<uint64_t>(UINT8_MAX) + 1;
73 uint64_t u = 43981;
79 uint64_t u = UINT16_MAX;
85 uint64_t u = static_cast<uint64_t>(UINT16_MAX) + 1;
91 uint64_t u = 2882400186;
97 uint64_t u = UINT32_MAX;
103 uint64_t u = static_cast<uint64_t>(UINT32_MAX) + 1;
110 uint64_t u = 0x010203040506074a;
116 uint64_t u = UINT64_MAX;
unittests/Bitstream/BitstreamReaderTest.cpp 144 SmallVector<uint64_t, 1> Record;
unittests/CodeGen/DIEHashTest.cpp 43 uint64_t MD5Res = Hash.computeTypeSignature(Die);
56 uint64_t MD5Res = DIEHash().computeTypeSignature(Unnamed);
70 uint64_t MD5Res = DIEHash().computeTypeSignature(Foo);
98 uint64_t MD5Res = DIEHash().computeTypeSignature(N);
129 uint64_t MD5Res = DIEHash().computeTypeSignature(Unnamed);
169 uint64_t MD5Res = DIEHash().computeTypeSignature(Unnamed);
191 uint64_t MD5Res = DIEHash().computeTypeSignature(Foo);
221 uint64_t MD5Res = DIEHash().computeTypeSignature(Foo);
256 uint64_t MD5Res = DIEHash().computeTypeSignature(Foo);
291 uint64_t MD5Res = DIEHash().computeTypeSignature(Foo);
322 uint64_t MD5Res = DIEHash().computeTypeSignature(Foo);
339 uint64_t MD5ResDecl;
371 uint64_t MD5ResDef;
417 uint64_t MD5ResDecl;
448 uint64_t MD5ResDef;
519 uint64_t MD5Res = DIEHash().computeTypeSignature(Foo);
537 uint64_t MD5Res = DIEHash().computeTypeSignature(Unnamed);
555 uint64_t MD5Res = DIEHash().computeTypeSignature(Unnamed);
589 uint64_t MD5Res = DIEHash().computeTypeSignature(A);
637 uint64_t MD5Res = DIEHash().computeTypeSignature(A);
695 uint64_t MD5Res = DIEHash().computeTypeSignature(A);
unittests/CodeGen/GlobalISel/LegalizerInfoTest.cpp 390 const uint64_t MaxAlignment = UINT64_C(1) << 29;
391 const uint64_t MaxAlignInBits = 8 * MaxAlignment;
unittests/DebugInfo/DWARF/DWARFDebugInfoTest.cpp 56 const uint64_t Data8 = 0x0011223344556677ULL;
57 const uint64_t Data8_2 = 0xAABBCCDDEEFF0011ULL;
62 const uint64_t UData[] = {UINT64_MAX - 1, UINT64_MAX - 2, UINT64_MAX - 3,
397 typedef uint64_t AddrType;
415 typedef uint64_t AddrType;
433 typedef uint64_t AddrType;
451 typedef uint64_t AddrType;
555 typedef uint64_t AddrType;
569 typedef uint64_t AddrType;
583 typedef uint64_t AddrType;
805 typedef uint64_t AddrType;
819 typedef uint64_t AddrType;
833 typedef uint64_t AddrType;
861 const uint64_t ActualLowPC = 0x1000;
862 const uint64_t ActualHighPC = 0x2000;
863 const uint64_t ActualHighPCOffset = ActualHighPC - ActualLowPC;
893 uint64_t LowPC, HighPC, SectionIndex;
894 Optional<uint64_t> OptU64;
977 typedef uint64_t AddrType;
991 typedef uint64_t AddrType;
1005 typedef uint64_t AddrType;
1415 const uint64_t CULowPC = 0x1000;
1558 uint64_t InvalidU64 = 0xBADBADBADBADBADB;
1579 uint64_t Address = 0x100000000ULL;
1598 uint64_t UData8 = 0x1020304050607080ULL;
3180 uint64_t Offset = 0;
unittests/DebugInfo/DWARF/DWARFDebugLineTest.cpp 114 uint64_t Offset = 0) {
124 uint64_t Offset = 0) {
162 uint64_t BodyLength) {
164 uint64_t UnitLength;
165 uint64_t PrologueLength;
266 uint64_t SecondOffset =
376 uint64_t ExpectedEnd =
405 uint64_t ExpectedEnd =
unittests/DebugInfo/DWARF/DWARFFormValueTest.cpp 44 uint64_t Offset = 0;
52 DWARFFormValue createULEBFormValue(uint64_t Value) {
56 uint64_t Offset = 0;
67 uint64_t Offset = 0;
79 auto Sign8 = createDataXFormValue<uint64_t>(DW_FORM_data8, -1);
96 auto Data8 = createDataXFormValue<uint64_t>(DW_FORM_data8, 0x1234567812345678LL);
115 uint64_t Offset = 0;
unittests/DebugInfo/DWARF/DwarfGenerator.cpp 50 void dwarfgen::DIE::addAttribute(uint16_t A, dwarf::Form Form, uint64_t U) {
215 void dwarfgen::LineTable::addExtendedOpcode(uint64_t Length, uint8_t Opcode,
unittests/DebugInfo/DWARF/DwarfGenerator.h 89 void addAttribute(uint16_t Attr, dwarf::Form Form, uint64_t U);
158 uint64_t getOffset() const { return DU.getDebugSectionOffset(); }
159 uint64_t getLength() const { return DU.getLength(); }
162 void setOffset(uint64_t Offset) { DU.setDebugSectionOffset(Offset); }
163 void setLength(uint64_t Length) { DU.setLength(Length); }
174 uint64_t Value;
203 void addExtendedOpcode(uint64_t Length, uint8_t Opcode,
unittests/DebugInfo/GSYM/GSYMTest.cpp 85 const uint64_t StartAddr = 0x1000;
86 const uint64_t EndAddr = 0x1100;
87 const uint64_t Size = EndAddr - StartAddr;
162 const uint64_t BaseAddr,
180 const uint64_t BaseAddr = 0x100;
210 Expected<uint64_t> ExpectedOffset = FI.encode(FW);
216 const uint64_t FuncAddr = 0x1000;
217 const uint64_t FuncSize = 0x100;
245 llvm::Expected<uint64_t> ExpectedOffset = FI.encode(FW);
260 static void AddLines(uint64_t FuncAddr, uint32_t FileIdx, FunctionInfo &FI) {
271 static void AddInline(uint64_t FuncAddr, uint64_t FuncSize, FunctionInfo &FI) {
271 static void AddInline(uint64_t FuncAddr, uint64_t FuncSize, FunctionInfo &FI) {
283 constexpr uint64_t FuncAddr = 0x1000;
284 constexpr uint64_t FuncSize = 0x100;
322 const uint64_t BaseAddr = Inline.Ranges[0].Start;
337 const uint64_t BaseAddr,
354 const uint64_t BaseAddr = Inline.Ranges.empty() ? 0 : Inline.Ranges[0].Start;
497 const uint64_t BaseAddr = 0x100;
518 const uint64_t ValidAddr = 0x1000;
519 const uint64_t InvalidFileIdx = 0;
544 const uint64_t StartAddr = 0x1000;
545 const uint64_t EndAddr = 0x2000;
689 const uint64_t MinULEB = 0;
690 const uint64_t MaxULEB = UINT64_MAX;
694 const uint64_t U64 = 0x33445566778899aa;
714 uint64_t Offset = 0;
742 const uint64_t BaseAddr = 0x1000;
752 uint64_t Offset = 0;
760 const uint64_t BaseAddr) {
772 uint64_t Offset = 0;
782 const uint64_t BaseAddr = 0x1000;
803 const uint64_t BaseAddr = LT[0].Addr;
817 const uint64_t StartAddr = 0x1000;
874 const uint64_t BaseAddr,
892 const uint64_t BaseAddr = 0x100;
922 const uint64_t BaseAddr = 0x1000;
1074 const uint64_t FuncAddr = 0x1000;
1075 const uint64_t FuncSize = 0x100;
1127 uint8_t AddrOffSize, uint64_t BaseAddress,
1150 constexpr uint64_t BaseAddr = 0x1000;
1176 constexpr uint64_t BaseAddr = 0x1000;
1202 constexpr uint64_t BaseAddr = 0x1000;
1228 constexpr uint64_t BaseAddr = 0x1000;
1250 static void VerifyFunctionInfo(const GsymReader &GR, uint64_t Addr,
1257 static void VerifyFunctionInfoError(const GsymReader &GR, uint64_t Addr,
1268 constexpr uint64_t BaseAddr = 0x1000;
1269 constexpr uint64_t Func1Addr = BaseAddr;
1270 constexpr uint64_t Func2Addr = BaseAddr+0x20;
1271 constexpr uint64_t FuncSize = 0x10;
unittests/DebugInfo/MSF/MappedBlockStreamTest.cpp 495 uint64_t Offset = msf::blockToOffset(BlockIndex, Layout.SB->BlockSize);
unittests/DebugInfo/PDB/PDBApiTest.cpp 67 uint64_t getLoadAddress() const override { return 0; }
68 bool setLoadAddress(uint64_t Address) override { return false; }
77 bool addressForVA(uint64_t VA, uint32_t &Section,
86 findSymbolByAddress(uint64_t Address, PDB_SymType Type) const override {
104 findLineNumbersByAddress(uint64_t Address, uint32_t Length) const override {
191 uint64_t VA) const override {
208 findInlineFramesByVA(uint64_t VA) const override {
224 findInlineeLinesByVA(uint64_t VA, uint32_t Length) const override {
unittests/ExecutionEngine/JITLink/JITLinkTestCommon.cpp 208 uint64_t InstSize;
unittests/ExecutionEngine/JITLink/MachO_x86_64_Tests.cpp 82 uint64_t PCRelDelta = Callee.getAddress() - (FixupAddress + 4);
99 uint64_t PCRelDelta = E.getTarget().getAddress() - (FixupAddress + 4);
224 uint64_t PCRelDelta = P.getAddress() - (FixupAddress + 4);
unittests/ExecutionEngine/MCJIT/MCJITCAPITest.cpp 359 uint64_t raw = LLVMGetGlobalValueAddress(Engine, "simple_value");
373 uint64_t raw = LLVMGetFunctionAddress(Engine, "simple_function");
503 uint64_t raw = LLVMGetFunctionAddress(Engine, "test_fn");
unittests/ExecutionEngine/MCJIT/MCJITMultipleModuleTest.cpp 44 void checkAdd(uint64_t ptr) {
56 void checkAccumulate(uint64_t ptr) {
99 uint64_t ptr = TheJIT->getFunctionAddress(FA->getName().str());
119 uint64_t ptr = TheJIT->getFunctionAddress(FB->getName().str());
140 uint64_t ptr = TheJIT->getFunctionAddress(FB->getName().str());
161 uint64_t ptr = TheJIT->getFunctionAddress(FA->getName().str());
182 uint64_t ptr = TheJIT->getFunctionAddress(FB->getName().str());
230 uint64_t FBPtr = TheJIT->getFunctionAddress(FB->getName().str());
237 uint64_t FAPtr = TheJIT->getFunctionAddress(FA->getName().str());
259 uint64_t ptr = TheJIT->getFunctionAddress(FC->getName().str());
284 uint64_t ptr = TheJIT->getFunctionAddress(FA->getName().str());
309 uint64_t ptr = TheJIT->getFunctionAddress(FC->getName().str());
334 uint64_t ptr = TheJIT->getFunctionAddress(FA->getName().str());
358 uint64_t ptr = TheJIT->getFunctionAddress(FA->getName().str());
379 uint64_t ptr = TheJIT->getFunctionAddress(FB1->getName().str());
400 uint64_t ptr = TheJIT->getFunctionAddress(FB1->getName().str());
unittests/ExecutionEngine/MCJIT/MCJITTest.cpp 65 uint64_t addPtr = TheJIT->getFunctionAddress(F->getName().str());
86 uint64_t ptr = TheJIT->getFunctionAddress(Main->getName().str());
108 uint64_t rgvPtr = TheJIT->getFunctionAddress(ReturnGlobal->getName().str());
185 uint64_t ptr = TheJIT->getFunctionAddress(Outer->getName().str());
unittests/ExecutionEngine/Orc/ObjectTransformLayerTest.cpp 280 void registerEHFrames(uint8_t *, uint64_t, size_t) override {}
unittests/ExecutionEngine/Orc/OrcCAPITest.cpp 62 static uint64_t myResolver(const char *Name, void *Ctx) {
unittests/ExecutionEngine/Orc/QueueChannel.h 153 uint64_t NumWritten = 0;
154 uint64_t NumRead = 0;
unittests/ExecutionEngine/Orc/RPCUtilsTest.cpp 136 int32_t, uint32_t, int64_t, uint64_t,
unittests/ExecutionEngine/Orc/RemoteObjectLayerTest.cpp 24 using ObjHandleT = uint64_t;
unittests/FuzzMutate/OperationsTest.cpp 87 std::numeric_limits<uint64_t>::max());
unittests/IR/AsmWriterTest.cpp 52 uint64_t Ops[] = {
unittests/IR/ConstantsTest.cpp 479 uint64_t AndValue,
unittests/IR/MetadataTest.cpp 1387 uint64_t SizeInBits = 2;
1389 uint64_t OffsetInBits = 4;
1507 uint64_t SizeInBits = UINT64_MAX;
1509 uint64_t OffsetInBits = UINT64_MAX - 2;
1533 uint64_t SizeInBits = 2;
1535 uint64_t OffsetInBits = 4;
1578 uint64_t SizeInBits = 2;
1580 uint64_t OffsetInBits = 4;
1709 uint64_t DWOId = 0x10000000c0ffee;
1768 uint64_t DWOId = 0xc0ffee;
2320 uint64_t Elements[] = {2, 6, 9, 78, 0};
2336 uint64_t Elts0[] = {dwarf::DW_OP_LLVM_fragment, 0, 32};
2343 uint64_t Elts1[] = {dwarf::DW_OP_deref,
2352 uint64_t Elts2[] = {dwarf::DW_OP_deref, dwarf::DW_OP_plus_uconst, 64,
unittests/MC/Disassembler.cpp 15 static const char *symbolLookupCallback(void *DisInfo, uint64_t ReferenceValue,
16 uint64_t *ReferenceType,
17 uint64_t ReferencePC,
unittests/Object/MinidumpTest.cpp 764 for (uint64_t index = 0; index < Exception.MaxParameters; ++index) {
unittests/Object/SymbolicFileTest.cpp 22 static_assert(sizeof Data.p == sizeof(uint64_t) ||
28 if (sizeof Data.p == sizeof(uint64_t)) {
unittests/ProfileData/CoverageMappingTest.cpp 62 uint64_t Hash;
112 uint64_t Hash;
115 InputFunctionCoverageData(std::string Name, uint64_t Hash)
171 void startFunction(StringRef FuncName, uint64_t Hash) {
unittests/ProfileData/InstrProfTest.cpp 121 std::vector<uint64_t> Counts;
261 uint64_t TotalC;
306 uint64_t T;
401 uint64_t TotalC;
569 const uint64_t Max = std::numeric_limits<uint64_t>::max();
569 const uint64_t Max = std::numeric_limits<uint64_t>::max();
813 std::vector<uint64_t> Counts;
918 uint64_t Key = IndexedInstrProf::ComputeHash(PGOName);
1003 std::vector<uint64_t> Counts;
unittests/ProfileData/SampleProfTest.cpp 261 uint64_t TotalSamples, uint64_t HeadSamples) {
261 uint64_t TotalSamples, uint64_t HeadSamples) {
301 const StringMap<uint64_t> &Expected) {
324 uint64_t Esamples = uint64_t(-1);
362 const uint64_t Max = std::numeric_limits<uint64_t>::max();
362 const uint64_t Max = std::numeric_limits<uint64_t>::max();
385 ErrorOr<uint64_t> BodySamples = FooSamples.findSamplesAt(10, 0);
395 StringMap<uint64_t> Expected;
407 StringMap<uint64_t> Expected;
420 StringMap<uint64_t> Expected;
432 StringMap<uint64_t> Expected;
444 StringMap<uint64_t> Expected;
455 StringMap<uint64_t> Expected;
unittests/Support/AlignmentTest.cpp 42 constexpr Align kConstantAlign = Align::Of<uint64_t>();
46 std::vector<uint64_t> getValidAlignments() {
47 std::vector<uint64_t> Out;
63 for (uint64_t Value : getValidAlignments()) {
79 for (uint64_t Value : getValidAlignments()) {
90 uint64_t alignment;
91 uint64_t offset;
92 uint64_t rounded;
130 for (uint64_t Value : getValidAlignments()) {
138 uint64_t A;
139 uint64_t B;
140 uint64_t MinAlign;
166 for (uint64_t Value : getValidAlignments()) {
185 uint64_t alignment;
186 uint64_t offset;
212 uint64_t alignment;
213 uint64_t offset;
214 uint64_t alignedOffset;
232 std::vector<uint64_t> ValidAlignments = getValidAlignments();
319 std::vector<uint64_t> getValidAlignmentsForDeathTest() {
323 std::vector<uint64_t> getNonPowerOfTwo() { return {3, 10, 15}; }
343 for (uint64_t Value : getNonPowerOfTwo()) {
351 for (uint64_t Value : getValidAlignmentsForDeathTest()) {
362 for (uint64_t Value : getValidAlignmentsForDeathTest()) {
374 for (uint64_t Value : getValidAlignmentsForDeathTest()) {
unittests/Support/BinaryStreamTest.cpp 614 std::vector<uint64_t> TestValues = {
637 std::vector<uint64_t> Results;
unittests/Support/BlockFrequencyTest.cpp 64 const uint64_t Big = 387246523487234346LL;
unittests/Support/BranchProbabilityTest.cpp 244 uint64_t Num;
246 uint64_t Result;
unittests/Support/CheckedArithmeticTest.cpp 63 const uint64_t Max = std::numeric_limits<uint64_t>::max();
63 const uint64_t Max = std::numeric_limits<uint64_t>::max();
70 const uint64_t Max = std::numeric_limits<uint64_t>::max();
70 const uint64_t Max = std::numeric_limits<uint64_t>::max();
77 const uint64_t Max = std::numeric_limits<uint64_t>::max();
77 const uint64_t Max = std::numeric_limits<uint64_t>::max();
unittests/Support/DataExtractorTest.cpp 28 uint64_t offset = 0;
76 uint64_t offset = 0;
93 uint64_t offset = 0;
103 uint64_t offset = 0;
122 uint64_t Offset = 0;
unittests/Support/FileCheckTest.cpp 23 Expected<uint64_t> Value = Ten.eval();
28 FileCheckExpressionLiteral Max(std::numeric_limits<uint64_t>::max());
60 uint64_t doAdd(uint64_t OpL, uint64_t OpR) { return OpL + OpR; }
60 uint64_t doAdd(uint64_t OpL, uint64_t OpR) { return OpL + OpR; }
60 uint64_t doAdd(uint64_t OpL, uint64_t OpR) { return OpL + OpR; }
69 Expected<uint64_t> EvalResult = FooVarUse.eval();
76 Optional<uint64_t> Value = FooVar.getValue();
104 Expected<uint64_t> Value = Binop.eval();
528 Expected<uint64_t> ExpressionVal = (*ExpressionAST)->eval();
unittests/Support/FileOutputBufferTest.cpp 58 uint64_t File1Size;
96 uint64_t File3Size;
unittests/Support/FormatVariadicTest.cpp 500 void *, int, double, int64_t, uint64_t, double, uint8_t>;
unittests/Support/MathExtrasTest.cpp 20 uint64_t Z64 = 0;
29 uint64_t NZ64 = 42;
40 uint64_t Z64 = 0;
49 uint64_t NZ64 = 42;
97 uint64_t Z64 = 0;
106 uint64_t NZ64 = 42;
117 uint64_t Z64 = 0;
126 uint64_t NZ64 = 42;
171 uint64_t NZ64 = 42;
315 SaturatingAddTestHelper<uint64_t>();
395 SaturatingMultiplyTestHelper<uint64_t>();
449 SaturatingMultiplyAddTestHelper<uint64_t>();
unittests/Support/NativeFormatTests.cpp 28 std::string format_number(uint64_t N, HexPrintStyle Style,
unittests/Support/Path.cpp 1373 uint64_t FileSize;
1404 uint64_t FileSize;
1418 uint64_t FileSize;
1443 uint64_t FileSize;
unittests/Support/ScaledNumberTest.cpp 39 typedef ScaledPair<uint64_t> SP64;
58 const uint64_t Max32In64 = UINT32_MAX;
unittests/Support/SwapByteOrderTest.cpp 25 uint64_t value = 1;
39 uint64_t original_uint64 = static_cast<uint64_t>(value);
50 uint64_t value = 1;
159 uint64_t value = 0x8877665544332211ULL;
unittests/Support/TarWriterTest.cpp 135 uint64_t TarSize;
154 uint64_t TarSize;
173 uint64_t TarSize;
unittests/Support/YAMLIOTest.cpp 330 uint64_t u64;
1991 std::vector<uint64_t> seq;
unittests/Support/raw_ostream_test.cpp 190 llvm::Optional<uint64_t> Offset = None,
201 Optional<uint64_t> Offset = None,
unittests/Target/ARM/MachineInstrTest.cpp 499 uint64_t Flags = MII->get(i).TSFlags;
unittests/Transforms/IPO/LowerTypeTests.cpp 17 std::vector<uint64_t> Offsets;
18 std::set<uint64_t> Bits;
19 uint64_t ByteOffset;
20 uint64_t BitSize;
71 for (uint64_t NonOffset = 0; NonOffset != 256; ++NonOffset) {
84 uint64_t NumObjects;
85 std::vector<std::set<uint64_t>> Fragments;
86 std::vector<uint64_t> WantLayout;
101 std::vector<uint64_t> ComputedLayout;
111 std::set<uint64_t> Bits;
112 uint64_t BitSize;
113 uint64_t WantByteOffset;
145 uint64_t GotByteOffset;
unittests/Transforms/IPO/WholeProgramDevirt.cpp 79 uint64_t OffsetBit;
unittests/XRay/FDRProducerConsumerTest.cpp 134 uint64_t OffsetPtr = 0;
175 uint64_t OffsetPtr = 0;
unittests/XRay/FDRTraceWriterTest.cpp 133 constexpr uint64_t BufferSize = 4096;
unittests/tools/llvm-cfi-verify/FileAnalysis.cpp 605 uint64_t PrevSearchLengthForConditionalBranch =
631 uint64_t PrevSearchLengthForUndef = SearchLengthForUndef;
698 uint64_t PrevSearchLengthForUndef = SearchLengthForUndef;
718 uint64_t PrevSearchLengthForUndef = SearchLengthForUndef;
749 uint64_t PrevSearchLengthForUndef = SearchLengthForUndef;
unittests/tools/llvm-cfi-verify/GraphBuilder.cpp 59 std::string HexStringifyContainer(const std::vector<uint64_t> &C) {
400 uint64_t PrevSearchLengthForConditionalBranch =
430 uint64_t PrevSearchLengthForUndef = SearchLengthForUndef;
545 uint64_t PrevSearchLengthForUndef = SearchLengthForUndef;
unittests/tools/llvm-exegesis/X86/TargetTest.cpp 175 const uint64_t Value = 0x7FFFFFFFFFFFFFFFULL;
usr/include/c++/7.4.0/atomic 938 typedef atomic<uint64_t> atomic_uint64_t;
usr/include/c++/7.4.0/type_traits 2427 static __result_of_success<decltype(
usr/include/elf.h 41 typedef uint64_t Elf32_Xword;
43 typedef uint64_t Elf64_Xword;
48 typedef uint64_t Elf64_Addr;
52 typedef uint64_t Elf64_Off;
1123 uint64_t a_type; /* Entry type */
1126 uint64_t a_val; /* Integer value */
usr/include/plugin-api.h 92 uint64_t size;
343 uint64_t segment_flags,
344 uint64_t segment_alignment,
366 uint64_t *secsize);
usr/include/rpc/xdr.h 303 extern bool_t xdr_uint64_t (XDR *__xdrs, uint64_t *__up) __THROW;
usr/include/x86_64-linux-gnu/bits/link.h 88 uint64_t lr_rdx;
89 uint64_t lr_r8;
90 uint64_t lr_r9;
91 uint64_t lr_rcx;
92 uint64_t lr_rsi;
93 uint64_t lr_rdi;
94 uint64_t lr_rbp;
95 uint64_t lr_rsp;
106 uint64_t lrv_rax;
107 uint64_t lrv_rdx;
usr/include/x86_64-linux-gnu/sys/epoll.h 80 uint64_t u64;
utils/TableGen/AsmWriterEmitter.cpp 290 std::vector<uint64_t> OpcodeInfo(NumberedInstructions.size());
398 uint64_t Mask = (1ULL << TableSize) - 1;
utils/TableGen/CodeEmitterGen.cpp 237 uint64_t opMask = ~(uint64_t)0 >> (64 - N);
utils/TableGen/CodeGenDAGPatterns.h 60 using WordType = uint64_t;
utils/TableGen/DAGISelMatcherEmitter.cpp 181 static uint64_t EmitVBRValue(uint64_t Val, raw_ostream &OS) {
181 static uint64_t EmitVBRValue(uint64_t Val, raw_ostream &OS) {
187 uint64_t InVal = Val;
utils/TableGen/DFAEmitter.cpp 197 uint64_t NewState;
208 bool canTransitionFrom(uint64_t State);
209 uint64_t transitionFrom(uint64_t State);
209 uint64_t transitionFrom(uint64_t State);
286 std::deque<uint64_t> Worklist(1, 0);
287 std::set<uint64_t> SeenStates;
291 uint64_t State = Worklist.front();
296 uint64_t NewState = T.transitionFrom(State);
360 bool Transition::canTransitionFrom(uint64_t State) {
367 uint64_t Transition::transitionFrom(uint64_t State) {
367 uint64_t Transition::transitionFrom(uint64_t State) {
utils/TableGen/DFAEmitter.h 44 using state_type = uint64_t;
46 using action_type = uint64_t;
utils/TableGen/DFAPacketizerEmitter.cpp 61 typedef uint64_t DFAInput;
utils/TableGen/FixedLenDecoderEmitter.cpp 68 uint64_t InitValue;
275 std::map<uint64_t, std::vector<EncodingIDAndOpcode>>
453 bool fieldFromInsn(uint64_t &Field, insn_t &Insn, unsigned StartBit,
480 std::vector<uint64_t> &FieldVals,
567 uint64_t Field;
766 uint64_t Pos = I - Table.begin();
896 uint64_t Value = 0;
994 bool FilterChooser::fieldFromInsn(uint64_t &Field, insn_t &Insn,
1050 std::vector<uint64_t> &FieldVals,
1055 uint64_t FieldVal = 0;
1355 std::vector<uint64_t> FieldVals;
1491 std::vector<uint64_t> FieldVals;
utils/TableGen/GICombinerEmitter.cpp 43 typedef uint64_t RuleID;
utils/TableGen/GlobalISelEmitter.cpp 857 uint64_t RuleID;
858 static uint64_t NextRuleID;
869 uint64_t getRuleID() const { return RuleID; }
977 uint64_t RuleMatcher::NextRuleID = 0;
1854 uint64_t Size;
3259 DenseMap<uint64_t, int> RuleMatcherScores;
utils/TableGen/InstrInfoEmitter.cpp 711 uint64_t Value = 0;
utils/TableGen/PseudoLoweringEmitter.cpp 31 uint64_t Imm; // Integer immedate value.
utils/TableGen/RISCVCompressInstEmitter.cpp 80 uint64_t Imm; // Integer immediate value.
utils/TableGen/RegisterInfoEmitter.cpp 411 std::map<uint64_t, Record*> Dwarf2LMap;
420 for (std::map<uint64_t, Record*>::iterator
1097 uint64_t Value = 0;
utils/TableGen/SubtargetEmitter.cpp 182 std::array<uint64_t, MAX_SUBTARGET_WORDS> Mask = {};
utils/TableGen/SubtargetFeatureInfo.cpp 69 uint64_t IndexUB = 0;
81 for (uint64_t I = 0; I < IndexUB; ++I)
utils/TableGen/SubtargetFeatureInfo.h 33 uint64_t Index;
35 SubtargetFeatureInfo(Record *D, uint64_t Idx) : TheDef(D), Index(Idx) {}
utils/TableGen/Types.cpp 18 const char *llvm::getMinimalTypeForRange(uint64_t Range, unsigned MaxSize LLVM_ATTRIBUTE_UNUSED) {
38 const char *llvm::getMinimalTypeForEnumBitfield(uint64_t Size) {
39 uint64_t MaxIndex = Size;
utils/TableGen/Types.h 18 const char *getMinimalTypeForRange(uint64_t Range, unsigned MaxSize = 64);
21 const char *getMinimalTypeForEnumBitfield(uint64_t Size);
utils/TableGen/X86EVEX2VEXTablesEmitter.cpp 30 std::map<uint64_t, std::vector<const CodeGenInstruction *>> VEXInsts;
72 static inline uint64_t getValueFromBitsInit(const BitsInit *B) {
73 uint64_t Value = 0;
185 uint64_t Opcode = getValueFromBitsInit(Inst->TheDef->
199 uint64_t Opcode = getValueFromBitsInit(EVEXInst->TheDef->
utils/TableGen/X86FoldTablesEmitter.cpp 192 static inline uint64_t getValueFromBitsInit(const BitsInit *B) {
195 uint64_t Value = 0;
262 uint64_t FormBitsNum = getValueFromBitsInit(FormBits);
271 uint64_t FormBitsNum = getValueFromBitsInit(FormBits);
423 uint64_t MemFormNum = getValueFromBitsInit(MemFormBits);
424 uint64_t RegFormNum = getValueFromBitsInit(RegFormBits);
493 uint64_t Enc = getValueFromBitsInit(RegRec->getValueAsBitsInit("OpEncBits"));
497 uint64_t Value = getValueFromBitsInit(VectSize);
utils/benchmark/src/cycleclock.h 82 uint64_t low, high;