Home
last modified time | relevance | path

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

/freebsd-14.2/contrib/llvm-project/llvm/lib/Analysis/
H A DDemandedBits.cpp100 if (OperandNo == 0) { in determineLiveOperandBits()
110 if (OperandNo == 0) { in determineLiveOperandBits()
175 if (OperandNo == 0) { in determineLiveOperandBits()
192 if (OperandNo == 0) { in determineLiveOperandBits()
206 if (OperandNo == 0) { in determineLiveOperandBits()
233 if (OperandNo == 0) in determineLiveOperandBits()
246 if (OperandNo == 0) in determineLiveOperandBits()
272 if (OperandNo != 0) in determineLiveOperandBits()
276 if (OperandNo == 0) in determineLiveOperandBits()
281 if (OperandNo == 0 || OperandNo == 1) in determineLiveOperandBits()
[all …]
H A DBasicAliasAnalysis.cpp914 unsigned OperandNo = 0; in getModRefInfo() local
916 CI != CE; ++CI, ++OperandNo) { in getModRefInfo()
922 if (Call->doesNotAccessMemory(OperandNo)) in getModRefInfo()
935 if (Call->onlyReadsMemory(OperandNo)) { in getModRefInfo()
940 if (Call->onlyWritesMemory(OperandNo)) { in getModRefInfo()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/WebAssembly/
H A DWebAssemblySetP2AlignOperands.cpp57 static void rewriteP2Align(MachineInstr &MI, unsigned OperandNo) { in rewriteP2Align() argument
58 assert(MI.getOperand(OperandNo).getImm() == 0 && in rewriteP2Align()
65 assert(MI.getDesc().operands()[OperandNo].OperandType == in rewriteP2Align()
74 MI.getOperand(OperandNo).setImm(P2Align); in rewriteP2Align()
/freebsd-14.2/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-14.2/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-14.2/contrib/llvm-project/llvm/lib/FuzzMutate/
H A DRandomIRBuilder.cpp244 unsigned int OperandNo = Operand.getOperandNo(); in isCompatibleReplacement() local
253 if (OperandNo >= 1) in isCompatibleReplacement()
259 if (OperandNo >= 2) in isCompatibleReplacement()
267 if (OperandNo >= 1) in isCompatibleReplacement()
280 if (!Callee->getIntrinsicID() && OperandNo == 0) in isCompatibleReplacement()
282 return !Callee->hasParamAttribute(OperandNo, Attribute::ImmArg); in isCompatibleReplacement()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86FixupVectorConstants.cpp239 unsigned OperandNo) { in processInstruction() argument
240 assert(MI.getNumOperands() >= (OperandNo + X86::AddrNumOperands) && in processInstruction()
243 if (auto *C = X86::getConstantFromPool(MI, OperandNo)) { in processInstruction()
257 MI.getOperand(OperandNo + X86::AddrDisp).setIndex(NewCPI); in processInstruction()
H A DX86FastISel.cpp4014 unsigned OperandNo = 0; in tryToFoldLoadIntoMI() local
4016 E = Result->operands_end(); I != E; ++I, ++OperandNo) { in tryToFoldLoadIntoMI()
4022 MO.getReg(), OperandNo); in tryToFoldLoadIntoMI()
/freebsd-14.2/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; in handleOperandChangeImpl() local
3111 OperandNo = (O - OperandList); in handleOperandChangeImpl()
3131 Values, this, From, ToC, NumUpdated, OperandNo); in handleOperandChangeImpl()
3147 unsigned OperandNo = 0; in handleOperandChangeImpl() local
3151 OperandNo = (O - OperandList); in handleOperandChangeImpl()
3167 Values, this, From, ToC, NumUpdated, OperandNo); in handleOperandChangeImpl()
3177 unsigned OperandNo = 0; in handleOperandChangeImpl() local
3181 OperandNo = i; in handleOperandChangeImpl()
3202 unsigned OperandNo = 0; in handleOperandChangeImpl() local
3206 OperandNo = i; in handleOperandChangeImpl()
[all …]
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/IR/
H A DInlineAsm.h391 void setMatchingOp(unsigned OperandNo) { in setMatchingOp() argument
393 Bitfield::set<MatchedOperandNo>(Storage, OperandNo); in setMatchingOp()
/freebsd-14.2/contrib/llvm-project/llvm/lib/CodeGen/
H A DRenameIndependentSubregs.cpp252 unsigned OperandNo = MO.getOperandNo(); in rewriteOperands() local
253 unsigned TiedIdx = MI->findTiedOperandIdx(OperandNo); in rewriteOperands()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DInferAddressSpaces.cpp667 unsigned OperandNo = PHINode::getOperandNumForIncomingValue(Index); in cloneInstructionWithNewAddressSpace() local
668 NewPHI->addIncoming(NewPointerOperands[OperandNo], in cloneInstructionWithNewAddressSpace()
1167 unsigned OperandNo = PoisonUse->getOperandNo(); in rewriteWithNewAddressSpaces() local
1168 assert(isa<PoisonValue>(NewV->getOperand(OperandNo))); in rewriteWithNewAddressSpaces()
1169 NewV->setOperand(OperandNo, ValueWithNewAddrSpace.lookup(PoisonUse->get())); in rewriteWithNewAddressSpaces()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/M68k/
H A DM68kInstrInfo.cpp614 const unsigned OperandNo = MO.getOperandNo(); in isPCRelRegisterOperandLegal() local
618 if (OperandNo == 1) in isPCRelRegisterOperandLegal()
623 if (OperandNo == MI->getNumExplicitOperands() - 1) in isPCRelRegisterOperandLegal()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/ObjCARC/
H A DObjCARCContract.cpp605 unsigned OperandNo = U.getOperandNo(); in run() local
621 unsigned ValNo = PHINode::getIncomingValueNumForOperand(OperandNo); in run()
/freebsd-14.2/contrib/llvm-project/clang/include/clang/AST/
H A DStmt.h3302 unsigned OperandNo; variable
3311 : MyKind(Operand), Str(S), OperandNo(OpNo), in AsmStringPiece()
3321 return OperandNo; in getOperandNo()
/freebsd-14.2/contrib/llvm-project/llvm/utils/TableGen/
H A DCodeGenDAGPatterns.h375 unsigned OperandNo; // The operand # this constraint applies to. member
H A DCodeGenDAGPatterns.cpp1531 OperandNo = R->getValueAsInt("OperandNum"); in SDTypeConstraint()
1626 TreePatternNode *NodeToApply = getOperandNum(OperandNo, N, NodeInfo, ResNo); in ApplyTypeConstraint()
1838 if (Constraint.OperandNo >= NumResults) // FIXME: need value # in getKnownType()
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/CodeGen/
H A DSelectionDAGNodes.h1732 unsigned OperandNo);
/freebsd-14.2/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/
H A DSelectionDAG.cpp11548 unsigned OperandNo) { in isNeutralConstant() argument
11571 return OperandNo == 1 && Const->isZero(); in isNeutralConstant()
11574 return OperandNo == 1 && Const->isOne(); in isNeutralConstant()
11582 return OperandNo == 1 && ConstFP->isZero() && in isNeutralConstant()
11587 return OperandNo == 1 && ConstFP->isExactlyValue(1.0); in isNeutralConstant()
H A DSelectionDAGBuilder.cpp9190 findMatchingInlineAsmOperand(unsigned OperandNo, in findMatchingInlineAsmOperand() argument
9194 for (; OperandNo; --OperandNo) { in findMatchingInlineAsmOperand()