/openbsd/gnu/llvm/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()
|
/openbsd/gnu/llvm/llvm/lib/Target/X86/ |
H A D | X86FixupLEAs.cpp | 422 if (Opnd.isReg()) { in searchALUInst() 423 if (Opnd.getReg() == DestReg) { in searchALUInst() 424 if (Opnd.isDef() || !Opnd.isKill()) in searchALUInst() 470 if (!Opnd.isReg()) in checkRegUsage() 472 Register Reg = Opnd.getReg(); in checkRegUsage() 476 if (Opnd.isDef()) in checkRegUsage() 478 else if (Opnd.isKill()) in checkRegUsage() 479 *KilledBase = &Opnd; in checkRegUsage() 482 if (Opnd.isDef()) in checkRegUsage() 484 else if (Opnd.isKill()) in checkRegUsage() [all …]
|
H A D | X86FastISel.cpp | 2355 const Value *Opnd = nullptr; in X86SelectSelect() local 2358 case CmpInst::FCMP_FALSE: Opnd = I->getOperand(2); break; in X86SelectSelect() 2359 case CmpInst::FCMP_TRUE: Opnd = I->getOperand(1); break; in X86SelectSelect() 2362 if (Opnd) { in X86SelectSelect() 2363 Register OpReg = getRegForValue(Opnd); in X86SelectSelect()
|
/openbsd/gnu/llvm/llvm/lib/Transforms/ObjCARC/ |
H A D | ObjCARC.h | 66 const auto *Opnd = Inst.getOperand(0)->stripPointerCasts(); in getreturnRVOperand() local 67 if (const auto *C = dyn_cast<CallInst>(Opnd)) in getreturnRVOperand() 69 return dyn_cast<InvokeInst>(Opnd); in getreturnRVOperand()
|
H A D | ObjCARCOpts.cpp | 876 for (Value *Opnd : PN->incoming_values()) in isInertARCValue() 877 if (!isInertARCValue(Opnd, VisitedPhis)) in isInertARCValue()
|
/openbsd/gnu/llvm/llvm/lib/Transforms/Scalar/ |
H A D | ConstantHoisting.cpp | 174 Value *Opnd = Inst->getOperand(Idx); in findMatInsertPt() local 175 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() 785 Value *Opnd = ConstUser.Inst->getOperand(ConstUser.OpndIdx); in emitBaseConstants() local 788 if (isa<ConstantInt>(Opnd)) { in emitBaseConstants() 797 if (auto CastInst = dyn_cast<Instruction>(Opnd)) { in emitBaseConstants() 819 if (auto ConstExpr = dyn_cast<ConstantExpr>(Opnd)) { in emitBaseConstants()
|
H A D | InferAddressSpaces.cpp | 239 unsigned getPredicatedAddrSpace(const Value &V, Value *Opnd) const; 873 Value *Opnd) const { in getPredicatedAddrSpace() 878 Opnd = Opnd->stripInBoundsOffsets(); in getPredicatedAddrSpace() 879 for (auto &AssumeVH : AC.assumptionsFor(Opnd)) { in getPredicatedAddrSpace()
|
H A D | Reassociate.cpp | 1285 static Value *createAndInstr(Instruction *InsertBefore, Value *Opnd, in createAndInstr() argument 1291 return Opnd; in createAndInstr() 1294 Opnd, ConstantInt::get(Opnd->getType(), ConstOpnd), "and.ra", in createAndInstr()
|
/openbsd/gnu/llvm/llvm/lib/Target/BPF/ |
H A D | BPFMISimplifyPatchable.cpp | 142 const MachineOperand &Opnd = DefInst->getOperand(0); in checkADDrr() local 143 if (Opnd.isReg() && Opnd.getReg() == MO.getReg()) in checkADDrr()
|
/openbsd/gnu/llvm/llvm/lib/CodeGen/ |
H A D | CodeGenPrepare.cpp | 2889 TruncBuilder(Instruction *Opnd, Type *Ty) : TypePromotionAction(Opnd) { in TruncBuilder() argument 2890 IRBuilder<> Builder(Opnd); in TruncBuilder() 2918 Val = Builder.CreateSExt(Opnd, Ty, "promoted"); in SExtBuilder() 2945 Val = Builder.CreateZExt(Opnd, Ty, "promoted"); in ZExtBuilder() 3122 Value *createTrunc(Instruction *Opnd, Type *Ty); 4350 if (!Opnd) in canGetThrough() 4360 else if ((IsSExt && isa<SExtInst>(Opnd)) || (!IsSExt && isa<ZExtInst>(Opnd))) in canGetThrough() 4361 OpndType = Opnd->getOperand(0)->getType(); in canGetThrough() 4505 Value *Opnd = ExtOpnd->getOperand(OpIdx); in promoteOperandForOther() local 4515 if (isa<UndefValue>(Opnd)) { in promoteOperandForOther() [all …]
|
/openbsd/gnu/llvm/llvm/lib/Target/Mips/AsmParser/ |
H A D | MipsAsmParser.cpp | 1999 MCOperand Opnd; in processInstruction() local 2013 if (!Opnd.isImm()) in processInstruction() 2030 if (!Opnd.isImm()) in processInstruction() 2210 MCOperand Opnd; in processInstruction() local 2218 if (!Opnd.isImm()) in processInstruction() 2228 if (!Opnd.isImm()) in processInstruction() 2236 if (!Opnd.isImm()) in processInstruction() 2244 if (!Opnd.isImm()) in processInstruction() 2253 if (!Opnd.isImm()) in processInstruction() 2263 if (!Opnd.isImm()) in processInstruction() [all …]
|
/openbsd/gnu/llvm/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()
|
/openbsd/gnu/llvm/llvm/lib/Target/AMDGPU/Disassembler/ |
H A D | AMDGPUDisassembler.cpp | 59 addOperand(MCInst &Inst, const MCOperand& Opnd) { in addOperand() argument 60 Inst.addOperand(Opnd); in addOperand() 61 return Opnd.isValid() ? in addOperand()
|
/openbsd/gnu/llvm/llvm/lib/Target/Mips/ |
H A D | MipsSEISelLowering.cpp | 1319 SDValue Opnd = Op->getOperand(++OpNo), In64; in lowerDSPIntr() local 1321 if (Opnd.getValueType() == MVT::i64) in lowerDSPIntr() 1322 In64 = initAccumulator(Opnd, DL, DAG); in lowerDSPIntr() 1324 Ops.push_back(Opnd); in lowerDSPIntr()
|
H A D | MicroMips32r6InstrInfo.td | 1787 class JumpLinkMMR6<Instruction JumpInst, DAGOperand Opnd> : 1789 PseudoInstExpansion<(JumpInst Opnd:$target)>;
|
H A D | MipsInstrInfo.td | 1604 class TailCall<Instruction JumpInst, DAGOperand Opnd> : 1606 PseudoInstExpansion<(JumpInst Opnd:$target)>;
|
/openbsd/gnu/llvm/llvm/lib/Target/AArch64/ |
H A D | AArch64FastISel.cpp | 2040 for (auto &Opnd : MI->uses()) { in selectLoad() local 2041 if (Opnd.isReg()) { in selectLoad() 2042 Reg = Opnd.getReg(); in selectLoad()
|
H A D | AArch64ISelLowering.cpp | 15576 SDValue Opnd = V->getOperand(1); in performMulCombine() local 15579 std::swap(Opnd, MulOper); in performMulCombine() 15580 if (auto C = dyn_cast<ConstantSDNode>(Opnd)) in performMulCombine()
|
/openbsd/gnu/llvm/llvm/lib/CodeGen/SelectionDAG/ |
H A D | SelectionDAG.cpp | 4899 for (const SDValue &Opnd : Op->ops()) in isKnownNeverNaN() local 4900 if (!isKnownNeverNaN(Opnd, SNaN, Depth + 1)) in isKnownNeverNaN()
|