Home
last modified time | relevance | path

Searched refs:getExpression (Results 1 – 25 of 47) sorted by relevance

12

/llvm-project-15.0.7/llvm/lib/CodeGen/AsmPrinter/
H A DDebugLocEntry.h150 bool isFragment() const { return getExpression()->isFragment(); } in isFragment()
151 bool isEntryVal() const { return getExpression()->isEntryValue(); } in isEntryVal()
153 const DIExpression *getExpression() const { return Expression; } in getExpression() function
220 return A.getExpression() == B.getExpression(); in sortUniqueValues()
261 return A.getExpression()->getFragmentInfo()->OffsetInBits <
262 B.getExpression()->getFragmentInfo()->OffsetInBits;
H A DDwarfDebug.h154 assert(!Value.getExpression()->isFragment() && "Fragments not supported."); in initializeDbgValue()
157 if (auto *E = ValueLoc->getExpression()) in initializeDbgValue()
H A DDwarfDebug.cpp1162 GVMap[GVE->getVariable()].push_back({&Global, GVE->getExpression()}); in beginModule()
1212 auto *Expr = GVE->getExpression(); in beginModule()
2558 auto *DIExpr = Value.getExpression(); in emitDebugLocValue()
/llvm-project-15.0.7/llvm/unittests/Transforms/Utils/
H A DLocalTest.cpp533 return DI.getExpression()->getElements().equals( in doesDebugValueDescribeX()
536 return DI.getExpression()->getElements().empty(); in doesDebugValueDescribeX()
545 return DI.getExpression()->getElements().equals( in doesDebugValueDescribeY()
549 return DI.getExpression()->getElements().equals( in doesDebugValueDescribeY()
811 return DVI->getExpression()->getElements() == Ops; in TEST()
/llvm-project-15.0.7/llvm/lib/Transforms/IPO/
H A DStripSymbols.cpp336 if (DIG->getExpression() && DIG->getExpression()->isConstant()) in stripDeadDebugInfoImpl()
/llvm-project-15.0.7/llvm/lib/CodeGen/
H A DMachineDebugify.cpp80 Expr = DVI->getExpression(); in applyDebugifyMetadataToMachineFunction()
H A DLiveDebugVariables.cpp154 WasList(Other.getWasList()), Expression(Other.getExpression()) { in DbgVariableValue()
173 Expression = Other.getExpression(); in operator =()
177 const DIExpression *getExpression() const { return Expression; } in getExpression() function in __anon41ad64740211::DbgVariableValue
1694 const DIExpression *Expr = DbgValue.getExpression(); in insertDebugValue()
/llvm-project-15.0.7/llvm/lib/Transforms/Utils/
H A DPromoteMemoryToRegister.cpp427 } else if (DII->getExpression()->startsWithDeref()) { in rewriteSingleStoreAlloca()
540 if (DII->isAddressOfVariable() || DII->getExpression()->startsWithDeref()) in promoteSingleBlockAlloca()
684 if (DII->isAddressOfVariable() || DII->getExpression()->startsWithDeref()) in run()
H A DLocal.cpp1397 if ((DVI->getVariable() == DIVar) && (DVI->getExpression() == DIExpr)) in PhiHasDebugValue()
1458 auto *DIExpr = DII->getExpression(); in ConvertDebugDeclareToDebugValue()
1484 auto *DIExpr = DII->getExpression(); in ConvertDebugDeclareToDebugValue()
1512 auto *DIExpr = DII->getExpression(); in ConvertDebugDeclareToDebugValue()
1604 DIExpression::append(DDI->getExpression(), dwarf::DW_OP_deref); in LowerDbgDeclare()
1695 auto *DIExpr = DII->getExpression(); in replaceDbgDeclare()
1710 auto *DIExpr = DVI->getExpression(); in replaceOneDbgValueForAlloca()
1770 DIExpression *SalvagedExpr = DII->getExpression(); in salvageDebugInfoForDbgValues()
2056 return DII.getExpression(); in replaceAllDbgUsesWith()
2088 return DIExpression::appendExt(DII.getExpression(), ToBits, FromBits, in replaceAllDbgUsesWith()
H A DLoopUtils.cpp624 DeadDebugSet.find({DVI->getVariable(), DVI->getExpression()}); in deleteDeadLoop()
627 DeadDebugSet.insert({DVI->getVariable(), DVI->getExpression()}); in deleteDeadLoop()
643 DVI->getVariable(), DVI->getExpression(), in deleteDeadLoop()
H A DBasicBlockUtils.cpp372 DVI->getExpression(), in removeRedundantDbgInstrsUsingBackwardScan()
427 VMI->second.second != DVI->getExpression()) { in removeRedundantDbgInstrsUsingForwardScan()
428 VariableMap[Key] = {Values, DVI->getExpression()}; in removeRedundantDbgInstrsUsingForwardScan()
H A DLoopRotationUtils.cpp395 D->getExpression()}; in rotateLoop()
H A DDebugify.cpp664 if (DVI->getExpression()->getNumElements()) in diagnoseMisSizedDbgValue()
/llvm-project-15.0.7/llvm/lib/CodeGen/SelectionDAG/
H A DSDNodeDbgValue.h183 DIExpression *getExpression() const { return Expr; } in getExpression() function
H A DInstrEmitter.cpp682 MDNode *Expr = SD->getExpression(); in EmitDbgValue()
771 DIExpression *Expr = (DIExpression*)SD->getExpression(); in EmitDbgInstrRef()
871 MDNode *Expr = SD->getExpression(); in EmitDbgNoLocation()
885 DIExpression *Expr = SD->getExpression(); in EmitDbgValueFromSingleOp()
H A DFastISel.cpp1261 DI->getVariable(), DI->getExpression()); in selectIntrinsicCall()
1270 DIExpression::prepend(DI->getExpression(), DIExpression::DerefBefore); in selectIntrinsicCall()
1292 DI->getVariable(), DI->getExpression()); in selectIntrinsicCall()
1295 DIExpression *Expr = DI->getExpression(); in selectIntrinsicCall()
1315 .addMetadata(DI->getExpression()); in selectIntrinsicCall()
1321 DI->getVariable(), DI->getExpression()); in selectIntrinsicCall()
/llvm-project-15.0.7/llvm/lib/ProfileData/Coverage/
H A DCoverageMappingWriter.cpp116 C = Counter::getExpression(AdjustedExpressionIDs[C.getExpressionID()]); in adjust()
H A DCoverageMapping.cpp49 return Counter::getExpression(It->second); in get()
53 return Counter::getExpression(I); in get()
/llvm-project-15.0.7/clang/include/clang/Tooling/Syntax/
H A DNodes.h336 Expression *getExpression();
/llvm-project-15.0.7/llvm/include/llvm/IR/
H A DIntrinsicInst.h254 !getExpression()->isComplex()) || in isUndef()
262 DIExpression *getExpression() const { in getExpression() function
/llvm-project-15.0.7/clang/lib/Tooling/Syntax/
H A DNodes.cpp325 syntax::Expression *syntax::ExpressionStatement::getExpression() { in getExpression() function in syntax::ExpressionStatement
/llvm-project-15.0.7/llvm/lib/IR/
H A DIntrinsicInst.cpp170 if (auto Fragment = getExpression()->getFragmentInfo()) in getFragmentSizeInBits()
/llvm-project-15.0.7/llvm/lib/CodeGen/GlobalISel/
H A DIRTranslator.cpp1947 MF->setVariableDbgInfo(DI.getVariable(), DI.getExpression(), in translateKnownIntrinsic()
1953 DI.getVariable(), DI.getExpression()); in translateKnownIntrinsic()
1994 MIRBuilder.buildIndirectDbgValue(0, DI.getVariable(), DI.getExpression()); in translateKnownIntrinsic()
1996 MIRBuilder.buildConstDbgValue(*CI, DI.getVariable(), DI.getExpression()); in translateKnownIntrinsic()
2003 MIRBuilder.buildDirectDbgValue(Reg, DI.getVariable(), DI.getExpression()); in translateKnownIntrinsic()
/llvm-project-15.0.7/llvm/lib/Transforms/Coroutines/
H A DCoroFrame.cpp807 return DDI->getExpression()->getNumElements() == 0; in cacheDIVar()
1698 DDI->getExpression(), DDI->getDebugLoc(), in insertSpills()
2565 DIExpression *Expr = DVI->getExpression(); in salvageDebugInfo()
/llvm-project-15.0.7/llvm/include/llvm/ProfileData/Coverage/
H A DCoverageMapping.h142 static Counter getExpression(unsigned ExpressionId) { in getExpression() function

12