Searched refs:OperandNo (Results 1 - 21 of 21) sorted by relevance

/freebsd-current/contrib/llvm-project/llvm/lib/Target/WebAssembly/
H A DWebAssemblySetP2AlignOperands.cpp57 static void rewriteP2Align(MachineInstr &MI, unsigned OperandNo) { argument
58 assert(MI.getOperand(OperandNo).getImm() == 0 &&
65 assert(MI.getDesc().operands()[OperandNo].OperandType ==
74 MI.getOperand(OperandNo).setImm(P2Align);
/freebsd-current/contrib/llvm-project/llvm/include/llvm/Analysis/
H A DDemandedBits.h67 static APInt determineLiveOperandBitsAdd(unsigned OperandNo,
74 static APInt determineLiveOperandBitsSub(unsigned OperandNo,
82 const Value *Val, unsigned OperandNo,
/freebsd-current/contrib/llvm-project/llvm/lib/Analysis/
H A DDemandedBits.cpp55 const Instruction *UserI, const Value *Val, unsigned OperandNo,
100 if (OperandNo == 0) {
110 if (OperandNo == 0) {
122 if (OperandNo == 2) {
134 if (OperandNo == 0)
136 else if (OperandNo == 1)
157 AB = determineLiveOperandBitsAdd(OperandNo, AOut, Known, Known2);
165 AB = determineLiveOperandBitsSub(OperandNo, AOut, Known, Known2);
175 if (OperandNo == 0) {
192 if (OperandNo
54 determineLiveOperandBits( const Instruction *UserI, const Value *Val, unsigned OperandNo, const APInt &AOut, APInt &AB, KnownBits &Known, KnownBits &Known2, bool &KnownBitsComputed) argument
492 determineLiveOperandBitsAddCarry(unsigned OperandNo, const APInt &AOut, const KnownBits &LHS, const KnownBits &RHS, bool CarryZero, bool CarryOne) argument
553 determineLiveOperandBitsAdd(unsigned OperandNo, const APInt &AOut, const KnownBits &LHS, const KnownBits &RHS) argument
561 determineLiveOperandBitsSub(unsigned OperandNo, const APInt &AOut, const KnownBits &LHS, const KnownBits &RHS) argument
[all...]
H A DBasicAliasAnalysis.cpp914 unsigned OperandNo = 0; local
916 CI != CE; ++CI, ++OperandNo) {
922 if (Call->doesNotAccessMemory(OperandNo))
935 if (Call->onlyReadsMemory(OperandNo)) {
940 if (Call->onlyWritesMemory(OperandNo)) {
/freebsd-current/contrib/llvm-project/llvm/include/llvm/Transforms/Instrumentation/
H A DAddressSanitizerCommon.h39 InterestingMemoryOperand(Instruction *I, unsigned OperandNo, bool IsWrite, argument
48 PtrUse = &I->getOperandUse(OperandNo);
/freebsd-current/contrib/llvm-project/llvm/lib/FuzzMutate/
H A DRandomIRBuilder.cpp244 unsigned int OperandNo = Operand.getOperandNo(); local
253 if (OperandNo >= 1)
259 if (OperandNo >= 2)
267 if (OperandNo >= 1)
280 if (!Callee->getIntrinsicID() && OperandNo == 0)
282 return !Callee->hasParamAttribute(OperandNo, Attribute::ImmArg);
/freebsd-current/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86FixupVectorConstants.cpp239 unsigned OperandNo) {
240 assert(MI.getNumOperands() >= (OperandNo + X86::AddrNumOperands) &&
243 if (auto *C = X86::getConstantFromPool(MI, OperandNo)) {
257 MI.getOperand(OperandNo + X86::AddrDisp).setIndex(NewCPI);
367 "OperandNo mismatch");
H A DX86FastISel.cpp4014 unsigned OperandNo = 0; local
4016 E = Result->operands_end(); I != E; ++I, ++OperandNo) {
4022 MO.getReg(), OperandNo);
/freebsd-current/contrib/llvm-project/llvm/include/llvm/IR/
H A DInlineAsm.h391 void setMatchingOp(unsigned OperandNo) { argument
393 Bitfield::set<MatchedOperandNo>(Storage, OperandNo);
/freebsd-current/contrib/llvm-project/llvm/lib/CodeGen/
H A DRenameIndependentSubregs.cpp252 unsigned OperandNo = MO.getOperandNo(); local
253 unsigned TiedIdx = MI->findTiedOperandIdx(OperandNo);
/freebsd-current/contrib/llvm-project/llvm/lib/IR/
H A DConstantsContext.h624 unsigned OperandNo = ~0u) {
637 assert(OperandNo < CP->getNumOperands() && "Invalid index");
638 assert(CP->getOperand(OperandNo) != To && "I didn't contain From!");
639 CP->setOperand(OperandNo, To);
H A DConstants.cpp3107 unsigned OperandNo = 0;
3111 OperandNo = (O - OperandList);
3131 Values, this, From, ToC, NumUpdated, OperandNo);
3147 unsigned OperandNo = 0;
3151 OperandNo = (O - OperandList);
3167 Values, this, From, ToC, NumUpdated, OperandNo);
3177 unsigned OperandNo = 0;
3181 OperandNo = i;
3193 Values, this, From, ToC, NumUpdated, OperandNo);
3202 unsigned OperandNo
[all...]
/freebsd-current/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DInferAddressSpaces.cpp667 unsigned OperandNo = PHINode::getOperandNumForIncomingValue(Index); local
668 NewPHI->addIncoming(NewPointerOperands[OperandNo],
1167 unsigned OperandNo = PoisonUse->getOperandNo(); local
1168 assert(isa<PoisonValue>(NewV->getOperand(OperandNo)));
1169 NewV->setOperand(OperandNo, ValueWithNewAddrSpace.lookup(PoisonUse->get()));
/freebsd-current/contrib/llvm-project/llvm/lib/Transforms/ObjCARC/
H A DObjCARCContract.cpp605 unsigned OperandNo = U.getOperandNo();
621 unsigned ValNo = PHINode::getIncomingValueNumForOperand(OperandNo);
/freebsd-current/contrib/llvm-project/llvm/lib/Target/M68k/
H A DM68kInstrInfo.cpp614 const unsigned OperandNo = MO.getOperandNo(); local
618 if (OperandNo == 1)
623 if (OperandNo == MI->getNumExplicitOperands() - 1)
/freebsd-current/contrib/llvm-project/llvm/utils/TableGen/
H A DCodeGenDAGPatterns.h375 unsigned OperandNo; // The operand # this constraint applies to. member in struct:llvm::SDTypeConstraint
H A DCodeGenDAGPatterns.cpp1531 OperandNo = R->getValueAsInt("OperandNum");
1626 TreePatternNode *NodeToApply = getOperandNum(OperandNo, N, NodeInfo, ResNo);
1838 if (Constraint.OperandNo >= NumResults) // FIXME: need value #
/freebsd-current/contrib/llvm-project/clang/include/clang/AST/
H A DStmt.h3302 unsigned OperandNo; member in class:clang::GCCAsmStmt::AsmStringPiece
3311 : MyKind(Operand), Str(S), OperandNo(OpNo),
3321 return OperandNo;
/freebsd-current/contrib/llvm-project/llvm/include/llvm/CodeGen/
H A DSelectionDAGNodes.h1729 /// When OperandNo is 0, it checks that V is a left identity. Otherwise, it
1732 unsigned OperandNo);
/freebsd-current/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/
H A DSelectionDAG.cpp11548 unsigned OperandNo) {
11571 return OperandNo == 1 && Const->isZero();
11574 return OperandNo == 1 && Const->isOne();
11582 return OperandNo == 1 && ConstFP->isZero() &&
11587 return OperandNo == 1 && ConstFP->isExactlyValue(1.0);
H A DSelectionDAGBuilder.cpp9190 findMatchingInlineAsmOperand(unsigned OperandNo, argument
9194 for (; OperandNo; --OperandNo) {

Completed in 508 milliseconds