HomeSort by relevance Sort by last modified time
    Searched refs:OpIdx (Results 1 - 25 of 38) sorted by null

1 2

  /external/llvm/lib/Target/AArch64/MCTargetDesc/
AArch64MCCodeEmitter.cpp 61 uint32_t getLdStUImm12OpValue(const MCInst &MI, unsigned OpIdx,
67 uint32_t getAdrLabelOpValue(const MCInst &MI, unsigned OpIdx,
73 uint32_t getAddSubImmOpValue(const MCInst &MI, unsigned OpIdx,
79 uint32_t getCondBranchTargetOpValue(const MCInst &MI, unsigned OpIdx,
85 uint32_t getLoadLiteralOpValue(const MCInst &MI, unsigned OpIdx,
92 uint32_t getMemExtendOpValue(const MCInst &MI, unsigned OpIdx,
98 uint32_t getTestBranchTargetOpValue(const MCInst &MI, unsigned OpIdx,
104 uint32_t getBranchTargetOpValue(const MCInst &MI, unsigned OpIdx,
110 uint32_t getMoveWideImmOpValue(const MCInst &MI, unsigned OpIdx,
115 uint32_t getVecShifterOpValue(const MCInst &MI, unsigned OpIdx,
    [all...]
  /external/llvm/lib/Target/ARM/MCTargetDesc/
ARMMCCodeEmitter.cpp 81 uint32_t getHiLo16ImmOpValue(const MCInst &MI, unsigned OpIdx,
85 bool EncodeAddrModeOpValues(const MCInst &MI, unsigned OpIdx,
92 uint32_t getThumbBLTargetOpValue(const MCInst &MI, unsigned OpIdx,
98 uint32_t getThumbBLXTargetOpValue(const MCInst &MI, unsigned OpIdx,
103 uint32_t getThumbBRTargetOpValue(const MCInst &MI, unsigned OpIdx,
108 uint32_t getThumbBCCTargetOpValue(const MCInst &MI, unsigned OpIdx,
113 uint32_t getThumbCBTargetOpValue(const MCInst &MI, unsigned OpIdx,
119 uint32_t getBranchTargetOpValue(const MCInst &MI, unsigned OpIdx,
125 uint32_t getUnconditionalBranchTargetOpValue(const MCInst &MI, unsigned OpIdx,
131 uint32_t getARMBranchTargetOpValue(const MCInst &MI, unsigned OpIdx,
    [all...]
  /external/llvm/lib/Target/AArch64/
AArch64AddressTypePromotion.cpp 207 static bool shouldSExtOperand(const Instruction *Inst, int OpIdx) {
208 if (isa<SelectInst>(Inst) && OpIdx == 0)
312 for (int OpIdx = 0, EndOpIdx = Inst->getNumOperands(); OpIdx != EndOpIdx;
313 ++OpIdx) {
314 DEBUG(dbgs() << "Operand:\n" << *(Inst->getOperand(OpIdx)) << '\n');
315 if (Inst->getOperand(OpIdx)->getType() == SExt->getType() ||
316 !shouldSExtOperand(Inst, OpIdx)) {
321 Value *Opnd = Inst->getOperand(OpIdx);
324 Inst->setOperand(OpIdx, ConstantInt::getSigned(SExt->getType()
    [all...]
AArch64PromoteConstant.cpp 234 /// Check if the given use (Instruction + OpIdx) of Cst should be converted into
240 unsigned OpIdx) {
243 if (isa<const ShuffleVectorInst>(Instr) && OpIdx == 2)
247 if (isa<const ExtractValueInst>(Instr) && OpIdx > 0)
251 if (isa<const InsertValueInst>(Instr) && OpIdx > 1)
254 if (isa<const AllocaInst>(Instr) && OpIdx > 0)
258 if (isa<const LoadInst>(Instr) && OpIdx > 0)
262 if (isa<const StoreInst>(Instr) && OpIdx > 1)
266 if (isa<const GetElementPtrInst>(Instr) && OpIdx > 0)
432 DEBUG(dbgs() << "Considered use, opidx " << Use.getOperandNo() << ":\n")
    [all...]
  /external/llvm/utils/TableGen/
CodeEmitterGen.cpp 87 unsigned OpIdx;
88 if (CGI.Operands.hasOperandNamed(VarName, OpIdx)) {
90 OpIdx = CGI.Operands[OpIdx].MIOperandNo;
91 assert(!CGI.Operands.isFlatOperandNotEmitted(OpIdx) &&
114 OpIdx = NumberedOp++;
117 std::pair<unsigned, unsigned> SO = CGI.Operands.getSubOperandNumber(OpIdx);
128 " op = " + EncoderMethodName + "(MI, " + utostr(OpIdx);
134 " op = getMachineOpValue(MI, MI.getOperand(" + utostr(OpIdx) + ")";
193 unsigned OpIdx;
    [all...]
CodeGenInstruction.cpp 137 unsigned OpIdx;
138 if (hasOperandNamed(Name, OpIdx)) return OpIdx;
144 /// given name. If so, return true and set OpIdx to the index of the
146 bool CGIOperandList::hasOperandNamed(StringRef Name, unsigned &OpIdx) const {
150 OpIdx = i;
173 unsigned OpIdx = getOperandNamed(OpName);
177 if (OperandList[OpIdx].MINumOperands > 1 && !AllowWholeOp &&
183 return std::make_pair(OpIdx, 0U);
187 DagInit *MIOpInfo = OperandList[OpIdx].MIOperandInfo
    [all...]
AsmWriterEmitter.cpp 647 void addOperand(StringRef Op, int OpIdx, int PrintMethodIdx = -1) {
648 assert(OpIdx >= 0 && OpIdx < 0xFE && "Idx out of range");
651 OpMap[Op] = std::make_pair(OpIdx, PrintMethodIdx);
    [all...]
  /external/llvm/lib/Target/ARM/
ARMExpandPseudoInsts.cpp 391 unsigned OpIdx = 0;
393 bool DstIsDead = MI.getOperand(OpIdx).isDead();
394 unsigned DstReg = MI.getOperand(OpIdx++).getReg();
406 MIB.addOperand(MI.getOperand(OpIdx++));
409 MIB.addOperand(MI.getOperand(OpIdx++));
410 MIB.addOperand(MI.getOperand(OpIdx++));
413 MIB.addOperand(MI.getOperand(OpIdx++));
420 SrcOpIdx = OpIdx++;
423 MIB.addOperand(MI.getOperand(OpIdx++));
424 MIB.addOperand(MI.getOperand(OpIdx++))
    [all...]
  /external/llvm/lib/CodeGen/
MachineInstr.cpp     [all...]
ExecutionDepsFix.cpp 201 bool shouldBreakDependence(MachineInstr*, unsigned OpIdx, unsigned Pref);
474 bool ExeDepsFix::shouldBreakDependence(MachineInstr *MI, unsigned OpIdx,
476 unsigned reg = MI->getOperand(OpIdx).getReg();
560 unsigned OpIdx = UndefReads.back().second;
568 if (!LiveRegSet.contains(UndefMI->getOperand(OpIdx).getReg()))
569 TII->breakPartialRegDependency(UndefMI, OpIdx, TRI);
576 OpIdx = UndefReads.back().second;
PeepholeOptimizer.cpp     [all...]
TargetInstrInfo.cpp 888 for (unsigned OpIdx = 1, EndOpIdx = MI.getNumOperands(); OpIdx != EndOpIdx;
889 OpIdx += 2) {
890 const MachineOperand &MOReg = MI.getOperand(OpIdx);
891 const MachineOperand &MOSubIdx = MI.getOperand(OpIdx + 1);
    [all...]
  /external/llvm/lib/Target/Sparc/InstPrinter/
SparcInstPrinter.h 42 void printCustomAliasOperand(const MCInst *MI, unsigned OpIdx,
  /external/llvm/include/llvm/CodeGen/
MachineInstr.h     [all...]
ScheduleDAGInstrs.h 46 /// For non-data-dependent uses, OpIdx == -1.
49 int OpIdx;
52 PhysRegSUOper(SUnit *su, int op, unsigned R): SU(su), OpIdx(op), Reg(R) {}
  /external/llvm/lib/MC/MCDisassembler/
Disassembler.cpp 172 for (unsigned OpIdx = 0, OpIdxEnd = Inst.getNumOperands(); OpIdx != OpIdxEnd;
173 ++OpIdx)
174 Latency = std::max(Latency, IID.getOperandCycle(SCClass, OpIdx));
  /external/mesa3d/src/gallium/drivers/radeon/MCTargetDesc/
R600MCCodeEmitter.cpp 63 void EmitSrc(const MCInst &MI, unsigned OpIdx, raw_ostream &OS) const;
234 void R600MCCodeEmitter::EmitSrc(const MCInst &MI, unsigned OpIdx,
236 const MCOperand &MO = MI.getOperand(OpIdx);
271 if ((!(isFlagSet(MI, OpIdx, MO_FLAG_ABS)))
272 && (isFlagSet(MI, OpIdx, MO_FLAG_NEG) ||
281 if (isFlagSet(MI, OpIdx, MO_FLAG_ABS)) {
  /external/llvm/lib/Target/R600/
R600ExpandSpecialInstrs.cpp 61 int OpIdx = TII->getOperandIdx(*OldMI, Op);
62 if (OpIdx > -1) {
63 uint64_t Val = OldMI->getOperand(OpIdx).getImm();
SIInstrInfo.h 285 void legalizeOpWithMove(MachineInstr *MI, unsigned OpIdx) const;
287 /// \brief Check if \p MO is a legal operand if it was the \p OpIdx Operand
289 bool isOperandLegal(const MachineInstr *MI, unsigned OpIdx,
  /external/llvm/lib/CodeGen/SelectionDAG/
ScheduleDAGSDNodes.h 103 unsigned OpIdx, SDep& dep) const;
ScheduleDAGSDNodes.cpp 628 unsigned OpIdx, SDep& dep) const{
636 unsigned DefIdx = Use->getOperand(OpIdx).getResNo();
639 OpIdx += TII->get(Use->getMachineOpcode()).getNumDefs();
640 int Latency = TII->getOperandLatency(InstrItins, Def, DefIdx, Use, OpIdx);
    [all...]
  /external/llvm/lib/Target/Mips/InstPrinter/
MipsInstPrinter.h 93 void printCustomAliasOperand(const MCInst *MI, unsigned OpIdx,
  /external/llvm/lib/Target/AArch64/InstPrinter/
AArch64InstPrinter.h 40 virtual void printCustomAliasOperand(const MCInst *MI, unsigned OpIdx,
170 void printCustomAliasOperand(const MCInst *MI, unsigned OpIdx,
  /external/llvm/lib/ExecutionEngine/RuntimeDyld/
RuntimeDyldChecker.cpp 254 unsigned OpIdx = OpIdxExpr.getValue();
255 if (OpIdx >= Inst.getNumOperands()) {
258 ErrMsgStream << "Invalid operand index '" << format("%i", OpIdx)
267 const MCOperand &Op = Inst.getOperand(OpIdx);
271 ErrMsgStream << "Operand '" << format("%i", OpIdx) << "' of instruction '"
    [all...]
  /external/llvm/lib/Target/X86/InstPrinter/
X86ATTInstPrinter.h 37 void printCustomAliasOperand(const MCInst *MI, unsigned OpIdx,

Completed in 1316 milliseconds

1 2