/external/llvm-project/mlir/include/mlir/Interfaces/ |
D | ControlFlowInterfaces.h | 101 static_assert(ConcreteType::template hasTrait<IsTerminator>(), in verifyTrait() 103 static_assert(ConcreteType::template hasTrait<ZeroResult>(), in verifyTrait() 105 static_assert(ConcreteType::template hasTrait<ZeroSuccessor>(), in verifyTrait()
|
/external/llvm-project/mlir/lib/Transforms/ |
D | SymbolDCE.cpp | 37 if (!symbolTableOp->hasTrait<OpTrait::SymbolTable>()) { in runOnOperation() 61 if (!nestedSymbolTable->hasTrait<OpTrait::SymbolTable>()) in runOnOperation() 106 if (op->hasTrait<OpTrait::SymbolTable>()) { in computeLiveness()
|
D | LoopInvariantCodeMotion.cpp | 55 if (!op->hasTrait<OpTrait::HasRecursiveSideEffects>()) in canBeHoisted() 61 } else if (!op->hasTrait<OpTrait::HasRecursiveSideEffects>()) { in canBeHoisted()
|
D | BufferOptimizations.cpp | 66 if (use->hasTrait<OpTrait::ReturnLike>() && in leavesAllocationScope() 83 if (parentOp->hasTrait<OpTrait::AutomaticAllocationScope>() && in hasAllocationScope()
|
/external/llvm-project/mlir/lib/IR/ |
D | SymbolTable.cpp | 63 if (!symbolTableOp->hasTrait<OpTrait::SymbolTable>()) in collectValidReferencesFor() 96 if (!op.hasTrait<OpTrait::SymbolTable>()) { in walkSymbolTable() 112 assert(symbolTableOp->hasTrait<OpTrait::SymbolTable>() && in SymbolTable() 236 while (!from->hasTrait<OpTrait::SymbolTable>()) { in getNearestSymbolTable() 254 bool isSymbolTable = op->hasTrait<OpTrait::SymbolTable>(); in walkSymbolTables() 281 assert(symbolTableOp->hasTrait<OpTrait::SymbolTable>()); in lookupSymbolIn() 305 assert(symbolTableOp->hasTrait<OpTrait::SymbolTable>()); in lookupSymbolInImpl() 319 if (!symbolTableOp->hasTrait<OpTrait::SymbolTable>()) in lookupSymbolInImpl() 326 if (!symbolTableOp || !symbolTableOp->hasTrait<OpTrait::SymbolTable>()) in lookupSymbolInImpl() 532 if (!from->hasTrait<OpTrait::SymbolTable>()) in walkSymbolUses() [all …]
|
D | MLIRContext.cpp | 640 detail::InterfaceMap &&interfaceMap, HasTraitFn hasTrait) { in insert() argument 644 hasTrait); in insert() 662 detail::InterfaceMap &&interfaceMap, HasTraitFn hasTrait) in AbstractOperation() argument 667 hasTraitFn(hasTrait), parseAssemblyFn(parseAssembly), in AbstractOperation()
|
/external/llvm-project/mlir/include/mlir/IR/ |
D | OpDefinition.h | 882 typename std::enable_if_t<OpT::template hasTrait<OneRegion>(), T>; 1033 static_assert(ConcreteType::template hasTrait<OneResult>(), in verifyTrait() 1035 static_assert(ConcreteType::template hasTrait<OneOperand>(), in verifyTrait() 1037 static_assert(ConcreteType::template hasTrait<SameOperandsAndResultType>(), in verifyTrait() 1055 static_assert(ConcreteType::template hasTrait<OneResult>(), in verifyTrait() 1057 static_assert(ConcreteType::template hasTrait<OneOperand>(), in verifyTrait() 1059 static_assert(ConcreteType::template hasTrait<SameOperandsAndResultType>(), in verifyTrait() 1110 static_assert(ConcreteType::template hasTrait<OneResult>(), in verifyTrait() 1112 static_assert(ConcreteType::template hasTrait<ZeroOperands>(), in verifyTrait() 1149 static_assert(!ConcreteType::template hasTrait<ZeroRegion>(), in verifyTrait() [all …]
|
D | Matchers.h | 53 bool match(Operation *op) { return op->hasTrait<OpTrait::ConstantLike>(); } in match() 68 if (!op->hasTrait<OpTrait::ConstantLike>()) in match()
|
/external/tensorflow/tensorflow/compiler/mlir/lite/transforms/ |
D | optimize_functional_ops.cc | 62 !op->hasTrait<OpTrait::IsTerminator>()) in IsSideEffectFree() 126 if (op_to_inline.hasTrait<OpTrait::IsTerminator>()) { in matchAndRewrite()
|
D | post_quantize.cc | 139 op->user_begin()->hasTrait<OpTrait::IsTerminator>()) in matchAndRewrite() 159 if (op.getOperation()->template hasTrait<OpTrait::IsTerminator>()) { in matchAndRewrite()
|
D | default_quant_params.cc | 112 if (op->hasTrait<OpTrait::IsTerminator>() || in runOnFunction() 113 op->hasTrait<OpTrait::quant::NoQuantizableResult>() || in runOnFunction()
|
/external/llvm-project/mlir/include/mlir/Transforms/ |
D | FoldUtils.h | 80 typename std::enable_if<OpTy::template hasTrait<OpTrait::OneResult>(), 90 typename std::enable_if<OpTy::template hasTrait<OpTrait::ZeroResult>(),
|
/external/llvm-project/mlir/lib/Dialect/Async/Transforms/ |
D | AsyncRefCounting.cpp | 193 if (lastUser->hasTrait<OpTrait::ReturnLike>()) in addAutomaticRefCounting() 197 if (lastUser->hasTrait<OpTrait::IsTerminator>()) in addAutomaticRefCounting()
|
/external/llvm-project/mlir/lib/Dialect/Affine/Transforms/ |
D | AffineParallelize.cpp | 52 op != nullptr && !op->hasTrait<OpTrait::AffineScope>(); in runOnFunction()
|
/external/tensorflow/tensorflow/compiler/mlir/tensorflow/translate/ |
D | translate_tf_dialect_op.cc | 37 if (!block.back().hasTrait<OpTrait::IsTerminator>()) return nullptr; in ExtractOnlyOp()
|
D | export_tf_dialect_op.cc | 141 if (inst->hasTrait<mlir::OpTrait::AttrSizedOperandSegments>()) { in GetAttributesToIgnore() 148 if (inst->hasTrait<mlir::OpTrait::AttrSizedResultSegments>()) { in GetAttributesToIgnore()
|
/external/llvm-project/mlir/lib/Interfaces/ |
D | SideEffectInterfaces.cpp | 48 bool hasRecursiveEffects = op->hasTrait<OpTrait::HasRecursiveSideEffects>(); in wouldOpBeTriviallyDeadImpl()
|
/external/llvm-project/clang/include/clang/StaticAnalyzer/Core/ |
D | Checker.h | 375 if (!ETraits->hasTrait(*I, in _checkPointerEscape() 377 !ETraits->hasTrait(*I, in _checkPointerEscape() 415 if (ETraits->hasTrait(*I, in _checkConstPointerEscape() 417 !ETraits->hasTrait(*I, in _checkConstPointerEscape()
|
/external/clang/include/clang/StaticAnalyzer/Core/ |
D | Checker.h | 364 if (!ETraits->hasTrait(*I, in _checkPointerEscape() 366 !ETraits->hasTrait(*I, in _checkPointerEscape() 404 if (ETraits->hasTrait(*I, in _checkConstPointerEscape() 406 !ETraits->hasTrait(*I, in _checkConstPointerEscape()
|
/external/tensorflow/tensorflow/compiler/mlir/tensorflow/transforms/ |
D | layout_optimization.cc | 195 if (!op->hasTrait<OpTrait::TF::LayoutAgnostic>()) return; in MoveTransposeBefore() 240 if (op->hasTrait<OpTrait::ResultsBroadcastableShape>()) { in MoveTransposeBefore() 304 bool layout_agnostic = op->hasTrait<OpTrait::TF::LayoutAgnostic>(); in MoveTransposeAfter()
|
/external/llvm-project/mlir/lib/Dialect/StandardOps/Transforms/ |
D | FuncBufferize.cpp | 63 if (op->hasTrait<OpTrait::ReturnLike>()) in runOnOperation()
|
/external/tensorflow/tensorflow/compiler/mlir/hlo/lib/Dialect/mhlo/transforms/ |
D | sink_constants_to_control_flow.cc | 68 if (!op || !op->hasTrait<OpTrait::ConstantLike>()) return; in SinkToRegion()
|
/external/llvm-project/mlir/lib/Dialect/Linalg/Transforms/ |
D | ElementwiseToLinalg.cpp | 19 if (!op->hasTrait<OpTrait::ElementwiseMappable>()) in isElementwiseMappableOpOnRankedTensors()
|
/external/llvm-project/mlir/lib/Analysis/ |
D | BufferAliasAnalysis.cpp | 106 if (operation.hasTrait<OpTrait::ReturnLike>()) in build()
|
/external/tensorflow/tensorflow/compiler/mlir/tensorflow/ir/ |
D | tf_ops.cc | 168 if (op->hasTrait<OpTrait::TF::CannotDuplicate>()) return false; in CanDuplicate() 194 if (op->hasTrait<OpTrait::IsTerminator>()) return false; in CanHaveSideEffects()
|