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