Home
last modified time | relevance | path

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

/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/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.cpp50 E.Begin = data.getUnsigned(&Offset, AddressSize); in parse()
56 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()
DDWARFDebugFrame.cpp471 Id = Data.getUnsigned(&Offset, IsDWARF64 ? 8 : 4); in parse()
DDWARFDebugLine.cpp85 PrologueLength = debug_line_data.getUnsigned(offset_ptr, 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.cpp27 EXPECT_EQ(kUnsigned, Value.getUnsigned()); in TEST()
96 EXPECT_EQ(17U, Value.getUnsigned()); in TEST()
/external/llvm/lib/CodeGen/MIRParser/
DMIParser.cpp167 bool getUnsigned(unsigned &Result);
312 if (getUnsigned(ID)) in parseBasicBlockDefinition()
456 if (getUnsigned(Weight)) in parseBasicBlockSuccessors()
796 if (getUnsigned(ID)) in parseRegister()
871 if (getUnsigned(TiedDefIdx)) in parseRegisterTiedDefIndex()
1002 bool MIParser::getUnsigned(unsigned &Result) { in getUnsigned() function in MIParser
1016 if (getUnsigned(Number)) in parseMBBReference()
1041 if (getUnsigned(ID)) in parseStackFrameIndex()
1070 if (getUnsigned(ID)) in parseFixedStackFrameIndex()
1101 if (getUnsigned(GVIdx)) in parseGlobalValue()
[all …]
/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.h72 return Value.getUnsigned();
/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.cpp860 uint64_t Low = Data.getUnsigned(&Offset, AddressSize); in emitLocationsForUnit()
861 uint64_t High = Data.getUnsigned(&Offset, AddressSize); in emitLocationsForUnit()
1897 uint64_t Addend = Data.getUnsigned(&Offset, RelocSize); in findValidRelocsMachO()
3092 uint32_t Loc = Data.getUnsigned(&InputOffset, AddrSize); in patchFrameInfoForObject()
/external/clang/lib/AST/
DMicrosoftMangle.cpp1250 mangleIntegerLiteral(llvm::APSInt::getUnsigned(0), /*IsBoolean=*/false); in mangleTemplateArg()