Home
last modified time | relevance | path

Searched refs:ICE (Results 1 – 25 of 58) sorted by relevance

123

/llvm-project-15.0.7/clang-tools-extra/clang-tidy/performance/
H A DImplicitConversionInLoopCheck.cpp28 if (const auto *ICE = dyn_cast<ImplicitCastExpr>(ST)) { in isNonTrivialImplicitCast() local
29 return (ICE->getCastKind() != CK_NoOp) || in isNonTrivialImplicitCast()
30 isNonTrivialImplicitCast(ICE->getSubExpr()); in isNonTrivialImplicitCast()
/llvm-project-15.0.7/clang/include/clang/AST/
H A DIgnoreExpr.h48 if (auto *ICE = dyn_cast<ImplicitCastExpr>(E)) in IgnoreImplicitCastsSingleStep() local
49 return ICE->getSubExpr(); in IgnoreImplicitCastsSingleStep()
137 if (auto *ICE = dyn_cast<ImplicitCastExpr>(E)) in IgnoreImplicitAsWrittenSingleStep() local
138 return ICE->getSubExprAsWritten(); in IgnoreImplicitAsWrittenSingleStep()
/llvm-project-15.0.7/clang-tools-extra/clang-tidy/abseil/
H A DStrCatAppendCheck.cpp30 if (const auto *ICE = dyn_cast<ImplicitCastExpr>(E)) in AST_MATCHER_P() local
31 E = ICE->getSubExpr(); in AST_MATCHER_P()
/llvm-project-15.0.7/clang-tools-extra/clang-tidy/bugprone/
H A DImplicitWideningOfMultiplicationResultCheck.cpp71 const ImplicitCastExpr *ICE) { in handleImplicitCastExpr() argument
74 const Expr *E = ICE->getSubExpr()->IgnoreParens(); in handleImplicitCastExpr()
75 QualType Ty = ICE->getType(); in handleImplicitCastExpr()
H A DImplicitWideningOfMultiplicationResultCheck.h30 void handleImplicitCastExpr(const ImplicitCastExpr *ICE);
/llvm-project-15.0.7/llvm/test/MC/ELF/
H A Dbss-large.ll3 ; PR16338 - ICE when compiling very large two-dimensional array
/llvm-project-15.0.7/llvm/test/CodeGen/Hexagon/
H A Dv6vec_zero.ll4 ; Test that we do not ICE with a cannot select message when
H A Dswp-remove-dep-ice.ll4 ; Test that the pipeliner doesn't ICE in the ScheduleDAG code because
H A Dswp-dead-regseq.ll4 ; Check that a dead REG_SEQUENCE doesn't ICE.
H A Dswp-epilog-reuse2.ll4 ; Test that the pipeliner doesn't ICE due because the PHI generation
H A Dswp-epilog-reuse.ll4 ; Test that the pipeliner doesn't ICE due because the PHI generation
H A Dswp-epilog-reuse3.ll4 ; Test that the pipeliner doesn't ICE due to incorrect PHI
/llvm-project-15.0.7/clang/lib/AST/
H A DExpr.cpp3054 E = ICE->getSubExprAsWritten(); in isDefaultArgument()
3066 if (ICE->getCastKind() == CK_NoOp) in skipTemporaryBindingsNoOpCastsAndParens()
3067 E = ICE->getSubExpr(); in skipTemporaryBindingsNoOpCastsAndParens()
3076 if (ICE->getCastKind() == CK_NoOp) in skipTemporaryBindingsNoOpCastsAndParens()
3077 E = ICE->getSubExpr(); in skipTemporaryBindingsNoOpCastsAndParens()
3140 if (ICE->getCastKind() == CK_NoOp || in isImplicitCXXThis()
3144 E = ICE->getSubExpr(); in isImplicitCXXThis()
3945 (ICE->isGLValue() && ICE->getCastKind() == CK_NoOp)) in getSourceBitField()
3946 E = ICE->getSubExpr()->IgnoreParens(); in getSourceBitField()
3992 if (ICE->isGLValue() && ICE->getCastKind() == CK_NoOp) in refersToVectorElement()
[all …]
H A DExprCXX.cpp293 while (const auto *ICE = dyn_cast<ImplicitCastExpr>(Arg)) { in getDestroyedType() local
294 if (ICE->getCastKind() == CK_DerivedToBase || in getDestroyedType()
295 ICE->getCastKind() == CK_UncheckedDerivedToBase || in getDestroyedType()
296 ICE->getCastKind() == CK_NoOp) { in getDestroyedType()
297 assert((ICE->getCastKind() == CK_NoOp || in getDestroyedType()
300 Arg = ICE->getSubExpr(); in getDestroyedType()
/llvm-project-15.0.7/llvm/test/CodeGen/AArch64/
H A Daarch64-insert-subvector-undef.ll3 ; Check that this does not ICE.
H A Dgep-nullptr.ll13 ; Just make sure we don't get a compiler ICE due to dereferncing a nullptr.
/llvm-project-15.0.7/llvm/test/CodeGen/AMDGPU/
H A Dextract-subvector-equal-length.ll4 ; Test for ICE in SelectionDAG::computeKnownBits when visiting EXTRACT_SUBVECTOR
/llvm-project-15.0.7/clang/lib/ARCMigrate/
H A DTransUnbridgedCasts.cpp159 if (const ImplicitCastExpr *ICE = dyn_cast<ImplicitCastExpr>(Arg)) { in transformNonObjCToObjCCast() local
160 const Expr *sub = ICE->getSubExpr(); in transformNonObjCToObjCCast()
/llvm-project-15.0.7/clang/lib/StaticAnalyzer/Checkers/
H A DStackAddrEscapeChecker.cpp284 if (const auto *ICE = dyn_cast<ImplicitCastExpr>(RetE)) { in checkPreStmt() local
286 ICE->getCastKind() == CK_CopyAndAutoreleaseBlockObject) { in checkPreStmt()
/llvm-project-15.0.7/llvm/test/CodeGen/Hexagon/autohvx/
H A Disel-shuffle-pack.ll3 ; This used to ICE in selecting shuffle. Make sure it compiles successfully.
/llvm-project-15.0.7/llvm/test/CodeGen/ARM/
H A Dvlldm-vlstm-uops.mir71 # Just check there is no ICE (in debug builds)
/llvm-project-15.0.7/clang/lib/Edit/
H A DRewriteObjCFoundationAPI.cpp947 if (const ImplicitCastExpr *ICE = dyn_cast<ImplicitCastExpr>(E)) { in objectifyExpr() local
948 if (ICE->getCastKind() != CK_CPointerToObjCPointerCast) in objectifyExpr()
1001 if (const ImplicitCastExpr *ICE = dyn_cast<ImplicitCastExpr>(Arg)) { in rewriteToNumericBoxedExpression() local
1002 switch (ICE->getCastKind()) { in rewriteToNumericBoxedExpression()
/llvm-project-15.0.7/llvm/test/CodeGen/X86/
H A Dcallbr-asm-outputs.ll210 ; into "={esp},{esp}". This previously caused an ICE; this test is more so
211 ; about avoiding another ICE than what the actual output is.
/llvm-project-15.0.7/clang/lib/Index/
H A DIndexBody.cpp69 if (auto ICE = dyn_cast<ImplicitCastExpr>(*It)) { in getRolesForRef() local
70 if (ICE->getCastKind() == CK_LValueToRValue) in getRolesForRef()
/llvm-project-15.0.7/llvm/test/Transforms/CodeGenPrepare/Mips/
H A Dpr35209.ll6 ; after the select. Previously, this caused a ICE.

123