| /llvm-project/llvm/include/llvm/ADT/ |
| H A D | SparseBitVector.h | 173 bool changed = false; in unionWith() local 175 BitWord old = changed ? 0 : Bits[i]; in unionWith() 178 if (!changed && old != Bits[i]) in unionWith() 179 changed = true; in unionWith() 181 return changed; in unionWith() 197 bool changed = false; in intersectWith() local 202 BitWord old = changed ? 0 : Bits[i]; in intersectWith() 208 if (!changed && old != Bits[i]) in intersectWith() 209 changed = true; in intersectWith() 212 return changed; in intersectWith() [all …]
|
| /llvm-project/llvm/test/Transforms/SimplifyCFG/ |
| H A D | pr33605.ll | 8 ; bool changed = false; 14 ; changed = true; 17 ; return changed; 37 %changed.0.off0 = phi i1 [ false, %entry ], [ %changed.1.off0, %if.end ] 43 %changed.0.off0.lcssa = phi i1 [ %changed.0.off0, %for.cond ] 44 ret i1 %changed.0.off0.lcssa 60 %changed.1.off0 = phi i1 [ true, %if.then ], [ %changed.0.off0, %for.body ]
|
| /llvm-project/llvm/test/Transforms/JumpThreading/ |
| H A D | pr33605.ll | 8 ; bool changed = false; 14 ; changed = true; 17 ; return changed; 37 %changed.0.off0 = phi i1 [ false, %entry ], [ %changed.1.off0, %if.end ] 43 %changed.0.off0.lcssa = phi i1 [ %changed.0.off0, %for.cond ] 44 ret i1 %changed.0.off0.lcssa 60 %changed.1.off0 = phi i1 [ true, %if.then ], [ %changed.0.off0, %for.body ]
|
| /llvm-project/lldb/source/Interpreter/ |
| H A D | OptionValuePathMappings.cpp | 65 bool changed = false; in SetValueFromString() local 74 changed = true; in SetValueFromString() 83 if (changed) in SetValueFromString() 108 bool changed = false; in SetValueFromString() 115 changed = true; in SetValueFromString() 124 if (changed) in SetValueFromString() 141 bool changed = false; in SetValueFromString() 150 changed = true; in SetValueFromString() 160 if (changed) in SetValueFromString() 105 bool changed = false; SetValueFromString() local 138 bool changed = false; SetValueFromString() local
|
| /llvm-project/llvm/test/Other/ |
| H A D | change-printer.ll | 1 ; Simple checks of -print-changed functionality 6 ; RUN: opt -S -print-changed -passes=instsimplify 2>&1 -o /dev/null < %s | FileCheck %s --check-pre… 9 ; RUN: opt -S -print-changed= -passes=instsimplify 2>&1 -o /dev/null < %s | FileCheck %s --check-pr… 13 ; RUN: opt -S -print-changed -passes=instsimplify -filter-print-funcs=f 2>&1 -o /dev/null < %s | F… 16 ; RUN: opt -S -print-changed -passes=instsimplify -print-module-scope 2>&1 -o /dev/null < %s | File… 19 ; RUN: opt -S -print-changed -passes=instsimplify -filter-print-funcs=f -print-module-scope 2>&1 -o… 22 ; RUN: opt -S -print-changed -passes=instsimplify -filter-print-funcs="f,g" 2>&1 -o /dev/null < %s … 25 ; RUN: opt -S -print-changed -passes="instsimplify,no-op-function" -filter-passes="no-op-function" … 28 ; RUN: opt -S -print-changed -passes="instsimplify,no-op-function" -filter-passes="no-op-function,i… 31 ; RUN: opt -S -print-changed -passes="instsimplify,no-op-function" -filter-passes="no-op-function,i… [all …]
|
| H A D | print-changed-machine.ll | 2 ; RUN: llc -filetype=null -mtriple=aarch64 -O0 -print-changed %s 2>&1 | FileCheck %s --check-prefix… 3 ; RUN: llc -filetype=null -mtriple=aarch64 -O0 -print-changed -filter-print-funcs=foo %s 2>&1 | Fil… 21 ; RUN: llc -filetype=null -mtriple=aarch64 -O0 -print-changed=quiet %s 2>&1 | FileCheck %s --check-… 27 ; RUN: llc -filetype=null -mtriple=aarch64 -O0 -print-changed -filter-passes=irtranslator,legalizer… 29 ; RUN: llc -filetype=null -mtriple=aarch64 -O0 -print-changed=quiet -filter-passes=irtranslator %s … 41 ; RUN: llc -filetype=null -mtriple=aarch64 -O0 -print-changed=dot-cfg %s 2>&1 | FileCheck %s --chec…
|
| H A D | machine-size-remarks.ll | 16 ; CHECK-SAME: main: MI Instruction count changed from 0 19 ; CHECK-SAME: MI Instruction count changed from [[INIT]] to 31 ; CHECK-NEXT: - String: 'MI Instruction count changed from ' 46 ; CHECK-NEXT: - String: 'MI Instruction count changed from '
|
| /llvm-project/mlir/include/mlir/Transforms/ |
| H A D | GreedyPatternRewriteDriver.h | 122 /// reached) and no more patterns can be matched within the region. `changed` 129 bool *changed = nullptr); 137 bool *changed = nullptr) { 139 return applyPatternsGreedily(region, patterns, config, changed); 162 /// reached) and no more patterns can be matched within the region. `changed` 169 bool *changed = nullptr) { 178 if (changed) 179 *changed = anyRegionChanged; 189 bool *changed = nullptr) { 191 return applyPatternsGreedily(op, patterns, config, changed); [all...] |
| /llvm-project/mlir/lib/IR/ |
| H A D | AttrTypeSubElements.cpp | 147 FailureOr<bool> &changed) { in updateSubElementImpl() 149 if (failed(changed)) in updateSubElementImpl() 162 changed = true; 164 changed = failure(); in replaceSubElements() 173 FailureOr<bool> changed = false; in replaceSubElements() 176 updateSubElementImpl(element, replacer, newAttrs, changed); in replaceSubElements() 179 updateSubElementImpl(element, replacer, newTypes, changed); in replaceSubElements() 181 if (failed(changed)) in replaceSubElements() 184 // If any sub-elements changed, use the new elements during the replacement. in replaceSubElements() 186 if (*changed) 142 updateSubElementImpl(T element,AttrTypeReplacer & replacer,SmallVectorImpl<T> & newElements,FailureOr<bool> & changed) updateSubElementImpl() argument 168 FailureOr<bool> changed = false; replaceSubElements() local [all...] |
| /llvm-project/mlir/lib/Transforms/Utils/ |
| H A D | GreedyPatternRewriteDriver.cpp | 50 /// * Pattern returns "failure" but the IR has changed. 51 /// * Pattern returns "success" but the IR has not changed. 54 /// changed or not. 83 // Pattern application success => IR must have changed. in notifyRewriteSuccess() 99 // have changed.) in notifyRewriteSuccess() 103 llvm::report_fatal_error("operation finger print changed"); in notifyRewriteSuccess() 112 // Pattern application failure => IR must not have changed. in notifyRewriteFailure() 354 /// reached. Return `true` if any IR was changed. 455 bool changed = false; in processWorklist() local 481 changed in processWorklist() 826 simplify(bool * changed) simplify() argument 899 applyPatternsAndFoldGreedily(Region & region,const FrozenRewritePatternSet & patterns,GreedyRewriteConfig config,bool * changed) applyPatternsAndFoldGreedily() argument 973 simplify(ArrayRef<Operation * > ops,bool * changed) simplify() argument 1017 applyOpPatternsAndFold(ArrayRef<Operation * > ops,const FrozenRewritePatternSet & patterns,GreedyRewriteConfig config,bool * changed,bool * allErased) applyOpPatternsAndFold() argument [all...] |
| /llvm-project/libcxx/utils/libcxx/sym_check/ |
| H A D | diff.py | 39 changed = [] 45 changed += [(old_sym, new_sym)] 46 return changed 52 changed = changed_symbols(old, new) 53 return added, removed, changed
|
| /llvm-project/mlir/lib/Transforms/ |
| H A D | CSE.cpp | 67 void simplify(Operation *op, bool *changed = nullptr); 366 void CSEDriver::simplify(Operation *op, bool *changed) { in simplify() argument 375 if (changed) in simplify() 376 *changed = !opsToErase.empty(); in simplify() 384 bool *changed) { in eliminateCommonSubExpressions() argument 386 driver.simplify(op, changed); in eliminateCommonSubExpressions() 400 bool changed = false; in runOnOperation() local 401 driver.simplify(getOperation(), &changed); in runOnOperation() 408 if (!changed) in runOnOperation()
|
| /llvm-project/mlir/lib/Dialect/Linalg/Transforms/ |
| H A D | Hoisting.cpp | 99 bool changed = true; in hoistRedundantVectorBroadcasts() local 100 while (changed) { in hoistRedundantVectorBroadcasts() 101 changed = false; in hoistRedundantVectorBroadcasts() 166 changed = true; in hoistRedundantVectorBroadcasts() 204 bool changed = true; in hoistRedundantVectorTransfers() 205 while (changed) { in hoistRedundantVectorTransfers() 206 changed = false; in hoistRedundantVectorTransfers() 376 changed = true; 203 bool changed = true; hoistRedundantVectorTransfers() local
|
| /llvm-project/mlir/lib/Analysis/DataFlow/ |
| H A D | IntegerRangeAnalysis.cpp | 88 ChangeResult changed = lattice->join(attrs); in visitOperation() 100 changed |= lattice->join(IntegerValueRange::getMaxRange(v)); in visitOperation() 102 propagateIfChanged(lattice, changed); in visitOperation() 130 ChangeResult changed = lattice->join(attrs); in visitNonControlFlowArguments() 142 changed |= lattice->join(IntegerValueRange::getMaxRange(v)); in visitNonControlFlowArguments() 144 propagateIfChanged(lattice, changed); in visitNonControlFlowArguments() 84 ChangeResult changed = lattice->join(attrs); visitOperation() local 125 ChangeResult changed = lattice->join(attrs); visitNonControlFlowArguments() local
|
| /llvm-project/llvm/test/MC/ELF/ |
| H A D | section-flags-changed.s | 6 # CHECK: {{.*}}.s:[[# @LINE+1]]:1: error: changed section flags for .foo, expected: 0x6 9 # CHECK: {{.*}}.s:[[# @LINE+1]]:1: error: changed section flags for .foo, expected: 0x6 12 # CHECK: {{.*}}.s:[[# @LINE+1]]:1: error: changed section flags for .foo, expected: 0x6
|
| H A D | symbol-binding-changed.s | 3 # CHECK: {{.*}}.s:[[#@LINE+3]]:1: error: local changed binding to STB_GLOBAL 9 # CHECK: {{.*}}.s:[[#@LINE+3]]:1: warning: global changed binding to STB_WEAK 14 # CHECK: {{.*}}.s:[[#@LINE+3]]:1: error: weak changed binding to STB_LOCAL
|
| /llvm-project/mlir/lib/Analysis/ |
| H A D | DataFlowFramework.cpp | 141 ChangeResult changed) { in propagateIfChanged() 144 if (changed == ChangeResult::Change) { 166 ChangeResult changed) { 167 solver.propagateIfChanged(state, changed); 117 propagateIfChanged(AnalysisState * state,ChangeResult changed) propagateIfChanged() argument 139 propagateIfChanged(AnalysisState * state,ChangeResult changed) propagateIfChanged() argument
|
| /llvm-project/llvm/test/Other/ChangePrinters/ |
| H A D | print-changed-diff-machine.ll | 2 ; RUN: llc -filetype=null -mtriple=aarch64 -O0 -print-changed=diff %s 2>&1 | FileCheck %s --check-p… 3 ; RUN: llc -filetype=null -mtriple=aarch64 -O0 -print-changed=diff-quiet %s 2>&1 | FileCheck %s --c… 4 ; RUN: llc -filetype=null -mtriple=aarch64 -O0 -print-changed=cdiff %s 2>&1 | FileCheck %s --check-… 5 ; RUN: llc -filetype=null -mtriple=aarch64 -O0 -print-changed=cdiff-quiet %s 2>&1 | FileCheck %s --…
|
| H A D | print-changed-diff.ll | 1 ; Simple checks of -print-changed=diff 6 ; RUN: opt -S -print-changed=diff -passes=instsimplify 2>&1 -o /dev/null < %s | FileCheck %s --chec… 10 ; RUN: opt -S -print-changed=diff -passes=instsimplify -filter-print-funcs=f 2>&1 -o /dev/null < %… 14 ; RUN: opt -S -print-changed=diff -passes=instsimplify -print-module-scope 2>&1 -o /dev/null < %s |… 17 ; RUN: opt -S -print-changed=diff -passes=instsimplify -filter-print-funcs="f,g" 2>&1 -o /dev/null … 20 ; RUN: opt -S -print-changed=diff -passes="instsimplify,no-op-function" -filter-passes="no-op-funct… 23 ; RUN: opt -S -print-changed=diff -passes="instsimplify,no-op-function" -filter-passes="no-op-funct… 26 ; RUN: opt -S -print-changed=diff -passes="instsimplify,no-op-function" -filter-passes="no-op-funct… 31 ; RUN: opt -S -print-changed=diff -passes="instsimplify,instsimplify" -filter-print-funcs=f 2>&1 -… 33 ; Simple checks of -print-changed=diff-quiet [all …]
|
| /llvm-project/llvm/test/Transforms/PhaseOrdering/ |
| H A D | simplifycfg-options.ll | 37 %changed.0.off0 = phi i1 [ false, %entry ], [ %changed.1.off0, %if.end ] 43 %changed.0.off0.lcssa = phi i1 [ %changed.0.off0, %for.cond ] 44 ret i1 %changed.0.off0.lcssa 60 %changed.1.off0 = phi i1 [ true, %if.then ], [ %changed.0.off0, %for.body ]
|
| /llvm-project/clang/test/Index/ |
| H A D | preamble-reparse-changed-module.m | 6 // RUN: cp %S/Inputs/preamble-reparse-changed-module/module.modulemap %t/mod 7 // RUN: cp %S/Inputs/preamble-reparse-changed-module/head.h %t/mod 9 // RUN: env CINDEXTEST_EDITING=1 CINDEXTEST_EXECUTE_COMMAND="cp %S/Inputs/preamble-reparse-changed-…
|
| /llvm-project/llvm/test/tools/llvm-dwarfdump/X86/ |
| H A D | debug-line.s | 106 .byte 0x4 ## DW_LNS_set_file - shows file can be changed to an arbitrary value. 108 .byte 0x5 ## DW_LNS_set_column - shows column can be changed. 111 .byte 0x8 ## DW_LNS_const_add_pc - shows address can be changed. 112 .byte 0xC ## DW_LNS_set_isa - shows isa register value can be changed. 114 .byte 0, 0x2, 0x4 ## DW_LNE_set_discriminator - shows discriminator can be changed. 116 ## These lines all show that the printed boolean register values can be changed.
|
| /llvm-project/clang-tools-extra/docs/clang-tidy/checks/readability/ |
| H A D | implicit-bool-conversion.rst | 29 changed from ``bool`` to ``int``. The programmer forgot to change all 87 - ``bool boolean = floating;`` is changed to 96 - ``if (!pointer)`` is changed to ``if (pointer == nullptr)``, 102 - ``int integer = boolean;`` is changed to 108 - ``functionTakingBool(0);`` is changed to ``functionTakingBool(false);``, 110 - ``functionTakingInt(true);`` is changed to ``functionTakingInt(1);``,
|
| /llvm-project/llvm/test/CodeGen/X86/ |
| H A D | widen_load-1.ll | 22 %changed = alloca i32, align 4 ; <ptr> [#uses=3] 26 store i32 0, ptr %changed, align 4 29 call void @killcommon(ptr %changed) 33 %r5 = load i32, ptr %changed, align 4 ; <i32> [#uses=1]
|
| /llvm-project/clang-tools-extra/docs/clang-tidy/checks/bugprone/ |
| H A D | infinite-loop.rst | 6 Finds obvious infinite loops (loops where the condition variable is not changed 11 the loop condition is not changed. This check detects such loops. A loop is 24 For example, the following loop is considered infinite `i` is not changed in
|