Home
last modified time | relevance | path

Searched refs:DIExpression (Results 1 – 25 of 60) sorted by relevance

123

/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/IR/
DDebugInfoMetadata.cpp26 const DIExpression::FragmentInfo DebugVariable::DefaultFragment = {
826 DIExpression *DIExpression::getImpl(LLVMContext &Context, in getImpl()
829 DEFINE_GETIMPL_LOOKUP(DIExpression, (Elements)); in getImpl()
830 DEFINE_GETIMPL_STORE_NO_OPS(DIExpression, (Elements)); in getImpl()
833 unsigned DIExpression::ExprOperand::getSize() const { in getSize()
857 bool DIExpression::isValid() const { in isValid()
934 bool DIExpression::isImplicit() const { in isImplicit()
954 bool DIExpression::isComplex() const { in isComplex()
975 Optional<DIExpression::FragmentInfo>
976 DIExpression::getFragmentInfo(expr_op_iterator Start, expr_op_iterator End) { in getFragmentInfo()
[all …]
DDIBuilder.cpp644 bool isDefined, DIExpression *Expr, in createGlobalVariableExpression()
737 DIExpression *DIBuilder::createExpression(ArrayRef<uint64_t> Addr) { in createExpression()
738 return DIExpression::get(VMContext, Addr); in createExpression()
741 DIExpression *DIBuilder::createExpression(ArrayRef<int64_t> Signed) { in createExpression()
853 DIExpression *Expr, const DILocation *DL, in insertDeclare()
860 DIExpression *Expr, const DILocation *DL, in insertDeclare()
882 DIExpression *Expr, in insertDbgValueIntrinsic()
892 DIExpression *Expr, in insertDbgValueIntrinsic()
923 DIExpression *Expr, const DILocation *DL, in insertDeclare()
944 Value *V, DILocalVariable *VarInfo, DIExpression *Expr, in insertDbgValueIntrinsic()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/AsmPrinter/
DDwarfExpression.h37 DIExpression::expr_op_iterator Start, End;
40 DIExpressionCursor(const DIExpression *Expr) { in DIExpressionCursor()
55 Optional<DIExpression::ExprOperand> take() { in take()
65 Optional<DIExpression::ExprOperand> peek() const { in peek()
72 Optional<DIExpression::ExprOperand> peekNext() const { in peekNext()
86 DIExpression::expr_op_iterator begin() const { return Start; } in begin()
87 DIExpression::expr_op_iterator end() const { return End; } in end()
90 Optional<DIExpression::FragmentInfo> getFragmentInfo() const { in getFragmentInfo()
91 return DIExpression::getFragmentInfo(Start, End); in getFragmentInfo()
336 void addFragmentOffset(const DIExpression *Expr);
DDebugLocEntry.h40 const DIExpression *Expression;
67 DbgValueLoc(const DIExpression *Expr, int64_t i) in DbgValueLoc()
71 DbgValueLoc(const DIExpression *Expr, const ConstantFP *CFP) in DbgValueLoc()
75 DbgValueLoc(const DIExpression *Expr, const ConstantInt *CIP) in DbgValueLoc()
79 DbgValueLoc(const DIExpression *Expr, MachineLocation Loc) in DbgValueLoc()
81 assert(cast<DIExpression>(Expr)->isValid()); in DbgValueLoc()
83 DbgValueLoc(const DIExpression *Expr, TargetIndexLocation Loc) in DbgValueLoc()
100 const DIExpression *getExpression() const { return Expression; } in getExpression()
DDwarfCompileUnit.cpp193 const DIExpression *Expr = GE.Expr; in addLocationAttribute()
232 const DIExpression *NewExpr = in addLocationAttribute()
233 DIExpression::extractAddressClass(Expr, LocalNVPTXAddressSpace); in addLocationAttribute()
658 const DIExpression *Expr = Fragment.Expr; in constructVariableDIEImpl()
663 DIExpression::appendOffset(Ops, Offset); in constructVariableDIEImpl()
672 const DIExpression *NewExpr = in constructVariableDIEImpl()
673 DIExpression::extractAddressClass(Expr, LocalNVPTXAddressSpace); in constructVariableDIEImpl()
1220 const DIExpression *DIExpr = DV.getSingleExpression(); in addComplexAddress()
DDwarfDebug.h129 const DIExpression *Expr;
143 void initializeMMI(const DIExpression *E, int FI) { in initializeMMI()
173 const DIExpression *getSingleExpression() const { in getSingleExpression()
DDwarfExpression.cpp267 if (any_of(ExprCursor, [](DIExpression::ExprOperand Op) -> bool { in addMachineRegExpression()
370 Optional<DIExpression::ExprOperand> PrevConvertOp = None; in addExpression()
542 void DwarfExpression::addFragmentOffset(const DIExpression *Expr) { in addFragmentOffset()
DDebugHandlerBase.cpp42 const DIExpression *DIExpr = Instruction.getDebugExpression(); in extractFromMachineInstruction()
241 const DIExpression *Fragment = I->getInstr()->getDebugExpression(); in beginFunction()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/SelectionDAG/
DSDNodeDbgValue.h23 class DIExpression; variable
49 DIExpression *Expr;
59 SDDbgValue(DIVariable *Var, DIExpression *Expr, SDNode *N, unsigned R, in SDDbgValue()
68 SDDbgValue(DIVariable *Var, DIExpression *Expr, const Value *C, DebugLoc dl, in SDDbgValue()
76 SDDbgValue(DIVariable *Var, DIExpression *Expr, unsigned VRegOrFrameIdx, in SDDbgValue()
96 DIExpression *getExpression() const { return Expr; } in getExpression()
DSelectionDAGBuilder.h62 class DIExpression; variable
500 const DIExpression *Expr);
514 DIExpression *Expr, DebugLoc CurDL,
804 DIExpression *Expr, DILocation *DL,
816 DIExpression *Expr, const DebugLoc &dl,
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/IR/
DDIBuilder.h82 DIExpression *Expr, const DILocation *DL,
92 DIExpression *Expr, const DILocation *DL,
587 DIExpression *Expr = nullptr, MDNode *Decl = nullptr,
639 DIExpression *createExpression(ArrayRef<uint64_t> Addr = None);
640 DIExpression *createExpression(ArrayRef<int64_t> Addr);
644 DIExpression *createConstantValueExpression(uint64_t Val) { in createConstantValueExpression()
645 return DIExpression::get( in createConstantValueExpression()
803 DIExpression *Expr, const DILocation *DL,
813 DIExpression *Expr, const DILocation *DL,
838 DIExpression *Expr,
[all …]
DDebugInfoMetadata.h2307 class DIExpression : public MDNode {
2313 DIExpression(LLVMContext &C, StorageType Storage, ArrayRef<uint64_t> Elements) in DIExpression() function
2316 ~DIExpression() = default;
2318 static DIExpression *getImpl(LLVMContext &Context,
2327 DEFINE_MDNODE_GET(DIExpression, (ArrayRef<uint64_t> Elements), (Elements))
2488 static const DIExpression *extractAddressClass(const DIExpression *Expr,
2502 static DIExpression *prepend(const DIExpression *Expr, uint8_t Flags,
2507 static DIExpression *prependOpcodes(const DIExpression *Expr,
2516 static DIExpression *append(const DIExpression *Expr, ArrayRef<uint64_t> Ops);
2522 static DIExpression *appendToStack(const DIExpression *Expr,
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/
DLiveDebugValues.cpp144 using FragmentInfo = DIExpression::FragmentInfo;
145 using OptFragmentInfo = Optional<DIExpression::FragmentInfo>;
163 const DIExpression *Expr;
221 const DIExpression *EntryExpr, unsigned Reg) { in CreateEntryLoc()
236 const DIExpression *EntryExpr) { in CreateEntryBackupLoc()
249 const DIExpression *EntryExpr, in CreateEntryCopyBackupLoc()
289 const DIExpression *DIExpr = MI.getDebugExpression(); in BuildDbgValue()
308 auto *SpillExpr = DIExpression::prepend( in BuildDbgValue()
309 DIExpr, DIExpression::ApplyOffset, Loc.SpillLocation.SpillOffset); in BuildDbgValue()
423 std::pair<const DILocalVariable *, DIExpression::FragmentInfo>;
[all …]
DLiveDebugVariables.cpp159 const DIExpression *Expression; ///< Any complex address expression.
189 UserValue(const DILocalVariable *var, const DIExpression *expr, DebugLoc L, in UserValue()
206 bool match(const DILocalVariable *Var, const DIExpression *Expr, in match()
423 UserValue *getUserValue(const DILocalVariable *Var, const DIExpression *Expr,
586 const DIExpression *Expr, const DebugLoc &DL) { in getUserValue()
662 const DIExpression *Expr = MI.getDebugExpression(); in handleDebugValue()
1332 const DIExpression *Expr = Expression; in insertDebugValue()
1333 uint8_t DIExprFlags = DIExpression::ApplyOffset; in insertDebugValue()
1337 DIExprFlags |= DIExpression::DerefAfter; in insertDebugValue()
1339 DIExpression::prepend(Expr, DIExprFlags, SpillOffset); in insertDebugValue()
DMachineInstr.cpp821 const DIExpression *MachineInstr::getDebugExpression() const { in getDebugExpression()
823 return cast<DIExpression>(getOperand(3).getMetadata()); in getDebugExpression()
2019 assert(cast<DIExpression>(Expr)->isValid() && "not an expression"); in BuildMI()
2035 assert(cast<DIExpression>(Expr)->isValid() && "not an expression"); in BuildMI()
2073 static const DIExpression *computeExprForSpill(const MachineInstr &MI) { in computeExprForSpill()
2078 const DIExpression *Expr = MI.getDebugExpression(); in computeExprForSpill()
2081 Expr = DIExpression::prepend(Expr, DIExpression::DerefBefore); in computeExprForSpill()
2090 const DIExpression *Expr = computeExprForSpill(Orig); in buildDbgValueForSpill()
2099 const DIExpression *Expr = computeExprForSpill(Orig); in updateDbgValueForSpill()
DPrologEpilogInserter.cpp195 const DIExpression *Expr = MI.getDebugExpression(); in stashEntryDbgValues()
1218 const DIExpression *DIExpr = MI.getDebugExpression(); in replaceFrameIndices()
1225 unsigned PrependFlags = DIExpression::ApplyOffset; in replaceFrameIndices()
1227 PrependFlags |= DIExpression::StackValue; in replaceFrameIndices()
1236 DIExpr = DIExpression::prependOpcodes(DIExpr, Ops, WithStackValue); in replaceFrameIndices()
1240 DIExpr = DIExpression::prepend(DIExpr, PrependFlags, Offset); in replaceFrameIndices()
DTargetInstrInfo.cpp1126 DIExpression *Expr = DIExpression::get(MF->getFunction().getContext(), {}); in describeLoadedValue()
1149 Expr = DIExpression::prepend(Expr, DIExpression::ApplyOffset, Offset); in describeLoadedValue()
1175 DIExpression::appendOffset(Ops, Offset); in describeLoadedValue()
1178 Expr = DIExpression::prependOpcodes(Expr, Ops); in describeLoadedValue()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/NVPTX/
DNVPTXPrologEpilogPass.cpp75 auto *DIExpr = DIExpression::prepend( in runOnMachineFunction()
76 MI.getDebugExpression(), DIExpression::ApplyOffset, Offset); in runOnMachineFunction()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Utils/
DLocal.cpp1213 static bool LdStHasDebugValue(DILocalVariable *DIVar, DIExpression *DIExpr, in LdStHasDebugValue()
1232 DIExpression *DIExpr, in PhiHasDebugValue()
1442 DIExpression::append(DDI->getExpression(), dwarf::DW_OP_deref); in LowerDbgDeclare()
1558 DIExpr = DIExpression::prepend(DIExpr, DIExprFlags, Offset); in replaceDbgDeclare()
1593 DIExpr = DIExpression::prepend(DIExpr, 0, Offset); in replaceOneDbgValueForAlloca()
1640 DIExpression *DIExpr = in salvageDebugInfoForDbgValues()
1656 DIExpression *llvm::salvageDebugInfoImpl(Instruction &I, in salvageDebugInfoImpl()
1657 DIExpression *SrcDIExpr, in salvageDebugInfoImpl()
1663 auto doSalvage = [&](SmallVectorImpl<uint64_t> &Ops) -> DIExpression * { in salvageDebugInfoImpl()
1664 DIExpression *DIExpr = SrcDIExpr; in salvageDebugInfoImpl()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/X86/
DX86OptimizeLEAs.cpp581 DIExpression *Expr = const_cast<DIExpression *>(MI.getDebugExpression()); in replaceDebugValue()
583 Expr = DIExpression::prepend(Expr, DIExpression::StackValue, AddrDispShift); in replaceDebugValue()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/CodeGen/
DMachineFunction.h52 class DIExpression; variable
361 const DIExpression *Expr;
366 VariableDbgInfo(const DILocalVariable *Var, const DIExpression *Expr,
976 void setVariableDbgInfo(const DILocalVariable *Var, const DIExpression *Expr,
DDebugHandlerBase.h40 llvm::Optional<llvm::DIExpression::FragmentInfo> FragmentInfo;
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Transforms/Utils/
DLocal.h370 DIExpression *salvageDebugInfoImpl(Instruction &I, DIExpression *DIExpr,
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Bitcode/Reader/
DMetadataLoader.cpp507 Context, GV, DIExpression::get(Context, {})); in upgradeCUVariables()
520 Context, DGV, DIExpression::get(Context, {})); in upgradeCUVariables()
542 auto *E = DIExpression::get(Context, Ops); in upgradeDeclareExpressions()
1743 Expr = DIExpression::get(Context, in parseOneMetadata()
1760 Context, DGV, Expr ? Expr : DIExpression::get(Context, {})); in parseOneMetadata()
1828 GET_OR_DISTINCT(DIExpression, (Context, Elts)), NextMetadataNo); in parseOneMetadata()
1839 Expr = DIExpression::get(Context, {}); in parseOneMetadata()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-subzero/include/llvm/IR/
DMetadata.def84 HANDLE_SPECIALIZED_MDNODE_LEAF_UNIQUABLE(DIExpression)

123