Home
last modified time | relevance | path

Searched refs:NE (Results 1 – 25 of 158) sorted by relevance

1234567

/llvm-project-15.0.7/clang/lib/StaticAnalyzer/Checkers/
H A DCheckPlacementNew.cpp66 const Expr *Place = NE->getPlacementArg(0); in getExtentSizeOfPlace()
75 QualType ElementType = NE->getAllocatedType(); in getExtentSizeOfNewTarget()
79 if (NE->isArray()) { in getExtentSizeOfNewTarget()
81 const Expr *SizeExpr = *NE->getArraySize(); in getExtentSizeOfNewTarget()
103 const CXXNewExpr *NE, CheckerContext &C) const { in checkPlaceCapacityIsSufficient() argument
106 SVal SizeOfPlace = getExtentSizeOfPlace(NE, C); in checkPlaceCapacityIsSufficient()
276 const Expr *Place = NE->getPlacementArg(0); in checkPlaceIsAlignedProperly()
278 QualType AllocatedT = NE->getAllocatedType(); in checkPlaceIsAlignedProperly()
301 if (NE->getNumPlacementArgs() == 0) in checkPreStmt()
304 if (!checkPlaceCapacityIsSufficient(NE, C)) in checkPreStmt()
[all …]
H A DPointerArithChecker.cpp49 AllocKind getKindOfNewOp(const CXXNewExpr *NE, const FunctionDecl *FD) const;
68 void checkPostStmt(const CXXNewExpr *NE, CheckerContext &C) const;
90 AllocKind PointerArithChecker::getKindOfNewOp(const CXXNewExpr *NE, in getKindOfNewOp() argument
98 if (NE->isArray()) in getKindOfNewOp()
240 void PointerArithChecker::checkPostStmt(const CXXNewExpr *NE, in checkPostStmt() argument
242 const FunctionDecl *FD = NE->getOperatorNew(); in checkPostStmt()
246 AllocKind Kind = getKindOfNewOp(NE, FD); in checkPostStmt()
249 SVal AllocedVal = C.getSVal(NE); in checkPostStmt()
H A DAnalysisOrderChecker.cpp85 void checkPreStmt(const CXXNewExpr *NE, CheckerContext &C) const { in checkPreStmt() argument
90 void checkPostStmt(const CXXNewExpr *NE, CheckerContext &C) const { in checkPostStmt() argument
95 void checkPreStmt(const CXXDeleteExpr *NE, CheckerContext &C) const { in checkPreStmt() argument
100 void checkPostStmt(const CXXDeleteExpr *NE, CheckerContext &C) const { in checkPostStmt() argument
105 void checkPreStmt(const CXXConstructExpr *NE, CheckerContext &C) const { in checkPreStmt() argument
110 void checkPostStmt(const CXXConstructExpr *NE, CheckerContext &C) const { in checkPostStmt() argument
/llvm-project-15.0.7/clang/test/SemaCXX/
H A Dimplicit-exception-spec.cpp100 template<bool NE> struct A {
101 A() noexcept(NE);
102 A(const A&) noexcept(NE);
103 A(A&&) noexcept(NE);
104 A &operator=(const A&) noexcept(NE);
105 A &operator=(A&&) noexcept(NE);
106 ~A() noexcept(NE);
109 template<bool NE> struct B : virtual A<NE> {};
111 template<bool NE> struct C : virtual A<NE> {
115 template<bool NE> struct D final : C<NE> {
/llvm-project-15.0.7/clang/test/Preprocessor/
H A Dmacro_with_initializer_list.cpp74 #define NE(x,y) (void)(x != y) // expected-note 6{{defined here}} macro
80 NE(F,F); in test_NE()
82 NE(F,Foo()); in test_NE()
84 NE(F,Foo({1,2,3})); in test_NE()
86 NE((Foo{1,2,3}),(Foo{1,2,3})); in test_NE()
89 NE(F,Foo{1,2,3}); in test_NE()
93 NE(Foo{1,2,3},F); in test_NE()
97 NE(Foo{1,2,3},Foo{1,2,3}); in test_NE()
102 NE(Foo{1,2,3} + Foo{1,2,3}, F); in test_NE()
106 NE(F, Foo({1,2,3}) + Foo{1,2,3}); in test_NE()
[all …]
/llvm-project-15.0.7/clang/include/clang/Analysis/
H A DAnyCall.h81 AnyCall(const CXXNewExpr *NE) in AnyCall() argument
82 : E(NE), D(NE->getOperatorNew()), K(Allocator) {} in AnyCall()
84 AnyCall(const CXXDeleteExpr *NE) in AnyCall() argument
85 : E(NE), D(NE->getOperatorDelete()), K(Deallocator) {} in AnyCall()
87 AnyCall(const CXXConstructExpr *NE) in AnyCall() argument
88 : E(NE), D(NE->getConstructor()), K(Constructor) {} in AnyCall()
H A DConstructionContext.h93 ConstructionContextItem(const CXXNewExpr *NE) in ConstructionContextItem() argument
94 : Data(NE), Kind(NewAllocatorKind) {} in ConstructionContextItem()
464 const CXXNewExpr *NE; variable
468 explicit NewAllocatedObjectConstructionContext(const CXXNewExpr *NE) in NewAllocatedObjectConstructionContext() argument
470 NE(NE) { in NewAllocatedObjectConstructionContext()
471 assert(NE); in NewAllocatedObjectConstructionContext()
475 const CXXNewExpr *getCXXNewExpr() const { return NE; } in getCXXNewExpr()
/llvm-project-15.0.7/llvm/lib/Target/ARM/Utils/
H A DARMBaseInfo.h32 NE, // Not equal Not equal, or unordered enumerator
51 case EQ: return NE; in getOppositeCondition()
52 case NE: return EQ; in getOppositeCondition()
75 case ARMCC::NE: return ARMCC::NE; in getSwappedCondition()
149 case ARMCC::NE: return "ne"; in ARMCondCodeToString()
170 .Case("ne", ARMCC::NE) in ARMCondCodeFromString()
/llvm-project-15.0.7/llvm/test/MC/ARM/
H A Dmve-vcmp.s88 …LINE+1]]:9: {{error|note}}: condition code for sign-independent integer comparison must be EQ or NE
91 …LINE+1]]:9: {{error|note}}: condition code for sign-independent integer comparison must be EQ or NE
137 …LINE+1]]:9: {{error|note}}: condition code for unsigned integer comparison must be EQ, NE, HS or HI
140 …LINE+1]]:9: {{error|note}}: condition code for unsigned integer comparison must be EQ, NE, HS or HI
151 …INE+1]]:10: {{error|note}}: condition code for sign-independent integer comparison must be EQ or NE
154 …INE+1]]:10: {{error|note}}: condition code for sign-independent integer comparison must be EQ or NE
184 …INE+1]]:10: {{error|note}}: condition code for unsigned integer comparison must be EQ, NE, HS or HI
187 …INE+1]]:10: {{error|note}}: condition code for unsigned integer comparison must be EQ, NE, HS or HI
198 …INE+1]]:10: {{error|note}}: condition code for sign-independent integer comparison must be EQ or NE
201 …INE+1]]:10: {{error|note}}: condition code for sign-independent integer comparison must be EQ or NE
[all …]
/llvm-project-15.0.7/clang-tools-extra/test/clang-tidy/checkers/modernize/
H A Duse-equals-default.cpp30 class NE { class
32 NE() { f(); } in NE() function in NE
33 ~NE() { f(); } in ~NE()
/llvm-project-15.0.7/llvm/include/llvm/CodeGen/PBQP/
H A DGraph.h218 EdgeEntry &NE = getEdge(EId); in addConstructedEdge() local
221 NE.connect(*this, EId); in addConstructedEdge()
320 AdjEdgeIdSet(const NodeEntry &NE) : NE(NE) {} in AdjEdgeIdSet() argument
323 return NE.getAdjEdgeIds().begin(); in begin()
327 return NE.getAdjEdgeIds().end(); in end()
330 bool empty() const { return NE.getAdjEdgeIds().empty(); } in empty()
333 return NE.getAdjEdgeIds().size(); in size()
337 const NodeEntry &NE;
/llvm-project-15.0.7/llvm/test/Instrumentation/DataFlowSanitizer/
H A Dorigin_other_ops.ll24 ; CHECK: [[NE:%.*]] = icmp ne i[[#SBITS]] [[BS]], 0
25 ; CHECK: [[MO:%.*]] = select i1 [[NE]], i32 [[BO]], i32 [[AO]]
46 ; CHECK: [[NE:%.*]] = icmp ne i[[#SBITS]] [[BS]], 0
47 ; CHECK: [[MO:%.*]] = select i1 [[NE]], i32 [[BO]], i32 [[AO]]
80 ; CHECK: [[NE:%.*]] = icmp ne i[[#SBITS]] [[BS]], 0
81 ; CHECK: [[MO:%.*]] = select i1 [[NE]], i32 [[BO]], i32 [[AO]]
110 ; CHECK: [[NE:%.*]] = icmp ne i[[#SBITS]] [[BS]], 0
111 ; CHECK: [[MO:%.*]] = select i1 [[NE]], i32 [[BO]], i32 [[AO]]
137 ; CHECK: [[NE:%.*]] = icmp ne i[[#SBITS]] [[BS01]], 0
138 ; CHECK: [[MO:%.*]] = select i1 [[NE]], i32 [[BO]], i32 [[AO]]
H A Dorigin_store.ll85 ; COMBINE_STORE_PTR-NEXT: %[[#NE:]] = icmp ne i[[#SBITS]] %[[#PS]], 0
86 ; COMBINE_STORE_PTR-NEXT: %[[#AO:]] = select i1 %[[#NE]], i32 %[[#PO]], i32 %[[#AO]]
115 ; COMBINE_STORE_PTR-NEXT: %[[#NE:]] = icmp ne i[[#SBITS]] %[[#PS]], 0
116 ; COMBINE_STORE_PTR-NEXT: %[[#AO:]] = select i1 %[[#NE]], i32 %[[#PO]], i32 %[[#AO]]
142 ; COMBINE_STORE_PTR-NEXT: %[[#NE:]] = icmp ne i[[#SBITS]] %[[#PS]], 0
143 ; COMBINE_STORE_PTR-NEXT: %[[#AO:]] = select i1 %[[#NE]], i32 %[[#PO]], i32 %[[#AO]]
/llvm-project-15.0.7/clang/lib/Tooling/Refactoring/
H A DAtomicChange.cpp243 NormalizedAtomicChange NE; in convertFromYAML() local
245 YAML >> NE; in convertFromYAML()
246 AtomicChange E(NE.Key, NE.FilePath, NE.Error, NE.InsertedHeaders, in convertFromYAML()
247 NE.RemovedHeaders, tooling::Replacements()); in convertFromYAML()
248 for (const auto &R : NE.Replaces) { in convertFromYAML()
/llvm-project-15.0.7/clang/lib/AST/Interp/
H A DDescriptor.cpp35 for (unsigned I = 0, NE = D->getNumElems(); I < NE; ++I) { in ctorArrayTy() local
42 for (unsigned I = 0, NE = D->getNumElems(); I < NE; ++I) { in dtorArrayTy() local
49 for (unsigned I = 0, NE = D->getNumElems(); I < NE; ++I) { in moveArrayTy() local
/llvm-project-15.0.7/llvm/lib/Target/NVPTX/
H A DNVPTX.h29 NE, enumerator
153 NE, enumerator
/llvm-project-15.0.7/llvm/test/tools/llvm-ml/
H A Dnamed_operators.asm27 t5 BYTE 5 NE 6
28 BYTE 6 NE 6
29 BYTE 7 NE 6
/llvm-project-15.0.7/llvm/test/CodeGen/SystemZ/
H A Dbranch-07.ll22 ; Test NE.
112 ; Test a vector of 0/-1 results for i32 NE.
143 ; Test a vector of 0/-1 results for i64 NE.
/llvm-project-15.0.7/flang/include/flang/Evaluate/
H A Dcommon.h104 op == RelationalOperator::NE; in Satisfies()
109 return op == RelationalOperator::NE || op == RelationalOperator::GE || in Satisfies()
124 return op == RelationalOperator::NE; in Satisfies()
/llvm-project-15.0.7/clang/test/CodeGen/
H A D2005-04-09-ComplexOps.c8 _Bool NE(double __complex A, double __complex B) { return A != B; } in NE() function
/llvm-project-15.0.7/llvm/lib/Target/ARC/MCTargetDesc/
H A DARCInfo.h27 NE = 0x2, enumerator
/llvm-project-15.0.7/flang/lib/Common/
H A DFortran.cpp54 case RelationalOperator::NE: in AsFortran()
H A DFortran-features.cpp60 case RelationalOperator::NE: in GetNames()
/llvm-project-15.0.7/clang/test/CXX/stmt.stmt/stmt.iter/stmt.ranged/
H A Dp1.cpp322 namespace NE { namespace
336 void use(NA::A a, NB::B b, NC::C c, ND::D d, NE::E e, NF::F f) { in use()
/llvm-project-15.0.7/clang/lib/Analysis/
H A DConstructionContext.cpp184 const auto *NE = cast<CXXNewExpr>(TopItem.getStmt()); in createFromLayers() local
185 return create<NewAllocatedObjectConstructionContext>(C, NE); in createFromLayers()

1234567