|
reference, declaration → definition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced
|
Declarations
utils/TableGen/AsmWriterInst.h 23 class CodeGenInstruction;
utils/TableGen/CodeGenSchedule.h 28 class CodeGenInstruction;
References
include/llvm/Support/PointerLikeTypeTraits.h 56 static inline void *getAsVoidPointer(T *P) { return P; }
57 static inline T *getFromVoidPointer(void *P) { return static_cast<T *>(P); }
59 enum { NumLowBitsAvailable = detail::ConstantLog2<alignof(T)>::value };
91 typedef PointerLikeTypeTraits<T *> NonConst;
93 static inline const void *getAsVoidPointer(const T *P) {
96 static inline const T *getFromVoidPointer(const void *P) {
usr/include/c++/7.4.0/bits/alloc_traits.h 474 construct(allocator_type& __a, _Up* __p, _Args&&... __args)
usr/include/c++/7.4.0/bits/move.h 72 constexpr _Tp&&
83 constexpr _Tp&&
usr/include/c++/7.4.0/bits/stl_vector.h 962 emplace_back(_Args&&... __args);
1483 _M_realloc_insert(iterator __position, _Args&&... __args);
usr/include/c++/7.4.0/bits/unique_ptr.h 68 default_delete(const default_delete<_Up>&) noexcept { }
72 operator()(_Tp* __ptr) const
74 static_assert(!is_void<_Tp>::value,
76 static_assert(sizeof(_Tp)>0,
122 using type = _Up*;
137 using pointer = typename _Ptr<_Tp, _Dp>::type;
161 typename __uniq_ptr_impl<_Tp, _Up>::_DeleterConstraint::type;
163 __uniq_ptr_impl<_Tp, _Dp> _M_t;
166 using pointer = typename __uniq_ptr_impl<_Tp, _Dp>::pointer;
167 using element_type = _Tp;
252 unique_ptr(unique_ptr<_Up, _Ep>&& __u) noexcept
297 __safe_conversion_up<_Up, _Ep>,
301 operator=(unique_ptr<_Up, _Ep>&& __u) noexcept
811 { typedef unique_ptr<_Tp> __single_object; };
823 inline typename _MakeUniq<_Tp>::__single_object
824 make_unique(_Args&&... __args)
825 { return unique_ptr<_Tp>(new _Tp(std::forward<_Args>(__args)...)); }
usr/include/c++/7.4.0/ext/new_allocator.h 135 construct(_Up* __p, _Args&&... __args)
usr/include/c++/7.4.0/type_traits 215 : public __is_void_helper<typename remove_cv<_Tp>::type>::type
581 : public __or_<is_lvalue_reference<_Tp>,
582 is_rvalue_reference<_Tp>>::type
601 : public __not_<__or_<is_function<_Tp>, is_reference<_Tp>,
601 : public __not_<__or_<is_function<_Tp>, is_reference<_Tp>,
602 is_void<_Tp>>>::type
638 : public __or_<is_object<_Tp>, is_reference<_Tp>>::type
638 : public __or_<is_object<_Tp>, is_reference<_Tp>>::type
1554 { typedef _Tp type; };
1563 { typedef _Tp type; };
1574 remove_const<typename remove_volatile<_Tp>::type>::type type;
1645 { typedef _Tp& type; };
1650 : public __add_lvalue_reference_helper<_Tp>
utils/TableGen/AsmMatcherEmitter.cpp 504 PointerUnion<const CodeGenInstruction*, const CodeGenInstAlias*> DefRec;
506 const CodeGenInstruction *getResultInst() const {
507 if (DefRec.is<const CodeGenInstruction*>())
508 return DefRec.get<const CodeGenInstruction*>();
542 MatchableInfo(const CodeGenInstruction &CGI)
917 CodeGenInstruction::FlattenAsmStringVariants(AsmString,
1503 for (const CodeGenInstruction *CGI : Target.getInstructionsByEnumValue()) {
1604 if (II->DefRec.is<const CodeGenInstruction*>())
1610 if (II->DefRec.is<const CodeGenInstruction*>()) {
1673 const CodeGenInstruction &CGI = *II->DefRec.get<const CodeGenInstruction*>();
1673 const CodeGenInstruction &CGI = *II->DefRec.get<const CodeGenInstruction*>();
1760 const CodeGenInstruction *ResultInst = getResultInst();
1810 const CodeGenInstruction *ResultInst = getResultInst();
utils/TableGen/AsmWriterEmitter.cpp 59 ArrayRef<const CodeGenInstruction *> NumberedInstructions;
806 CodeGenInstruction::FlattenAsmStringVariants(CGA.ResultInst->AsmString,
811 CodeGenInstruction::FlattenAsmStringVariants(CGA.AsmString,
1143 const CodeGenInstruction *I = NumberedInstructions[i];
utils/TableGen/AsmWriterInst.cpp 52 AsmWriterInst::AsmWriterInst(const CodeGenInstruction &CGI, unsigned CGIIndex,
utils/TableGen/AsmWriterInst.h 81 const CodeGenInstruction *CGI;
84 AsmWriterInst(const CodeGenInstruction &CGI, unsigned CGIIndex,
utils/TableGen/CodeEmitterGen.cpp 58 raw_ostream &o, ArrayRef<const CodeGenInstruction *> NumberedInstructions,
85 CodeGenInstruction &CGI = Target.getInstruction(R);
299 CodeGenInstruction &CGI = Target.getInstruction(R);
348 raw_ostream &o, ArrayRef<const CodeGenInstruction *> NumberedInstructions,
357 for (const CodeGenInstruction *CGI : NumberedInstructions) {
396 ArrayRef<const CodeGenInstruction*> NumberedInstructions =
403 for (const CodeGenInstruction *CGI : NumberedInstructions) {
551 for (const CodeGenInstruction *Inst : Target.getInstructionsByEnumValue()) {
612 for (const CodeGenInstruction *Inst : Target.getInstructionsByEnumValue()) {
utils/TableGen/CodeGenDAGPatterns.cpp 1782 CodeGenInstruction &InstInfo = CDP.getTargetInfo().getInstruction(Operator);
2431 CodeGenInstruction &InstInfo =
3480 static bool InferFromPattern(CodeGenInstruction &InstInfo,
3602 CodeGenInstruction &CGI, ListInit *Pat, DAGInstMap &DAGInsts) {
3801 CodeGenInstruction &InstInfo = Target.getInstruction(Instr);
3820 CodeGenInstruction &CGI = Target.getInstruction(Instr);
3918 ArrayRef<const CodeGenInstruction*> Instructions =
3935 CodeGenInstruction &InstInfo = Target.getInstruction(PatInstrs.front());
3952 CodeGenInstruction *InstInfo =
3966 CodeGenInstruction *InstInfo =
3998 const CodeGenInstruction &InstInfo = Target.getInstruction(Instr);
4038 const CodeGenInstruction &InstInfo = Target.getInstruction(Instr);
utils/TableGen/CodeGenDAGPatterns.h 1268 CodeGenInstruction &CGI, ListInit *Pattern,
utils/TableGen/CodeGenInstruction.h 329 CodeGenInstruction *ResultInst;
utils/TableGen/CodeGenMapTable.cpp 372 ArrayRef<const CodeGenInstruction*> NumberedInstructions =
utils/TableGen/CodeGenSchedule.cpp 80 ArrayRef<const CodeGenInstruction *> Instructions =
133 bool operator()(const CodeGenInstruction *LHS, StringRef RHS) {
136 bool operator()(StringRef LHS, const CodeGenInstruction *RHS) {
599 for (const CodeGenInstruction *Inst : Target.getInstructionsByEnumValue()) {
875 for (const CodeGenInstruction *Inst : Target.getInstructionsByEnumValue()) {
902 for (const CodeGenInstruction *Inst : Target.getInstructionsByEnumValue()) {
969 CodeGenSchedModels::getSchedClassIdx(const CodeGenInstruction &Inst) const {
1936 for (const CodeGenInstruction *Inst : Target.getInstructionsByEnumValue()) {
2152 bool CodeGenProcModel::isUnsupported(const CodeGenInstruction &Inst) const {
utils/TableGen/CodeGenSchedule.h 272 bool isUnsupported(const CodeGenInstruction &Inst) const;
548 unsigned getSchedClassIdx(const CodeGenInstruction &Inst) const;
utils/TableGen/CodeGenTarget.cpp 235 for (const CodeGenInstruction *Inst : getInstructionsByEnumValue()) {
406 Instructions[Insts[i]] = std::make_unique<CodeGenInstruction>(Insts[i]);
409 static const CodeGenInstruction *
412 std::unique_ptr<CodeGenInstruction>> &Insts,
436 const CodeGenInstruction *Instr = GetInstByName(*p, Insts, Records);
446 const CodeGenInstruction *CGI = I.second.get();
utils/TableGen/CodeGenTarget.h 52 std::unique_ptr<CodeGenInstruction>> Instructions;
63 mutable std::vector<const CodeGenInstruction*> InstrsByEnum;
140 DenseMap<const Record*, std::unique_ptr<CodeGenInstruction>> &
147 CodeGenInstruction &getInstruction(const Record *InstRec) const {
170 ArrayRef<const CodeGenInstruction *> getInstructionsByEnumValue() const {
176 typedef ArrayRef<const CodeGenInstruction *>::const_iterator inst_iterator;
utils/TableGen/DAGISelEmitter.cpp 48 CodeGenInstruction &II = CGP.getTargetInfo().getInstruction(Op);
utils/TableGen/DAGISelMatcherGen.cpp 734 CodeGenInstruction &II = CGT.getInstruction(Op);
763 CodeGenInstruction &II = CGT.getInstruction(Op);
1038 CodeGenInstruction &II = CGT.getInstruction(DstPat->getOperator());
utils/TableGen/DisassemblerEmitter.cpp 113 ArrayRef<const CodeGenInstruction*> numberedInstructions =
utils/TableGen/FastISelEmitter.cpp 462 CodeGenInstruction &II = CGP.getTargetInfo().getInstruction(Op);
utils/TableGen/FixedLenDecoderEmitter.cpp 100 const CodeGenInstruction *Inst;
103 EncodingAndInst(const Record *EncodingDef, const CodeGenInstruction *Inst,
1796 const CodeGenInstruction &CGI, unsigned Opc,
2444 const CodeGenInstruction *Inst = NumberedEncodings[i].Inst;
utils/TableGen/GlobalISelEmitter.cpp 1645 const CodeGenInstruction *I;
1647 static DenseMap<const CodeGenInstruction *, unsigned> OpcodeValues;
1654 for (const CodeGenInstruction *I : Target.getInstructionsByEnumValue())
1658 InstructionOpcodeMatcher(unsigned InsnVarID, const CodeGenInstruction *I)
1717 DenseMap<const CodeGenInstruction *, unsigned>
2761 const CodeGenInstruction *I;
2787 BuildMIAction(unsigned InsnID, const CodeGenInstruction *I)
2791 const CodeGenInstruction *getCGI() const { return I; }
3272 const CodeGenInstruction *getEquivNode(Record &Equiv,
3423 const CodeGenInstruction *
3468 const CodeGenInstruction *SrcGIOrNull = nullptr;
4212 CodeGenInstruction *DstI = &Target.getInstruction(DstOp);
4226 const CodeGenInstruction *DstI = DstMIBuilder.getCGI();
4236 const CodeGenInstruction *DstI = DstMIBuilder.getCGI();
4237 CodeGenInstruction *OrigDstI = &Target.getInstruction(Dst->getOperator());
4441 auto &Inst = Target.getInstruction(OpRec);
4587 auto &DstI = Target.getInstruction(RK.getDef("COPY"));
4615 auto &DstI = Target.getInstruction(DstOp);
utils/TableGen/InstrDocsEmitter.cpp 69 for (const CodeGenInstruction *II : Target.getInstructionsByEnumValue()) {
88 CodeGenInstruction::FlattenAsmStringVariants(II->AsmString, VarNum);
utils/TableGen/InstrInfoEmitter.cpp 74 void emitRecord(const CodeGenInstruction &Inst, unsigned Num,
81 ArrayRef<const CodeGenInstruction *> NumberedInstructions);
83 ArrayRef<const CodeGenInstruction *> NumberedInstructions,
88 ArrayRef<const CodeGenInstruction*> NumberedInstructions);
92 std::vector<std::string> GetOperandInfo(const CodeGenInstruction &Inst);
110 InstrInfoEmitter::GetOperandInfo(const CodeGenInstruction &Inst) {
202 for (const CodeGenInstruction *Inst : Target.getInstructionsByEnumValue()) {
223 ArrayRef<const CodeGenInstruction *> NumberedInstructions,
228 for (const CodeGenInstruction *Inst : NumberedInstructions) {
259 ArrayRef<const CodeGenInstruction*> NumberedInstructions) {
331 ArrayRef<const CodeGenInstruction *> NumberedInstructions) {
374 for (const CodeGenInstruction *Inst : NumberedInstructions) {
530 for (const CodeGenInstruction *II : Target.getInstructionsByEnumValue()) {
552 ArrayRef<const CodeGenInstruction*> NumberedInstructions =
557 for (const CodeGenInstruction *Inst : NumberedInstructions) {
573 for (const CodeGenInstruction *Inst : NumberedInstructions) {
645 void InstrInfoEmitter::emitRecord(const CodeGenInstruction &Inst, unsigned Num,
776 for (const CodeGenInstruction *Inst : Target.getInstructionsByEnumValue())
utils/TableGen/PseudoLoweringEmitter.cpp 36 CodeGenInstruction Source; // The source pseudo instruction definition.
37 CodeGenInstruction Dest; // The destination instruction to lower to.
40 PseudoExpansion(CodeGenInstruction &s, CodeGenInstruction &d,
40 PseudoExpansion(CodeGenInstruction &s, CodeGenInstruction &d,
55 CodeGenInstruction &Insn,
73 addDagOperandMapping(Record *Rec, DagInit *Dag, CodeGenInstruction &Insn,
139 CodeGenInstruction Insn(Operator);
167 CodeGenInstruction SourceInsn(Rec);
209 CodeGenInstruction &Source = Expansion.Source;
210 CodeGenInstruction &Dest = Expansion.Dest;
utils/TableGen/RISCVCompressInstEmitter.cpp 86 CodeGenInstruction Source; // The source instruction definition.
87 CodeGenInstruction Dest; // The destination instruction to transform to.
96 CompressPat(CodeGenInstruction &S, CodeGenInstruction &D,
96 CompressPat(CodeGenInstruction &S, CodeGenInstruction &D,
107 void addDagOperandMapping(Record *Rec, DagInit *Dag, CodeGenInstruction &Inst,
123 CodeGenInstruction &DestInst);
183 Record *Rec, DagInit *Dag, CodeGenInstruction &Inst,
249 static bool verifyDagOpCount(CodeGenInstruction &Inst, DagInit *Dag,
342 StringMap<unsigned> &SourceOperands, CodeGenInstruction &DestInst) {
419 CodeGenInstruction SourceInst(Operator);
432 CodeGenInstruction DestInst(DestOperator);
597 CodeGenInstruction &Source =
599 CodeGenInstruction &Dest = Compress ? CompressPat.Dest : CompressPat.Source;
utils/TableGen/WebAssemblyDisassemblerEmitter.cpp 25 const ArrayRef<const CodeGenInstruction *> &NumberedInstructions) {
29 std::map<unsigned, std::pair<unsigned, const CodeGenInstruction *>>>
utils/TableGen/WebAssemblyDisassemblerEmitter.h 25 const ArrayRef<const CodeGenInstruction *> &NumberedInstructions);
utils/TableGen/X86EVEX2VEXTablesEmitter.cpp 27 std::vector<const CodeGenInstruction *> EVEXInsts;
30 std::map<uint64_t, std::vector<const CodeGenInstruction *>> VEXInsts;
32 typedef std::pair<const CodeGenInstruction *, const CodeGenInstruction *> Entry;
32 typedef std::pair<const CodeGenInstruction *, const CodeGenInstruction *> Entry;
86 const CodeGenInstruction *EVEXInst;
89 IsMatch(const CodeGenInstruction *EVEXInst) : EVEXInst(EVEXInst) {}
91 bool operator()(const CodeGenInstruction *VEXInst) {
174 ArrayRef<const CodeGenInstruction *> NumberedInstructions =
177 for (const CodeGenInstruction *Inst : NumberedInstructions) {
198 for (const CodeGenInstruction *EVEXInst : EVEXInsts) {
204 const CodeGenInstruction *VEXInst = nullptr;
utils/TableGen/X86FoldTablesEmitter.cpp 80 static bool isExplicitAlign(const CodeGenInstruction *Inst) {
86 static bool isExplicitUnalign(const CodeGenInstruction *Inst) {
98 const CodeGenInstruction *RegInst;
99 const CodeGenInstruction *MemInst;
108 X86FoldTableEntry(const CodeGenInstruction *RegInst,
109 const CodeGenInstruction *MemInst)
153 void updateTables(const CodeGenInstruction *RegInstr,
154 const CodeGenInstruction *MemInstr,
159 void addEntryWithFlags(FoldTable &Table, const CodeGenInstruction *RegInstr,
160 const CodeGenInstruction *MemInstr,
178 static bool hasRSTRegClass(const CodeGenInstruction *Inst) {
185 static bool hasPtrTailcallRegClass(const CodeGenInstruction *Inst) {
298 static inline const CodeGenInstruction *
299 getAltRegInst(const CodeGenInstruction *I, const RecordKeeper &Records,
306 CodeGenInstruction &AltRegInst = Target.getInstruction(AltRegInstRec);
313 const CodeGenInstruction *MemInst;
316 IsMatch(const CodeGenInstruction *Inst, const RecordKeeper &Records)
319 bool operator()(const CodeGenInstruction *RegInst) {
455 const CodeGenInstruction *RegInstr,
456 const CodeGenInstruction *MemInstr,
513 void X86FoldTablesEmitter::updateTables(const CodeGenInstruction *RegInstr,
514 const CodeGenInstruction *MemInstr,
579 std::vector<const CodeGenInstruction *> MemInsts;
581 std::map<uint8_t, std::vector<const CodeGenInstruction *>> RegInsts;
583 ArrayRef<const CodeGenInstruction *> NumberedInstructions =
586 for (const CodeGenInstruction *Inst : NumberedInstructions) {
617 for (const CodeGenInstruction *MemInst : MemInsts) {
627 std::vector<const CodeGenInstruction *> &OpcRegInsts =
632 const CodeGenInstruction *RegInst = *Match;
639 const CodeGenInstruction *AltRegInst =
utils/TableGen/X86RecognizableInstr.cpp 63 const CodeGenInstruction &insn,
138 const CodeGenInstruction &insn,
utils/TableGen/X86RecognizableInstr.h 337 const CodeGenInstruction &insn,
349 const CodeGenInstruction &insn,