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.cpp379 PrefixKind emitPrefixImpl(unsigned &CurOp, const MCInst &MI,
514 unsigned CurOp = X86II::getOperandBias(Desc); in isPCRel32Branch() local
515 const MCOperand &Op = MI.getOperand(CurOp); in isPCRel32Branch()
893 PrefixKind X86MCCodeEmitter::emitPrefixImpl(unsigned &CurOp, const MCInst &MI, in emitPrefixImpl() argument
901 MemoryOperand += CurOp; in emitPrefixImpl()
925 CurOp += 3; // Consume operands. in emitPrefixImpl()
932 CurOp += 2; // Consume operands. in emitPrefixImpl()
936 ++CurOp; // Consume operand. in emitPrefixImpl()
1072 unsigned CurOp = X86II::getOperandBias(Desc); in emitVEXOpcodePrefix() local
1080 Prefix.setRR2(MI, CurOp++); in emitVEXOpcodePrefix()
[all …]
H A DX86ATTInstPrinter.cpp199 unsigned CurOp = (Desc.TSFlags & X86II::EVEX_K) ? 3 : 2; in printVecCompareInstr() local
207 printwordmem(MI, CurOp--, OS); in printVecCompareInstr()
209 printqwordmem(MI, CurOp--, OS); in printVecCompareInstr()
211 printdwordmem(MI, CurOp--, OS); in printVecCompareInstr()
230 printwordmem(MI, CurOp--, OS); in printVecCompareInstr()
232 printdwordmem(MI, CurOp--, OS); in printVecCompareInstr()
235 printqwordmem(MI, CurOp--, OS); in printVecCompareInstr()
237 printzmmwordmem(MI, CurOp--, OS); in printVecCompareInstr()
239 printymmwordmem(MI, CurOp--, OS); in printVecCompareInstr()
241 printxmmwordmem(MI, CurOp--, OS); in printVecCompareInstr()
[all …]
H A DX86IntelInstPrinter.cpp162 unsigned CurOp = 0; in printVecCompareInstr() local
163 printOperand(MI, CurOp++, OS); in printVecCompareInstr()
168 printOperand(MI, CurOp++, OS); in printVecCompareInstr()
172 printOperand(MI, CurOp++, OS); in printVecCompareInstr()
181 printwordmem(MI, CurOp++, OS); in printVecCompareInstr()
183 printqwordmem(MI, CurOp++, OS); in printVecCompareInstr()
185 printdwordmem(MI, CurOp++, OS); in printVecCompareInstr()
204 printwordmem(MI, CurOp++, OS); in printVecCompareInstr()
206 printdwordmem(MI, CurOp++, OS); in printVecCompareInstr()
209 printqwordmem(MI, CurOp++, OS); in printVecCompareInstr()
[all …]
H A DX86AsmBackend.cpp252 unsigned CurOp = X86II::getOperandBias(Desc); in isRIPRelative() local
256 unsigned BaseRegNum = MemoryOperand + CurOp + X86::AddrBaseReg; in isRIPRelative()
/freebsd/contrib/llvm-project/llvm/lib/Target/RISCV/
H A DRISCVISelDAGToDAG.cpp243 SDNode *Node, unsigned Log2SEW, const SDLoc &DL, unsigned CurOp, in addVectorLoadStoreOperands() argument
248 Operands.push_back(Node->getOperand(CurOp++)); // Base pointer. in addVectorLoadStoreOperands()
251 Operands.push_back(Node->getOperand(CurOp++)); // Index. in addVectorLoadStoreOperands()
257 SDValue Mask = Node->getOperand(CurOp++); in addVectorLoadStoreOperands()
261 selectVLOp(Node->getOperand(CurOp++), VL); in addVectorLoadStoreOperands()
274 Policy = Node->getConstantOperandVal(CurOp++); in addVectorLoadStoreOperands()
289 unsigned CurOp = 2; in selectVLSEG() local
292 Operands.push_back(Node->getOperand(CurOp++)); in selectVLSEG()
294 addVectorLoadStoreOperands(Node, Log2SEW, DL, CurOp, IsMasked, IsStrided, in selectVLSEG()
318 unsigned CurOp = 2; in selectVLSEGFF() local
[all …]
H A DRISCVISelDAGToDAG.h160 const SDLoc &DL, unsigned CurOp,
/freebsd/contrib/llvm-project/llvm/utils/TableGen/
H A DCompressInstEmitter.cpp669 StringRef CurOp; in emitCompressInstEmitter() local
703 CurOp = Source.TheDef->getName(); in emitCompressInstEmitter()
705 if (CurOp != PrevOp) { in emitCompressInstEmitter()
708 CaseStream.indent(4) << "case " + TargetName + "::" + CurOp + ": {\n"; in emitCompressInstEmitter()
890 PrevOp = CurOp; in emitCompressInstEmitter()
894 Func.indent(4) << "} // case " << CurOp << "\n"; in emitCompressInstEmitter()
H A DDAGISelMatcherGen.cpp586 unsigned CurOp = NextRecordedOperandNo; in EmitMatcherCode() local
588 NamedComplexPatternOperands[Child.getName()] = CurOp + 1; in EmitMatcherCode()
589 CurOp += Child.getNumMIResults(CGP); in EmitMatcherCode()
/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DCGDecl.cpp1065 llvm::Constant *CurOp; in constStructWithPadding() local
1067 CurOp = llvm::Constant::getNullValue(STy->getElementType(i)); in constStructWithPadding()
1069 CurOp = cast<llvm::Constant>(constant->getAggregateElement(i)); in constStructWithPadding()
1070 auto *NewOp = constWithPadding(CGM, isPattern, CurOp); in constStructWithPadding()
1071 if (CurOp != NewOp) in constStructWithPadding()
1074 SizeSoFar = CurOff + DL.getTypeAllocSize(CurOp->getType()); in constStructWithPadding()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/
H A DSelectionDAGISel.cpp2284 unsigned CurOp = InlineAsm::Op_FirstOperand; in SelectInlineAsmMemoryOperands() local
2285 Flags = InlineAsm::Flag(Ops[CurOp]->getAsZExtVal()); in SelectInlineAsmMemoryOperands()
2287 CurOp += Flags.getNumOperandRegisters() + 1; in SelectInlineAsmMemoryOperands()
2288 Flags = InlineAsm::Flag(Ops[CurOp]->getAsZExtVal()); in SelectInlineAsmMemoryOperands()
H A DSelectionDAGBuilder.cpp9874 unsigned CurOp = InlineAsm::Op_FirstOperand; in findMatchingInlineAsmOperand() local
9877 unsigned OpFlag = AsmNodeOperands[CurOp]->getAsZExtVal(); in findMatchingInlineAsmOperand()
9882 CurOp += F.getNumOperandRegisters() + 1; in findMatchingInlineAsmOperand()
9884 return CurOp; in findMatchingInlineAsmOperand()
10180 auto CurOp = findMatchingInlineAsmOperand(OpInfo.getMatchedOperand(), in visitInlineAsm() local
10182 InlineAsm::Flag Flag(AsmNodeOperands[CurOp]->getAsZExtVal()); in visitInlineAsm()
10196 auto *R = cast<RegisterSDNode>(AsmNodeOperands[CurOp+1]); in visitInlineAsm()
10226 AsmNodeOperands.push_back(AsmNodeOperands[CurOp+1]); in visitInlineAsm()
/freebsd/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86ISelLowering.cpp37019 unsigned CurOp = 0; in emitEHSjLjSetJmp() local
37021 Register DstReg = MI.getOperand(CurOp++).getReg(); in emitEHSjLjSetJmp()
37028 MemOpndSlot = CurOp; in emitEHSjLjSetJmp()
38234 unsigned CurOp = 0; in EmitInstrWithCustomInserter() local
38236 MIB.addReg(TMMImmToTMMReg(MI.getOperand(CurOp++).getImm()), in EmitInstrWithCustomInserter()
38239 MIB.add(MI.getOperand(CurOp++)); // base in EmitInstrWithCustomInserter()
38240 MIB.add(MI.getOperand(CurOp++)); // scale in EmitInstrWithCustomInserter()
38241 MIB.add(MI.getOperand(CurOp++)); // index -- stride in EmitInstrWithCustomInserter()
38242 MIB.add(MI.getOperand(CurOp++)); // displacement in EmitInstrWithCustomInserter()
38243 MIB.add(MI.getOperand(CurOp++)); // segment in EmitInstrWithCustomInserter()
[all …]