Lines Matching defs:Ops

98   SmallVector<Metadata *, 2> Ops;
99 Ops.push_back(Scope);
101 Ops.push_back(InlinedAt);
102 return storeImpl(new (Ops.size(), Storage) DILocation(
103 Context, Storage, Line, Column, Ops, ImplicitCode),
452 ArrayRef<Metadata *> Ops)
453 : DINode(C, DISubrangeKind, Storage, dwarf::DW_TAG_subrange_type, Ops) {}
477 Metadata *Ops[] = {CountNode, LB, UB, Stride};
478 DEFINE_GETIMPL_STORE_NO_CONSTRUCTOR_ARGS(DISubrange, Ops);
565 ArrayRef<Metadata *> Ops)
567 Ops) {}
575 Metadata *Ops[] = {CountNode, LB, UB, Stride};
576 DEFINE_GETIMPL_STORE_NO_CONSTRUCTOR_ARGS(DIGenericSubrange, Ops);
649 ArrayRef<Metadata *> Ops)
650 : DINode(C, DIEnumeratorKind, Storage, dwarf::DW_TAG_enumerator, Ops),
659 Metadata *Ops[] = {Name};
660 DEFINE_GETIMPL_STORE(DIEnumerator, (Value, IsUnsigned), Ops);
671 Metadata *Ops[] = {nullptr, nullptr, Name};
673 (Tag, SizeInBits, AlignInBits, Encoding, Flags), Ops);
700 Metadata *Ops[] = {nullptr, nullptr, Name,
703 Ops);
750 Metadata *Ops[] = {File, Scope, Name, BaseType, ExtraData, Annotations};
754 Ops);
782 Metadata *Ops[] = {File, Scope, Name, BaseType,
789 Ops);
822 Metadata *Ops[] = {File, Scope, Name, BaseType,
826 assert((std::end(Ops) - std::begin(Ops)) == (int)CT->getNumOperands() &&
829 if (Ops[I] != CT->getOperand(I))
830 CT->setOperand(I, Ops[I]);
868 ArrayRef<Metadata *> Ops)
870 0, 0, 0, Flags, Ops),
878 Metadata *Ops[] = {nullptr, nullptr, nullptr, TypeArray};
879 DEFINE_GETIMPL_STORE(DISubroutineType, (Flags, CC), Ops);
884 ArrayRef<Metadata *> Ops)
885 : DIScope(C, DIFileKind, Storage, dwarf::DW_TAG_file_type, Ops),
924 Metadata *Ops[] = {Filename, Directory, CS ? CS->Value : nullptr, Source};
925 DEFINE_GETIMPL_STORE(DIFile, (CS, Source), Ops);
932 bool RangesBaseAddress, ArrayRef<Metadata *> Ops)
933 : DIScope(C, DICompileUnitKind, Storage, dwarf::DW_TAG_compile_unit, Ops),
956 Metadata *Ops[] = {File,
967 return storeImpl(new (std::size(Ops), Storage) DICompileUnit(
971 Ops),
1025 ArrayRef<Metadata *> Ops)
1026 : DILocalScope(C, DISubprogramKind, Storage, dwarf::DW_TAG_subprogram, Ops),
1140 SmallVector<Metadata *, 13> Ops = {
1146 Ops.pop_back();
1148 Ops.pop_back();
1150 Ops.pop_back();
1152 Ops.pop_back();
1154 Ops.pop_back();
1161 (Line, ScopeLine, VirtualIndex, ThisAdjustment, Flags, SPFlags), Ops,
1162 Ops.size());
1171 ArrayRef<Metadata *> Ops)
1172 : DILocalScope(C, ID, Storage, dwarf::DW_TAG_lexical_block, Ops) {}
1183 Metadata *Ops[] = {File, Scope};
1184 DEFINE_GETIMPL_STORE(DILexicalBlock, (Line, Column), Ops);
1194 Metadata *Ops[] = {File, Scope};
1195 DEFINE_GETIMPL_STORE(DILexicalBlockFile, (Discriminator), Ops);
1199 bool ExportSymbols, ArrayRef<Metadata *> Ops)
1200 : DIScope(Context, DINamespaceKind, Storage, dwarf::DW_TAG_namespace, Ops) {
1209 Metadata *Ops[] = {nullptr, Scope, Name};
1210 DEFINE_GETIMPL_STORE(DINamespace, (ExportSymbols), Ops);
1214 unsigned LineNo, ArrayRef<Metadata *> Ops)
1216 Ops) {
1226 Metadata *Ops[] = {Scope, Decl, Name, File};
1227 DEFINE_GETIMPL_STORE(DICommonBlock, (LineNo), Ops);
1231 bool IsDecl, ArrayRef<Metadata *> Ops)
1232 : DIScope(Context, DIModuleKind, Storage, dwarf::DW_TAG_module, Ops) {
1245 Metadata *Ops[] = {File, Scope, Name, ConfigurationMacros,
1247 DEFINE_GETIMPL_STORE(DIModule, (LineNo, IsDecl), Ops);
1252 ArrayRef<Metadata *> Ops)
1255 Ops) {}
1263 Metadata *Ops[] = {Name, Type};
1264 DEFINE_GETIMPL_STORE(DITemplateTypeParameter, (isDefault), Ops);
1273 Metadata *Ops[] = {Name, Type, Value};
1274 DEFINE_GETIMPL_STORE(DITemplateValueParameter, (Tag, isDefault), Ops);
1291 Metadata *Ops[] = {Scope,
1301 (Line, IsLocalToUnit, IsDefinition, AlignInBits), Ops);
1317 Metadata *Ops[] = {Scope, Name, File, Type, Annotations};
1318 DEFINE_GETIMPL_STORE(DILocalVariable, (Line, Arg, Flags, AlignInBits), Ops);
1322 signed Line, ArrayRef<Metadata *> Ops,
1324 : DINode(C, ID, Storage, dwarf::DW_TAG_variable, Ops), Line(Line) {
1351 ArrayRef<Metadata *> Ops)
1352 : DINode(C, DILabelKind, Storage, dwarf::DW_TAG_label, Ops) {
1361 Metadata *Ops[] = {Scope, Name, File};
1362 DEFINE_GETIMPL_STORE(DILabel, (Line), Ops);
1630 void DIExpression::canonicalizeExpressionOps(SmallVectorImpl<uint64_t> &Ops,
1638 Ops.append({dwarf::DW_OP_LLVM_arg, 0});
1642 Ops.append(Expr->elements_begin(), Expr->elements_end());
1651 Ops.push_back(dwarf::DW_OP_deref);
1654 Op.appendToVector(Ops);
1657 Ops.push_back(dwarf::DW_OP_deref);
1717 void DIExpression::appendOffset(SmallVectorImpl<uint64_t> &Ops,
1720 Ops.push_back(dwarf::DW_OP_plus_uconst);
1721 Ops.push_back(Offset);
1723 Ops.push_back(dwarf::DW_OP_constu);
1727 Ops.push_back(AbsMinusOne + 1);
1728 Ops.push_back(dwarf::DW_OP_minus);
1840 SmallVector<uint64_t, 8> Ops;
1842 Ops.push_back(dwarf::DW_OP_deref);
1844 appendOffset(Ops, Offset);
1846 Ops.push_back(dwarf::DW_OP_deref);
1851 return prependOpcodes(Expr, Ops, StackValue, EntryValue);
1855 ArrayRef<uint64_t> Ops,
1864 SmallVector<uint64_t, 8> NewOps(Ops.begin(), Ops.end());
1881 NewOps.insert(NewOps.end(), Ops.begin(), Ops.end());
1912 SmallVectorImpl<uint64_t> &Ops,
1917 Ops.push_back(dwarf::DW_OP_LLVM_entry_value);
1921 Ops.push_back(1);
1925 if (Ops.empty())
1933 Ops.push_back(dwarf::DW_OP_stack_value);
1937 Op.appendToVector(Ops);
1940 Ops.push_back(dwarf::DW_OP_stack_value);
1941 return DIExpression::get(Expr->getContext(), Ops);
1945 ArrayRef<uint64_t> Ops) {
1946 assert(Expr && !Ops.empty() && "Can't append ops to this expression");
1954 NewOps.append(Ops.begin(), Ops.end());
1957 Ops = std::nullopt;
1961 NewOps.append(Ops.begin(), Ops.end());
1969 ArrayRef<uint64_t> Ops) {
1970 assert(Expr && !Ops.empty() && "Can't append ops to this expression");
1971 assert(std::none_of(expr_op_iterator(Ops.begin()),
1972 expr_op_iterator(Ops.end()),
1996 NewOps.append(Ops.begin(), Ops.end());
2004 SmallVector<uint64_t, 8> Ops;
2069 Ops.push_back(Op.getOp());
2070 Ops.push_back(ExtractOffsetInBits - OffsetInBits);
2071 Ops.push_back(ExtractSizeInBits);
2081 Op.appendToVector(Ops);
2087 Ops.push_back(dwarf::DW_OP_LLVM_fragment);
2088 Ops.push_back(OffsetInBits);
2089 Ops.push_back(SizeInBits);
2091 return DIExpression::get(Expr->getContext(), Ops);
2167 SmallVector<uint64_t, 8> Ops;
2194 Op.appendToVector(Ops);
2198 return {DIExpression::get(getContext(), Ops),
2242 DIExpression::ExtOps Ops{{dwarf::DW_OP_LLVM_convert, FromSize, TK,
2244 return Ops;
2258 Metadata *Ops[] = {Variable, Expression};
2259 DEFINE_GETIMPL_STORE_NO_CONSTRUCTOR_ARGS(DIGlobalVariableExpression, Ops);
2263 ArrayRef<Metadata *> Ops)
2264 : DINode(C, DIObjCPropertyKind, Storage, dwarf::DW_TAG_APPLE_property, Ops),
2276 Metadata *Ops[] = {Name, File, GetterName, SetterName, Type};
2277 DEFINE_GETIMPL_STORE(DIObjCProperty, (Line, Attributes), Ops);
2289 Metadata *Ops[] = {Scope, Entity, Name, File, Elements};
2290 DEFINE_GETIMPL_STORE(DIImportedEntity, (Tag, Line), Ops);
2298 Metadata *Ops[] = {Name, Value};
2299 DEFINE_GETIMPL_STORE(DIMacro, (MIType, Line), Ops);
2307 Metadata *Ops[] = {File, Elements};
2308 DEFINE_GETIMPL_STORE(DIMacroFile, (MIType, Line), Ops);