Home
last modified time | relevance | path

Searched refs:OpInit (Results 1 – 3 of 3) sorted by relevance

/external/llvm/include/llvm/TableGen/
DRecord.h648 class OpInit : public TypedInit {
649 OpInit(const OpInit &Other) = delete;
650 OpInit &operator=(OpInit &Other) = delete;
653 explicit OpInit(InitKind K, RecTy *Type) : TypedInit(K, Type) {} in OpInit() function
661 virtual OpInit *clone(std::vector<Init *> &Operands) const = 0;
678 class UnOpInit : public OpInit {
687 : OpInit(IK_UnOpInit, Type), Opc(opc), LHS(lhs) {} in UnOpInit()
699 OpInit *clone(std::vector<Init *> &Operands) const override { in clone()
725 class BinOpInit : public OpInit {
734 OpInit(IK_BinOpInit, Type), Opc(opc), LHS(lhs), RHS(rhs) {} in BinOpInit()
[all …]
/external/llvm/lib/TableGen/
DSetTheory.cpp289 DefInit *OpInit = dyn_cast<DefInit>(DagExpr->getOperator()); in evaluate() local
290 if (!OpInit) in evaluate()
292 auto I = Operators.find(OpInit->getDef()->getName()); in evaluate()
DRecord.cpp582 Init *OpInit::resolveListElementReference(Record &R, const RecordVal *IRV, in resolveListElementReference()
585 OpInit *OResolved = dyn_cast<OpInit>(Resolved); in resolveListElementReference()
600 Init *OpInit::getBit(unsigned Bit) const { in getBit()
602 return const_cast<OpInit*>(this); in getBit()
603 return VarBitInit::get(const_cast<OpInit*>(this), Bit); in getBit()
893 static Init *EvaluateOperation(OpInit *RHSo, Init *LHS, Init *Arg, in EvaluateOperation()
903 if (auto *RHSoo = dyn_cast<OpInit>(RHSo->getOperand(i))) { in EvaluateOperation()
917 const OpInit *NewOp = RHSo->clone(NewOperands); in EvaluateOperation()
925 OpInit *RHSo = dyn_cast<OpInit>(RHS); in ForeachHelper()
975 const OpInit *NewOp = RHSo->clone(NewOperands); in ForeachHelper()