Home
last modified time | relevance | path

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

/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/llvm/include/llvm/Support/
DDataExtractor.h110 int64_t getSigned(uint32_t *offset_ptr, uint32_t size) const;
/external/llvm/unittests/IR/
DConstantsTest.cpp29 EXPECT_EQ(NegOne, ConstantInt::getSigned(Int1, -1)); in TEST()
109 EXPECT_EQ(100, ConstantInt::getSigned(Int8Ty, 100)->getSExtValue()); in TEST()
111 EXPECT_EQ(-50, ConstantInt::getSigned(Int8Ty, -50)->getSExtValue()); in TEST()
112 EXPECT_EQ(206U, ConstantInt::getSigned(Int8Ty, -50)->getZExtValue()); in TEST()
/external/llvm/lib/Support/
DDataExtractor.cpp107 DataExtractor::getSigned(uint32_t *offset_ptr, uint32_t byte_size) const { in getSigned() function in DataExtractor
/external/llvm/lib/Transforms/Utils/
DIntegerDivision.cpp169 NegOne = ConstantInt::getSigned(DivTy, -1); in generateUnsignedDivisionCode()
175 NegOne = ConstantInt::getSigned(DivTy, -1); in generateUnsignedDivisionCode()
DBypassSlowDivision.cpp167 Value *ZeroV = ConstantInt::getSigned(Dividend->getType(), 0); in insertFastDiv()
DLoopUtils.cpp706 auto *StepValue = ConstantInt::getSigned(CV->getType(), CVSize / Size); in isInductionPHI()
/external/llvm/lib/Target/AArch64/
DAArch64AddressTypePromotion.cpp326 Inst->setOperand(OpIdx, ConstantInt::getSigned(SExt->getType(), in propagateSignExtension()
/external/llvm/lib/Transforms/Instrumentation/
DDataFlowSanitizer.cpp441 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/
DConstants.h87 static ConstantInt *getSigned(IntegerType *Ty, int64_t V);
88 static Constant *getSigned(Type *Ty, int64_t V);
/external/clang/lib/CodeGen/
DCGDeclCXX.cpp127 llvm::Value *Args[2] = { llvm::ConstantInt::getSigned(CGF.Int64Ty, Width), in EmitDeclInvariant()
/external/llvm/lib/Transforms/InstCombine/
DInstCombineShifts.cpp763 Constant *RHS = ConstantInt::getSigned(Op0->getType(), isCtPop ? -1:0); in visitLShr()
DInstCombineAndOrXor.cpp1919 Builder->CreateAdd(B, ConstantInt::getSigned(B->getType(), -1)), A); in FoldOrOfICmps()
2583 return SelectInst::Create(A, ConstantInt::getSigned(I.getType(), -1), Op1); in visitOr()
2585 return SelectInst::Create(A, ConstantInt::getSigned(I.getType(), -1), Op0); in visitOr()
DInstCombineCalls.cpp665 return ConstantInt::getSigned(VecTy, 0); // FALSE in SimplifyX86vpcom()
667 return ConstantInt::getSigned(VecTy, -1); // TRUE in SimplifyX86vpcom()
/external/llvm/lib/Transforms/Scalar/
DLoopStrengthReduce.cpp4569 Ops.push_back(SE.getUnknown(ConstantInt::getSigned(IntTy, Offset))); in Expand()
4577 Ops.push_back(SE.getUnknown(ConstantInt::getSigned(IntTy, in Expand()
4613 Constant *C = ConstantInt::getSigned(SE.getEffectiveSCEVType(OpTy), in Expand()
/external/llvm/lib/IR/
DConstants.cpp596 ConstantInt *ConstantInt::getSigned(IntegerType *Ty, int64_t V) { in getSigned() function in ConstantInt
600 Constant *ConstantInt::getSigned(Type *Ty, int64_t V) { in getSigned() function in ConstantInt
/external/llvm/lib/Target/PowerPC/
DPPCFastISel.cpp440 ConstantInt::getSigned(OffsetTy, (int64_t)(Addr.Offset)); in PPCSimplifyAddress()
/external/llvm/lib/Transforms/Vectorize/
DLoopVectorize.cpp3857 Constant *Step = ConstantInt::getSigned( in vectorizeBlockInLoop()