| /freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/ |
| H A D | SDPatternMatch.h | 941 Opnd_P Opnd; 945 : Opcode(Opc), Opnd(Op), Flags(Flgs) {} 952 if (!Opnd.match(Ctx, N->getOperand(EO.FirstIndex))) 964 template <typename Opnd> 965 inline UnaryOpc_match<Opnd> m_UnaryOp(unsigned Opc, const Opnd &Op) { 966 return UnaryOpc_match<Opnd>(Opc, Op); 968 template <typename Opnd> 969 inline UnaryOpc_match<Opnd, true> m_ChainedUnaryOp(unsigned Opc, 970 const Opnd &Op) { 971 return UnaryOpc_match<Opnd, true>(Opc, Op); [all …]
|
| /freebsd/contrib/llvm-project/llvm/lib/MC/ |
| H A D | MCInstPrinter.cpp | 91 const MCOperand &Opnd = MI.getOperand(OpIdx); in matchAliasCondition() local 98 return Opnd.isImm() && Opnd.getImm() == int32_t(C.Value); in matchAliasCondition() 101 return Opnd.isReg() && Opnd.getReg() == C.Value; in matchAliasCondition() 104 return Opnd.isReg() && Opnd.getReg() == MI.getOperand(C.Value).getReg(); in matchAliasCondition() 107 return Opnd.isReg() && MRI.getRegClass(C.Value).contains(Opnd.getReg()); in matchAliasCondition() 110 return M.ValidateMCOperand(Opnd, *STI, C.Value); in matchAliasCondition()
|
| /freebsd/contrib/llvm-project/llvm/utils/TableGen/ |
| H A D | FastISelEmitter.cpp | 170 for (auto [Idx, Opnd] : enumerate(Operands)) { in emitImmediatePredicate() 171 if (!Opnd.isImm()) in emitImmediatePredicate() 174 unsigned Code = Opnd.getImmCode(); in emitImmediatePredicate() 299 for (auto [Idx, Opnd] : enumerate(Operands)) { in PrintParameters() 301 if (Opnd.isReg()) in PrintParameters() 303 else if (Opnd.isImm()) in PrintParameters() 305 else if (Opnd.isFP()) in PrintParameters() 314 for (auto [Idx, Opnd, PhyReg] : enumerate(Operands, PhyRegs)) { in PrintArguments() 321 if (Opnd.isReg()) in PrintArguments() 323 else if (Opnd.isImm()) in PrintArguments() [all …]
|
| H A D | CompressInstEmitter.cpp | 227 for (const auto &Opnd : Inst.Operands) { in addDagOperandMapping() local 228 int TiedOpIdx = Opnd.getTiedRegister(); in addDagOperandMapping() 237 for (unsigned SubOp = 0; SubOp != Opnd.MINumOperands; ++SubOp, ++OpNo) { in addDagOperandMapping() 239 const Record *OpndRec = Opnd.Rec; in addDagOperandMapping() 240 if (Opnd.MINumOperands > 1) in addDagOperandMapping() 241 OpndRec = cast<DefInit>(Opnd.MIOperandInfo->getArg(SubOp))->getDef(); in addDagOperandMapping()
|
| H A D | InstrInfoEmitter.cpp | 1098 auto &Opnd = Inst.Operands[Inst.Operands.NumDefs - 1]; in emitRecord() local 1099 DefOperands = Opnd.MIOperandNo + Opnd.MINumOperands; in emitRecord()
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/X86/ |
| H A D | X86FixupLEAs.cpp | 416 MachineOperand &Opnd = CurInst->getOperand(I); in searchALUInst() local 417 if (Opnd.isReg()) { in searchALUInst() 418 if (Opnd.getReg() == DestReg) { in searchALUInst() 419 if (Opnd.isDef() || !Opnd.isKill()) in searchALUInst() 439 if (TRI->regsOverlap(DestReg, Opnd.getReg())) in searchALUInst() 462 for (MachineOperand &Opnd : CurInst.operands()) { in checkRegUsage() 463 if (!Opnd.isReg()) in checkRegUsage() 465 Register Reg = Opnd.getReg(); in checkRegUsage() 469 if (Opnd.isDef()) in checkRegUsage() 471 else if (Opnd.isKill()) in checkRegUsage() [all …]
|
| H A D | X86FastISel.cpp | 2360 const Value *Opnd = nullptr; in X86SelectSelect() local 2363 case CmpInst::FCMP_FALSE: Opnd = I->getOperand(2); break; in X86SelectSelect() 2364 case CmpInst::FCMP_TRUE: Opnd = I->getOperand(1); break; in X86SelectSelect() 2367 if (Opnd) { in X86SelectSelect() 2368 Register OpReg = getRegForValue(Opnd); in X86SelectSelect()
|
| /freebsd/contrib/llvm-project/llvm/lib/Transforms/ObjCARC/ |
| H A D | ObjCARC.h | 67 const auto *Opnd = Inst.getOperand(0)->stripPointerCasts(); in getreturnRVOperand() local 68 if (const auto *C = dyn_cast<CallInst>(Opnd)) in getreturnRVOperand() 70 return dyn_cast<InvokeInst>(Opnd); in getreturnRVOperand()
|
| H A D | ObjCARCOpts.cpp | 877 for (Value *Opnd : PN->incoming_values()) in isInertARCValue() 878 if (!isInertARCValue(Opnd, VisitedPhis)) in isInertARCValue()
|
| /freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/ |
| H A D | ConstantHoisting.cpp | 175 Value *Opnd = Inst->getOperand(Idx); in findMatInsertPt() local 176 if (auto CastInst = dyn_cast<Instruction>(Opnd)) in findMatInsertPt() 454 Value *Opnd = Inst->getOperand(Idx); in collectConstantCandidates() local 457 if (auto ConstInt = dyn_cast<ConstantInt>(Opnd)) { in collectConstantCandidates() 463 if (auto CastInst = dyn_cast<Instruction>(Opnd)) { in collectConstantCandidates() 478 if (auto ConstExpr = dyn_cast<ConstantExpr>(Opnd)) { in collectConstantCandidates() 756 Value *Opnd = Adj->User.Inst->getOperand(Adj->User.OpndIdx); in emitBaseConstants() local 759 if (isa<ConstantInt>(Opnd)) { in emitBaseConstants() 768 if (auto CastInst = dyn_cast<Instruction>(Opnd)) { in emitBaseConstants() 790 if (auto ConstExpr = dyn_cast<ConstantExpr>(Opnd)) { in emitBaseConstants()
|
| H A D | Reassociate.cpp | 1238 static Value *createAndInstr(BasicBlock::iterator InsertBefore, Value *Opnd, in createAndInstr() argument 1244 return Opnd; in createAndInstr() 1247 Opnd, ConstantInt::get(Opnd->getType(), ConstOpnd), "and.ra", in createAndInstr()
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/BPF/ |
| H A D | BPFMISimplifyPatchable.cpp | 166 const MachineOperand &Opnd = DefInst->getOperand(0); in checkADDrr() local 167 if (Opnd.isReg() && Opnd.getReg() == MO.getReg()) in checkADDrr()
|
| /freebsd/contrib/llvm-project/llvm/lib/CodeGen/ |
| H A D | GlobalMergeFunctions.cpp | 473 auto *Opnd = cast<Constant>(Inst->getOperand(OpndIndex)); in merge() local 474 Params.push_back(Opnd); in merge() 475 ParamTypes.push_back(Opnd->getType()); in merge()
|
| H A D | CodeGenPrepare.cpp | 3451 TruncBuilder(Instruction *Opnd, Type *Ty) : TypePromotionAction(Opnd) { in TruncBuilder() argument 3452 IRBuilder<> Builder(Opnd); in TruncBuilder() 3454 Val = Builder.CreateTrunc(Opnd, Ty, "promoted"); in TruncBuilder() 3477 SExtBuilder(Instruction *InsertPt, Value *Opnd, Type *Ty) in SExtBuilder() argument 3480 Val = Builder.CreateSExt(Opnd, Ty, "promoted"); in SExtBuilder() 3503 ZExtBuilder(Instruction *InsertPt, Value *Opnd, Type *Ty) in ZExtBuilder() argument 3507 Val = Builder.CreateZExt(Opnd, Ty, "promoted"); in ZExtBuilder() 3693 Value *createTrunc(Instruction *Opnd, Type *Ty); 3696 Value *createSExt(Instruction *Inst, Value *Opnd, Type *Ty); 3699 Value *createZExt(Instruction *Inst, Value *Opnd, Type *Ty); [all …]
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/Mips/AsmParser/ |
| H A D | MipsAsmParser.cpp | 1957 MCOperand Opnd; in processInstruction() local 1970 Opnd = Inst.getOperand(1); in processInstruction() 1971 if (!Opnd.isImm()) in processInstruction() 1973 Imm = Opnd.getImm(); in processInstruction() 1987 Opnd = Inst.getOperand(2); in processInstruction() 1988 if (!Opnd.isImm()) in processInstruction() 1990 Imm = Opnd.getImm(); in processInstruction() 2157 MCOperand Opnd; in processInstruction() local 2164 Opnd = Inst.getOperand(0); in processInstruction() 2165 if (!Opnd.isImm()) in processInstruction() [all …]
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/M68k/ |
| H A D | M68kInstrArithmetic.td | 1027 class MxFUnary_FF<MxOpBundle Opnd, string rounding, 1029 : MxFArithBase_FF<(outs Opnd.Op:$dst), (ins Opnd.Op:$src), 1070 class MxFBinary_FF<MxOpBundle Opnd, string rounding, 1072 : MxFArithBase_FF<(outs Opnd.Op:$dst), (ins Opnd.Op:$src, Opnd.Op:$opd),
|
| H A D | M68kISelDAGToDAG.cpp | 998 auto addKind = [this](SDValue &Opnd, AMK Kind) -> bool { in SelectInlineAsmMemoryOperand() argument 999 Opnd = CurDAG->getTargetConstant(unsigned(Kind), SDLoc(), MVT::i32); in SelectInlineAsmMemoryOperand()
|
| H A D | M68kInstrData.td | 743 MxOpBundle Opnd = !cast<MxOpBundle>("MxOp"#size#"AddrMode_fpr")> 744 : MxFMove<"x", (outs Opnd.Op:$dst), (ins Opnd.Op:$src),
|
| /freebsd/contrib/llvm-project/llvm/utils/TableGen/Common/ |
| H A D | CodeGenInstruction.cpp | 214 for (const auto &[Index, Opnd] : enumerate(OperandList)) in findOperandNamed() 215 if (Opnd.Name == Name) in findOperandNamed()
|
| /freebsd/contrib/llvm-project/llvm/lib/Transforms/InstCombine/ |
| H A D | InstCombineAddSub.cpp | 616 for (const FAddend *Opnd : Opnds) { in createNaryFAdd() local 618 Value *V = createAddendVal(*Opnd, NeedNeg); in createNaryFAdd() 696 for (const FAddend *Opnd : Opnds) { in calcInstrNumber() local 697 if (Opnd->isConstant()) in calcInstrNumber() 702 if (isa<UndefValue>(Opnd->getSymVal())) in calcInstrNumber() 705 const FAddendCoef &CE = Opnd->getCoef(); in calcInstrNumber() 723 Value *FAddCombine::createAddendVal(const FAddend &Opnd, bool &NeedNeg) { in createAddendVal() argument 724 const FAddendCoef &Coeff = Opnd.getCoef(); in createAddendVal() 726 if (Opnd.isConstant()) { in createAddendVal() 731 Value *OpndVal = Opnd.getSymVal(); in createAddendVal()
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/Disassembler/ |
| H A D | AMDGPUDisassembler.cpp | 76 addOperand(MCInst &Inst, const MCOperand& Opnd) { in addOperand() argument 77 Inst.addOperand(Opnd); in addOperand() 78 return Opnd.isValid() ? in addOperand()
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/Mips/ |
| H A D | MipsSEISelLowering.cpp | 1366 SDValue Opnd = Op->getOperand(++OpNo), In64; in lowerDSPIntr() local 1368 if (Opnd.getValueType() == MVT::i64) in lowerDSPIntr() 1369 In64 = initAccumulator(Opnd, DL, DAG); in lowerDSPIntr() 1371 Ops.push_back(Opnd); in lowerDSPIntr()
|
| H A D | MicroMips32r6InstrInfo.td | 1787 class JumpLinkMMR6<Instruction JumpInst, DAGOperand Opnd> : 1789 PseudoInstExpansion<(JumpInst Opnd:$target)>;
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/IR/ |
| H A D | PatternMatch.h | 3073 template <typename Opnd> 3074 inline typename m_Intrinsic_Ty<Opnd>::Ty m_Deinterleave2(const Opnd &Op) {
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/ |
| H A D | AArch64FastISel.cpp | 2031 for (auto &Opnd : MI->uses()) { in selectLoad() local 2032 if (Opnd.isReg()) { in selectLoad() 2033 Reg = Opnd.getReg(); in selectLoad()
|