Home
last modified time | relevance | path

Searched refs:constInt (Results 1 – 9 of 9) sorted by relevance

/llvm-project/clang/test/Analysis/
H A Dblocks-no-inline.c29 typedef const int constInt; typedef
30 constInt anotherGlobalConstant = 1;
32 constInt localConstant = 2; in testCapturedConstantsTypedef()
33 static constInt staticConstant = 3; in testCapturedConstantsTypedef()
/llvm-project/clang-tools-extra/test/clang-tidy/checkers/cppcoreguidelines/
H A Davoid-non-const-global-variables.cpp25 const int constInt = 0; variable
27 const int *pointerToConstInt = &constInt;
30 const int *const constPointerToConstInt = &constInt;
32 const int &constReferenceToConstInt = constInt;
/llvm-project/flang/test/Semantics/
H A Ddosemantics02.f9023 INTEGER, PARAMETER :: constInt = 0 local
42 DO CONCURRENT (I = 1 : 10 : constInt)
/llvm-project/mlir/lib/Interfaces/
H A DValueBoundsOpInterface.cpp88 if (auto constInt = ::getConstantIntValue(ofr)) { in Variable() local
91 b.getAffineConstantExpr(*constInt)); in Variable()
215 } else if (auto constInt = ::getConstantIntValue(value)) { in getExpr() local
216 constSize = *constInt; in getExpr()
252 auto constInt = ::getConstantIntValue(ofr); in getExpr() local
253 assert(constInt.has_value() && "expected Integer constant"); in getExpr()
254 return builder.getAffineConstantExpr(*constInt); in getExpr()
/llvm-project/lldb/test/API/functionalities/data-formatter/data-formatter-advanced/
H A Dmain.cpp132 const int constInt = 42; in main() local
/llvm-project/mlir/lib/Target/LLVMIR/
H A DDebugImporter.cpp280 if (auto *constInt = dyn_cast<llvm::ConstantInt *>(data))
282 constInt->getSExtValue()); in translateImpl()
236 if (auto *constInt = dyn_cast<llvm::ConstantInt *>(data)) translateImpl() local
H A DModuleImport.cpp808 if (auto *constInt = dyn_cast<llvm::ConstantInt>(constScalar)) { in getConstantAsAttr()
810 IntegerType::get(context, constInt->getBitWidth()), in getConstantAsAttr()
811 constInt->getValue()); in getConstantAsAttr()
728 if (auto *constInt = dyn_cast<llvm::ConstantInt>(constScalar)) { getScalarConstantAsAttr() local
/llvm-project/flang/lib/Optimizer/Builder/
H A DPPCIntrinsicCall.cpp1591 auto constInt{mlir::dyn_cast_or_null<mlir::IntegerAttr>( in genVecConvert() local
1594 assert(constInt && "expected integer constant argument"); in genVecConvert()
1595 double f{1.0 / (1 << constInt.getInt())}; in genVecConvert()
2151 auto constInt{constIntOp.getInt()}; in genVecPerm() local
2163 switch (constInt) { in genVecPerm()
/llvm-project/mlir/lib/Dialect/Tensor/IR/
H A DTensorOps.cpp2959 if (std::optional<int64_t> constInt = in inferResultType()
2962 if (*constInt < 0) in inferResultType()
2964 newSrcShape[i] = *constInt; in inferResultType()
2804 if (std::optional<int64_t> constInt = matchAndRewrite() local