Lines Matching refs:Ops

76   SmallVector<Metadata *, 2> Ops;  in getImpl()  local
77 Ops.push_back(Scope); in getImpl()
79 Ops.push_back(InlinedAt); in getImpl()
80 return storeImpl(new (Ops.size()) DILocation(Context, Storage, Line, Column, in getImpl()
81 Ops, ImplicitCode), in getImpl()
365 Metadata *Ops[] = {CountNode, LB, UB, Stride}; in getImpl() local
366 DEFINE_GETIMPL_STORE_NO_CONSTRUCTOR_ARGS(DISubrange, Ops); in getImpl()
459 Metadata *Ops[] = {CountNode, LB, UB, Stride}; in getImpl() local
460 DEFINE_GETIMPL_STORE_NO_CONSTRUCTOR_ARGS(DIGenericSubrange, Ops); in getImpl()
536 Metadata *Ops[] = {Name}; in getImpl() local
537 DEFINE_GETIMPL_STORE(DIEnumerator, (Value, IsUnsigned), Ops); in getImpl()
548 Metadata *Ops[] = {nullptr, nullptr, Name}; in getImpl() local
550 Flags), Ops); in getImpl()
575 Metadata *Ops[] = {nullptr, nullptr, Name, StringLength, StringLengthExp}; in getImpl() local
577 Ops); in getImpl()
591 Metadata *Ops[] = {File, Scope, Name, BaseType, ExtraData}; in getImpl() local
594 DWARFAddressSpace, Flags), Ops); in getImpl()
613 Metadata *Ops[] = {File, Scope, Name, BaseType, in getImpl() local
619 Ops); in getImpl()
649 Metadata *Ops[] = {File, Scope, Name, BaseType, in buildODRType() local
653 assert((std::end(Ops) - std::begin(Ops)) == (int)CT->getNumOperands() && in buildODRType()
656 if (Ops[I] != CT->getOperand(I)) in buildODRType()
657 CT->setOperand(I, Ops[I]); in buildODRType()
695 Metadata *Ops[] = {nullptr, nullptr, nullptr, TypeArray}; in getImpl() local
696 DEFINE_GETIMPL_STORE(DISubroutineType, (Flags, CC), Ops); in getImpl()
733 Metadata *Ops[] = {Filename, Directory, CS ? CS->Value : nullptr, in getImpl() local
735 DEFINE_GETIMPL_STORE(DIFile, (CS, Source), Ops); in getImpl()
752 Metadata *Ops[] = {File, in getImpl() local
763 return storeImpl(new (array_lengthof(Ops)) DICompileUnit( in getImpl()
767 Ops), in getImpl()
873 SmallVector<Metadata *, 11> Ops = { in getImpl() local
877 Ops.pop_back(); in getImpl()
879 Ops.pop_back(); in getImpl()
881 Ops.pop_back(); in getImpl()
886 (Line, ScopeLine, VirtualIndex, ThisAdjustment, Flags, SPFlags), Ops, in getImpl()
887 Ops.size()); in getImpl()
904 Metadata *Ops[] = {File, Scope}; in getImpl() local
905 DEFINE_GETIMPL_STORE(DILexicalBlock, (Line, Column), Ops); in getImpl()
915 Metadata *Ops[] = {File, Scope}; in getImpl() local
916 DEFINE_GETIMPL_STORE(DILexicalBlockFile, (Discriminator), Ops); in getImpl()
925 Metadata *Ops[] = {nullptr, Scope, Name}; in getImpl() local
926 DEFINE_GETIMPL_STORE(DINamespace, (ExportSymbols), Ops); in getImpl()
936 Metadata *Ops[] = {Scope, Decl, Name, File}; in getImpl() local
937 DEFINE_GETIMPL_STORE(DICommonBlock, (LineNo), Ops); in getImpl()
949 Metadata *Ops[] = {File, Scope, Name, ConfigurationMacros, in getImpl() local
951 DEFINE_GETIMPL_STORE(DIModule, (LineNo, IsDecl), Ops); in getImpl()
960 Metadata *Ops[] = {Name, Type}; in getImpl() local
961 DEFINE_GETIMPL_STORE(DITemplateTypeParameter, (isDefault), Ops); in getImpl()
970 Metadata *Ops[] = {Name, Type, Value}; in getImpl() local
971 DEFINE_GETIMPL_STORE(DITemplateValueParameter, (Tag, isDefault), Ops); in getImpl()
987 Metadata *Ops[] = {Scope, in getImpl() local
996 (Line, IsLocalToUnit, IsDefinition, AlignInBits), Ops); in getImpl()
1014 Metadata *Ops[] = {Scope, Name, File, Type}; in getImpl() local
1015 DEFINE_GETIMPL_STORE(DILocalVariable, (Line, Arg, Flags, AlignInBits), Ops); in getImpl()
1049 Metadata *Ops[] = {Scope, Name, File}; in getImpl() local
1050 DEFINE_GETIMPL_STORE(DILabel, (Line), Ops); in getImpl()
1217 void DIExpression::appendOffset(SmallVectorImpl<uint64_t> &Ops, in appendOffset() argument
1220 Ops.push_back(dwarf::DW_OP_plus_uconst); in appendOffset()
1221 Ops.push_back(Offset); in appendOffset()
1223 Ops.push_back(dwarf::DW_OP_constu); in appendOffset()
1224 Ops.push_back(-Offset); in appendOffset()
1225 Ops.push_back(dwarf::DW_OP_minus); in appendOffset()
1287 SmallVector<uint64_t, 8> Ops; in prepend() local
1289 Ops.push_back(dwarf::DW_OP_deref); in prepend()
1291 appendOffset(Ops, Offset); in prepend()
1293 Ops.push_back(dwarf::DW_OP_deref); in prepend()
1298 return prependOpcodes(Expr, Ops, StackValue, EntryValue); in prepend()
1302 ArrayRef<uint64_t> Ops, in appendOpsToArg() argument
1311 SmallVector<uint64_t, 8> NewOps(Ops.begin(), Ops.end()); in appendOpsToArg()
1319 NewOps.insert(NewOps.end(), Ops.begin(), Ops.end()); in appendOpsToArg()
1348 SmallVectorImpl<uint64_t> &Ops, in prependOpcodes() argument
1354 Ops.push_back(dwarf::DW_OP_LLVM_entry_value); in prependOpcodes()
1358 Ops.push_back(1); in prependOpcodes()
1362 if (Ops.empty()) in prependOpcodes()
1370 Ops.push_back(dwarf::DW_OP_stack_value); in prependOpcodes()
1374 Op.appendToVector(Ops); in prependOpcodes()
1377 Ops.push_back(dwarf::DW_OP_stack_value); in prependOpcodes()
1378 return DIExpression::get(Expr->getContext(), Ops); in prependOpcodes()
1382 ArrayRef<uint64_t> Ops) { in append() argument
1383 assert(Expr && !Ops.empty() && "Can't append ops to this expression"); in append()
1391 NewOps.append(Ops.begin(), Ops.end()); in append()
1394 Ops = None; in append()
1399 NewOps.append(Ops.begin(), Ops.end()); in append()
1406 ArrayRef<uint64_t> Ops) { in appendToStack() argument
1407 assert(Expr && !Ops.empty() && "Can't append ops to this expression"); in appendToStack()
1408 assert(none_of(Ops, in appendToStack()
1432 NewOps.append(Ops.begin(), Ops.end()); in appendToStack()
1440 SmallVector<uint64_t, 8> Ops; in createFragmentExpression() local
1469 Op.appendToVector(Ops); in createFragmentExpression()
1473 Ops.push_back(dwarf::DW_OP_LLVM_fragment); in createFragmentExpression()
1474 Ops.push_back(OffsetInBits); in createFragmentExpression()
1475 Ops.push_back(SizeInBits); in createFragmentExpression()
1476 return DIExpression::get(Expr->getContext(), Ops); in createFragmentExpression()
1519 DIExpression::ExtOps Ops{{dwarf::DW_OP_LLVM_convert, FromSize, TK, in getExtOps() local
1521 return Ops; in getExtOps()
1535 Metadata *Ops[] = {Variable, Expression}; in getImpl() local
1536 DEFINE_GETIMPL_STORE_NO_CONSTRUCTOR_ARGS(DIGlobalVariableExpression, Ops); in getImpl()
1548 Metadata *Ops[] = {Name, File, GetterName, SetterName, Type}; in getImpl() local
1549 DEFINE_GETIMPL_STORE(DIObjCProperty, (Line, Attributes), Ops); in getImpl()
1560 Metadata *Ops[] = {Scope, Entity, Name, File}; in getImpl() local
1561 DEFINE_GETIMPL_STORE(DIImportedEntity, (Tag, Line), Ops); in getImpl()
1569 Metadata *Ops[] = { Name, Value }; in getImpl() local
1570 DEFINE_GETIMPL_STORE(DIMacro, (MIType, Line), Ops); in getImpl()
1579 Metadata *Ops[] = { File, Elements }; in getImpl() local
1580 DEFINE_GETIMPL_STORE(DIMacroFile, (MIType, Line), Ops); in getImpl()