Home
last modified time | relevance | path

Searched refs:getSigned (Results 1 – 25 of 53) sorted by relevance

123

/external/swiftshader/third_party/LLVM/unittests/VMCore/
DConstantsTest.cpp23 EXPECT_EQ(NegOne, ConstantInt::getSigned(Int1, -1)); in TEST()
103 EXPECT_EQ(100, ConstantInt::getSigned(Int8Ty, 100)->getSExtValue()); in TEST()
105 EXPECT_EQ(-50, ConstantInt::getSigned(Int8Ty, -50)->getSExtValue()); in TEST()
106 EXPECT_EQ(206U, ConstantInt::getSigned(Int8Ty, -50)->getZExtValue()); in TEST()
/external/swiftshader/third_party/LLVM/unittests/Support/
DDataExtractorTest.cpp77 EXPECT_EQ(-128, DE.getSigned(&offset, 1)); in TEST()
80 EXPECT_EQ(-32624, DE.getSigned(&offset, 2)); in TEST()
83 EXPECT_EQ(-2137980929, DE.getSigned(&offset, 4)); in TEST()
86 EXPECT_EQ(-9182558167379214336LL, DE.getSigned(&offset, 8)); in TEST()
/external/swiftshader/third_party/llvm-7.0/llvm/unittests/Support/
DDataExtractorTest.cpp78 EXPECT_EQ(-128, DE.getSigned(&offset, 1)); in TEST()
81 EXPECT_EQ(-32624, DE.getSigned(&offset, 2)); in TEST()
84 EXPECT_EQ(-2137980929, DE.getSigned(&offset, 4)); in TEST()
87 EXPECT_EQ(-9182558167379214336LL, DE.getSigned(&offset, 8)); in TEST()
/external/llvm/unittests/Support/
DDataExtractorTest.cpp78 EXPECT_EQ(-128, DE.getSigned(&offset, 1)); in TEST()
81 EXPECT_EQ(-32624, DE.getSigned(&offset, 2)); in TEST()
84 EXPECT_EQ(-2137980929, DE.getSigned(&offset, 4)); in TEST()
87 EXPECT_EQ(-9182558167379214336LL, DE.getSigned(&offset, 8)); in TEST()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/DebugInfo/DWARF/
DDWARFDataExtractor.cpp67 Result = getSigned(Offset, 2); in getEncodedPointer()
70 Result = getSigned(Offset, 4); in getEncodedPointer()
73 Result = getSigned(Offset, 8); in getEncodedPointer()
/external/llvm/unittests/ExecutionEngine/Orc/
DObjectLinkingLayerTest.cpp143 Value *FourtyTwo = ConstantInt::getSigned(Int32Ty, 42); in TEST_F()
213 Value *FourtyTwo = ConstantInt::getSigned(Int32Ty, 42); in TEST_F()
228 Value *Seven = ConstantInt::getSigned(Int32Ty, 7); in TEST_F()
/external/swiftshader/third_party/llvm-7.0/llvm/tools/llvm-readobj/
DDwarfCFIEHPrinter.h142 auto EHFramePtr = DE.getSigned(&Offset, 4) + EHFrameHdrAddress + 4; in printEHFrameHdr()
153 auto InitialPC = DE.getSigned(&Offset, 4) + EHFrameHdrAddress; in printEHFrameHdr()
155 auto Address = DE.getSigned(&Offset, 4) + EHFrameHdrAddress; in printEHFrameHdr()
/external/swiftshader/third_party/llvm-7.0/llvm/unittests/ExecutionEngine/Orc/
DRTDyldObjectLinkingLayerTest.cpp160 Value *FourtyTwo = ConstantInt::getSigned(Int32Ty, 42); in TEST_F()
239 Value *FourtyTwo = ConstantInt::getSigned(Int32Ty, 42); in TEST_F()
252 Value *Seven = ConstantInt::getSigned(Int32Ty, 7); in TEST_F()
/external/swiftshader/third_party/LLVM/lib/DebugInfo/
DDWARFFormValue.h65 int64_t getSigned() const { return Value.sval; } in getSigned() function
DDWARFFormValue.cpp304 case DW_FORM_sdata: OS << getSigned(); break; in dump()
DDWARFDebugInfoEntry.cpp408 return form_value.getSigned(); in getAttributeValueAsSigned()
/external/swiftshader/third_party/llvm-7.0/llvm/unittests/IR/
DConstantsTest.cpp30 EXPECT_EQ(NegOne, ConstantInt::getSigned(Int1, -1)); in TEST()
111 EXPECT_EQ(100, ConstantInt::getSigned(Int8Ty, 100)->getSExtValue()); in TEST()
113 EXPECT_EQ(-50, ConstantInt::getSigned(Int8Ty, -50)->getSExtValue()); in TEST()
114 EXPECT_EQ(206U, ConstantInt::getSigned(Int8Ty, -50)->getZExtValue()); in TEST()
/external/llvm/unittests/IR/
DConstantsTest.cpp30 EXPECT_EQ(NegOne, ConstantInt::getSigned(Int1, -1)); in TEST()
111 EXPECT_EQ(100, ConstantInt::getSigned(Int8Ty, 100)->getSExtValue()); in TEST()
113 EXPECT_EQ(-50, ConstantInt::getSigned(Int8Ty, -50)->getSExtValue()); in TEST()
114 EXPECT_EQ(206U, ConstantInt::getSigned(Int8Ty, -50)->getZExtValue()); in TEST()
/external/swiftshader/third_party/LLVM/include/llvm/Support/
DDataExtractor.h108 int64_t getSigned(uint32_t *offset_ptr, uint32_t size) const;
/external/llvm/include/llvm/Support/
DDataExtractor.h110 int64_t getSigned(uint32_t *offset_ptr, uint32_t size) const;
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/Support/
DDataExtractor.h156 int64_t getSigned(uint32_t *offset_ptr, uint32_t size) const;
/external/swiftshader/third_party/LLVM/lib/Support/
DDataExtractor.cpp107 DataExtractor::getSigned(uint32_t *offset_ptr, uint32_t byte_size) const { in getSigned() function in DataExtractor
/external/llvm/lib/Support/
DDataExtractor.cpp107 DataExtractor::getSigned(uint32_t *offset_ptr, uint32_t byte_size) const { in getSigned() function in DataExtractor
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Support/
DDataExtractor.cpp114 DataExtractor::getSigned(uint32_t *offset_ptr, uint32_t byte_size) const { in getSigned() function in DataExtractor
/external/llvm/lib/Transforms/Utils/
DBypassSlowDivision.cpp162 Value *ZeroV = ConstantInt::getSigned(Dividend->getType(), 0); in insertFastDiv()
DIntegerDivision.cpp169 NegOne = ConstantInt::getSigned(DivTy, -1); in generateUnsignedDivisionCode()
175 NegOne = ConstantInt::getSigned(DivTy, -1); in generateUnsignedDivisionCode()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Utils/
DIntegerDivision.cpp169 NegOne = ConstantInt::getSigned(DivTy, -1); in generateUnsignedDivisionCode()
175 NegOne = ConstantInt::getSigned(DivTy, -1); in generateUnsignedDivisionCode()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/XRay/
DTrace.cpp112 Record.FuncId = RecordExtractor.getSigned(&OffsetPtr, sizeof(int32_t)); in loadNaiveFormatLog()
122 int32_t FuncId = RecordExtractor.getSigned(&OffsetPtr, sizeof(int32_t)); in loadNaiveFormatLog()
/external/swiftshader/third_party/LLVM/include/llvm/
DConstants.h81 static ConstantInt *getSigned(IntegerType *Ty, int64_t V);
82 static Constant *getSigned(Type *Ty, int64_t V);
/external/llvm/lib/Target/AArch64/
DAArch64AddressTypePromotion.cpp323 Inst->setOperand(OpIdx, ConstantInt::getSigned(SExt->getType(), in propagateSignExtension()

123