Lines Matching refs:Ops
94 SmallVector<Metadata *, 2> Ops; in getImpl() local
95 Ops.push_back(Scope); in getImpl()
97 Ops.push_back(InlinedAt); in getImpl()
98 return storeImpl(new (Ops.size(), Storage) DILocation( in getImpl()
99 Context, Storage, Line, Column, Ops, ImplicitCode), in getImpl()
448 ArrayRef<Metadata *> Ops) in DISubrange() argument
449 : DINode(C, DISubrangeKind, Storage, dwarf::DW_TAG_subrange_type, Ops) {} in DISubrange()
473 Metadata *Ops[] = {CountNode, LB, UB, Stride}; in getImpl() local
474 DEFINE_GETIMPL_STORE_NO_CONSTRUCTOR_ARGS(DISubrange, Ops); in getImpl()
561 ArrayRef<Metadata *> Ops) in DIGenericSubrange() argument
563 Ops) {} in DIGenericSubrange()
571 Metadata *Ops[] = {CountNode, LB, UB, Stride}; in getImpl() local
572 DEFINE_GETIMPL_STORE_NO_CONSTRUCTOR_ARGS(DIGenericSubrange, Ops); in getImpl()
645 ArrayRef<Metadata *> Ops) in DIEnumerator() argument
646 : DINode(C, DIEnumeratorKind, Storage, dwarf::DW_TAG_enumerator, Ops), in DIEnumerator()
655 Metadata *Ops[] = {Name}; in getImpl() local
656 DEFINE_GETIMPL_STORE(DIEnumerator, (Value, IsUnsigned), Ops); in getImpl()
667 Metadata *Ops[] = {nullptr, nullptr, Name}; in getImpl() local
669 (Tag, SizeInBits, AlignInBits, Encoding, Flags), Ops); in getImpl()
696 Metadata *Ops[] = {nullptr, nullptr, Name, in getImpl() local
699 Ops); in getImpl()
747 Metadata *Ops[] = {File, Scope, Name, BaseType, ExtraData, Annotations}; in getImpl() local
751 Ops); in getImpl()
772 Metadata *Ops[] = {File, Scope, Name, BaseType, in getImpl() local
779 Ops); in getImpl()
812 Metadata *Ops[] = {File, Scope, Name, BaseType, in buildODRType() local
816 assert((std::end(Ops) - std::begin(Ops)) == (int)CT->getNumOperands() && in buildODRType()
819 if (Ops[I] != CT->getOperand(I)) in buildODRType()
820 CT->setOperand(I, Ops[I]); in buildODRType()
858 ArrayRef<Metadata *> Ops) in DISubroutineType() argument
860 0, 0, 0, Flags, Ops), in DISubroutineType()
868 Metadata *Ops[] = {nullptr, nullptr, nullptr, TypeArray}; in getImpl() local
869 DEFINE_GETIMPL_STORE(DISubroutineType, (Flags, CC), Ops); in getImpl()
874 ArrayRef<Metadata *> Ops) in DIFile() argument
875 : DIScope(C, DIFileKind, Storage, dwarf::DW_TAG_file_type, Ops), in DIFile()
914 Metadata *Ops[] = {Filename, Directory, CS ? CS->Value : nullptr, Source}; in getImpl() local
915 DEFINE_GETIMPL_STORE(DIFile, (CS, Source), Ops); in getImpl()
922 bool RangesBaseAddress, ArrayRef<Metadata *> Ops) in DICompileUnit() argument
923 : DIScope(C, DICompileUnitKind, Storage, dwarf::DW_TAG_compile_unit, Ops), in DICompileUnit()
946 Metadata *Ops[] = {File, in getImpl() local
957 return storeImpl(new (std::size(Ops), Storage) DICompileUnit( in getImpl()
961 Ops), in getImpl()
1015 ArrayRef<Metadata *> Ops) in DISubprogram() argument
1016 : DILocalScope(C, DISubprogramKind, Storage, dwarf::DW_TAG_subprogram, Ops), in DISubprogram()
1130 SmallVector<Metadata *, 13> Ops = { in getImpl() local
1136 Ops.pop_back(); in getImpl()
1138 Ops.pop_back(); in getImpl()
1140 Ops.pop_back(); in getImpl()
1142 Ops.pop_back(); in getImpl()
1144 Ops.pop_back(); in getImpl()
1151 (Line, ScopeLine, VirtualIndex, ThisAdjustment, Flags, SPFlags), Ops, in getImpl()
1152 Ops.size()); in getImpl()
1161 ArrayRef<Metadata *> Ops) in DILexicalBlockBase() argument
1162 : DILocalScope(C, ID, Storage, dwarf::DW_TAG_lexical_block, Ops) {} in DILexicalBlockBase()
1173 Metadata *Ops[] = {File, Scope}; in getImpl() local
1174 DEFINE_GETIMPL_STORE(DILexicalBlock, (Line, Column), Ops); in getImpl()
1184 Metadata *Ops[] = {File, Scope}; in getImpl() local
1185 DEFINE_GETIMPL_STORE(DILexicalBlockFile, (Discriminator), Ops); in getImpl()
1189 bool ExportSymbols, ArrayRef<Metadata *> Ops) in DINamespace() argument
1190 : DIScope(Context, DINamespaceKind, Storage, dwarf::DW_TAG_namespace, Ops) { in DINamespace()
1199 Metadata *Ops[] = {nullptr, Scope, Name}; in getImpl() local
1200 DEFINE_GETIMPL_STORE(DINamespace, (ExportSymbols), Ops); in getImpl()
1204 unsigned LineNo, ArrayRef<Metadata *> Ops) in DICommonBlock() argument
1206 Ops) { in DICommonBlock()
1216 Metadata *Ops[] = {Scope, Decl, Name, File}; in getImpl() local
1217 DEFINE_GETIMPL_STORE(DICommonBlock, (LineNo), Ops); in getImpl()
1221 bool IsDecl, ArrayRef<Metadata *> Ops) in DIModule() argument
1222 : DIScope(Context, DIModuleKind, Storage, dwarf::DW_TAG_module, Ops) { in DIModule()
1235 Metadata *Ops[] = {File, Scope, Name, ConfigurationMacros, in getImpl() local
1237 DEFINE_GETIMPL_STORE(DIModule, (LineNo, IsDecl), Ops); in getImpl()
1242 ArrayRef<Metadata *> Ops) in DITemplateTypeParameter() argument
1245 Ops) {} in DITemplateTypeParameter()
1253 Metadata *Ops[] = {Name, Type}; in getImpl() local
1254 DEFINE_GETIMPL_STORE(DITemplateTypeParameter, (isDefault), Ops); in getImpl()
1263 Metadata *Ops[] = {Name, Type, Value}; in getImpl() local
1264 DEFINE_GETIMPL_STORE(DITemplateValueParameter, (Tag, isDefault), Ops); in getImpl()
1281 Metadata *Ops[] = {Scope, in getImpl() local
1291 (Line, IsLocalToUnit, IsDefinition, AlignInBits), Ops); in getImpl()
1307 Metadata *Ops[] = {Scope, Name, File, Type, Annotations}; in getImpl() local
1308 DEFINE_GETIMPL_STORE(DILocalVariable, (Line, Arg, Flags, AlignInBits), Ops); in getImpl()
1312 signed Line, ArrayRef<Metadata *> Ops, in DIVariable() argument
1314 : DINode(C, ID, Storage, dwarf::DW_TAG_variable, Ops), Line(Line) { in DIVariable()
1341 ArrayRef<Metadata *> Ops) in DILabel() argument
1342 : DINode(C, DILabelKind, Storage, dwarf::DW_TAG_label, Ops) { in DILabel()
1351 Metadata *Ops[] = {Scope, Name, File}; in getImpl() local
1352 DEFINE_GETIMPL_STORE(DILabel, (Line), Ops); in getImpl()
1617 void DIExpression::canonicalizeExpressionOps(SmallVectorImpl<uint64_t> &Ops, in canonicalizeExpressionOps() argument
1625 Ops.append({dwarf::DW_OP_LLVM_arg, 0}); in canonicalizeExpressionOps()
1629 Ops.append(Expr->elements_begin(), Expr->elements_end()); in canonicalizeExpressionOps()
1638 Ops.push_back(dwarf::DW_OP_deref); in canonicalizeExpressionOps()
1641 Op.appendToVector(Ops); in canonicalizeExpressionOps()
1644 Ops.push_back(dwarf::DW_OP_deref); in canonicalizeExpressionOps()
1669 void DIExpression::appendOffset(SmallVectorImpl<uint64_t> &Ops, in appendOffset() argument
1672 Ops.push_back(dwarf::DW_OP_plus_uconst); in appendOffset()
1673 Ops.push_back(Offset); in appendOffset()
1675 Ops.push_back(dwarf::DW_OP_constu); in appendOffset()
1679 Ops.push_back(AbsMinusOne + 1); in appendOffset()
1680 Ops.push_back(dwarf::DW_OP_minus); in appendOffset()
1753 SmallVector<uint64_t, 8> Ops; in prepend() local
1755 Ops.push_back(dwarf::DW_OP_deref); in prepend()
1757 appendOffset(Ops, Offset); in prepend()
1759 Ops.push_back(dwarf::DW_OP_deref); in prepend()
1764 return prependOpcodes(Expr, Ops, StackValue, EntryValue); in prepend()
1768 ArrayRef<uint64_t> Ops, in appendOpsToArg() argument
1777 SmallVector<uint64_t, 8> NewOps(Ops.begin(), Ops.end()); in appendOpsToArg()
1794 NewOps.insert(NewOps.end(), Ops.begin(), Ops.end()); in appendOpsToArg()
1825 SmallVectorImpl<uint64_t> &Ops, in prependOpcodes() argument
1830 Ops.push_back(dwarf::DW_OP_LLVM_entry_value); in prependOpcodes()
1834 Ops.push_back(1); in prependOpcodes()
1838 if (Ops.empty()) in prependOpcodes()
1846 Ops.push_back(dwarf::DW_OP_stack_value); in prependOpcodes()
1850 Op.appendToVector(Ops); in prependOpcodes()
1853 Ops.push_back(dwarf::DW_OP_stack_value); in prependOpcodes()
1854 return DIExpression::get(Expr->getContext(), Ops); in prependOpcodes()
1858 ArrayRef<uint64_t> Ops) { in append() argument
1859 assert(Expr && !Ops.empty() && "Can't append ops to this expression"); in append()
1867 NewOps.append(Ops.begin(), Ops.end()); in append()
1870 Ops = std::nullopt; in append()
1875 NewOps.append(Ops.begin(), Ops.end()); in append()
1882 ArrayRef<uint64_t> Ops) { in appendToStack() argument
1883 assert(Expr && !Ops.empty() && "Can't append ops to this expression"); in appendToStack()
1884 assert(none_of(Ops, in appendToStack()
1908 NewOps.append(Ops.begin(), Ops.end()); in appendToStack()
1916 SmallVector<uint64_t, 8> Ops; in createFragmentExpression() local
1965 Op.appendToVector(Ops); in createFragmentExpression()
1970 Ops.push_back(dwarf::DW_OP_LLVM_fragment); in createFragmentExpression()
1971 Ops.push_back(OffsetInBits); in createFragmentExpression()
1972 Ops.push_back(SizeInBits); in createFragmentExpression()
1973 return DIExpression::get(Expr->getContext(), Ops); in createFragmentExpression()
1980 SmallVector<uint64_t, 8> Ops; in constantFold() local
2007 Op.appendToVector(Ops); in constantFold()
2011 return {DIExpression::get(getContext(), Ops), in constantFold()
2055 DIExpression::ExtOps Ops{{dwarf::DW_OP_LLVM_convert, FromSize, TK, in getExtOps() local
2057 return Ops; in getExtOps()
2071 Metadata *Ops[] = {Variable, Expression}; in getImpl() local
2072 DEFINE_GETIMPL_STORE_NO_CONSTRUCTOR_ARGS(DIGlobalVariableExpression, Ops); in getImpl()
2076 ArrayRef<Metadata *> Ops) in DIObjCProperty() argument
2077 : DINode(C, DIObjCPropertyKind, Storage, dwarf::DW_TAG_APPLE_property, Ops), in DIObjCProperty()
2089 Metadata *Ops[] = {Name, File, GetterName, SetterName, Type}; in getImpl() local
2090 DEFINE_GETIMPL_STORE(DIObjCProperty, (Line, Attributes), Ops); in getImpl()
2102 Metadata *Ops[] = {Scope, Entity, Name, File, Elements}; in getImpl() local
2103 DEFINE_GETIMPL_STORE(DIImportedEntity, (Tag, Line), Ops); in getImpl()
2111 Metadata *Ops[] = {Name, Value}; in getImpl() local
2112 DEFINE_GETIMPL_STORE(DIMacro, (MIType, Line), Ops); in getImpl()
2120 Metadata *Ops[] = {File, Elements}; in getImpl() local
2121 DEFINE_GETIMPL_STORE(DIMacroFile, (MIType, Line), Ops); in getImpl()