| /llvm-project-15.0.7/mlir/lib/Conversion/TosaToArith/ |
| H A D | TosaToArith.cpp | 53 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 D | ExecutionEngine.cpp | 651 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 D | SCCP.cpp | 44 if (!latticeValue.getConstantValue()) in replaceWithConstant() 50 latticeValue.getConstantValue(), in replaceWithConstant()
|
| /llvm-project-15.0.7/mlir/include/mlir/Analysis/DataFlow/ |
| H A D | ConstantPropagationAnalysis.h | 36 Attribute getConstantValue() const { return constant; } in getConstantValue() function
|
| /llvm-project-15.0.7/llvm/lib/Target/AMDGPU/ |
| H A D | AMDGPUISelDAGToDAG.h | 34 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 D | InferIntRangeInterface.h | 96 Optional<APInt> getConstantValue() const;
|
| /llvm-project-15.0.7/mlir/lib/Analysis/DataFlow/ |
| H A D | ConstantPropagationAnalysis.cpp | 47 constantOperands.push_back(operandLattice->getValue().getConstantValue()); in visitOperation()
|
| H A D | IntegerRangeAnalysis.cpp | 40 Optional<APInt> constant = getValue().getValue().getConstantValue(); in onUpdate()
|
| H A D | DeadCodeAnalysis.cpp | 322 operands.push_back(cv->getValue().getConstantValue()); in getOperandValuesImpl()
|
| /llvm-project-15.0.7/mlir/include/mlir/TableGen/ |
| H A D | Attribute.h | 129 StringRef getConstantValue() const;
|
| /llvm-project-15.0.7/mlir/test/lib/Transforms/ |
| H A D | TestIntRangeInference.cpp | 32 Optional<APInt> maybeConstValue = inferredRange.getConstantValue(); in replaceWithConstant()
|
| /llvm-project-15.0.7/mlir/lib/Interfaces/ |
| H A D | InferIntRangeInterface.cpp | 115 Optional<APInt> ConstantIntRanges::getConstantValue() const { in getConstantValue() function in ConstantIntRanges
|
| /llvm-project-15.0.7/mlir/lib/Dialect/Arithmetic/IR/ |
| H A D | InferIntRangeInterfaceImpls.cpp | 558 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 D | Attribute.cpp | 144 StringRef ConstantAttr::getConstantValue() const { in getConstantValue() function in ConstantAttr
|
| /llvm-project-15.0.7/flang/lib/Optimizer/Builder/ |
| H A D | FIRBuilder.cpp | 1233 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 D | ExecutionEngine.h | 512 GenericValue getConstantValue(const Constant *C);
|
| /llvm-project-15.0.7/llvm/include/llvm/Transforms/Scalar/ |
| H A D | GVNExpression.h | 603 Constant *getConstantValue() const { return ConstantValue; } in getConstantValue() function
|
| /llvm-project-15.0.7/llvm/lib/Transforms/Scalar/ |
| H A D | NewGVN.cpp | 2347 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 D | RewriterGen.cpp | 1220 constAttr.getConstantValue()); in handleOpArgument()
|
| /llvm-project-15.0.7/mlir/lib/Rewrite/ |
| H A D | ByteCode.cpp | 804 writer.append(OpCode::AreEqual, op.getAttribute(), op.getConstantValue(), in generate()
|
| /llvm-project-15.0.7/llvm/lib/ExecutionEngine/Interpreter/ |
| H A D | Execution.cpp | 2104 return getConstantValue(CPV); in getOperandValue()
|