Home
last modified time | relevance | path

Searched refs:ConstValue (Results 1 – 10 of 10) sorted by relevance

/freebsd/contrib/llvm-project/clang/include/clang/AST/
H A DOSLog.h74 CharUnits ConstValue; variable
90 : TheKind(CountKind), ConstValue(value), in OSLogBufferItem()
105 CharUnits getConstValue() const { return ConstValue; } in getConstValue()
/freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/GISel/
H A DAArch64PostLegalizerCombiner.cpp150 APInt ConstValue = Const->Value.sext(Ty.getSizeInBits()); in matchAArch64MulConstCombine() local
164 unsigned TrailingZeroes = ConstValue.countr_zero(); in matchAArch64MulConstCombine()
183 APInt ShiftedConstValue = ConstValue.ashr(TrailingZeroes); in matchAArch64MulConstCombine()
191 if (ConstValue.isNonNegative()) { in matchAArch64MulConstCombine()
196 APInt CVPlus1 = ConstValue + 1; in matchAArch64MulConstCombine()
208 APInt CVNegPlus1 = -ConstValue + 1; in matchAArch64MulConstCombine()
209 APInt CVNegMinus1 = -ConstValue - 1; in matchAArch64MulConstCombine()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DCallSiteSplitting.cpp96 Constant *ConstValue) { in setConstantInArgument() argument
103 CB.setArgOperand(ArgNo, ConstValue); in setConstantInArgument()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/
H A DExpandVectorPredication.cpp88 if (auto *ConstValue = dyn_cast<Constant>(SplattedVal)) in isAllTrueMask() local
89 return ConstValue->isAllOnesValue(); in isAllTrueMask()
/freebsd/contrib/llvm-project/llvm/lib/IR/
H A DDebugInfo.cpp2167 auto *ConstValue = dyn_cast<ConstantInt>(MI->getOperand(1)); in trackAssignments() local
2168 if (ConstValue && ConstValue->isZero()) in trackAssignments()
2169 ValueComponent = ConstValue; in trackAssignments()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Vectorize/
H A DVectorCombine.cpp771 if (auto *ConstValue = dyn_cast<Constant>(SplattedVal)) in scalarizeVPIntrinsic() local
772 return ConstValue->isAllOnesValue(); in scalarizeVPIntrinsic()
/freebsd/contrib/googletest/googlemock/test/
H A Dgmock-actions_test.cc1653 TEST(ByRefTest, ConstValue) { in TEST() argument
/freebsd/contrib/llvm-project/llvm/lib/Target/Mips/
H A DMipsSEISelLowering.cpp1501 SDValue ConstValue = DAG.getConstant(Vec.getScalarValueSizeInBits() - 1, in truncateVecElts() local
1503 SDValue SplatVec = getBuildVectorSplat(ResTy, ConstValue, BigEndian, DAG); in truncateVecElts()
/freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/
H A DAArch64ISelLowering.cpp17115 const APInt &ConstValue = C->getAPIntValue(); in performMulCombine() local
17122 if (ConstValue.sge(1) && ConstValue.sle(16)) in performMulCombine()
17137 unsigned TrailingZeroes = ConstValue.countr_zero(); in performMulCombine()
17152 APInt ShiftedConstValue = ConstValue.ashr(TrailingZeroes); in performMulCombine()
17188 if (ConstValue.isNonNegative()) { in performMulCombine()
17196 APInt CVPlus1 = ConstValue + 1; in performMulCombine()
17208 isPowPlusPlusConst(ConstValue, CVM, CVN)) { in performMulCombine()
17224 APInt CVNegPlus1 = -ConstValue + 1; in performMulCombine()
17225 APInt CVNegMinus1 = -ConstValue - 1; in performMulCombine()
/freebsd/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86ISelLowering.cpp23311 APInt ConstValue; in LowerVSETCC() local
23313 ISD::isConstantSplatVector(Op1.getNode(), ConstValue)) { in LowerVSETCC()
23314 if (ConstValue.isMinSignedValue()) in LowerVSETCC()
23316 else if (ConstValue.isMaxSignedValue()) in LowerVSETCC()
23318 else if (ConstValue.isZero() && DAG.SignBitIsZero(Op0)) in LowerVSETCC()