Lines Matching refs:Ops

77   SmallVector<Metadata *, 2> Ops;  in getImpl()  local
78 Ops.push_back(Scope); in getImpl()
80 Ops.push_back(InlinedAt); in getImpl()
81 return storeImpl(new (Ops.size(), Storage) DILocation( in getImpl()
82 Context, Storage, Line, Column, Ops, ImplicitCode), in getImpl()
349 ArrayRef<Metadata *> Ops) in DISubrange() argument
350 : DINode(C, DISubrangeKind, Storage, dwarf::DW_TAG_subrange_type, Ops) {} in DISubrange()
374 Metadata *Ops[] = {CountNode, LB, UB, Stride}; in getImpl() local
375 DEFINE_GETIMPL_STORE_NO_CONSTRUCTOR_ARGS(DISubrange, Ops); in getImpl()
462 ArrayRef<Metadata *> Ops) in DIGenericSubrange() argument
464 Ops) {} in DIGenericSubrange()
472 Metadata *Ops[] = {CountNode, LB, UB, Stride}; in getImpl() local
473 DEFINE_GETIMPL_STORE_NO_CONSTRUCTOR_ARGS(DIGenericSubrange, Ops); in getImpl()
546 ArrayRef<Metadata *> Ops) in DIEnumerator() argument
547 : DINode(C, DIEnumeratorKind, Storage, dwarf::DW_TAG_enumerator, Ops), in DIEnumerator()
556 Metadata *Ops[] = {Name}; in getImpl() local
557 DEFINE_GETIMPL_STORE(DIEnumerator, (Value, IsUnsigned), Ops); in getImpl()
568 Metadata *Ops[] = {nullptr, nullptr, Name}; in getImpl() local
570 (Tag, SizeInBits, AlignInBits, Encoding, Flags), Ops); in getImpl()
597 Metadata *Ops[] = {nullptr, nullptr, Name, in getImpl() local
600 Ops); in getImpl()
644 Metadata *Ops[] = {File, Scope, Name, BaseType, ExtraData, Annotations}; in getImpl() local
648 Ops); in getImpl()
669 Metadata *Ops[] = {File, Scope, Name, BaseType, in getImpl() local
676 Ops); in getImpl()
709 Metadata *Ops[] = {File, Scope, Name, BaseType, in buildODRType() local
713 assert((std::end(Ops) - std::begin(Ops)) == (int)CT->getNumOperands() && in buildODRType()
716 if (Ops[I] != CT->getOperand(I)) in buildODRType()
717 CT->setOperand(I, Ops[I]); in buildODRType()
755 ArrayRef<Metadata *> Ops) in DISubroutineType() argument
757 0, 0, 0, Flags, Ops), in DISubroutineType()
765 Metadata *Ops[] = {nullptr, nullptr, nullptr, TypeArray}; in getImpl() local
766 DEFINE_GETIMPL_STORE(DISubroutineType, (Flags, CC), Ops); in getImpl()
771 ArrayRef<Metadata *> Ops) in DIFile() argument
772 : DIScope(C, DIFileKind, Storage, dwarf::DW_TAG_file_type, Ops), in DIFile()
809 Metadata *Ops[] = {Filename, Directory, CS ? CS->Value : nullptr, in getImpl() local
811 DEFINE_GETIMPL_STORE(DIFile, (CS, Source), Ops); in getImpl()
818 bool RangesBaseAddress, ArrayRef<Metadata *> Ops) in DICompileUnit() argument
819 : DIScope(C, DICompileUnitKind, Storage, dwarf::DW_TAG_compile_unit, Ops), in DICompileUnit()
842 Metadata *Ops[] = {File, in getImpl() local
853 return storeImpl(new (array_lengthof(Ops), Storage) DICompileUnit( in getImpl()
857 Ops), in getImpl()
908 ArrayRef<Metadata *> Ops) in DISubprogram() argument
909 : DILocalScope(C, DISubprogramKind, Storage, dwarf::DW_TAG_subprogram, Ops), in DISubprogram()
994 SmallVector<Metadata *, 13> Ops = { in getImpl() local
1000 Ops.pop_back(); in getImpl()
1002 Ops.pop_back(); in getImpl()
1004 Ops.pop_back(); in getImpl()
1006 Ops.pop_back(); in getImpl()
1008 Ops.pop_back(); in getImpl()
1015 (Line, ScopeLine, VirtualIndex, ThisAdjustment, Flags, SPFlags), Ops, in getImpl()
1016 Ops.size()); in getImpl()
1025 ArrayRef<Metadata *> Ops) in DILexicalBlockBase() argument
1026 : DILocalScope(C, ID, Storage, dwarf::DW_TAG_lexical_block, Ops) {} in DILexicalBlockBase()
1037 Metadata *Ops[] = {File, Scope}; in getImpl() local
1038 DEFINE_GETIMPL_STORE(DILexicalBlock, (Line, Column), Ops); in getImpl()
1048 Metadata *Ops[] = {File, Scope}; in getImpl() local
1049 DEFINE_GETIMPL_STORE(DILexicalBlockFile, (Discriminator), Ops); in getImpl()
1053 bool ExportSymbols, ArrayRef<Metadata *> Ops) in DINamespace() argument
1054 : DIScope(Context, DINamespaceKind, Storage, dwarf::DW_TAG_namespace, Ops), in DINamespace()
1062 Metadata *Ops[] = {nullptr, Scope, Name}; in getImpl() local
1063 DEFINE_GETIMPL_STORE(DINamespace, (ExportSymbols), Ops); in getImpl()
1067 unsigned LineNo, ArrayRef<Metadata *> Ops) in DICommonBlock() argument
1069 Ops), in DICommonBlock()
1078 Metadata *Ops[] = {Scope, Decl, Name, File}; in getImpl() local
1079 DEFINE_GETIMPL_STORE(DICommonBlock, (LineNo), Ops); in getImpl()
1083 bool IsDecl, ArrayRef<Metadata *> Ops) in DIModule() argument
1084 : DIScope(Context, DIModuleKind, Storage, dwarf::DW_TAG_module, Ops), in DIModule()
1095 Metadata *Ops[] = {File, Scope, Name, ConfigurationMacros, in getImpl() local
1097 DEFINE_GETIMPL_STORE(DIModule, (LineNo, IsDecl), Ops); in getImpl()
1102 ArrayRef<Metadata *> Ops) in DITemplateTypeParameter() argument
1105 Ops) {} in DITemplateTypeParameter()
1113 Metadata *Ops[] = {Name, Type}; in getImpl() local
1114 DEFINE_GETIMPL_STORE(DITemplateTypeParameter, (isDefault), Ops); in getImpl()
1123 Metadata *Ops[] = {Name, Type, Value}; in getImpl() local
1124 DEFINE_GETIMPL_STORE(DITemplateValueParameter, (Tag, isDefault), Ops); in getImpl()
1141 Metadata *Ops[] = {Scope, in getImpl() local
1151 (Line, IsLocalToUnit, IsDefinition, AlignInBits), Ops); in getImpl()
1167 Metadata *Ops[] = {Scope, Name, File, Type, Annotations}; in getImpl() local
1168 DEFINE_GETIMPL_STORE(DILocalVariable, (Line, Arg, Flags, AlignInBits), Ops); in getImpl()
1172 signed Line, ArrayRef<Metadata *> Ops, in DIVariable() argument
1174 : DINode(C, ID, Storage, dwarf::DW_TAG_variable, Ops), Line(Line), in DIVariable()
1200 ArrayRef<Metadata *> Ops) in DILabel() argument
1201 : DINode(C, DILabelKind, Storage, dwarf::DW_TAG_label, Ops), Line(Line) {} in DILabel()
1208 Metadata *Ops[] = {Scope, Name, File}; in getImpl() local
1209 DEFINE_GETIMPL_STORE(DILabel, (Line), Ops); in getImpl()
1383 void DIExpression::appendOffset(SmallVectorImpl<uint64_t> &Ops, in appendOffset() argument
1386 Ops.push_back(dwarf::DW_OP_plus_uconst); in appendOffset()
1387 Ops.push_back(Offset); in appendOffset()
1389 Ops.push_back(dwarf::DW_OP_constu); in appendOffset()
1390 Ops.push_back(-Offset); in appendOffset()
1391 Ops.push_back(dwarf::DW_OP_minus); in appendOffset()
1453 SmallVector<uint64_t, 8> Ops; in prepend() local
1455 Ops.push_back(dwarf::DW_OP_deref); in prepend()
1457 appendOffset(Ops, Offset); in prepend()
1459 Ops.push_back(dwarf::DW_OP_deref); in prepend()
1464 return prependOpcodes(Expr, Ops, StackValue, EntryValue); in prepend()
1468 ArrayRef<uint64_t> Ops, in appendOpsToArg() argument
1477 SmallVector<uint64_t, 8> NewOps(Ops.begin(), Ops.end()); in appendOpsToArg()
1485 NewOps.insert(NewOps.end(), Ops.begin(), Ops.end()); in appendOpsToArg()
1514 SmallVectorImpl<uint64_t> &Ops, in prependOpcodes() argument
1519 Ops.push_back(dwarf::DW_OP_LLVM_entry_value); in prependOpcodes()
1523 Ops.push_back(1); in prependOpcodes()
1527 if (Ops.empty()) in prependOpcodes()
1535 Ops.push_back(dwarf::DW_OP_stack_value); in prependOpcodes()
1539 Op.appendToVector(Ops); in prependOpcodes()
1542 Ops.push_back(dwarf::DW_OP_stack_value); in prependOpcodes()
1543 return DIExpression::get(Expr->getContext(), Ops); in prependOpcodes()
1547 ArrayRef<uint64_t> Ops) { in append() argument
1548 assert(Expr && !Ops.empty() && "Can't append ops to this expression"); in append()
1556 NewOps.append(Ops.begin(), Ops.end()); in append()
1559 Ops = None; in append()
1564 NewOps.append(Ops.begin(), Ops.end()); in append()
1571 ArrayRef<uint64_t> Ops) { in appendToStack() argument
1572 assert(Expr && !Ops.empty() && "Can't append ops to this expression"); in appendToStack()
1573 assert(none_of(Ops, in appendToStack()
1597 NewOps.append(Ops.begin(), Ops.end()); in appendToStack()
1605 SmallVector<uint64_t, 8> Ops; in createFragmentExpression() local
1635 Op.appendToVector(Ops); in createFragmentExpression()
1639 Ops.push_back(dwarf::DW_OP_LLVM_fragment); in createFragmentExpression()
1640 Ops.push_back(OffsetInBits); in createFragmentExpression()
1641 Ops.push_back(SizeInBits); in createFragmentExpression()
1642 return DIExpression::get(Expr->getContext(), Ops); in createFragmentExpression()
1649 SmallVector<uint64_t, 8> Ops; in constantFold() local
1676 Op.appendToVector(Ops); in constantFold()
1680 return {DIExpression::get(getContext(), Ops), in constantFold()
1724 DIExpression::ExtOps Ops{{dwarf::DW_OP_LLVM_convert, FromSize, TK, in getExtOps() local
1726 return Ops; in getExtOps()
1740 Metadata *Ops[] = {Variable, Expression}; in getImpl() local
1741 DEFINE_GETIMPL_STORE_NO_CONSTRUCTOR_ARGS(DIGlobalVariableExpression, Ops); in getImpl()
1745 ArrayRef<Metadata *> Ops) in DIObjCProperty() argument
1746 : DINode(C, DIObjCPropertyKind, Storage, dwarf::DW_TAG_APPLE_property, Ops), in DIObjCProperty()
1758 Metadata *Ops[] = {Name, File, GetterName, SetterName, Type}; in getImpl() local
1759 DEFINE_GETIMPL_STORE(DIObjCProperty, (Line, Attributes), Ops); in getImpl()
1771 Metadata *Ops[] = {Scope, Entity, Name, File, Elements}; in getImpl() local
1772 DEFINE_GETIMPL_STORE(DIImportedEntity, (Tag, Line), Ops); in getImpl()
1780 Metadata *Ops[] = {Name, Value}; in getImpl() local
1781 DEFINE_GETIMPL_STORE(DIMacro, (MIType, Line), Ops); in getImpl()
1789 Metadata *Ops[] = {File, Elements}; in getImpl() local
1790 DEFINE_GETIMPL_STORE(DIMacroFile, (MIType, Line), Ops); in getImpl()