Home
last modified time | relevance | path

Searched refs:isa_and_nonnull (Results 1 – 25 of 51) sorted by relevance

123

/external/llvm-project/clang/test/Analysis/
Dcast-value-logic.cpp51 if (isa_and_nonnull<Circle>(A) && !isa_and_nonnull<Circle>(B)) in test_regions_isa_and_nonnull()
56 if (isa_and_nonnull<Triangle, Rectangle, Hexagon>(A) && in test_regions_isa_and_nonnull_variadic()
57 !isa_and_nonnull<Rectangle, Hexagon, Circle>(B)) in test_regions_isa_and_nonnull_variadic()
/external/tensorflow/tensorflow/compiler/mlir/tensorflow/transforms/
Dtpu_reorder_replicate_and_partitioned_inputs.cc36 return llvm::isa_and_nonnull<TF::TPUPartitionedInputOp>( in ReorderReplicateAndPartitionedInputs()
112 return llvm::isa_and_nonnull<TF::TPUPartitionedInputOp>( in runOnFunction()
Dtpu_cluster_formation.cc357 if (llvm::isa_and_nonnull<TF::TPUReplicatedInputOp>(def)) in ReplicateCluster()
368 if (llvm::isa_and_nonnull<TF::TPUReplicatedInputOp>( in ReplicateCluster()
Dtpu_device_propagation.cc122 llvm::isa_and_nonnull<tf_executor::LoopCondOp>(operand.getDefiningOp())) in FindDeviceFromOperands()
Doptimize.td45 def DefinedByConv2D : Constraint<CPred<"llvm::isa_and_nonnull<mlir::TF::Conv2DOp>($0.getDefiningOp(…
Dtpu_sharding_identification_pass.cc225 if (llvm::isa_and_nonnull<TF::IdentityOp, TF::CastOp>(def)) { in GetXlaShardingFromRetval()
/external/llvm-project/llvm/unittests/Support/
DCasting.cpp121 TEST(CastingTest, isa_and_nonnull) { in TEST() argument
122 EXPECT_TRUE(isa_and_nonnull<foo>(B2)); in TEST()
123 EXPECT_TRUE(isa_and_nonnull<foo>(B4)); in TEST()
124 EXPECT_FALSE(isa_and_nonnull<foo>(fub())); in TEST()
/external/llvm-project/clang/test/Analysis/Inputs/
Dllvm.h30 inline bool isa_and_nonnull(const Y &Val) { in isa_and_nonnull() function
/external/llvm-project/clang-tools-extra/docs/clang-tidy/checks/
Dllvm-prefer-isa-or-dyn-cast-in-conditionals.rst29 if (isa_and_nonnull<T>(var.foo())) {}
/external/llvm-project/clang/include/clang/Basic/
DLLVM.h57 using llvm::isa_and_nonnull;
/external/llvm-project/mlir/lib/Conversion/SCFToGPU/
DSCFToGPU.cpp444 !isa_and_nonnull<ConstantOp>(lowerBound.getDefiningOp())) in processParallelLoop()
448 !isa_and_nonnull<ConstantOp>(step.getDefiningOp())) in processParallelLoop()
454 isa_and_nonnull<ConstantOp>(upperBound.getDefiningOp()); in processParallelLoop()
/external/llvm-project/mlir/include/mlir/Support/
DLLVM.h87 using llvm::isa_and_nonnull;
/external/llvm-project/llvm/lib/Target/X86/
DX86Subtarget.cpp93 if (isa_and_nonnull<Function>(GV)) in classifyLocalReference()
/external/llvm-project/llvm/unittests/IR/
DDebugInfoTest.cpp222 EXPECT_TRUE(isa_and_nonnull<DICompositeType>(ArrayType)); in TEST()
/external/llvm-project/clang-tools-extra/clangd/unittests/
DSelectionTests.cpp53 if (llvm::isa_and_nonnull<TranslationUnitDecl>(N->ASTNode.get<Decl>())) in nodeRange()
/external/llvm-project/mlir/lib/Dialect/PDL/IR/
DPDL.cpp336 if (!isa_and_nonnull<PDLDialect>(op->getDialect())) { in verify()
/external/tensorflow/tensorflow/compiler/mlir/lite/transforms/
Doptimize.cc411 if (!isa_and_nonnull<FullyConnectedOp>(input)) return failure(); in matchAndRewrite()
841 if (!isa_and_nonnull<TFL::Conv2DOp, TFL::DepthwiseConv2DOp, in CanFuseAffineOp()
/external/llvm-project/clang/lib/StaticAnalyzer/Core/
DExprEngineCallAndReturn.cpp329 if (llvm::isa_and_nonnull<CXXNewExpr>(CE)) { in processCallExit()
744 if (llvm::isa_and_nonnull<NewAllocatedObjectConstructionContext>(CC) && in mayInlineCallKind()
/external/llvm-project/mlir/lib/Dialect/Linalg/Transforms/
DPromotion.cpp375 auto sv = isa_and_nonnull<SubViewOp>(en.value().getDefiningOp()); in promoteSubviewsPrecondition()
/external/llvm-project/mlir/lib/Transforms/Utils/
DUtils.cpp334 if (isa_and_nonnull<AffineApplyOp>(operand.getDefiningOp())) in createAffineComputationSlice()
/external/llvm-project/clang-tools-extra/clangd/
DDumpAST.cpp214 if (!ND || llvm::isa_and_nonnull<CXXConstructorDecl>(ND->getAsFunction()) || in getDetail()
/external/llvm-project/llvm/lib/Frontend/OpenMP/
DOMPIRBuilder.cpp1230 if (!isa_and_nonnull<BranchInst>(SplitPos)) in EmitOMPInlinedRegion()
1279 if (!isa_and_nonnull<BranchInst>(SplitPos)) in EmitOMPInlinedRegion()
1377 if (isa_and_nonnull<BranchInst>(OMP_Entry->getTerminator())) { in createCopyinClauseBlocks()
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Support/
DCasting.h150 LLVM_NODISCARD inline bool isa_and_nonnull(const Y &Val) {
/external/llvm-project/llvm/include/llvm/Support/
DCasting.h155 LLVM_NODISCARD inline bool isa_and_nonnull(const Y &Val) {
/external/llvm-project/llvm/lib/Target/X86/MCTargetDesc/
DX86AsmBackend.cpp497 for (; isa_and_nonnull<MCDataFragment>(F); F = F->getPrevNode()) in isRightAfterData()
666 if (isa_and_nonnull<MCDataFragment>(CF)) in emitInstructionEnd()

123