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};
675 Ops);
702 Metadata *Ops[] = {nullptr, nullptr, Name,
705 Ops);
752 Metadata *Ops[] = {File, Scope, Name, BaseType, ExtraData, Annotations};
756 Ops);
784 Metadata *Ops[] = {File, Scope, Name, BaseType,
791 Ops);
825 Metadata *Ops[] = {File, Scope, Name, BaseType,
829 assert((std::end(Ops) - std::begin(Ops)) == (int)CT->getNumOperands() &&
832 if (Ops[I] != CT->getOperand(I))
833 CT->setOperand(I, Ops[I]);
872 ArrayRef<Metadata *> Ops)
874 0, 0, 0, 0, Flags, Ops),
882 Metadata *Ops[] = {nullptr, nullptr, nullptr, TypeArray};
883 DEFINE_GETIMPL_STORE(DISubroutineType, (Flags, CC), Ops);
888 ArrayRef<Metadata *> Ops)
889 : DIScope(C, DIFileKind, Storage, dwarf::DW_TAG_file_type, Ops),
928 Metadata *Ops[] = {Filename, Directory, CS ? CS->Value : nullptr, Source};
929 DEFINE_GETIMPL_STORE(DIFile, (CS, Source), Ops);
936 bool RangesBaseAddress, ArrayRef<Metadata *> Ops)
937 : DIScope(C, DICompileUnitKind, Storage, dwarf::DW_TAG_compile_unit, Ops),
960 Metadata *Ops[] = {File,
971 return storeImpl(new (std::size(Ops), Storage) DICompileUnit(
975 Ops),
1029 ArrayRef<Metadata *> Ops)
1030 : DILocalScope(C, DISubprogramKind, Storage, dwarf::DW_TAG_subprogram, Ops),
1144 SmallVector<Metadata *, 13> Ops = {
1150 Ops.pop_back();
1152 Ops.pop_back();
1154 Ops.pop_back();
1156 Ops.pop_back();
1158 Ops.pop_back();
1165 (Line, ScopeLine, VirtualIndex, ThisAdjustment, Flags, SPFlags), Ops,
1166 Ops.size());
1175 ArrayRef<Metadata *> Ops)
1176 : DILocalScope(C, ID, Storage, dwarf::DW_TAG_lexical_block, Ops) {}
1187 Metadata *Ops[] = {File, Scope};
1188 DEFINE_GETIMPL_STORE(DILexicalBlock, (Line, Column), Ops);
1198 Metadata *Ops[] = {File, Scope};
1199 DEFINE_GETIMPL_STORE(DILexicalBlockFile, (Discriminator), Ops);
1203 bool ExportSymbols, ArrayRef<Metadata *> Ops)
1204 : DIScope(Context, DINamespaceKind, Storage, dwarf::DW_TAG_namespace, Ops) {
1213 Metadata *Ops[] = {nullptr, Scope, Name};
1214 DEFINE_GETIMPL_STORE(DINamespace, (ExportSymbols), Ops);
1218 unsigned LineNo, ArrayRef<Metadata *> Ops)
1220 Ops) {
1230 Metadata *Ops[] = {Scope, Decl, Name, File};
1231 DEFINE_GETIMPL_STORE(DICommonBlock, (LineNo), Ops);
1235 bool IsDecl, ArrayRef<Metadata *> Ops)
1236 : DIScope(Context, DIModuleKind, Storage, dwarf::DW_TAG_module, Ops) {
1249 Metadata *Ops[] = {File, Scope, Name, ConfigurationMacros,
1251 DEFINE_GETIMPL_STORE(DIModule, (LineNo, IsDecl), Ops);
1256 ArrayRef<Metadata *> Ops)
1259 Ops) {}
1267 Metadata *Ops[] = {Name, Type};
1268 DEFINE_GETIMPL_STORE(DITemplateTypeParameter, (isDefault), Ops);
1277 Metadata *Ops[] = {Name, Type, Value};
1278 DEFINE_GETIMPL_STORE(DITemplateValueParameter, (Tag, isDefault), Ops);
1295 Metadata *Ops[] = {Scope,
1305 (Line, IsLocalToUnit, IsDefinition, AlignInBits), Ops);
1321 Metadata *Ops[] = {Scope, Name, File, Type, Annotations};
1322 DEFINE_GETIMPL_STORE(DILocalVariable, (Line, Arg, Flags, AlignInBits), Ops);
1326 signed Line, ArrayRef<Metadata *> Ops,
1328 : DINode(C, ID, Storage, dwarf::DW_TAG_variable, Ops), Line(Line) {
1355 ArrayRef<Metadata *> Ops)
1356 : DINode(C, DILabelKind, Storage, dwarf::DW_TAG_label, Ops) {
1365 Metadata *Ops[] = {Scope, Name, File};
1366 DEFINE_GETIMPL_STORE(DILabel, (Line), Ops);
1634 void DIExpression::canonicalizeExpressionOps(SmallVectorImpl<uint64_t> &Ops,
1642 Ops.append({dwarf::DW_OP_LLVM_arg, 0});
1646 Ops.append(Expr->elements_begin(), Expr->elements_end());
1655 Ops.push_back(dwarf::DW_OP_deref);
1658 Op.appendToVector(Ops);
1661 Ops.push_back(dwarf::DW_OP_deref);
1721 void DIExpression::appendOffset(SmallVectorImpl<uint64_t> &Ops,
1724 Ops.push_back(dwarf::DW_OP_plus_uconst);
1725 Ops.push_back(Offset);
1727 Ops.push_back(dwarf::DW_OP_constu);
1731 Ops.push_back(AbsMinusOne + 1);
1732 Ops.push_back(dwarf::DW_OP_minus);
1844 SmallVector<uint64_t, 8> Ops;
1846 Ops.push_back(dwarf::DW_OP_deref);
1848 appendOffset(Ops, Offset);
1850 Ops.push_back(dwarf::DW_OP_deref);
1855 return prependOpcodes(Expr, Ops, StackValue, EntryValue);
1859 ArrayRef<uint64_t> Ops,
1868 SmallVector<uint64_t, 8> NewOps(Ops);
1885 NewOps.insert(NewOps.end(), Ops.begin(), Ops.end());
1916 SmallVectorImpl<uint64_t> &Ops,
1921 Ops.push_back(dwarf::DW_OP_LLVM_entry_value);
1925 Ops.push_back(1);
1929 if (Ops.empty())
1937 Ops.push_back(dwarf::DW_OP_stack_value);
1941 Op.appendToVector(Ops);
1944 Ops.push_back(dwarf::DW_OP_stack_value);
1945 return DIExpression::get(Expr->getContext(), Ops);
1949 ArrayRef<uint64_t> Ops) {
1950 assert(Expr && !Ops.empty() && "Can't append ops to this expression");
1958 NewOps.append(Ops.begin(), Ops.end());
1961 Ops = {};
1965 NewOps.append(Ops.begin(), Ops.end());
1973 ArrayRef<uint64_t> Ops) {
1974 assert(Expr && !Ops.empty() && "Can't append ops to this expression");
1975 assert(std::none_of(expr_op_iterator(Ops.begin()),
1976 expr_op_iterator(Ops.end()),
2000 NewOps.append(Ops.begin(), Ops.end());
2008 SmallVector<uint64_t, 8> Ops;
2073 Ops.push_back(Op.getOp());
2074 Ops.push_back(ExtractOffsetInBits - OffsetInBits);
2075 Ops.push_back(ExtractSizeInBits);
2085 Op.appendToVector(Ops);
2091 Ops.push_back(dwarf::DW_OP_LLVM_fragment);
2092 Ops.push_back(OffsetInBits);
2093 Ops.push_back(SizeInBits);
2095 return DIExpression::get(Expr->getContext(), Ops);
2171 SmallVector<uint64_t, 8> Ops;
2198 Op.appendToVector(Ops);
2202 return {DIExpression::get(getContext(), Ops),
2246 DIExpression::ExtOps Ops{{dwarf::DW_OP_LLVM_convert, FromSize, TK,
2248 return Ops;
2262 Metadata *Ops[] = {Variable, Expression};
2263 DEFINE_GETIMPL_STORE_NO_CONSTRUCTOR_ARGS(DIGlobalVariableExpression, Ops);
2267 ArrayRef<Metadata *> Ops)
2268 : DINode(C, DIObjCPropertyKind, Storage, dwarf::DW_TAG_APPLE_property, Ops),
2280 Metadata *Ops[] = {Name, File, GetterName, SetterName, Type};
2281 DEFINE_GETIMPL_STORE(DIObjCProperty, (Line, Attributes), Ops);
2293 Metadata *Ops[] = {Scope, Entity, Name, File, Elements};
2294 DEFINE_GETIMPL_STORE(DIImportedEntity, (Tag, Line), Ops);
2302 Metadata *Ops[] = {Name, Value};
2303 DEFINE_GETIMPL_STORE(DIMacro, (MIType, Line), Ops);
2311 Metadata *Ops[] = {File, Elements};
2312 DEFINE_GETIMPL_STORE(DIMacroFile, (MIType, Line), Ops);