Home
last modified time | relevance | path

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

/external/llvm/lib/CodeGen/
DRegisterCoalescer.h42 unsigned SrcIdx; variable
61 : TRI(tri), DstReg(0), SrcReg(0), DstIdx(0), SrcIdx(0), in CoalescerPair()
68 : TRI(tri), DstReg(PhysReg), SrcReg(VirtReg), DstIdx(0), SrcIdx(0), in CoalescerPair()
109 unsigned getSrcIdx() const { return SrcIdx; } in getSrcIdx()
DTwoAddressInstructionPass.cpp133 unsigned SrcIdx, unsigned DstIdx,
1168 unsigned SrcIdx, unsigned DstIdx, in tryInstructionTransform() argument
1175 unsigned regB = MI.getOperand(SrcIdx).getReg(); in tryInstructionTransform()
1192 if (SrcIdx == SrcOp1) in tryInstructionTransform()
1194 else if (SrcIdx == SrcOp2) in tryInstructionTransform()
1376 for (unsigned SrcIdx = 0; SrcIdx < NumOps; ++SrcIdx) { in collectTiedOperands() local
1378 if (!MI->isRegTiedToDefOperand(SrcIdx, &DstIdx)) in collectTiedOperands()
1381 MachineOperand &SrcMO = MI->getOperand(SrcIdx); in collectTiedOperands()
1395 if (const TargetRegisterClass *RC = TII->getRegClass(MCID, SrcIdx, in collectTiedOperands()
1403 TiedOperands[SrcReg].push_back(std::make_pair(SrcIdx, DstIdx)); in collectTiedOperands()
[all …]
DRegisterCoalescer.cpp295 SrcIdx = DstIdx = 0; in setRegisters()
342 SrcIdx, DstIdx); in setRegisters()
347 SrcIdx = DstSub; in setRegisters()
364 if (DstIdx && !SrcIdx) { in setRegisters()
366 std::swap(SrcIdx, DstIdx); in setRegisters()
385 std::swap(SrcIdx, DstIdx); in flip()
409 assert(!DstIdx && !SrcIdx && "Inconsistent CoalescerPair state."); in isCoalescable()
423 return TRI.composeSubRegIndices(SrcIdx, SrcSub) == in isCoalescable()
859 unsigned SrcIdx = CP.isFlipped() ? CP.getDstIdx() : CP.getSrcIdx(); in reMaterializeTrivialDef() local
901 if (SrcIdx && DstIdx) in reMaterializeTrivialDef()
[all …]
DPeepholeOptimizer.cpp521 unsigned SrcIdx, DefIdx; in shareSameRegisterFile() local
524 SrcIdx, DefIdx) != nullptr; in shareSameRegisterFile()
1227 unsigned SrcIdx = Def->getNumOperands(); in getNextSourceFromBitcast() local
1228 for (unsigned OpIdx = DefIdx + 1, EndOpIdx = SrcIdx; OpIdx != EndOpIdx; in getNextSourceFromBitcast()
1234 if (SrcIdx != EndOpIdx) in getNextSourceFromBitcast()
1237 SrcIdx = OpIdx; in getNextSourceFromBitcast()
1239 const MachineOperand &Src = Def->getOperand(SrcIdx); in getNextSourceFromBitcast()
/external/llvm/lib/Target/R600/
DR600InstrInfo.h108 int getSelIdx(unsigned Opcode, unsigned SrcIdx) const;
286 MachineOperand &getFlagOp(MachineInstr *MI, unsigned SrcIdx = 0,
DR600InstrInfo.cpp269 int R600InstrInfo::getSelIdx(unsigned Opcode, unsigned SrcIdx) const { in getSelIdx()
285 if (getOperandIdx(Opcode, Row[0]) == (int)SrcIdx) { in getSelIdx()
330 int SrcIdx = getOperandIdx(MI->getOpcode(), OpTable[j][0]); in getSrcs() local
331 if (SrcIdx < 0) in getSrcs()
333 MachineOperand &MO = MI->getOperand(SrcIdx); in getSrcs()
334 unsigned Reg = MI->getOperand(SrcIdx).getReg(); in getSrcs()
1348 MachineOperand &R600InstrInfo::getFlagOp(MachineInstr *MI, unsigned SrcIdx, in getFlagOp() argument
1370 switch (SrcIdx) { in getFlagOp()
1381 switch (SrcIdx) { in getFlagOp()
DR600ISelLowering.cpp2056 FoldOperand(SDNode *ParentNode, unsigned SrcIdx, SDValue &Src, SDValue &Neg, in FoldOperand() argument
/external/llvm/lib/Transforms/InstCombine/
DInstCombineVectorOps.cpp263 int SrcIdx = SVI->getMaskValue(Elt->getZExtValue()); in visitExtractElementInst() local
268 if (SrcIdx < 0) in visitExtractElementInst()
270 if (SrcIdx < (int)LHSWidth) in visitExtractElementInst()
273 SrcIdx -= LHSWidth; in visitExtractElementInst()
279 SrcIdx, false)); in visitExtractElementInst()
/external/llvm/lib/Analysis/
DDependenceAnalysis.cpp3358 for (GEPOperator::const_op_iterator SrcIdx = SrcGEP->idx_begin(), in depends() local
3361 SrcIdx != SrcEnd; in depends()
3362 ++SrcIdx, ++DstIdx, ++P) { in depends()
3363 Pair[P].Src = SE->getSCEV(*SrcIdx); in depends()
3786 for (GEPOperator::const_op_iterator SrcIdx = SrcGEP->idx_begin(), in getSplitIteration() local
3789 SrcIdx != SrcEnd; in getSplitIteration()
3790 ++SrcIdx, ++DstIdx, ++P) { in getSplitIteration()
3791 Pair[P].Src = SE->getSCEV(*SrcIdx); in getSplitIteration()