Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/
H A DScheduleDAGFast.cpp681 SDNode *OpN = Op.getNode(); in ScheduleNode() local
685 GluedOpN = OpN; in ScheduleNode()
686 assert(OpN->getNodeId() != 0 && "Glue operand not ready?"); in ScheduleNode()
687 OpN->setNodeId(0); in ScheduleNode()
688 ScheduleNode(OpN); in ScheduleNode()
692 if (OpN == GluedOpN) in ScheduleNode()
696 DenseMap<SDNode*, SDNode*>::iterator DI = GluedMap.find(OpN); in ScheduleNode()
699 OpN = DI->second; in ScheduleNode()
701 unsigned Degree = OpN->getNodeId(); in ScheduleNode()
703 OpN->setNodeId(--Degree); in ScheduleNode()
[all …]
H A DMatchContext.h31 bool match(SDValue OpN, unsigned Opcode) const { in match() argument
32 return Opcode == OpN->getOpcode(); in match()
H A DScheduleDAGSDNodes.cpp478 SDNode *OpN = N->getOperand(i).getNode(); in AddSchedEdges() local
480 if (isPassiveNode(OpN)) continue; // Not scheduled. in AddSchedEdges()
481 SUnit *OpSU = &SUnits[OpN->getNodeId()]; in AddSchedEdges()
494 CheckForPhysRegDependency(OpN, N, i, TRI, TII, TLI, PhysReg, Cost); in AddSchedEdges()
507 if(isChain && OpN->getOpcode() == ISD::TokenFactor) in AddSchedEdges()
514 computeOperandLatency(OpN, N, i, Dep); in AddSchedEdges()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/
H A DRDFGraph.cpp1289 for (unsigned OpN = 0; OpN < NumOps; ++OpN) { in buildStmt() local
1290 MachineOperand &Op = In.getOperand(OpN); in buildStmt()
1297 if (TOI.isPreserving(In, OpN)) { in buildStmt()
1303 if (TOI.isClobbering(In, OpN)) in buildStmt()
1305 if (TOI.isFixedReg(In, OpN)) in buildStmt()
1317 for (unsigned OpN = 0; OpN < NumOps; ++OpN) { in buildStmt() local
1318 MachineOperand &Op = In.getOperand(OpN); in buildStmt()
1336 for (unsigned OpN = 0; OpN < NumOps; ++OpN) { in buildStmt() local
1337 MachineOperand &Op = In.getOperand(OpN); in buildStmt()
1345 if (TOI.isPreserving(In, OpN)) { in buildStmt()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Vectorize/SandboxVectorizer/
H A DDependencyGraph.cpp260 auto *OpN = getNode(OpI); in setDefUseUnscheduledSuccs() local
261 if (OpN == nullptr) in setDefUseUnscheduledSuccs()
263 ++OpN->UnscheduledSuccs; in setDefUseUnscheduledSuccs()
290 auto *OpN = getNode(OpI); in setDefUseUnscheduledSuccs() local
291 if (OpN == nullptr) in setDefUseUnscheduledSuccs()
295 ++OpN->UnscheduledSuccs; in setDefUseUnscheduledSuccs()
/freebsd/contrib/llvm-project/llvm/lib/Target/Hexagon/
H A DHexagonBitSimplify.cpp229 static bool getUsedBits(unsigned Opc, unsigned OpN, BitVector &Bits,
629 bool HexagonBitSimplify::getUsedBits(unsigned Opc, unsigned OpN, in getUsedBits() argument
635 if (OpN == D.getNumOperands()-1) in getUsedBits()
647 if (OpN == 1) { in getUsedBits()
660 if (OpN == 1) { in getUsedBits()
668 if (OpN == 1) { in getUsedBits()
678 if (OpN == 1) { in getUsedBits()
733 if (OpN == 1 || OpN == 2) { in getUsedBits()
786 if (OpN == 1) { in getUsedBits()
790 if (OpN == 2) { in getUsedBits()
[all …]
H A DHexagonISelDAGToDAGHVX.cpp620 bool isValid() const { return isValue() || !(OpN & Invalid); } in isValid()
621 bool isUndef() const { return OpN & Undef; } in isUndef()
627 return OpRef(R.OpN & (Undef | Index | LoHalf)); in lo()
631 return OpRef(R.OpN & (Undef | Index | HiHalf)); in hi()
643 unsigned OpN = 0; member
659 OpRef(unsigned N) : OpN(N) {} in OpRef()
715 if (OpN & Invalid) { in print()
719 if (OpN & Undef) { in print()
723 if ((OpN & Whole) != Whole) { in print()
724 assert((OpN & Whole) == LoHalf || (OpN & Whole) == HiHalf); in print()
[all …]
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/
H A DSValBuilder.cpp483 auto OpN = operand.getAs<NonLoc>(); in evalUnaryOp() local
484 if (!OpN) in evalUnaryOp()
488 return evalMinus(*OpN); in evalUnaryOp()
490 return evalComplement(*OpN); in evalUnaryOp()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DValueMapper.cpp772 MDNode &OpN = *cast<MDNode>(Op); in visitOperands() local
773 assert(OpN.isUniqued() && in visitOperands()
775 if (G.Info.try_emplace(&OpN).second) in visitOperands()
776 return &OpN; // This is a new one. Return it. in visitOperands()
/freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/
H A DAArch64InstrFormats.td5246 SDPatternOperator OpN> {
5249 [(set GPR32:$Rd, (OpN (f16 FPR16:$Rn)))]> {
5256 [(set GPR64:$Rd, (OpN (f16 FPR16:$Rn)))]> {
5263 [(set GPR32:$Rd, (OpN FPR32:$Rn))]> {
5269 [(set GPR64:$Rd, (OpN FPR32:$Rn))]> {
5275 [(set GPR32:$Rd, (OpN (f64 FPR64:$Rn)))]> {
5281 [(set GPR64:$Rd, (OpN (f64 FPR64:$Rn)))]> {
5313 SDPatternOperator OpN> {
5317 [(set GPR32:$Rd, (OpN (fmul (f16 FPR16:$Rn),
5327 [(set GPR64:$Rd, (OpN (fmul (f16 FPR16:$Rn),
[all …]