Home
last modified time | relevance | path

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

/external/llvm/include/llvm/TableGen/
DRecord.h857 class OpInit : public TypedInit {
858 OpInit(const OpInit &Other) = delete;
859 OpInit &operator=(OpInit &Other) = delete;
862 explicit OpInit(InitKind K, RecTy *Type) : TypedInit(K, Type) {} in OpInit() function
870 virtual OpInit *clone(std::vector<Init *> &Operands) const = 0;
880 return Ty->convertValue(const_cast<OpInit *>(this)); in convertInitializerTo()
891 class UnOpInit : public OpInit {
900 : OpInit(IK_UnOpInit, Type), Opc(opc), LHS(lhs) {} in UnOpInit()
912 OpInit *clone(std::vector<Init *> &Operands) const override { in clone()
938 class BinOpInit : public OpInit {
[all …]
/external/llvm/lib/TableGen/
DSetTheory.cpp289 DefInit *OpInit = dyn_cast<DefInit>(DagExpr->getOperator()); in evaluate() local
290 if (!OpInit) in evaluate()
292 Operator *Op = Operators.lookup(OpInit->getDef()->getName()); in evaluate()
DRecord.cpp725 Init *OpInit::resolveListElementReference(Record &R, const RecordVal *IRV, in resolveListElementReference()
728 OpInit *OResolved = dyn_cast<OpInit>(Resolved); in resolveListElementReference()
747 Init *OpInit::getBit(unsigned Bit) const { in getBit()
749 return const_cast<OpInit*>(this); in getBit()
750 return VarBitInit::get(const_cast<OpInit*>(this), Bit); in getBit()
1048 static Init *EvaluateOperation(OpInit *RHSo, Init *LHS, Init *Arg, in EvaluateOperation()
1063 OpInit *RHSoo = dyn_cast<OpInit>(RHSo->getOperand(i)); in EvaluateOperation()
1081 const OpInit *NewOp = RHSo->clone(NewOperands); in EvaluateOperation()
1091 OpInit *RHSo = dyn_cast<OpInit>(RHS); in ForeachHelper()
1151 const OpInit *NewOp = RHSo->clone(NewOperands); in ForeachHelper()