Home
last modified time | relevance | path

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

/external/llvm/include/llvm/TableGen/
DRecord.h720 class OpInit : public TypedInit {
721 OpInit(const OpInit &Other) = delete;
722 OpInit &operator=(OpInit &Other) = delete;
725 explicit OpInit(InitKind K, RecTy *Type, uint8_t Opc) in OpInit() function
734 virtual OpInit *clone(std::vector<Init *> &Operands) const = 0;
751 class UnOpInit : public OpInit, public FoldingSetNode {
759 : OpInit(IK_UnOpInit, Type, opc), LHS(lhs) {} in UnOpInit()
773 OpInit *clone(std::vector<Init *> &Operands) const override { in clone()
799 class BinOpInit : public OpInit, public FoldingSetNode {
808 OpInit(IK_BinOpInit, Type, opc), LHS(lhs), RHS(rhs) {} in BinOpInit()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/TableGen/
DRecord.h725 class OpInit : public TypedInit {
727 explicit OpInit(InitKind K, RecTy *Type, uint8_t Opc) in OpInit() function
731 OpInit(const OpInit &) = delete;
732 OpInit &operator=(OpInit &) = delete;
740 virtual OpInit *clone(ArrayRef<Init *> Operands) const = 0;
750 class UnOpInit : public OpInit, public FoldingSetNode {
758 : OpInit(IK_UnOpInit, Type, opc), LHS(lhs) {} in UnOpInit()
773 OpInit *clone(ArrayRef<Init *> Operands) const override { in clone()
799 class BinOpInit : public OpInit, public FoldingSetNode {
808 OpInit(IK_BinOpInit, Type, opc), LHS(lhs), RHS(rhs) {} in BinOpInit()
[all …]
/external/swiftshader/third_party/LLVM/include/llvm/TableGen/
DRecord.h878 class OpInit : public TypedInit {
879 OpInit(const OpInit &Other); // Do not define.
880 OpInit &operator=(OpInit &Other); // Do not define.
883 explicit OpInit(RecTy *Type) : TypedInit(Type) {} in OpInit() function
887 virtual OpInit *clone(std::vector<Init *> &Operands) const = 0;
897 return Ty->convertValue(const_cast<OpInit *>(this)); in convertInitializerTo()
909 class UnOpInit : public OpInit {
917 : OpInit(Type), Opc(opc), LHS(lhs) {} in UnOpInit()
926 virtual OpInit *clone(std::vector<Init *> &Operands) const { in clone()
952 class BinOpInit : public OpInit {
[all …]
/external/swiftshader/third_party/LLVM/utils/TableGen/
DSetTheory.cpp242 DefInit *OpInit = dynamic_cast<DefInit*>(DagExpr->getOperator()); in evaluate() local
243 if (!OpInit) in evaluate()
245 Operator *Op = Operators.lookup(OpInit->getDef()->getName()); in evaluate()
/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.cpp599 Init *OpInit::resolveListElementReference(Record &R, const RecordVal *IRV, in resolveListElementReference()
602 OpInit *OResolved = dyn_cast<OpInit>(Resolved); in resolveListElementReference()
617 Init *OpInit::getBit(unsigned Bit) const { in getBit()
619 return const_cast<OpInit*>(this); in getBit()
620 return VarBitInit::get(const_cast<OpInit*>(this), Bit); in getBit()
950 static Init *EvaluateOperation(OpInit *RHSo, Init *LHS, Init *Arg, in EvaluateOperation()
960 if (auto *RHSoo = dyn_cast<OpInit>(RHSo->getOperand(i))) { in EvaluateOperation()
974 const OpInit *NewOp = RHSo->clone(NewOperands); in EvaluateOperation()
982 OpInit *RHSo = dyn_cast<OpInit>(RHS); in ForeachHelper()
1032 const OpInit *NewOp = RHSo->clone(NewOperands); in ForeachHelper()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/TableGen/
DSetTheory.cpp300 DefInit *OpInit = dyn_cast<DefInit>(DagExpr->getOperator()); in evaluate() local
301 if (!OpInit) in evaluate()
303 auto I = Operators.find(OpInit->getDef()->getName()); in evaluate()
DRecord.cpp667 Init *OpInit::getBit(unsigned Bit) const { in getBit()
669 return const_cast<OpInit*>(this); in getBit()
670 return VarBitInit::get(const_cast<OpInit*>(this), Bit); in getBit()
/external/swiftshader/third_party/LLVM/lib/TableGen/
DRecord.cpp687 Init *OpInit::resolveBitReference(Record &R, const RecordVal *IRV, in resolveBitReference()
701 Init *OpInit::resolveListElementReference(Record &R, const RecordVal *IRV, in resolveListElementReference()
704 OpInit *OResolved = dynamic_cast<OpInit *>(Resolved); in resolveListElementReference()
1010 static Init *EvaluateOperation(OpInit *RHSo, Init *LHS, Init *Arg, in EvaluateOperation()
1029 OpInit *RHSoo = dynamic_cast<OpInit*>(RHSo->getOperand(i)); in EvaluateOperation()
1047 const OpInit *NewOp = RHSo->clone(NewOperands); in EvaluateOperation()
1063 OpInit *RHSo = dynamic_cast<OpInit*>(RHS); in ForeachHelper()
1124 const OpInit *NewOp = RHSo->clone(NewOperands); in ForeachHelper()
/external/tensorflow/tensorflow/lite/core/
Dsubgraph.h304 void* OpInit(const TfLiteRegistration& op_reg, const char* buffer, in OpInit() function
Dsubgraph.cc553 node.user_data = OpInit(*registration, init_data, init_data_size); in AddNodeWithParameters()
556 OpInit(*registration, in AddNodeWithParameters()