Home
last modified time | relevance | path

Searched refs:OperandNo (Results 1 – 22 of 22) sorted by relevance

/freebsd/contrib/llvm-project/llvm/lib/Analysis/
H A DDemandedBits.cpp53 const Instruction *UserI, const Value *Val, unsigned OperandNo, in determineLiveOperandBits() argument
98 if (OperandNo == 0) { in determineLiveOperandBits()
108 if (OperandNo == 0) { in determineLiveOperandBits()
120 if (OperandNo == 2) { in determineLiveOperandBits()
132 if (OperandNo == 0) in determineLiveOperandBits()
134 else if (OperandNo == 1) in determineLiveOperandBits()
155 AB = determineLiveOperandBitsAdd(OperandNo, AOut, Known, Known2); in determineLiveOperandBits()
163 AB = determineLiveOperandBitsSub(OperandNo, AOut, Known, Known2); in determineLiveOperandBits()
173 if (OperandNo == 0) { in determineLiveOperandBits()
190 if (OperandNo == 0) { in determineLiveOperandBits()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Target/WebAssembly/
H A DWebAssemblySetP2AlignOperands.cpp56 static void rewriteP2Align(MachineInstr &MI, unsigned OperandNo) { in rewriteP2Align() argument
57 assert(MI.getOperand(OperandNo).getImm() == 0 && in rewriteP2Align()
64 assert(MI.getDesc().operands()[OperandNo].OperandType == in rewriteP2Align()
73 MI.getOperand(OperandNo).setImm(P2Align); in rewriteP2Align()
/freebsd/contrib/llvm-project/llvm/include/llvm/Analysis/
H A DDemandedBits.h70 LLVM_ABI static APInt determineLiveOperandBitsAdd(unsigned OperandNo,
77 LLVM_ABI static APInt determineLiveOperandBitsSub(unsigned OperandNo,
85 const Value *Val, unsigned OperandNo,
/freebsd/contrib/llvm-project/llvm/include/llvm/Transforms/Instrumentation/
H A DAddressSanitizerCommon.h39 InterestingMemoryOperand(Instruction *I, unsigned OperandNo, bool IsWrite,
48 PtrUse = &I->getOperandUse(OperandNo); in IsWrite()
/freebsd/contrib/llvm-project/llvm/lib/FuzzMutate/
H A DRandomIRBuilder.cpp295 unsigned int OperandNo = Operand.getOperandNo(); in isCompatibleReplacement() local
304 if (OperandNo >= 1) in isCompatibleReplacement()
310 if (OperandNo >= 2) in isCompatibleReplacement()
318 if (OperandNo >= 1) in isCompatibleReplacement()
331 if (!Callee->getIntrinsicID() && OperandNo == 0) in isCompatibleReplacement()
333 return !Callee->hasParamAttribute(OperandNo, Attribute::ImmArg); in isCompatibleReplacement()
/freebsd/contrib/llvm-project/llvm/include/llvm/IR/
H A DInlineAsm.h394 void setMatchingOp(unsigned OperandNo) { in setMatchingOp() argument
396 Bitfield::set<MatchedOperandNo>(Storage, OperandNo); in setMatchingOp()
/freebsd/contrib/llvm-project/llvm/lib/IR/
H A DConstantsContext.h656 unsigned OperandNo = ~0u) {
669 assert(OperandNo < CP->getNumOperands() && "Invalid index");
670 assert(CP->getOperand(OperandNo) != To && "I didn't contain From!");
671 CP->setOperand(OperandNo, To);
H A DConstants.cpp2102 unsigned OperandNo = 0; in handleOperandChangeImpl() local
2106 OperandNo = (O - OperandList); in handleOperandChangeImpl()
2114 Values, this, From, To, NumUpdated, OperandNo); in handleOperandChangeImpl()
3283 unsigned OperandNo = 0; in handleOperandChangeImpl() local
3287 OperandNo = (O - OperandList); in handleOperandChangeImpl()
3307 Values, this, From, ToC, NumUpdated, OperandNo); in handleOperandChangeImpl()
3323 unsigned OperandNo = 0; in handleOperandChangeImpl() local
3327 OperandNo = (O - OperandList); in handleOperandChangeImpl()
3343 Values, this, From, ToC, NumUpdated, OperandNo); in handleOperandChangeImpl()
3353 unsigned OperandNo = 0; in handleOperandChangeImpl() local
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86FixupVectorConstants.cpp390 unsigned OperandNo) { in processInstruction() argument
399 assert(MI.getNumOperands() >= (OperandNo + X86::AddrNumOperands) && in processInstruction()
401 if (auto *C = X86::getConstantFromPool(MI, OperandNo)) { in processInstruction()
417 MI.getOperand(OperandNo + X86::AddrDisp).setIndex(NewCPI); in processInstruction()
H A DX86FastISel.cpp4031 unsigned OperandNo = 0; in tryToFoldLoadIntoMI() local
4033 E = Result->operands_end(); I != E; ++I, ++OperandNo) { in tryToFoldLoadIntoMI()
4039 MO.getReg(), OperandNo); in tryToFoldLoadIntoMI()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DInferAddressSpaces.cpp727 unsigned OperandNo = PHINode::getOperandNumForIncomingValue(Index); in cloneInstructionWithNewAddressSpace() local
728 NewPHI->addIncoming(NewPointerOperands[OperandNo], in cloneInstructionWithNewAddressSpace()
1351 unsigned OperandNo = PoisonUse->getOperandNo(); in rewriteWithNewAddressSpaces() local
1352 assert(isa<PoisonValue>(NewV->getOperand(OperandNo))); in rewriteWithNewAddressSpaces()
1353 NewV->setOperand(OperandNo, ValueWithNewAddrSpace.lookup(PoisonUse->get())); in rewriteWithNewAddressSpaces()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/
H A DRenameIndependentSubregs.cpp258 unsigned OperandNo = MO.getOperandNo(); in rewriteOperands() local
259 unsigned TiedIdx = MI->findTiedOperandIdx(OperandNo); in rewriteOperands()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/ObjCARC/
H A DObjCARCContract.cpp651 unsigned OperandNo = U.getOperandNo(); in run() local
667 unsigned ValNo = PHINode::getIncomingValueNumForOperand(OperandNo); in run()
/freebsd/contrib/llvm-project/llvm/lib/Target/M68k/
H A DM68kInstrInfo.cpp691 const unsigned OperandNo = MO.getOperandNo(); in isPCRelRegisterOperandLegal() local
695 if (OperandNo == 1) in isPCRelRegisterOperandLegal()
700 if (OperandNo == MI->getNumExplicitOperands() - 1) in isPCRelRegisterOperandLegal()
/freebsd/contrib/llvm-project/llvm/utils/TableGen/
H A DSDNodeInfoEmitter.cpp231 OS << formatv("{{{}, {}, {}, {}}", KindName, C.OperandNo, OtherOpNo, VTName); in emitTypeConstraint()
/freebsd/contrib/llvm-project/llvm/utils/TableGen/Common/
H A DCodeGenDAGPatterns.cpp1555 OperandNo = R->getValueAsInt("OperandNum"); in SDTypeConstraint()
1642 TreePatternNode &NodeToApply = getOperandNum(OperandNo, N, NodeInfo, ResNo); in ApplyTypeConstraint()
1741 if (std::tie(LHS.OperandNo, LHS.ConstraintType) != in operator ==()
1742 std::tie(RHS.OperandNo, RHS.ConstraintType)) in operator ==()
1766 if (std::tie(LHS.OperandNo, LHS.ConstraintType) != in operator <()
1767 std::tie(RHS.OperandNo, RHS.ConstraintType)) in operator <()
1768 return std::tie(LHS.OperandNo, LHS.ConstraintType) < in operator <()
1769 std::tie(RHS.OperandNo, RHS.ConstraintType); in operator <()
1906 if (Constraint.OperandNo >= NumResults) // FIXME: need value # in getKnownType()
H A DCodeGenDAGPatterns.h360 unsigned OperandNo; // The operand # this constraint applies to. member
/freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/
H A DAArch64LoadStoreOptimizer.cpp977 unsigned OperandNo = 0; in addDebugSubstitutionsToTable() local
984 OperandNo++; in addDebugSubstitutionsToTable()
989 {InstrNumToSet, OperandNo}); in addDebugSubstitutionsToTable()
/freebsd/contrib/llvm-project/clang/include/clang/AST/
H A DStmt.h3410 unsigned OperandNo;
3419 : MyKind(Operand), Str(S), OperandNo(OpNo),
3429 return OperandNo;
/freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/
H A DSelectionDAGNodes.h1874 unsigned OperandNo);
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/
H A DSelectionDAG.cpp12468 unsigned OperandNo) { in isNeutralConstant() argument
12493 return OperandNo == 1 && Const.isZero(); in isNeutralConstant()
12496 return OperandNo == 1 && Const.isOne(); in isNeutralConstant()
12504 return OperandNo == 1 && ConstFP->isZero() && in isNeutralConstant()
12509 return OperandNo == 1 && ConstFP->isExactlyValue(1.0); in isNeutralConstant()
H A DSelectionDAGBuilder.cpp9871 findMatchingInlineAsmOperand(unsigned OperandNo, in findMatchingInlineAsmOperand() argument
9875 for (; OperandNo; --OperandNo) { in findMatchingInlineAsmOperand()