Home
last modified time | relevance | path

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

123

/freebsd/contrib/llvm-project/llvm/lib/CodeGen/AsmPrinter/
H A DDebugLocEntry.h143 bool isFragment() const { return getExpression()->isFragment(); } in isFragment()
144 bool isEntryVal() const { return getExpression()->isEntryValue(); } in isEntryVal()
169 const DIExpression *getExpression() const { return Expression; } in getExpression() function
243 return A.getExpression() == B.getExpression(); in sortUniqueValues()
284 return A.getExpression()->getFragmentInfo()->OffsetInBits <
285 B.getExpression()->getFragmentInfo()->OffsetInBits;
H A DDwarfDebug.h
H A DDwarfDebug.cpp284 Expr(ValueLoc.getExpression()) { in Single()
1163 GVMap[GVE->getVariable()].push_back({&Global, GVE->getExpression()}); in beginModule()
1205 auto *Expr = GVE->getExpression(); in beginModule()
2639 auto *DIExpr = Value.getExpression(); in emitDebugLocValue()
/freebsd/contrib/llvm-project/llvm/lib/IR/
H A DDebugProgramInstruction.cpp34 Variable(DVI->getVariable()), Expression(DVI->getExpression()),
61 Expression(DVR.getExpression()), in DbgVariableRecord()
370 (getNumVariableLocationOps() == 0 && !getExpression()->isComplex()) || in isKillLocation()
375 return getExpression()->getFragmentInfo(); in getFragment()
379 if (auto Fragment = getExpression()->getFragmentInfo()) in getFragmentSizeInBits()
438 MetadataAsValue::get(Context, getExpression()), in createDebugIntrinsic()
447 MetadataAsValue::get(Context, getExpression())}; in createDebugIntrinsic()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/
H A DMachineDebugify.cpp81 Expr = DVI->getExpression(); in applyDebugifyMetadataToMachineFunction()
94 Expr = DVR.getExpression(); in applyDebugifyMetadataToMachineFunction()
H A DAssignmentTrackingAnalysis.cpp1574 if (auto OptFragInfo = Source->getExpression()->getFragmentInfo()) { in emitDbgValue()
1588 Emit(Source->getRawLocation(), Source->getExpression()); in emitDbgValue()
1593 Emit(nullptr, Source->getExpression()); in emitDbgValue()
1844 if (auto F = DbgValue.getExpression()->getFragmentInfo()) in hasZeroSizedFragment()
2206 FragInfo = Assign->getExpression()->getFragmentInfo(); in buildOverlapMapAndRecordDeclares()
2273 FnVarLocs->addSingleLocVar(DebugVariable(DDI), DDI->getExpression(), in buildOverlapMapAndRecordDeclares()
2276 FnVarLocs->addSingleLocVar(DebugVariable(DVR), DVR->getExpression(), in buildOverlapMapAndRecordDeclares()
2465 Record->getExpression(), Record->getDebugLoc(), in emitPromotedVarLocs()
H A DLiveDebugVariables.cpp155 WasList(Other.getWasList()), Expression(Other.getExpression()) { in DbgVariableValue()
174 Expression = Other.getExpression(); in operator =()
178 const DIExpression *getExpression() const { return Expression; } in getExpression() function in __anon093131440211::DbgVariableValue
1698 const DIExpression *Expr = DbgValue.getExpression(); in insertDebugValue()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/IPO/
H A DStripSymbols.cpp225 if (DIG->getExpression() && DIG->getExpression()->isConstant() && in stripDeadDebugInfoImpl()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DLocal.cpp1588 if ((DVI->getVariable() == DIVar) && (DVI->getExpression() == DIExpr)) in PhiHasDebugValue()
1593 if ((DVR->getVariable() == DIVar) && (DVR->getExpression() == DIExpr)) in PhiHasDebugValue()
1611 DII->getExpression()->getActiveBits(DII->getVariable())) in valueCoversEntireFragment()
1638 DVR->getExpression()->getActiveBits(DVR->getVariable())) in valueCoversEntireFragment()
1702 auto *DIExpr = DII->getExpression(); in ConvertDebugDeclareToDebugValue()
1745 auto *DIExpr = DII->getExpression(); in ConvertDebugDeclareToDebugValue()
1772 auto *DIExpr = DVR->getExpression(); in ConvertDebugDeclareToDebugValue()
1819 auto *DIExpr = DII->getExpression(); in ConvertDebugDeclareToDebugValue()
1851 auto *DIExpr = DVR->getExpression(); in ConvertDebugDeclareToDebugValue()
1891 auto *DIExpr = DVR->getExpression(); in ConvertDebugDeclareToDebugValue()
[all …]
H A DPromoteMemoryToRegister.cpp166 DbgAssign->getExpression(), DbgAssign->getDebugLoc(), in updateForDeletedStore()
601 } else if (DbgItem->getExpression()->startsWithDeref()) { in rewriteSingleStoreAlloca()
730 DbgItem->getExpression()->startsWithDeref()) in promoteSingleBlockAlloca()
892 DbgItem->getExpression()->startsWithDeref()) in run()
H A DBasicBlockUtils.cpp411 DebugVariable Key(DVR.getVariable(), DVR.getExpression(), in DbgVariableRecordsRemoveRedundantDbgInstrsUsingBackwardScan()
451 DVI->getExpression(), in removeRedundantDbgInstrsUsingBackwardScan()
524 VMI->second.second != DVR.getExpression()) { in DbgVariableRecordsRemoveRedundantDbgInstrsUsingForwardScan()
526 VariableMap[Key] = {Values, DVR.getExpression()}; in DbgVariableRecordsRemoveRedundantDbgInstrsUsingForwardScan()
603 VMI->second.second != DVI->getExpression()) { in removeRedundantDbgInstrsUsingForwardScan()
608 VariableMap[Key] = {Values, DVI->getExpression()}; in removeRedundantDbgInstrsUsingForwardScan()
H A DMemoryTaggingSupport.cpp309 DIExpression::appendOpsToArg(DPtr->getExpression(), NewOps, LocNo)); in annotateDebugRecords()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/
H A DSDNodeDbgValue.h183 DIExpression *getExpression() const { return Expr; } in getExpression() function
H A DInstrEmitter.cpp791 const DIExpression *Expr = (DIExpression *)SD->getExpression(); in EmitDbgInstrRef()
923 DIExpression::convertToUndefExpression(SD->getExpression()); in EmitDbgNoLocation()
933 DIExpression *Expr = SD->getExpression(); in EmitDbgValueList()
949 DIExpression *Expr = SD->getExpression(); in EmitDbgValueFromSingleOp()
H A DSelectionDAGBuilder.h122 DIExpression *getExpression() const { return Expression; } in getExpression() function
141 OS << ", expr=" << *P.DDI.getExpression()
H A DFastISel.cpp1230 Res = lowerDbgValue(V, DVR.getExpression(), DVR.getVariable(), in handleDbgInfo()
1236 Res = lowerDbgDeclare(V, DVR.getExpression(), DVR.getVariable(), in handleDbgInfo()
1419 if (!lowerDbgDeclare(Address, DI->getExpression(), DI->getVariable(), in selectIntrinsicCall()
1436 DIExpression *Expr = DI->getExpression(); in selectIntrinsicCall()
/freebsd/contrib/llvm-project/llvm/include/llvm/IR/
H A DIntrinsicInst.h358 return getWrappedLocation().isKillLocation(getExpression()); in isKillLocation()
365 DIExpression *getExpression() const { in getExpression() function
398 return getExpression()->getFragmentInfo(); in getFragment()
409 if (auto Frag = getExpression()->getFragmentInfo()) in getFragmentOrEntireVariable()
H A DDebugProgramInstruction.h440 DIExpression *getExpression() const { return Expression.get(); } in getExpression() function
/freebsd/contrib/llvm-project/llvm/lib/ProfileData/Coverage/
H A DCoverageMappingWriter.cpp117 C = Counter::getExpression(AdjustedExpressionIDs[C.getExpressionID()]); in adjust()
H A DCoverageMapping.cpp54 return Counter::getExpression(It->second); in get()
58 return Counter::getExpression(I); in get()
/freebsd/contrib/llvm-project/clang/include/clang/Tooling/Syntax/
H A DNodes.h336 Expression *getExpression();
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Coroutines/
H A DCoroFrame.cpp971 return DDI->getExpression()->getNumElements() == 0; in cacheDIVar()
1922 DDI->getExpression(), DDI->getDebugLoc(), in insertSpills()
1929 DDI->getExpression(), DDI->getDebugLoc(), in insertSpills()
2962 DVI.getExpression(), SkipOutermostLoad); in salvageDebugInfo()
3004 DVR.getExpression(), SkipOutermostLoad); in salvageDebugInfo()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DSROA.cpp377 DAI->getExpression()->getFragmentInfo(); in migrateDebugInfo()
380 DVR->getExpression()->getFragmentInfo(); in migrateDebugInfo()
393 auto *Expr = DbgAssign->getExpression(); in migrateDebugInfo()
463 !DbgAssign->getExpression()->isSingleLocationExpression()); in migrateDebugInfo()
5002 return cast<DbgDeclareInst>(DVI)->getExpression(); in getAddressExpression()
5010 return DVR->getExpression(); in getAddressExpression()
5134 DIExpression *NewFragmentExpr = Orig->getExpression(); in insertNewDbgInst()
5175 Orig->isDbgAssign() ? Orig->getExpression() : NewAddrExpr; in insertNewDbgInst()
/freebsd/contrib/llvm-project/clang/lib/Tooling/Syntax/
H A DNodes.cpp325 syntax::Expression *syntax::ExpressionStatement::getExpression() { in getExpression() function in syntax::ExpressionStatement
/freebsd/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstructionCombining.cpp3342 if (DVI->isAddressOfVariable() || DVI->getExpression()->startsWithDeref()) in visitAllocSite()
3345 if (DVR->isAddressOfVariable() || DVR->getExpression()->startsWithDeref()) in visitAllocSite()
4846 DebugVariable(User->getVariable(), User->getExpression(), in tryToSinkInstructionDbgValues()
4914 DebugVariable(DVR->getVariable(), DVR->getExpression(), in tryToSinkInstructionDbgVariableRecords()
4935 DebugVariable(DVR.getVariable(), DVR.getExpression(), in tryToSinkInstructionDbgVariableRecords()
4957 DebugVariable(DVR->getVariable(), DVR->getExpression(), in tryToSinkInstructionDbgVariableRecords()

123