/external/swiftshader/third_party/LLVM/unittests/VMCore/ |
D | ConstantsTest.cpp | 23 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/ |
D | DataExtractorTest.cpp | 77 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/llvm/unittests/Support/ |
D | DataExtractorTest.cpp | 78 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/ExecutionEngine/Orc/ |
D | ObjectLinkingLayerTest.cpp | 143 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/lib/DebugInfo/ |
D | DWARFFormValue.h | 65 int64_t getSigned() const { return Value.sval; } in getSigned() function
|
D | DWARFFormValue.cpp | 304 case DW_FORM_sdata: OS << getSigned(); break; in dump()
|
D | DWARFDebugInfoEntry.cpp | 408 return form_value.getSigned(); in getAttributeValueAsSigned()
|
/external/swiftshader/third_party/LLVM/include/llvm/Support/ |
D | DataExtractor.h | 108 int64_t getSigned(uint32_t *offset_ptr, uint32_t size) const;
|
/external/llvm/include/llvm/Support/ |
D | DataExtractor.h | 110 int64_t getSigned(uint32_t *offset_ptr, uint32_t size) const;
|
/external/llvm/unittests/IR/ |
D | ConstantsTest.cpp | 30 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/lib/Support/ |
D | DataExtractor.cpp | 107 DataExtractor::getSigned(uint32_t *offset_ptr, uint32_t byte_size) const { in getSigned() function in DataExtractor
|
/external/llvm/lib/Support/ |
D | DataExtractor.cpp | 107 DataExtractor::getSigned(uint32_t *offset_ptr, uint32_t byte_size) const { in getSigned() function in DataExtractor
|
/external/llvm/lib/Transforms/Utils/ |
D | BypassSlowDivision.cpp | 162 Value *ZeroV = ConstantInt::getSigned(Dividend->getType(), 0); in insertFastDiv()
|
D | IntegerDivision.cpp | 169 NegOne = ConstantInt::getSigned(DivTy, -1); in generateUnsignedDivisionCode() 175 NegOne = ConstantInt::getSigned(DivTy, -1); in generateUnsignedDivisionCode()
|
/external/swiftshader/third_party/LLVM/include/llvm/ |
D | Constants.h | 81 static ConstantInt *getSigned(IntegerType *Ty, int64_t V); 82 static Constant *getSigned(Type *Ty, int64_t V);
|
/external/llvm/lib/Target/AArch64/ |
D | AArch64AddressTypePromotion.cpp | 323 Inst->setOperand(OpIdx, ConstantInt::getSigned(SExt->getType(), in propagateSignExtension()
|
/external/llvm/lib/Transforms/Instrumentation/ |
D | DataFlowSanitizer.cpp | 441 ZeroShadow = ConstantInt::getSigned(ShadowTy, 0); in doInitialization() 442 ShadowPtrMul = ConstantInt::getSigned(IntptrTy, ShadowWidth / 8); in doInitialization() 444 ShadowPtrMask = ConstantInt::getSigned(IntptrTy, ~0x700000000000LL); in doInitialization() 446 ShadowPtrMask = ConstantInt::getSigned(IntptrTy, ~0xF000000000LL); in doInitialization()
|
/external/llvm/include/llvm/IR/ |
D | Constants.h | 108 static ConstantInt *getSigned(IntegerType *Ty, int64_t V); 109 static Constant *getSigned(Type *Ty, int64_t V);
|
/external/clang/lib/CodeGen/ |
D | CGDeclCXX.cpp | 135 llvm::Value *Args[2] = { llvm::ConstantInt::getSigned(CGF.Int64Ty, Width), in EmitDeclInvariant()
|
/external/swiftshader/third_party/LLVM/lib/Transforms/InstCombine/ |
D | InstCombineShifts.cpp | 690 Constant *RHS = ConstantInt::getSigned(Op0->getType(), isCtPop ? -1:0); in visitLShr()
|
D | InstCombineAndOrXor.cpp | 2046 return SelectInst::Create(A, ConstantInt::getSigned(I.getType(), -1), Op1); in visitOr() 2048 return SelectInst::Create(A, ConstantInt::getSigned(I.getType(), -1), Op0); in visitOr()
|
/external/llvm/lib/Transforms/InstCombine/ |
D | InstCombineShifts.cpp | 764 Constant *RHS = ConstantInt::getSigned(Op0->getType(), isCtPop ? -1:0); in visitLShr()
|
D | InstCombineAndOrXor.cpp | 1818 Builder->CreateAdd(B, ConstantInt::getSigned(B->getType(), -1)), A); in FoldOrOfICmps() 2441 return SelectInst::Create(A, ConstantInt::getSigned(I.getType(), -1), Op1); in visitOr() 2444 return SelectInst::Create(A, ConstantInt::getSigned(I.getType(), -1), Op0); in visitOr()
|
/external/swiftshader/third_party/LLVM/lib/VMCore/ |
D | Constants.cpp | 438 ConstantInt* ConstantInt::getSigned(IntegerType* Ty, int64_t V) { in getSigned() function in ConstantInt 442 Constant *ConstantInt::getSigned(Type *Ty, int64_t V) { in getSigned() function in ConstantInt
|
/external/swiftshader/third_party/LLVM/lib/Transforms/Scalar/ |
D | LoopStrengthReduce.cpp | 3604 Ops.push_back(SE.getUnknown(ConstantInt::getSigned(IntTy, Offset))); in Expand() 3612 Ops.push_back(SE.getUnknown(ConstantInt::getSigned(IntTy, in Expand() 3646 Constant *C = ConstantInt::getSigned(SE.getEffectiveSCEVType(OpTy), in Expand()
|