Home
last modified time | relevance | path

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

/external/llvm/lib/CodeGen/SelectionDAG/
DScheduleDAGFast.cpp686 SDNode *OpN = Op.getNode(); in ScheduleNode() local
690 GluedOpN = OpN; in ScheduleNode()
691 assert(OpN->getNodeId() != 0 && "Glue operand not ready?"); in ScheduleNode()
692 OpN->setNodeId(0); in ScheduleNode()
693 ScheduleNode(OpN); in ScheduleNode()
697 if (OpN == GluedOpN) in ScheduleNode()
701 DenseMap<SDNode*, SDNode*>::iterator DI = GluedMap.find(OpN); in ScheduleNode()
704 OpN = DI->second; in ScheduleNode()
706 unsigned Degree = OpN->getNodeId(); in ScheduleNode()
708 OpN->setNodeId(--Degree); in ScheduleNode()
[all …]
DScheduleDAGSDNodes.cpp456 SDNode *OpN = N->getOperand(i).getNode(); in AddSchedEdges() local
457 if (isPassiveNode(OpN)) continue; // Not scheduled. in AddSchedEdges()
458 SUnit *OpSU = &SUnits[OpN->getNodeId()]; in AddSchedEdges()
469 CheckForPhysRegDependency(OpN, N, i, TRI, TII, PhysReg, Cost); in AddSchedEdges()
483 if(isChain && OpN->getOpcode() == ISD::TokenFactor) in AddSchedEdges()
490 computeOperandLatency(OpN, N, i, Dep); in AddSchedEdges()
/external/llvm/lib/Target/Hexagon/
DHexagonBitSimplify.cpp178 static bool getUsedBits(unsigned Opc, unsigned OpN, BitVector &Bits,
574 bool HexagonBitSimplify::getUsedBits(unsigned Opc, unsigned OpN, in getUsedBits() argument
580 if (OpN == D.getNumOperands()-1) in getUsedBits()
592 if (OpN == 1) { in getUsedBits()
605 if (OpN == 1) { in getUsedBits()
613 if (OpN == 1) { in getUsedBits()
623 if (OpN == 1) { in getUsedBits()
678 if (OpN == 1 || OpN == 2) { in getUsedBits()
731 if (OpN == 1) { in getUsedBits()
735 if (OpN == 2) { in getUsedBits()
[all …]
DRDFGraph.cpp1211 for (unsigned OpN = 0; OpN < NumOps; ++OpN) { in buildStmt() local
1212 MachineOperand &Op = In.getOperand(OpN); in buildStmt()
1217 if (TOI.isPreserving(In, OpN)) in buildStmt()
1219 if (TOI.isClobbering(In, OpN)) in buildStmt()
1221 if (TOI.isFixedReg(In, OpN)) in buildStmt()
1230 for (unsigned OpN = 0; OpN < NumOps; ++OpN) { in buildStmt() local
1231 MachineOperand &Op = In.getOperand(OpN); in buildStmt()
1240 if (TOI.isPreserving(In, OpN)) in buildStmt()
1242 if (TOI.isClobbering(In, OpN)) in buildStmt()
1244 if (TOI.isFixedReg(In, OpN)) in buildStmt()
[all …]
DHexagonISelLowering.cpp2574 SDValue OpN = Op.getOperand(N); in LowerCONCAT_VECTORS() local
2576 if (VT.getSizeInBits() == 64 && OpN.getValueType().getSizeInBits() == 32) { in LowerCONCAT_VECTORS()
2578 OpN = DAG.getNode(HexagonISD::COMBINE, dl, VT, C, OpN); in LowerCONCAT_VECTORS()
2584 V = DAG.getNode(HexagonISD::INSERTRP, dl, MVT::i32, {V, OpN, Or}); in LowerCONCAT_VECTORS()
2586 V = DAG.getNode(HexagonISD::INSERTRP, dl, MVT::i64, {V, OpN, Or}); in LowerCONCAT_VECTORS()
/external/swiftshader/third_party/LLVM/lib/CodeGen/SelectionDAG/
DScheduleDAGSDNodes.cpp418 SDNode *OpN = N->getOperand(i).getNode(); in AddSchedEdges() local
419 if (isPassiveNode(OpN)) continue; // Not scheduled. in AddSchedEdges()
420 SUnit *OpSU = &SUnits[OpN->getNodeId()]; in AddSchedEdges()
431 CheckForPhysRegDependency(OpN, N, i, TRI, TII, PhysReg, Cost); in AddSchedEdges()
445 if(isChain && OpN->getOpcode() == ISD::TokenFactor) in AddSchedEdges()
451 ComputeOperandLatency(OpN, N, i, const_cast<SDep &>(dep)); in AddSchedEdges()
/external/llvm/lib/Transforms/Utils/
DValueMapper.cpp656 MDNode &OpN = *cast<MDNode>(Op); in visitOperands() local
657 assert(OpN.isUniqued() && in visitOperands()
659 if (G.Info.insert(std::make_pair(&OpN, Data())).second) in visitOperands()
660 return &OpN; // This is a new one. Return it. in visitOperands()
/external/llvm/lib/Target/AMDGPU/
DAMDGPUISelDAGToDAG.cpp1529 unsigned OpN = M->getNumOperands(); in PreprocessISelDAG() local
1532 assert(OpN < array_lengthof(NewOps)); in PreprocessISelDAG()
1533 for (unsigned Op = 0; Op != OpN; ++Op) { in PreprocessISelDAG()
1544 CurDAG->UpdateNodeOperands(M, makeArrayRef(NewOps, OpN)); in PreprocessISelDAG()
/external/llvm/lib/Target/AArch64/
DAArch64InstrFormats.td3567 SDPatternOperator OpN> {
3570 [(set GPR32:$Rd, (OpN FPR16:$Rn))]> {
3577 [(set GPR64:$Rd, (OpN FPR16:$Rn))]> {
3584 [(set GPR32:$Rd, (OpN FPR32:$Rn))]> {
3590 [(set GPR64:$Rd, (OpN FPR32:$Rn))]> {
3596 [(set GPR32:$Rd, (OpN (f64 FPR64:$Rn)))]> {
3602 [(set GPR64:$Rd, (OpN (f64 FPR64:$Rn)))]> {
3608 SDPatternOperator OpN> {
3612 [(set GPR32:$Rd, (OpN (fmul FPR16:$Rn,
3622 [(set GPR64:$Rd, (OpN (fmul FPR16:$Rn,
[all …]