Home
last modified time | relevance | path

Searched refs:firstOp (Results 1 – 7 of 7) sorted by relevance

/llvm-project-15.0.7/mlir/test/mlir-pdll/CodeGen/MLIR/
H A Dexpr.pdll95 let firstOp = op<test.first>;
96 let secondOp = op<test.second>(firstOp);
97 let tuple = (firstOp, secondOp);
109 let firstOp = op<test.first>;
110 let secondOp = op<test.second>(firstOp);
111 let tuple = (first = firstOp, second = secondOp);
/llvm-project-15.0.7/mlir/lib/Dialect/Linalg/Transforms/
H A DVectorization.cpp1101 static bool mayExistInterleavedUses(Operation *firstOp, Operation *secondOp, in mayExistInterleavedUses() argument
1103 if (firstOp->getBlock() != secondOp->getBlock() || in mayExistInterleavedUses()
1104 !firstOp->isBeforeInBlock(secondOp)) { in mayExistInterleavedUses()
1106 << *firstOp << ", second op: " << *secondOp); in mayExistInterleavedUses()
1112 if (owner == firstOp || owner == secondOp) in mayExistInterleavedUses()
1115 if (owner->getBlock() == firstOp->getBlock() && in mayExistInterleavedUses()
1116 (owner->isBeforeInBlock(firstOp) || secondOp->isBeforeInBlock(owner))) in mayExistInterleavedUses()
1118 LDBG(" found interleaved op " << *owner << ", firstOp: " << *firstOp in mayExistInterleavedUses()
/llvm-project-15.0.7/mlir/lib/Dialect/OpenMP/IR/
H A DOpenMPDialect.cpp915 auto &firstOp = ops.front(); in verifyRegions() local
916 auto &secondOp = *ops.getNextNode(firstOp); in verifyRegions()
917 auto firstReadStmt = dyn_cast<AtomicReadOp>(firstOp); in verifyRegions()
918 auto firstUpdateStmt = dyn_cast<AtomicUpdateOp>(firstOp); in verifyRegions()
/llvm-project-15.0.7/llvm/lib/IR/
H A DInstructions.cpp2961 Instruction::CastOps firstOp, Instruction::CastOps secondOp, in isEliminableCastPair() argument
3021 bool IsFirstBitcast = (firstOp == Instruction::BitCast); in isEliminableCastPair()
3031 int ElimCase = CastResults[firstOp-Instruction::CastOpsBegin] in isEliminableCastPair()
3039 return firstOp; in isEliminableCastPair()
3048 return firstOp; in isEliminableCastPair()
3054 return firstOp; in isEliminableCastPair()
3102 return firstOp; in isEliminableCastPair()
3139 return firstOp; in isEliminableCastPair()
3160 return firstOp; in isEliminableCastPair()
H A DConstantFold.cpp96 Instruction::CastOps firstOp = Instruction::CastOps(Op->getOpcode()); in foldConstantCastPair() local
105 return CastInst::isEliminableCastPair(firstOp, secondOp, SrcTy, MidTy, DstTy, in foldConstantCastPair()
/llvm-project-15.0.7/mlir/lib/Bindings/Python/
H A DIRCore.cpp1606 MlirOperation firstOp = mlirBlockGetFirstOperation(block.get()); in atBlockBegin() local
1607 if (mlirOperationIsNull(firstOp)) { in atBlockBegin()
1614 block.getParentOperation()->getContext(), firstOp); in atBlockBegin()
/llvm-project-15.0.7/llvm/lib/Transforms/InstCombine/
H A DInstCombineCasts.cpp258 Instruction::CastOps firstOp = CI1->getOpcode(); in isEliminableCastPair() local
266 unsigned Res = CastInst::isEliminableCastPair(firstOp, secondOp, SrcTy, MidTy, in isEliminableCastPair()