Home
last modified time | relevance | path

Searched refs:LastOp (Results 1 – 14 of 14) sorted by relevance

/freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/GlobalISel/
H A DLegacyLegalizerInfo.h450 static const int LastOp = TargetOpcode::PRE_ISEL_GENERIC_OPCODE_END; variable
454 SmallVector<TypeMap, 1> SpecifiedActions[LastOp - FirstOp + 1];
456 ScalarSizeChangeStrategies[LastOp - FirstOp + 1];
458 VectorElementSizeChangeStrategies[LastOp - FirstOp + 1];
462 SmallVector<SizeAndActionsVec, 1> ScalarActions[LastOp - FirstOp + 1];
463 SmallVector<SizeAndActionsVec, 1> ScalarInVectorActions[LastOp - FirstOp + 1];
465 AddrSpace2PointerActions[LastOp - FirstOp + 1];
467 NumElements2Actions[LastOp - FirstOp + 1];
H A DLegalizerInfo.h1332 static const int LastOp = TargetOpcode::PRE_ISEL_GENERIC_OPCODE_END; variable
1334 LegalizeRuleSet RulesForOpcode[LastOp - FirstOp + 1];
/freebsd/contrib/llvm-project/llvm/lib/Target/X86/MCTargetDesc/
H A DX86EncodingOptimization.cpp194 MCOperand &LastOp = MI.getOperand(MI.getNumOperands() - 1); in optimizeShiftRotateWithImmediateOne() local
195 if (!LastOp.isImm() || LastOp.getImm() != 1) in optimizeShiftRotateWithImmediateOne()
198 MI.erase(&LastOp); in optimizeShiftRotateWithImmediateOne()
275 MCOperand &LastOp = MI.getOperand(MI.getNumOperands() - 1); in optimizeVPCMPWithImmediateOneOrSix() local
276 int64_t Imm = LastOp.getImm(); in optimizeVPCMPWithImmediateOneOrSix()
285 MI.erase(&LastOp); in optimizeVPCMPWithImmediateOneOrSix()
485 MCOperand &LastOp = MI.getOperand(MI.getNumOperands() - 1 - SkipOperands); in optimizeToShortImmediateForm() local
486 if (LastOp.isExpr()) { in optimizeToShortImmediateForm()
487 const MCSymbolRefExpr *SRE = dyn_cast<MCSymbolRefExpr>(LastOp.getExpr()); in optimizeToShortImmediateForm()
490 } else if (LastOp.isImm()) { in optimizeToShortImmediateForm()
[all …]
/freebsd/sys/contrib/dev/acpica/compiler/
H A Daslresource.c1133 ACPI_PARSE_OBJECT *LastOp = NULL; in RsDoResourceTemplate() local
1206 LastOp = DescriptorTypeOp; in RsDoResourceTemplate()
1212 if (LastOp) in RsDoResourceTemplate()
1214 LastOp = LastOp->Asl.Parent; in RsDoResourceTemplate()
1216 AslError (ASL_ERROR, ASL_MSG_MISSING_ENDDEPENDENT, LastOp, NULL); in RsDoResourceTemplate()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/GlobalISel/
H A DLegacyLegalizerInfo.cpp108 for (unsigned OpcodeIdx = 0; OpcodeIdx <= LastOp - FirstOp; ++OpcodeIdx) { in computeTables()
305 if (Aspect.Opcode < FirstOp || Aspect.Opcode > LastOp) in findScalarLegalAction()
336 if (Aspect.Opcode < FirstOp || Aspect.Opcode > LastOp) in findVectorLegalAction()
367 assert(Opcode >= FirstOp && Opcode <= LastOp && "Unsupported opcode");
H A DLegalizerInfo.cpp270 assert(Opcode >= FirstOp && Opcode <= LastOp && "Unsupported opcode"); in getOpcodeIdxForOpcode()
317 assert(OpcodeTo >= FirstOp && OpcodeTo <= LastOp && "Unsupported opcode"); in aliasActionDefinitions()
383 for (unsigned Opcode = FirstOp; Opcode <= LastOp; ++Opcode) { in verify()
/freebsd/contrib/llvm-project/llvm/lib/Target/PowerPC/MCTargetDesc/
H A DPPCELFStreamer.cpp205 unsigned LastOp = Inst.getNumOperands() - 1; in isPartOfGOTToPCRelPair() local
210 const MCOperand &Operand = Inst.getOperand(LastOp); in isPartOfGOTToPCRelPair()
H A DPPCInstPrinter.cpp86 unsigned LastOp = MI->getNumOperands() - 1; in printInst() local
88 const MCOperand &Operand = MI->getOperand(LastOp); in printInst()
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DR600Packetizer.cpp216 unsigned LastOp = TII->getOperandIdx(MI->getOpcode(), R600::OpName::last); in setIsLastBit() local
217 MI->getOperand(LastOp).setImm(Bit); in setIsLastBit()
/freebsd/contrib/llvm-project/llvm/lib/Target/ARM/
H A DARMLoadStoreOptimizer.cpp2345 MachineInstr *LastOp = nullptr; in RescheduleOps() local
2382 LastOp = Op; in RescheduleOps()
2400 DoMove = IsSafeAndProfitableToMove(isLd, Base, FirstOp, LastOp, in RescheduleOps()
2407 MachineBasicBlock::iterator InsertPos = isLd ? FirstOp : LastOp; in RescheduleOps()
/freebsd/contrib/llvm-project/llvm/lib/Target/ARM/AsmParser/
H A DARMAsmParser.cpp6809 const ARMOperand *LastOp = &Op5; in tryConvertingToTwoOperandForm() local
6816 LastOp = &Op4; in tryConvertingToTwoOperandForm()
6826 LastOp->isReg()) in tryConvertingToTwoOperandForm()
6831 if ((Mnemonic == "add" || Mnemonic == "sub") && LastOp->isImm0_7()) in tryConvertingToTwoOperandForm()
/freebsd/contrib/llvm-project/llvm/lib/Target/RISCV/
H A DRISCVISelLowering.cpp3577 if (SDValue LastOp = Op->getOperand(Op->getNumOperands() - 1); in lowerBuildVectorViaDominantValues() local
3578 !LastOp.isUndef() && ValueCounts[LastOp] == 1 && in lowerBuildVectorViaDominantValues()
3579 LastOp != DominantValue) { in lowerBuildVectorViaDominantValues()
3584 LastOp = DAG.getNode(ISD::ANY_EXTEND, DL, XLenVT, LastOp); in lowerBuildVectorViaDominantValues()
3586 LastOp, Mask, VL); in lowerBuildVectorViaDominantValues()
3588 Processed.insert(LastOp); in lowerBuildVectorViaDominantValues()
/freebsd/contrib/llvm-project/llvm/lib/Analysis/
H A DScalarEvolution.cpp2607 const auto *LastOp = Mul->getOperand(Mul->getNumOperands() - 1); in getAddExpr() local
2608 if (const auto *T = dyn_cast<SCEVTruncateExpr>(LastOp)) in getAddExpr()
/freebsd/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86ISelLowering.cpp43902 SDValue LastOp = N0.getOperand(N0.getNumOperands() - 1); in combineBitcast() local
43903 if (ISD::isBuildVectorAllZeros(LastOp.getNode())) { in combineBitcast()
43904 SrcVT = LastOp.getValueType(); in combineBitcast()