Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/llvm/lib/Analysis/
H A DDemandedBits.cpp55 const Instruction *UserI, const Value *Val, unsigned OperandNo, in determineLiveOperandBits() argument
100 if (OperandNo == 0) { in determineLiveOperandBits()
110 if (OperandNo == 0) { in determineLiveOperandBits()
122 if (OperandNo == 2) { in determineLiveOperandBits()
134 if (OperandNo == 0) in determineLiveOperandBits()
136 else if (OperandNo == 1) in determineLiveOperandBits()
157 AB = determineLiveOperandBitsAdd(OperandNo, AOut, Known, Known2); in determineLiveOperandBits()
165 AB = determineLiveOperandBitsSub(OperandNo, AOut, Known, Known2); in determineLiveOperandBits()
175 if (OperandNo == 0) { in determineLiveOperandBits()
192 if (OperandNo == 0) { in determineLiveOperandBits()
[all …]
H A DBasicAliasAnalysis.cpp946 unsigned OperandNo = 0; in getModRefInfo() local
948 CI != CE; ++CI, ++OperandNo) { in getModRefInfo()
954 if (Call->doesNotAccessMemory(OperandNo)) in getModRefInfo()
967 if (Call->onlyReadsMemory(OperandNo)) { in getModRefInfo()
972 if (Call->onlyWritesMemory(OperandNo)) { in getModRefInfo()
/freebsd/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/contrib/llvm-project/llvm/include/llvm/Analysis/
H A DDemandedBits.h69 static APInt determineLiveOperandBitsAdd(unsigned OperandNo,
76 static APInt determineLiveOperandBitsSub(unsigned OperandNo,
84 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.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/contrib/llvm-project/llvm/lib/IR/
H A DConstantsContext.h650 unsigned OperandNo = ~0u) {
663 assert(OperandNo < CP->getNumOperands() && "Invalid index");
664 assert(CP->getOperand(OperandNo) != To && "I didn't contain From!");
665 CP->setOperand(OperandNo, To);
H A DConstants.cpp2086 unsigned OperandNo = 0; in handleOperandChangeImpl() local
2090 OperandNo = (O - OperandList); in handleOperandChangeImpl()
2098 Values, this, From, To, NumUpdated, OperandNo); in handleOperandChangeImpl()
3252 unsigned OperandNo = 0; in handleOperandChangeImpl() local
3256 OperandNo = (O - OperandList); in handleOperandChangeImpl()
3276 Values, this, From, ToC, NumUpdated, OperandNo); in handleOperandChangeImpl()
3292 unsigned OperandNo = 0; in handleOperandChangeImpl() local
3296 OperandNo = (O - OperandList); in handleOperandChangeImpl()
3312 Values, this, From, ToC, NumUpdated, OperandNo); in handleOperandChangeImpl()
3322 unsigned OperandNo = 0; in handleOperandChangeImpl() local
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86FixupVectorConstants.cpp350 unsigned OperandNo) { in processInstruction() argument
359 assert(MI.getNumOperands() >= (OperandNo + X86::AddrNumOperands) && in processInstruction()
361 if (auto *C = X86::getConstantFromPool(MI, OperandNo)) { in processInstruction()
373 MI.getOperand(OperandNo + X86::AddrDisp).setIndex(NewCPI); in processInstruction()
H A DX86FastISel.cpp4016 unsigned OperandNo = 0; in tryToFoldLoadIntoMI() local
4018 E = Result->operands_end(); I != E; ++I, ++OperandNo) { in tryToFoldLoadIntoMI()
4024 MO.getReg(), OperandNo); in tryToFoldLoadIntoMI()
/freebsd/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/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DInferAddressSpaces.cpp668 unsigned OperandNo = PHINode::getOperandNumForIncomingValue(Index); in cloneInstructionWithNewAddressSpace() local
669 NewPHI->addIncoming(NewPointerOperands[OperandNo], in cloneInstructionWithNewAddressSpace()
1168 unsigned OperandNo = PoisonUse->getOperandNo(); in rewriteWithNewAddressSpaces() local
1169 assert(isa<PoisonValue>(NewV->getOperand(OperandNo))); in rewriteWithNewAddressSpaces()
1170 NewV->setOperand(OperandNo, ValueWithNewAddrSpace.lookup(PoisonUse->get())); in rewriteWithNewAddressSpaces()
/freebsd/contrib/llvm-project/llvm/lib/Target/M68k/
H A DM68kInstrInfo.cpp648 const unsigned OperandNo = MO.getOperandNo(); in isPCRelRegisterOperandLegal() local
652 if (OperandNo == 1) in isPCRelRegisterOperandLegal()
657 if (OperandNo == MI->getNumExplicitOperands() - 1) in isPCRelRegisterOperandLegal()
/freebsd/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/contrib/llvm-project/clang/include/clang/AST/
H A DStmt.h3309 unsigned OperandNo;
3318 : MyKind(Operand), Str(S), OperandNo(OpNo),
3328 return OperandNo;
/freebsd/contrib/llvm-project/llvm/utils/TableGen/Common/
H A DCodeGenDAGPatterns.h360 unsigned OperandNo; // The operand # this constraint applies to. member
H A DCodeGenDAGPatterns.cpp1533 OperandNo = R->getValueAsInt("OperandNum"); in SDTypeConstraint()
1627 TreePatternNode &NodeToApply = getOperandNum(OperandNo, N, NodeInfo, ResNo); in ApplyTypeConstraint()
1832 if (Constraint.OperandNo >= NumResults) // FIXME: need value # in getKnownType()
/freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/
H A DSelectionDAGNodes.h1776 unsigned OperandNo);
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/
H A DSelectionDAG.cpp11889 unsigned OperandNo) { in isNeutralConstant() argument
11914 return OperandNo == 1 && Const.isZero(); in isNeutralConstant()
11917 return OperandNo == 1 && Const.isOne(); in isNeutralConstant()
11925 return OperandNo == 1 && ConstFP->isZero() && in isNeutralConstant()
11930 return OperandNo == 1 && ConstFP->isExactlyValue(1.0); in isNeutralConstant()
H A DSelectionDAGBuilder.cpp9706 findMatchingInlineAsmOperand(unsigned OperandNo, in findMatchingInlineAsmOperand() argument
9710 for (; OperandNo; --OperandNo) { in findMatchingInlineAsmOperand()