Home
last modified time | relevance | path

Searched refs:nonconst (Results 1 – 11 of 11) sorted by relevance

/llvm-project-15.0.7/clang/test/CXX/expr/expr.const/
H A Dp3-0x.cpp5 int nonconst = 8; // expected-note 3 {{here}} variable
6 enum NonConstE : unsigned char { NCE = nonconst }; // expected-error {{enumerator value is not a co…
7 template<int = nonconst> struct NonConstT {}; // expected-error {{non-type template argument is not…
9 switch (nonconst) { in NonConstF()
10 …case nonconst: // expected-error {{case value is not a constant expression}} expected-note {{read … in NonConstF()
/llvm-project-15.0.7/clang/test/CodeGen/
H A Dbuiltin-assume.c4 int nonconst(void);
38 __assume(nonconst()); in test1()
41 __builtin_assume(nonconst()); in test1()
/llvm-project-15.0.7/clang/test/Sema/
H A Dbuiltin-assume.c4 int nonconst(void);
12 …__assume(nonconst() > 2); //expected-warning {{the argument to '__assume' has side effects that wi… in foo()
21 …__builtin_assume(nonconst() > 2); //expected-warning {{the argument to '__builtin_assume' has side… in foo()
/llvm-project-15.0.7/clang/test/SemaCXX/
H A Di-c-e-cxx.cpp83 const int nonconst = 1.0; variable
87 int arr[nonconst];
/llvm-project-15.0.7/llvm/test/Linker/
H A D2005-02-12-ConstantGlobals-2.ll2 ; to be nonconst.
H A D2005-02-12-ConstantGlobals.ll2 ; to be nonconst.
/llvm-project-15.0.7/llvm/test/Transforms/ConstraintElimination/
H A Dadd-nsw.ll106 define void @test.decompose.nonconst(i8 %a, i8 %b, i8 %c, i8 %d) {
107 ; CHECK-LABEL: @test.decompose.nonconst(
160 define void @test.decompose.nonconst.no.null.check(i8 %a, i8 %b, i8 %c, i8 %d) {
161 ; CHECK-LABEL: @test.decompose.nonconst.no.null.check(
H A Dadd-nuw.ll240 define void @test.decompose.nonconst(i8 %a, i8 %b, i8 %c, i8 %d) {
241 ; CHECK-LABEL: @test.decompose.nonconst(
294 define void @test.decompose.nonconst.no.null.check(i8 %a, i8 %b, i8 %c, i8 %d) {
295 ; CHECK-LABEL: @test.decompose.nonconst.no.null.check(
H A Dgeps-signed-predicates.ll474 define void @test.not.sge.sge.nonconst(i8* %start, i8* %low, i8* %high, i8 %off) {
475 ; CHECK-LABEL: @test.not.sge.sge.nonconst(
650 define i1 @test.slt.gep.shl.nonconst.zext(i16 %B, i16* readonly %src, i16* readnone %max, i16 %idx,…
651 ; CHECK-LABEL: @test.slt.gep.shl.nonconst.zext(
H A Dgeps-unsigned-predicates.ll474 define void @test.not.uge.uge.nonconst(i8* %start, i8* %low, i8* %high, i8 %off) {
475 ; CHECK-LABEL: @test.not.uge.uge.nonconst(
650 define i1 @test.ult.gep.shl.nonconst.zext(i16 %B, i16* readonly %src, i16* readnone %max, i16 %idx,…
651 ; CHECK-LABEL: @test.ult.gep.shl.nonconst.zext(
/llvm-project-15.0.7/llvm/test/CodeGen/PowerPC/
H A Dloop-instr-prep-non-const-increasement.ll3 ; RUN: -ppc-formprep-update-nonconst-inc -mtriple=powerpc64le-unknown-linux-gnu \