Home
last modified time | relevance | path

Searched refs:CurOp (Results 1 – 12 of 12) sorted by relevance

/freebsd/contrib/llvm-project/llvm/lib/Target/X86/MCTargetDesc/
H A DX86MCCodeEmitter.cpp376 PrefixKind emitPrefixImpl(unsigned &CurOp, const MCInst &MI,
498 unsigned CurOp = X86II::getOperandBias(Desc); in isPCRel32Branch() local
499 const MCOperand &Op = MI.getOperand(CurOp); in isPCRel32Branch()
881 PrefixKind X86MCCodeEmitter::emitPrefixImpl(unsigned &CurOp, const MCInst &MI, in emitPrefixImpl() argument
889 MemoryOperand += CurOp; in emitPrefixImpl()
913 CurOp += 3; // Consume operands. in emitPrefixImpl()
920 CurOp += 2; // Consume operands. in emitPrefixImpl()
924 ++CurOp; // Consume operand. in emitPrefixImpl()
1059 unsigned CurOp = X86II::getOperandBias(Desc); in emitVEXOpcodePrefix() local
1067 Prefix.setRR2(MI, CurOp++); in emitVEXOpcodePrefix()
[all …]
H A DX86ATTInstPrinter.cpp174 unsigned CurOp = (Desc.TSFlags & X86II::EVEX_K) ? 3 : 2; in printVecCompareInstr() local
182 printwordmem(MI, CurOp--, OS); in printVecCompareInstr()
184 printqwordmem(MI, CurOp--, OS); in printVecCompareInstr()
186 printdwordmem(MI, CurOp--, OS); in printVecCompareInstr()
205 printwordmem(MI, CurOp--, OS); in printVecCompareInstr()
207 printdwordmem(MI, CurOp--, OS); in printVecCompareInstr()
211 printqwordmem(MI, CurOp--, OS); in printVecCompareInstr()
213 printzmmwordmem(MI, CurOp--, OS); in printVecCompareInstr()
215 printymmwordmem(MI, CurOp--, OS); in printVecCompareInstr()
217 printxmmwordmem(MI, CurOp--, OS); in printVecCompareInstr()
[all …]
H A DX86IntelInstPrinter.cpp153 unsigned CurOp = 0; in printVecCompareInstr() local
154 printOperand(MI, CurOp++, OS); in printVecCompareInstr()
159 printOperand(MI, CurOp++, OS); in printVecCompareInstr()
163 printOperand(MI, CurOp++, OS); in printVecCompareInstr()
172 printwordmem(MI, CurOp++, OS); in printVecCompareInstr()
174 printqwordmem(MI, CurOp++, OS); in printVecCompareInstr()
176 printdwordmem(MI, CurOp++, OS); in printVecCompareInstr()
195 printwordmem(MI, CurOp++, OS); in printVecCompareInstr()
197 printdwordmem(MI, CurOp++, OS); in printVecCompareInstr()
201 printqwordmem(MI, CurOp++, OS); in printVecCompareInstr()
[all …]
H A DX86AsmBackend.cpp260 unsigned CurOp = X86II::getOperandBias(Desc); in isRIPRelative() local
264 unsigned BaseRegNum = MemoryOperand + CurOp + X86::AddrBaseReg; in isRIPRelative()
/freebsd/contrib/llvm-project/llvm/lib/Target/RISCV/
H A DRISCVISelDAGToDAG.cpp294 SDNode *Node, unsigned Log2SEW, const SDLoc &DL, unsigned CurOp, in addVectorLoadStoreOperands() argument
300 Operands.push_back(Node->getOperand(CurOp++)); // Base pointer. in addVectorLoadStoreOperands()
303 Operands.push_back(Node->getOperand(CurOp++)); // Index. in addVectorLoadStoreOperands()
310 SDValue Mask = Node->getOperand(CurOp++); in addVectorLoadStoreOperands()
316 selectVLOp(Node->getOperand(CurOp++), VL); in addVectorLoadStoreOperands()
329 Policy = Node->getConstantOperandVal(CurOp++); in addVectorLoadStoreOperands()
347 unsigned CurOp = 2; in selectVLSEG() local
350 SmallVector<SDValue, 8> Regs(Node->op_begin() + CurOp, in selectVLSEG()
351 Node->op_begin() + CurOp + NF); in selectVLSEG()
354 CurOp += NF; in selectVLSEG()
[all …]
H A DRISCVISelDAGToDAG.h151 const SDLoc &DL, unsigned CurOp,
/freebsd/contrib/llvm-project/llvm/utils/TableGen/
H A DCompressInstEmitter.cpp635 StringRef CurOp; in emitCompressInstEmitter() local
669 CurOp = Source.TheDef->getName(); in emitCompressInstEmitter()
671 if (CurOp != PrevOp) { in emitCompressInstEmitter()
674 CaseStream.indent(4) << "case " + TargetName + "::" + CurOp + ": {\n"; in emitCompressInstEmitter()
839 PrevOp = CurOp; in emitCompressInstEmitter()
843 Func.indent(4) << "} // case " << CurOp << "\n"; in emitCompressInstEmitter()
H A DDAGISelMatcherGen.cpp590 unsigned CurOp = NextRecordedOperandNo; in EmitMatcherCode() local
592 NamedComplexPatternOperands[N.getChild(i).getName()] = CurOp + 1; in EmitMatcherCode()
593 CurOp += N.getChild(i).getNumMIResults(CGP); in EmitMatcherCode()
/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DCGDecl.cpp1073 llvm::Constant *CurOp; in constStructWithPadding() local
1075 CurOp = llvm::Constant::getNullValue(STy->getElementType(i)); in constStructWithPadding()
1077 CurOp = cast<llvm::Constant>(constant->getAggregateElement(i)); in constStructWithPadding()
1078 auto *NewOp = constWithPadding(CGM, isPattern, CurOp); in constStructWithPadding()
1079 if (CurOp != NewOp) in constStructWithPadding()
1082 SizeSoFar = CurOff + DL.getTypeAllocSize(CurOp->getType()); in constStructWithPadding()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/
H A DSelectionDAGISel.cpp2256 unsigned CurOp = InlineAsm::Op_FirstOperand; in SelectInlineAsmMemoryOperands() local
2257 Flags = InlineAsm::Flag(Ops[CurOp]->getAsZExtVal()); in SelectInlineAsmMemoryOperands()
2259 CurOp += Flags.getNumOperandRegisters() + 1; in SelectInlineAsmMemoryOperands()
2260 Flags = InlineAsm::Flag(Ops[CurOp]->getAsZExtVal()); in SelectInlineAsmMemoryOperands()
H A DSelectionDAGBuilder.cpp9709 unsigned CurOp = InlineAsm::Op_FirstOperand; in findMatchingInlineAsmOperand() local
9712 unsigned OpFlag = AsmNodeOperands[CurOp]->getAsZExtVal(); in findMatchingInlineAsmOperand()
9717 CurOp += F.getNumOperandRegisters() + 1; in findMatchingInlineAsmOperand()
9719 return CurOp; in findMatchingInlineAsmOperand()
10016 auto CurOp = findMatchingInlineAsmOperand(OpInfo.getMatchedOperand(), in visitInlineAsm() local
10018 InlineAsm::Flag Flag(AsmNodeOperands[CurOp]->getAsZExtVal()); in visitInlineAsm()
10032 auto *R = cast<RegisterSDNode>(AsmNodeOperands[CurOp+1]); in visitInlineAsm()
10062 AsmNodeOperands.push_back(AsmNodeOperands[CurOp+1]); in visitInlineAsm()
/freebsd/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86ISelLowering.cpp35800 unsigned CurOp = 0; in emitEHSjLjSetJmp() local
35802 DstReg = MI.getOperand(CurOp++).getReg(); in emitEHSjLjSetJmp()
35809 MemOpndSlot = CurOp; in emitEHSjLjSetJmp()
36969 unsigned CurOp = 0; in EmitInstrWithCustomInserter() local
36971 MIB.addReg(TMMImmToTMMReg(MI.getOperand(CurOp++).getImm()), in EmitInstrWithCustomInserter()
36974 MIB.add(MI.getOperand(CurOp++)); // base in EmitInstrWithCustomInserter()
36975 MIB.add(MI.getOperand(CurOp++)); // scale in EmitInstrWithCustomInserter()
36976 MIB.add(MI.getOperand(CurOp++)); // index -- stride in EmitInstrWithCustomInserter()
36977 MIB.add(MI.getOperand(CurOp++)); // displacement in EmitInstrWithCustomInserter()
36978 MIB.add(MI.getOperand(CurOp++)); // segment in EmitInstrWithCustomInserter()
[all …]