| /llvm-project-15.0.7/clang-tools-extra/clang-tidy/cert/ |
| H A D | DefaultOperatorNewAlignmentCheck.cpp | 28 const auto *NewExpr = Result.Nodes.getNodeAs<CXXNewExpr>("new"); in check() local 30 QualType T = NewExpr->getAllocatedType(); in check() 55 !NewExpr->getOperatorNew() || NewExpr->getOperatorNew()->isImplicit(); in check() 59 diag(NewExpr->getBeginLoc(), in check()
|
| /llvm-project-15.0.7/clang-tools-extra/clang-tidy/modernize/ |
| H A D | MakeSmartPtrCheck.cpp | 27 std::string getNewExprName(const CXXNewExpr *NewExpr, const SourceManager &SM, in getNewExprName() argument 31 NewExpr->getAllocatedTypeSourceInfo()->getTypeLoc().getSourceRange()), in getNewExprName() 33 if (NewExpr->isArray()) { in getNewExprName()
|
| /llvm-project-15.0.7/libcxxabi/src/demangle/ |
| H A D | ItaniumNodes.def | 75 NODE(NewExpr)
|
| H A D | ItaniumDemangle.h | 1922 class NewExpr : public Node { 1930 NewExpr(NodeArray ExprList_, Node *Type_, NodeArray InitList_, bool IsGlobal_, in NewExpr() function 4595 return make<NewExpr>(ExprList, Ty, Inits, Global, in parseExpr()
|
| /llvm-project-15.0.7/llvm/include/llvm/Demangle/ |
| H A D | ItaniumNodes.def | 75 NODE(NewExpr)
|
| H A D | ItaniumDemangle.h | 1922 class NewExpr : public Node { 1930 NewExpr(NodeArray ExprList_, Node *Type_, NodeArray InitList_, bool IsGlobal_, in NewExpr() function 4595 return make<NewExpr>(ExprList, Ty, Inits, Global, in parseExpr()
|
| /llvm-project-15.0.7/llvm/lib/IR/ |
| H A D | IntrinsicInst.cpp | 153 DIExpression *NewExpr) { in addVariableLocationOps() argument 154 assert(NewExpr->hasAllLocationOps(getNumVariableLocationOps() + in addVariableLocationOps() 159 setArgOperand(2, MetadataAsValue::get(getContext(), NewExpr)); in addVariableLocationOps()
|
| /llvm-project-15.0.7/llvm/lib/CodeGen/AsmPrinter/ |
| H A D | DwarfCompileUnit.cpp | 254 const DIExpression *NewExpr = in addLocationAttribute() local 256 if (NewExpr != Expr) { in addLocationAttribute() 257 Expr = NewExpr; in addLocationAttribute() 871 const DIExpression *NewExpr = in constructVariableDIEImpl() local 873 if (NewExpr != Expr) { in constructVariableDIEImpl() 874 Expr = NewExpr; in constructVariableDIEImpl()
|
| /llvm-project-15.0.7/llvm/include/llvm/IR/ |
| H A D | IntrinsicInst.h | 216 DIExpression *NewExpr); 222 void setExpression(DIExpression *NewExpr) { in setExpression() argument 223 setArgOperand(2, MetadataAsValue::get(NewExpr->getContext(), NewExpr)); in setExpression()
|
| /llvm-project-15.0.7/clang/lib/Sema/ |
| H A D | SemaCoroutine.cpp | 1430 ExprResult NewExpr = in makeNewAndDeleteExpr() local 1432 NewExpr = S.ActOnFinishFullExpr(NewExpr.get(), /*DiscardedValue*/ false); in makeNewAndDeleteExpr() 1433 if (NewExpr.isInvalid()) in makeNewAndDeleteExpr() 1467 this->Allocate = NewExpr.get(); in makeNewAndDeleteExpr()
|
| /llvm-project-15.0.7/llvm/lib/TableGen/ |
| H A D | Record.cpp | 1582 Init *NewExpr = Expr->resolveReferences(SR); in resolveReferences() local 1584 if (Start == NewStart && List == NewList && Expr == NewExpr) in resolveReferences() 1587 return get(NewStart, NewList, A, B, NewExpr, getType()) in resolveReferences() 1648 Init *NewExpr = Expr->resolveReferences(R); in resolveReferences() local 1649 if (Expr != NewExpr) in resolveReferences() 1650 return get(CheckType, NewExpr)->Fold(); in resolveReferences() 1723 Init *NewExpr = Expr->resolveReferences(R); in resolveReferences() local 1724 if (Expr != NewExpr || R.isFinal()) in resolveReferences() 1725 return get(CheckType, NewExpr)->Fold(R.getCurrentRecord(), R.isFinal()); in resolveReferences()
|
| /llvm-project-15.0.7/llvm/lib/Transforms/Scalar/ |
| H A D | LoopStrengthReduce.cpp | 6280 unsigned NumLLVMArgs = numLLVMArgOps(NewExpr); in UpdateDbgValueInst() 6283 updateDVIWithLocation(*DVIRec.DVI, NewLocationOps[0], NewExpr); in UpdateDbgValueInst() 6287 assert(NewExpr[1] == 0 && in UpdateDbgValueInst() 6293 updateDVIWithLocations(*DVIRec.DVI, NewLocationOps, NewExpr); in UpdateDbgValueInst() 6409 SmallVector<uint64_t, 3> NewExpr; in SalvageDVI() local 6417 B->appendToVectors(NewExpr, NewLocationOps); in SalvageDVI() 6422 Op.appendToVector(NewExpr); in SalvageDVI() 6433 NewExpr.push_back(dwarf::DW_OP_LLVM_arg); in SalvageDVI() 6436 NewExpr.push_back(LocationOpIndexMap[Op.getArg(0)]); in SalvageDVI() 6440 DbgBuilder->appendToVectors(NewExpr, NewLocationOps); in SalvageDVI() [all …]
|
| /llvm-project-15.0.7/llvm/lib/Target/Hexagon/AsmParser/ |
| H A D | HexagonAsmParser.cpp | 391 HexagonMCExpr *NewExpr = HexagonMCExpr::create( in addSignedImmOperands() local 394 NewExpr->setSignMismatch(); in addSignedImmOperands() 395 NewExpr->setMustExtend(Expr->mustExtend()); in addSignedImmOperands() 396 NewExpr->setMustNotExtend(Expr->mustNotExtend()); in addSignedImmOperands() 397 Inst.addOperand(MCOperand::createExpr(NewExpr)); in addSignedImmOperands()
|
| /llvm-project-15.0.7/llvm/unittests/CodeGen/ |
| H A D | InstrRefLDVTest.cpp | 1889 DIExpression *NewExpr = in TEST_F() local 1891 DbgValueProperties PropsWithExpr(NewExpr, false); in TEST_F() 2289 DIExpression *NewExpr = in TEST_F() local 2291 DbgValueProperties PropsWithExpr(NewExpr, false); in TEST_F() 2374 DIExpression *NewExpr = in TEST_F() local 2376 DbgValueProperties PropsWithExpr(NewExpr, false); in TEST_F()
|
| /llvm-project-15.0.7/llvm/unittests/IR/ |
| H A D | MetadataTest.cpp | 3008 DIExpression *NewExpr; in TEST_F() local 3012 std::tie(NewExpr, NewInt) = Expr->constantFold(Int); \ in TEST_F() 3015 EXPECT_EQ(NewExpr->getNumElements(), NumElts##u) in TEST_F() 3020 EXPECT_EQ(NewExpr, Expr); in TEST_F() 3022 EXPECT_TRUE(NewExpr->startsWithDeref()); in TEST_F() 3048 EXPECT_EQ(NewExpr->getElements(), Expected); in TEST_F()
|
| /llvm-project-15.0.7/llvm/lib/CodeGen/LiveDebugValues/ |
| H A D | VarLocBasedImpl.cpp | 2091 DIExpression *NewExpr = in recordEntryValue() local 2093 VarLoc EntryValLocAsBackup = VarLoc::CreateEntryBackupLoc(MI, LS, NewExpr); in recordEntryValue()
|
| H A D | InstrRefBasedImpl.cpp | 452 DIExpression *NewExpr = in recoverAsEntryValue() local 457 PendingDbgValues.push_back(emitMOLoc(MO, Var, {NewExpr, Prop.Indirect})); in recoverAsEntryValue()
|
| /llvm-project-15.0.7/llvm/lib/CodeGen/SelectionDAG/ |
| H A D | FastISel.cpp | 1269 auto *NewExpr = in selectIntrinsicCall() local 1271 Builder->getOperand(3).setMetadata(NewExpr); in selectIntrinsicCall()
|