Home
last modified time | relevance | path

Searched refs:mutate (Results 1 – 25 of 51) sorted by relevance

123

/llvm-project-15.0.7/llvm/include/llvm/FuzzMutate/
H A DIRMutator.h51 virtual void mutate(Module &M, RandomIRBuilder &IB);
52 virtual void mutate(Function &F, RandomIRBuilder &IB);
53 virtual void mutate(BasicBlock &BB, RandomIRBuilder &IB);
54 virtual void mutate(Instruction &I, RandomIRBuilder &IB) { in mutate() function
93 using IRMutationStrategy::mutate;
94 void mutate(Function &F, RandomIRBuilder &IB) override;
95 void mutate(BasicBlock &BB, RandomIRBuilder &IB) override;
103 using IRMutationStrategy::mutate;
104 void mutate(Function &F, RandomIRBuilder &IB) override;
105 void mutate(Instruction &Inst, RandomIRBuilder &IB) override;
[all …]
/llvm-project-15.0.7/llvm/lib/FuzzMutate/
H A DIRMutator.cpp39 void IRMutationStrategy::mutate(Module &M, RandomIRBuilder &IB) { in mutate() function in IRMutationStrategy
48 mutate(*RS.getSelection(), IB); in mutate()
51 void IRMutationStrategy::mutate(Function &F, RandomIRBuilder &IB) { in mutate() function in IRMutationStrategy
55 void IRMutationStrategy::mutate(BasicBlock &BB, RandomIRBuilder &IB) { in mutate() function in IRMutationStrategy
72 Strategy->mutate(M, IB); in mutateModule()
84 void InjectorIRStrategy::mutate(Function &F, RandomIRBuilder &IB) { in mutate() function in InjectorIRStrategy
85 IRMutationStrategy::mutate(F, IB); in mutate()
111 void InjectorIRStrategy::mutate(BasicBlock &BB, RandomIRBuilder &IB) { in mutate() function in InjectorIRStrategy
161 void InstDeleterIRStrategy::mutate(Function &F, RandomIRBuilder &IB) { in mutate() function in InstDeleterIRStrategy
175 mutate(*RS.getSelection(), IB); in mutate()
[all …]
/llvm-project-15.0.7/clang/test/SemaCXX/
H A Dbuiltin-constant-p.cpp119 constexpr int mutate_param(bool mutate, int &param) { in mutate_param() argument
120 mutate = mutate; // Mutation of internal state is OK in mutate_param()
121 if (mutate) in mutate_param()
125 constexpr int mutate6(bool mutate) { in mutate6() argument
127 int m = __builtin_constant_p(mutate_param(mutate, n)); in mutate6()
/llvm-project-15.0.7/clang-tools-extra/test/clang-tidy/checkers/performance/
H A Dunnecessary-value-param-delayed.cpp11 void mutate(ExpensiveToCopyType &);
12 void mutate(ExpensiveToCopyType *);
114 mutate(Obj); in negativeValueIsMutatedByReference()
118 mutate(&Obj); in negativeValueIsMutatatedByPointer()
H A Dunnecessary-copy-initialization.cpp68 void mutate(ExpensiveToCopyType &);
69 void mutate(ExpensiveToCopyType *);
343 mutate(MutatedByReference); in negativeNonConstVarWithNonConstUse()
348 mutate(&MutatedByPointer); in negativeNonConstVarWithNonConstUse()
364 mutate(&Obj); in NegativeMethodCallNonConstRefIsModified()
392 mutate(Obj); in NegativeMethodCallNonConstPointerIsModified()
515 mutate(neg_copy_3); in NegativeLocalCopyUsedAsRefArg()
521 mutate(&neg_copy_4); in NegativeLocalCopyUsedAsPointerArg()
H A Dfor-range-copy.cpp145 void mutate(Mutable *M);
146 void mutate(Mutable &M);
151 mutate(M); in negativeVariableIsMutated()
154 mutate(&M); in negativeVariableIsMutated()
H A Dunnecessary-value-param.cpp13 void mutate(ExpensiveToCopyType &);
14 void mutate(ExpensiveToCopyType *);
154 mutate(Obj); in negativeValueIsMutatedByReference()
158 mutate(&Obj); in negativeValueIsMutatatedByPointer()
/llvm-project-15.0.7/clang-tools-extra/test/clang-tidy/checkers/cert/
H A Doop58-cpp.cpp135 void mutate(int y) { in mutate() function
143 s.mutate(0); // no-warning: mutating this is allowed in G()
145 other.s.mutate(0); in G()
/llvm-project-15.0.7/clang-tools-extra/docs/clang-tidy/checks/cert/
H A Doop58-cpp.rst10 `OOP58-CPP. Copy operations must not mutate the source object
11 <https://wiki.sei.cmu.edu/confluence/display/cplusplus/OOP58-CPP.+Copy+operations+must+not+mutate+t…
/llvm-project-15.0.7/mlir/lib/Support/
H A DStorageUniquer.cpp169 mutate(bool threadingIsEnabled, BaseStorage *storage, in mutate() function in __anon95dc17a30111::ParametricStorageUniquer
247 mutate(bool threadingIsEnabled, BaseStorage *storage,
291 mutate(TypeID id, BaseStorage *storage, in mutate() function
296 return storageUniquer.mutate(threadingIsEnabled, storage, mutationFn); in mutate()
388 return impl->mutate(id, storage, mutationFn); in mutateImpl()
/llvm-project-15.0.7/clang-tools-extra/test/clang-tidy/checkers/modernize/
H A Dloop-convert-reverse.cpp67 void mutate(T &);
99 mutate(*I); in nonConstContainer()
/llvm-project-15.0.7/llvm/test/CodeGen/PowerPC/
H A Dppc-passname.ll49 ; Test pass name: ppc-vsx-fma-mutate.
50 …64le-unknown-unknown < %s -debug-pass=Structure -stop-before=ppc-vsx-fma-mutate -o /dev/null 2>&1 …
51 ; STOP-BEFORE-VSX-FMA-MUTATE-NOT: -ppc-vsx-fma-mutate
52 ; STOP-BEFORE-VSX-FMA-MUTATE-NOT: "ppc-vsx-fma-mutate" pass is not registered.
55 …c64le-unknown-unknown < %s -debug-pass=Structure -stop-after=ppc-vsx-fma-mutate -o /dev/null 2>&1 …
56 ; STOP-AFTER-VSX-FMA-MUTATE: -ppc-vsx-fma-mutate
57 ; STOP-AFTER-VSX-FMA-MUTATE-NOT: "ppc-vsx-fma-mutate" pass is not registered.
/llvm-project-15.0.7/mlir/test/lib/Dialect/Test/
H A DTestTypes.h115 ::mlir::LogicalResult mutate(::mlir::TypeStorageAllocator &allocator,
146 ::mlir::LogicalResult setBody(Type body) { return Base::mutate(body); }
/llvm-project-15.0.7/mlir/include/mlir/IR/
H A DStorageUniquerSupport.h187 LogicalResult mutate(Args &&...args) { in mutate() function
192 return UniquerT::template mutate<ConcreteT>(this->getContext(), getImpl(), in mutate()
H A DTypeSupport.h216 static LogicalResult mutate(MLIRContext *ctx, typename T::ImplType *impl, in mutate() function
219 return ctx->getTypeUniquer().mutate(T::getTypeID(), impl, in mutate()
H A DAttributeSupport.h240 static LogicalResult mutate(MLIRContext *ctx, typename T::ImplType *impl, in mutate() function
243 return ctx->getAttributeUniquer().mutate(T::getTypeID(), impl, in mutate()
/llvm-project-15.0.7/mlir/include/mlir/Support/
H A DStorageUniquer.h252 LogicalResult mutate(TypeID id, Storage *storage, Args &&...args) { in mutate() function
254 return static_cast<Storage &>(*storage).mutate( in mutate()
/llvm-project-15.0.7/llvm/test/Analysis/CFLAliasAnalysis/Andersen/
H A Dinterproc-store-arg-unknown.ll2 ; to mutate the memory pointed to by its parameters
H A Dinterproc-store-arg.ll2 ; to mutate the memory pointed to by its parameters
H A Dinterproc-store-arg-multilevel.ll2 ; to mutate the memory pointed to by its parameters
/llvm-project-15.0.7/llvm/test/Analysis/CFLAliasAnalysis/Steensgaard/
H A Dinterproc-store-arg-unknown.ll2 ; to mutate the memory pointed to by its parameters
H A Dinterproc-store-arg.ll2 ; to mutate the memory pointed to by its parameters
H A Dinterproc-store-arg-multilevel.ll2 ; to mutate the memory pointed to by its parameters
/llvm-project-15.0.7/llvm/test/CodeGen/ARM/
H A Darg-copy-elide.ll21 ; We need to load %x before calling addrof_i32 now because it could mutate %x in
/llvm-project-15.0.7/clang-tools-extra/clangd/test/
H A Dbackground-index.test1 # Use a copy of inputs, as we'll mutate it (as will the background index).

123