Home
last modified time | relevance | path

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

/external/llvm-project/llvm/lib/Target/AArch64/GISel/
DAArch64PostLegalizerCombiner.cpp133 const APInt &ConstValue = APInt(Ty.getSizeInBits(), Const->Value, true); in matchAArch64MulConstCombine() local
147 unsigned TrailingZeroes = ConstValue.countTrailingZeros(); in matchAArch64MulConstCombine()
165 APInt ShiftedConstValue = ConstValue.ashr(TrailingZeroes); in matchAArch64MulConstCombine()
173 if (ConstValue.isNonNegative()) { in matchAArch64MulConstCombine()
178 APInt CVPlus1 = ConstValue + 1; in matchAArch64MulConstCombine()
190 APInt CVNegPlus1 = -ConstValue + 1; in matchAArch64MulConstCombine()
191 APInt CVNegMinus1 = -ConstValue - 1; in matchAArch64MulConstCombine()
/external/swiftshader/third_party/subzero/src/
DIceFixups.cpp28 if (const auto *CR = llvm::dyn_cast<ConstantRelocatable>(ConstValue)) in offset()
37 const Constant *C = ConstValue; in symbol()
60 if (const auto *CR = llvm::dyn_cast<ConstantRelocatable>(ConstValue)) { in emit()
DIceFixups.h49 bool isNullSymbol() const { return ConstValue == NullSymbol; } in isNullSymbol()
56 ConstValue = Value; in set_value()
88 const Constant *ConstValue; member
/external/llvm-project/clang/include/clang/AST/
DOSLog.h74 CharUnits ConstValue; variable
90 : TheKind(CountKind), ConstValue(value), in OSLogBufferItem()
105 CharUnits getConstValue() const { return ConstValue; } in getConstValue()
/external/turbine/java/com/google/turbine/bytecode/
DClassReader.java27 import com.google.turbine.bytecode.ClassFile.AnnotationInfo.ElementValue.ConstValue;
332 return new ConstValue(readConst(constantPool).asByte()); in readElementValue()
334 return new ConstValue(readConst(constantPool).asChar()); in readElementValue()
336 return new ConstValue(readConst(constantPool).asShort()); in readElementValue()
342 return new ConstValue(readConst(constantPool)); in readElementValue()
347 return new ConstValue(new Const.BooleanValue(value.asInteger().value() != 0)); in readElementValue()
DAnnotationWriter.java26 import com.google.turbine.bytecode.ClassFile.AnnotationInfo.ElementValue.ConstValue;
62 writeConstElementValue(((ConstValue) value).value()); in writeElementValue()
DClassFile.java410 class ConstValue implements ElementValue { class
414 public ConstValue(Const.Value value) { in ConstValue() method in ClassFile.AnnotationInfo.ElementValue.ConstValue
/external/turbine/java/com/google/turbine/binder/bytecode/
DBytecodeBinder.java33 import com.google.turbine.bytecode.ClassFile.AnnotationInfo.ElementValue.ConstValue;
115 return ((ConstValue) value).value(); in bindValue()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Scalar/
DCallSiteSplitting.cpp98 Constant *ConstValue) { in setConstantInArgument() argument
105 CS.setArgument(ArgNo, ConstValue); in setConstantInArgument()
/external/llvm-project/llvm/lib/Transforms/Scalar/
DCallSiteSplitting.cpp98 Constant *ConstValue) { in setConstantInArgument() argument
105 CB.setArgOperand(ArgNo, ConstValue); in setConstantInArgument()
/external/tensorflow/tensorflow/compiler/jit/
Dnode_matchers_test.cc128 TEST(NodeMatchers, ConstValue) { in TEST() argument
/external/turbine/java/com/google/turbine/lower/
DLower.java576 return new ElementValue.ConstValue((Const.Value) value); in annotationValue()
/external/apache-commons-bcel/docs/
Dgeneric.mdl2402 name "ConstValue"
2554 name "ConstValue"
/external/googletest/googlemock/test/
Dgmock-actions_test.cc1235 TEST(ByRefTest, ConstValue) { in TEST() argument
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AArch64/
DAArch64ISelLowering.cpp9759 const APInt &ConstValue = C->getAPIntValue(); in performMulCombine() local
9766 if (ConstValue.sge(1) && ConstValue.sle(16)) in performMulCombine()
9781 unsigned TrailingZeroes = ConstValue.countTrailingZeros(); in performMulCombine()
9796 APInt ShiftedConstValue = ConstValue.ashr(TrailingZeroes); in performMulCombine()
9804 if (ConstValue.isNonNegative()) { in performMulCombine()
9809 APInt CVPlus1 = ConstValue + 1; in performMulCombine()
9821 APInt CVNegPlus1 = -ConstValue + 1; in performMulCombine()
9822 APInt CVNegMinus1 = -ConstValue - 1; in performMulCombine()
/external/llvm-project/llvm/lib/Target/AArch64/
DAArch64ISelLowering.cpp11621 const APInt &ConstValue = C->getAPIntValue(); in performMulCombine() local
11628 if (ConstValue.sge(1) && ConstValue.sle(16)) in performMulCombine()
11643 unsigned TrailingZeroes = ConstValue.countTrailingZeros(); in performMulCombine()
11658 APInt ShiftedConstValue = ConstValue.ashr(TrailingZeroes); in performMulCombine()
11666 if (ConstValue.isNonNegative()) { in performMulCombine()
11671 APInt CVPlus1 = ConstValue + 1; in performMulCombine()
11683 APInt CVNegPlus1 = -ConstValue + 1; in performMulCombine()
11684 APInt CVNegMinus1 = -ConstValue - 1; in performMulCombine()
/external/llvm-project/llvm/lib/Target/Mips/
DMipsSEISelLowering.cpp1513 SDValue ConstValue = DAG.getConstant(Vec.getScalarValueSizeInBits() - 1, in truncateVecElts() local
1515 SDValue SplatVec = getBuildVectorSplat(ResTy, ConstValue, BigEndian, DAG); in truncateVecElts()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Mips/
DMipsSEISelLowering.cpp1514 SDValue ConstValue = DAG.getConstant(Vec.getScalarValueSizeInBits() - 1, in truncateVecElts() local
1516 SDValue SplatVec = getBuildVectorSplat(ResTy, ConstValue, BigEndian, DAG); in truncateVecElts()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/X86/
DX86ISelLowering.cpp21572 APInt ConstValue; in LowerVSETCC() local
21574 ISD::isConstantSplatVector(Op1.getNode(), ConstValue)) { in LowerVSETCC()
21575 if (ConstValue.isMinSignedValue()) in LowerVSETCC()
21577 else if (ConstValue.isMaxSignedValue()) in LowerVSETCC()
/external/llvm-project/llvm/lib/Target/X86/
DX86ISelLowering.cpp22821 APInt ConstValue; in LowerVSETCC() local
22823 ISD::isConstantSplatVector(Op1.getNode(), ConstValue)) { in LowerVSETCC()
22824 if (ConstValue.isMinSignedValue()) in LowerVSETCC()
22826 else if (ConstValue.isMaxSignedValue()) in LowerVSETCC()