Home
last modified time | relevance | path

Searched refs:getUnsigned (Results 1 – 25 of 26) sorted by relevance

12

/external/llvm/unittests/ADT/
DAPSIntTest.cpp55 TEST(APSIntTest, getUnsigned) { in TEST() argument
56 EXPECT_TRUE(APSInt::getUnsigned(7).isUnsigned()); in TEST()
57 EXPECT_EQ(64u, APSInt::getUnsigned(7).getBitWidth()); in TEST()
58 EXPECT_EQ(7u, APSInt::getUnsigned(7).getZExtValue()); in TEST()
59 EXPECT_EQ(7, APSInt::getUnsigned(7).getSExtValue()); in TEST()
60 EXPECT_TRUE(APSInt::getUnsigned(-7).isUnsigned()); in TEST()
61 EXPECT_EQ(64u, APSInt::getUnsigned(-7).getBitWidth()); in TEST()
62 EXPECT_EQ(-7, APSInt::getUnsigned(-7).getSExtValue()); in TEST()
63 EXPECT_EQ(UINT64_C(0) - 7, APSInt::getUnsigned(-7).getZExtValue()); in TEST()
82 auto U = [](uint64_t V) { return APSInt::getUnsigned(V); }; in TEST()
/external/swiftshader/third_party/LLVM/include/llvm/Support/
DDataExtractor.h83 uint64_t getUnsigned(uint32_t *offset_ptr, uint32_t byte_size) const;
128 return getUnsigned(offset_ptr, PointerSize); in getAddress()
/external/llvm/include/llvm/Support/
DDataExtractor.h85 uint64_t getUnsigned(uint32_t *offset_ptr, uint32_t byte_size) const;
130 return getUnsigned(offset_ptr, AddressSize); in getAddress()
/external/llvm/lib/DebugInfo/DWARF/
DDWARFDebugArangeSet.cpp76 arangeDescriptor.Address = data.getUnsigned(offset_ptr, HeaderData.AddrSize); in extract()
77 arangeDescriptor.Length = data.getUnsigned(offset_ptr, HeaderData.AddrSize); in extract()
DDWARFDebugLoc.cpp49 E.Begin = data.getUnsigned(&Offset, AddressSize); in parse()
55 E.End = data.getUnsigned(&Offset, AddressSize); in parse()
DDWARFFormValue.cpp155 Value.uval = data.getUnsigned(offset_ptr, AddrSize) + R.second; in extractValue()
157 Value.uval = data.getUnsigned(offset_ptr, AddrSize); in extractValue()
DDWARFContext.cpp621 if (Extractor.getUnsigned(&Offset, Is64Bit ? sizeof(Elf64_Word) in consumeCompressedZLibHeader()
630 OriginalSize = Extractor.getUnsigned(&Offset, Is64Bit ? sizeof(Elf64_Xword) in consumeCompressedZLibHeader()
DDWARFDebugLine.cpp84 debug_line_data.getUnsigned(offset_ptr, sizeofPrologueLength()); in parse()
DDWARFDebugFrame.cpp546 Id = Data.getUnsigned(&Offset, (IsDWARF64 && !IsEH) ? 8 : 4); in parse()
/external/clang/unittests/ASTMatchers/Dynamic/
DParserTest.cpp87 EXPECT_EQ(0U, Sema.Values[0].getUnsigned()); in TEST()
88 EXPECT_EQ(123U, Sema.Values[1].getUnsigned()); in TEST()
89 EXPECT_EQ(31U, Sema.Values[2].getUnsigned()); in TEST()
144 EXPECT_EQ(17U, Bar.Args[0].Value.getUnsigned()); in TEST()
DVariantValueTest.cpp24 EXPECT_EQ(kUnsigned, Value.getUnsigned()); in TEST()
93 EXPECT_EQ(17U, Value.getUnsigned()); in TEST()
/external/llvm/lib/CodeGen/MIRParser/
DMIParser.cpp177 bool getUnsigned(unsigned &Result);
322 if (getUnsigned(ID)) in parseBasicBlockDefinition()
466 if (getUnsigned(Weight)) in parseBasicBlockSuccessors()
816 if (getUnsigned(ID)) in parseRegister()
891 if (getUnsigned(TiedDefIdx)) in parseRegisterTiedDefIndex()
902 if (getUnsigned(Size)) in parseSize()
1082 bool MIParser::getUnsigned(unsigned &Result) { in getUnsigned() function in MIParser
1096 if (getUnsigned(Number)) in parseMBBReference()
1121 if (getUnsigned(ID)) in parseStackFrameIndex()
1150 if (getUnsigned(ID)) in parseFixedStackFrameIndex()
[all …]
/external/swiftshader/third_party/LLVM/lib/DebugInfo/
DDWARFDebugArangeSet.cpp100 arangeDescriptor.Address = data.getUnsigned(offset_ptr, Header.AddrSize); in extract()
101 arangeDescriptor.Length = data.getUnsigned(offset_ptr, Header.AddrSize); in extract()
DDWARFFormValue.cpp94 Value.uval = data.getUnsigned(offset_ptr, cu->getAddressByteSize()); in extractValue()
262 uint64_t uvalue = getUnsigned(); in dump()
305 case DW_FORM_udata: OS << getUnsigned(); break; in dump()
DDWARFFormValue.h64 uint64_t getUnsigned() const { return Value.uval; } in getUnsigned() function
DDWARFDebugInfoEntry.cpp244 ->setBaseAddress(form_value.getUnsigned()); in extract()
397 return form_value.getUnsigned(); in getAttributeValueAsUnsigned()
/external/clang/lib/ASTMatchers/Dynamic/
DVariantValue.cpp267 setUnsigned(Other.getUnsigned()); in operator =()
302 unsigned VariantValue::getUnsigned() const { in getUnsigned() function in clang::ast_matchers::dynamic::VariantValue
DMarshallers.h71 return Value.getUnsigned();
/external/swiftshader/third_party/LLVM/lib/Support/
DDataExtractor.cpp92 DataExtractor::getUnsigned(uint32_t *offset_ptr, uint32_t byte_size) const { in getUnsigned() function in DataExtractor
/external/clang/include/clang/ASTMatchers/Dynamic/
DVariantValue.h266 unsigned getUnsigned() const;
/external/llvm/lib/Support/
DDataExtractor.cpp92 DataExtractor::getUnsigned(uint32_t *offset_ptr, uint32_t byte_size) const { in getUnsigned() function in DataExtractor
/external/llvm/include/llvm/ADT/
DAPSInt.h321 static APSInt getUnsigned(uint64_t X) { return APSInt(APInt(64, X), true); } in getUnsigned() function
/external/llvm/tools/dsymutil/
DDwarfLinker.cpp862 uint64_t Low = Data.getUnsigned(&Offset, AddressSize); in emitLocationsForUnit()
863 uint64_t High = Data.getUnsigned(&Offset, AddressSize); in emitLocationsForUnit()
1938 uint64_t Addend = Data.getUnsigned(&Offset, RelocSize); in findValidRelocsMachO()
3149 uint32_t Loc = Data.getUnsigned(&InputOffset, AddrSize); in patchFrameInfoForObject()
/external/clang/lib/AST/
DMicrosoftMangle.cpp1298 mangleIntegerLiteral(llvm::APSInt::getUnsigned(0), /*IsBoolean=*/false); in mangleTemplateArg()
2289 Extra.mangleIntegerLiteral(llvm::APSInt::getUnsigned(T->getNumElements()), in mangleType()
/external/llvm/lib/CodeGen/AsmPrinter/
DCodeViewDebug.cpp1431 MemberAccess::Public, APSInt::getUnsigned(Enumerator->getValue()), in lowerTypeEnum()

12