Home
last modified time | relevance | path

Searched refs:CExpr (Results 1 – 8 of 8) sorted by relevance

/llvm-project-15.0.7/clang-tools-extra/clang-tidy/bugprone/
H A DCopyConstructorInitCheck.cpp73 const auto *CExpr = dyn_cast<CXXConstructExpr>(Init->getInit()); in check() local
74 if (!CExpr || !CExpr->getConstructor()->isDefaultConstructor()) in check()
80 FixItHint::CreateInsertion(CExpr->getEndLoc(), ParamName)); in check()
H A DAssertSideEffectCheck.cpp58 if (const auto *CExpr = dyn_cast<CallExpr>(E)) { in AST_MATCHER_P2() local
60 if (const auto *FuncDecl = CExpr->getDirectCallee()) { in AST_MATCHER_P2()
/llvm-project-15.0.7/llvm/lib/Target/XCore/
H A DXCoreLowerThreadLocal.cpp99 ConstantExpr *CExpr = dyn_cast<ConstantExpr>(WU); in replaceConstantExprOp() local
100 if (!CExpr || !replaceConstantExprOp(CExpr, P)) in replaceConstantExprOp()
/llvm-project-15.0.7/llvm/lib/Analysis/
H A DCFLGraph.h210 } else if (auto CExpr = dyn_cast<ConstantExpr>(Val)) { variable
211 if (hasUsefulEdges(CExpr)) {
212 if (Graph.addNode(InstantiatedValue{CExpr, 0}))
213 visitConstantExpr(CExpr);
/llvm-project-15.0.7/clang/lib/Sema/
H A DSemaCoroutine.cpp1688 Expr *CExpr = nullptr; in buildCoroutineParameterMoves() local
1691 CExpr = castForMoving(*this, PDRefExpr.get()); in buildCoroutineParameterMoves()
1693 CExpr = PDRefExpr.get(); in buildCoroutineParameterMoves()
1698 AddInitializerToDecl(D, CExpr, /*DirectInit=*/true); in buildCoroutineParameterMoves()
/llvm-project-15.0.7/llvm/lib/Transforms/Scalar/
H A DInferAddressSpaces.cpp730 if (auto *CExpr = dyn_cast<ConstantExpr>(Operand)) in cloneConstantExprWithNewAddressSpace() local
732 CExpr, NewAddrSpace, ValueWithNewAddrSpace, DL, TTI)) { in cloneConstantExprWithNewAddressSpace()
H A DNaryReassociate.cpp617 const SCEV *CExpr) -> Value * { in tryReassociateMinOrMax() argument
/llvm-project-15.0.7/llvm/lib/Target/NVPTX/
H A DNVPTXAsmPrinter.cpp1244 } else if (const ConstantExpr *CExpr = dyn_cast<ConstantExpr>(v0)) { in printSymbol() local
1245 const MCExpr *Expr = AP.lowerConstantForGV(cast<Constant>(CExpr), false); in printSymbol()