Home
last modified time | relevance | path

Searched refs:OpN (Results 1 – 10 of 10) sorted by relevance

/llvm-project-15.0.7/llvm/lib/CodeGen/SelectionDAG/
H A DScheduleDAGFast.cpp695 SDNode *OpN = Op.getNode(); in ScheduleNode() local
699 GluedOpN = OpN; in ScheduleNode()
700 assert(OpN->getNodeId() != 0 && "Glue operand not ready?"); in ScheduleNode()
701 OpN->setNodeId(0); in ScheduleNode()
702 ScheduleNode(OpN); in ScheduleNode()
706 if (OpN == GluedOpN) in ScheduleNode()
710 DenseMap<SDNode*, SDNode*>::iterator DI = GluedMap.find(OpN); in ScheduleNode()
713 OpN = DI->second; in ScheduleNode()
715 unsigned Degree = OpN->getNodeId(); in ScheduleNode()
717 OpN->setNodeId(--Degree); in ScheduleNode()
[all …]
H A DScheduleDAGSDNodes.cpp473 SDNode *OpN = N->getOperand(i).getNode(); in AddSchedEdges() local
475 if (isPassiveNode(OpN)) continue; // Not scheduled. in AddSchedEdges()
476 SUnit *OpSU = &SUnits[OpN->getNodeId()]; in AddSchedEdges()
488 CheckForPhysRegDependency(OpN, N, i, TRI, TII, PhysReg, Cost); in AddSchedEdges()
502 if(isChain && OpN->getOpcode() == ISD::TokenFactor) in AddSchedEdges()
509 computeOperandLatency(OpN, N, i, Dep); in AddSchedEdges()
/llvm-project-15.0.7/llvm/lib/CodeGen/
H A DRDFGraph.cpp1273 for (unsigned OpN = 0; OpN < NumOps; ++OpN) { in buildStmt() local
1281 if (TOI.isPreserving(In, OpN)) { in buildStmt()
1287 if (TOI.isClobbering(In, OpN)) in buildStmt()
1289 if (TOI.isFixedReg(In, OpN)) in buildStmt()
1301 for (unsigned OpN = 0; OpN < NumOps; ++OpN) { in buildStmt() local
1318 for (unsigned OpN = 0; OpN < NumOps; ++OpN) { in buildStmt() local
1327 if (TOI.isPreserving(In, OpN)) { in buildStmt()
1333 if (TOI.isClobbering(In, OpN)) in buildStmt()
1335 if (TOI.isFixedReg(In, OpN)) in buildStmt()
1347 for (unsigned OpN = 0; OpN < NumOps; ++OpN) { in buildStmt() local
[all …]
/llvm-project-15.0.7/llvm/lib/Target/Hexagon/
H A DHexagonBitSimplify.cpp669 if (OpN == 1) { in getUsedBits()
682 if (OpN == 1) { in getUsedBits()
690 if (OpN == 1) { in getUsedBits()
700 if (OpN == 1) { in getUsedBits()
755 if (OpN == 1 || OpN == 2) { in getUsedBits()
808 if (OpN == 1) { in getUsedBits()
812 if (OpN == 2) { in getUsedBits()
860 if (OpN == 1) { in getUsedBits()
912 if (OpN == 1 || OpN == 2) { in getUsedBits()
1153 if (RegN != OpN) in isLossyShiftLeft()
[all …]
H A DHexagonISelDAGToDAGHVX.cpp641 unsigned OpN = 0; member
657 OpRef(unsigned N) : OpN(N) {} in OpRef()
713 if (OpN & Invalid) { in print()
717 if (OpN & Undef) { in print()
721 if ((OpN & Whole) != Whole) { in print()
722 assert((OpN & Whole) == LoHalf || (OpN & Whole) == HiHalf); in print()
723 if (OpN & LoHalf) in print()
1599 unsigned OpN = 0; in select() local
1605 ++OpN; in select()
1608 NumOps.insert({S, OpN}); in select()
[all …]
/llvm-project-15.0.7/mlir/test/mlir-tblgen/
H A Dpattern.mlir142 // def TestEqualArgsPattern : Pat<(OpN $a, $a), (OpO $a)>;
157 // Pat<(OpN $b, (OpP $a, $b, $c, $d, $e, $f)), (replaceWithValue $b)>;
176 // Pat<(OpN (OpN $_, $x), $x), (replaceWithValue $x)>;
188 // Pat<(OpP $a, $b, $a, $a, $b, $c), (OpN $c, $b)>;
/llvm-project-15.0.7/clang/lib/StaticAnalyzer/Core/
H A DSValBuilder.cpp473 auto OpN = operand.getAs<NonLoc>(); in evalUnaryOp() local
474 if (!OpN) in evalUnaryOp()
478 return evalMinus(*OpN); in evalUnaryOp()
480 return evalComplement(*OpN); in evalUnaryOp()
/llvm-project-15.0.7/llvm/lib/Transforms/Utils/
H A DValueMapper.cpp714 MDNode &OpN = *cast<MDNode>(Op); in visitOperands() local
715 assert(OpN.isUniqued() && in visitOperands()
717 if (G.Info.insert(std::make_pair(&OpN, Data())).second) in visitOperands()
718 return &OpN; // This is a new one. Return it. in visitOperands()
/llvm-project-15.0.7/mlir/test/lib/Dialect/Test/
H A DTestOps.td937 def OpN : TEST_Op<"op_n"> {
953 def TestEqualArgsPattern : Pat<(OpN $a, $a), (OpO $a)>;
957 Pat<(OpN $b, (OpP $a, $b, $c, $d, $e, $f)), (replaceWithValue $b)>;
960 // depth. We only bound one of the $x to the second operand of outer OpN and
962 // outer OpN). As a result, it ended up comparing wrong values in some cases.
964 Pat<(OpN (OpN $_, $x), $x), (replaceWithValue $x)>;
968 Pat<(OpP $a, $b, $a, $a, $b, $c), (OpN $c, $b)>;
/llvm-project-15.0.7/llvm/lib/Target/AArch64/
H A DAArch64InstrFormats.td4621 SDPatternOperator OpN> {
4624 [(set GPR32:$Rd, (OpN (f16 FPR16:$Rn)))]> {
4638 [(set GPR32:$Rd, (OpN FPR32:$Rn))]> {
4644 [(set GPR64:$Rd, (OpN FPR32:$Rn))]> {
4662 SDPatternOperator OpN> {
4666 [(set GPR32:$Rd, (OpN (fmul (f16 FPR16:$Rn),
4676 [(set GPR64:$Rd, (OpN (fmul (f16 FPR16:$Rn),
4685 [(set GPR32:$Rd, (OpN (fmul FPR32:$Rn,
4694 [(set GPR64:$Rd, (OpN (fmul FPR32:$Rn,
4702 [(set GPR32:$Rd, (OpN (fmul FPR64:$Rn,
[all …]