Home
last modified time | relevance | path

Searched refs:getConstantValue (Results 1 – 21 of 21) sorted by relevance

/llvm-project-15.0.7/mlir/lib/Conversion/TosaToArith/
H A DTosaToArith.cpp53 Value getConstantValue(Location loc, Type type, int64_t value, in getConstantValue() function
77 Value zero = getConstantValue(loc, valueTy, 0, rewriter); in matchAndRewrite()
78 Value one64 = getConstantValue(loc, i64Ty, 1, rewriter); in matchAndRewrite()
79 Value thirtyOne32 = getConstantValue(loc, i32Ty, 31, rewriter); in matchAndRewrite()
142 Value zero32 = getConstantValue(loc, i32Ty, 0, rewriter); in matchAndRewrite()
143 Value one32 = getConstantValue(loc, i32Ty, 1, rewriter); in matchAndRewrite()
144 Value two32 = getConstantValue(loc, i32Ty, 2, rewriter); in matchAndRewrite()
145 Value thirty32 = getConstantValue(loc, i32Ty, 30, rewriter); in matchAndRewrite()
146 Value thirtyTwo32 = getConstantValue(loc, i32Ty, 32, rewriter); in matchAndRewrite()
147 Value thirtyTwo64 = getConstantValue(loc, i64Ty, 32, rewriter); in matchAndRewrite()
[all …]
/llvm-project-15.0.7/llvm/lib/ExecutionEngine/
H A DExecutionEngine.cpp651 GenericValue GV = getConstantValue(Op0); in getConstantValue()
657 GenericValue GV = getConstantValue(Op0); in getConstantValue()
663 GenericValue GV = getConstantValue(Op0); in getConstantValue()
670 GenericValue GV = getConstantValue(Op0); in getConstantValue()
676 GenericValue GV = getConstantValue(Op0); in getConstantValue()
681 GenericValue GV = getConstantValue(Op0); in getConstantValue()
696 GenericValue GV = getConstantValue(Op0); in getConstantValue()
712 GenericValue GV = getConstantValue(Op0); in getConstantValue()
730 GenericValue GV = getConstantValue(Op0); in getConstantValue()
739 GenericValue GV = getConstantValue(Op0); in getConstantValue()
[all …]
/llvm-project-15.0.7/mlir/lib/Transforms/
H A DSCCP.cpp44 if (!latticeValue.getConstantValue()) in replaceWithConstant()
50 latticeValue.getConstantValue(), in replaceWithConstant()
/llvm-project-15.0.7/mlir/include/mlir/Analysis/DataFlow/
H A DConstantPropagationAnalysis.h36 Attribute getConstantValue() const { return constant; } in getConstantValue() function
/llvm-project-15.0.7/llvm/lib/Target/AMDGPU/
H A DAMDGPUISelDAGToDAG.h34 static inline bool getConstantValue(SDValue N, uint32_t &Out) { in getConstantValue() function
60 if (getConstantValue(N->getOperand(0), LHSVal) &&
61 getConstantValue(N->getOperand(1), RHSVal)) {
/llvm-project-15.0.7/mlir/include/mlir/Interfaces/
H A DInferIntRangeInterface.h96 Optional<APInt> getConstantValue() const;
/llvm-project-15.0.7/mlir/lib/Analysis/DataFlow/
H A DConstantPropagationAnalysis.cpp47 constantOperands.push_back(operandLattice->getValue().getConstantValue()); in visitOperation()
H A DIntegerRangeAnalysis.cpp40 Optional<APInt> constant = getValue().getValue().getConstantValue(); in onUpdate()
H A DDeadCodeAnalysis.cpp322 operands.push_back(cv->getValue().getConstantValue()); in getOperandValuesImpl()
/llvm-project-15.0.7/mlir/include/mlir/TableGen/
H A DAttribute.h129 StringRef getConstantValue() const;
/llvm-project-15.0.7/mlir/test/lib/Transforms/
H A DTestIntRangeInference.cpp32 Optional<APInt> maybeConstValue = inferredRange.getConstantValue(); in replaceWithConstant()
/llvm-project-15.0.7/mlir/lib/Interfaces/
H A DInferIntRangeInterface.cpp115 Optional<APInt> ConstantIntRanges::getConstantValue() const { in getConstantValue() function in ConstantIntRanges
/llvm-project-15.0.7/mlir/lib/Dialect/Arithmetic/IR/
H A DInferIntRangeInterfaceImpls.cpp558 Optional<APInt> lhsConst = lhs.getConstantValue(); in isStaticallyTrue()
559 Optional<APInt> rhsConst = rhs.getConstantValue(); in isStaticallyTrue()
598 Optional<APInt> mbCondVal = argRanges[0].getConstantValue(); in inferResultRanges()
/llvm-project-15.0.7/mlir/lib/TableGen/
H A DAttribute.cpp144 StringRef ConstantAttr::getConstantValue() const { in getConstantValue() function in ConstantAttr
/llvm-project-15.0.7/flang/lib/Optimizer/Builder/
H A DFIRBuilder.cpp1233 std::function<llvm::Optional<std::int64_t>(mlir::Value)> getConstantValue = in getExtentFromTriplet() local
1240 return getConstantValue(valOp.getValue()); in getExtentFromTriplet()
1244 if (auto lbInt = getConstantValue(lb)) { in getExtentFromTriplet()
1245 if (auto ubInt = getConstantValue(ub)) { in getExtentFromTriplet()
1246 if (auto strideInt = getConstantValue(stride)) { in getExtentFromTriplet()
/llvm-project-15.0.7/llvm/include/llvm/ExecutionEngine/
H A DExecutionEngine.h512 GenericValue getConstantValue(const Constant *C);
/llvm-project-15.0.7/llvm/include/llvm/Transforms/Scalar/
H A DGVNExpression.h603 Constant *getConstantValue() const { return ConstantValue; } in getConstantValue() function
/llvm-project-15.0.7/llvm/lib/Transforms/Scalar/
H A DNewGVN.cpp2347 NewClass->setLeader(CE->getConstantValue()); in performCongruenceFinding()
2470 CondEvaluated = CE->getConstantValue(); in processOutgoingEdges()
3793 return CE->getConstantValue(); in findPHIOfOpsLeader()
/llvm-project-15.0.7/mlir/tools/mlir-tblgen/
H A DRewriterGen.cpp1220 constAttr.getConstantValue()); in handleOpArgument()
/llvm-project-15.0.7/mlir/lib/Rewrite/
H A DByteCode.cpp804 writer.append(OpCode::AreEqual, op.getAttribute(), op.getConstantValue(), in generate()
/llvm-project-15.0.7/llvm/lib/ExecutionEngine/Interpreter/
H A DExecution.cpp2104 return getConstantValue(CPV); in getOperandValue()