Home
last modified time | relevance | path

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

12

/external/llvm-project/llvm/lib/Analysis/
DDemandedBits.cpp87 const Instruction *UserI, const Value *Val, unsigned OperandNo, in determineLiveOperandBits() argument
132 if (OperandNo == 0) { in determineLiveOperandBits()
142 if (OperandNo == 0) { in determineLiveOperandBits()
154 if (OperandNo == 2) { in determineLiveOperandBits()
166 if (OperandNo == 0) in determineLiveOperandBits()
168 else if (OperandNo == 1) in determineLiveOperandBits()
189 AB = determineLiveOperandBitsAdd(OperandNo, AOut, Known, Known2); in determineLiveOperandBits()
197 AB = determineLiveOperandBitsSub(OperandNo, AOut, Known, Known2); in determineLiveOperandBits()
207 if (OperandNo == 0) { in determineLiveOperandBits()
224 if (OperandNo == 0) { in determineLiveOperandBits()
[all …]
DBasicAliasAnalysis.cpp860 unsigned OperandNo = 0; in getModRefInfo() local
862 CI != CE; ++CI, ++OperandNo) { in getModRefInfo()
867 (!Call->doesNotCapture(OperandNo) && in getModRefInfo()
868 OperandNo < Call->getNumArgOperands() && in getModRefInfo()
869 !Call->isByValArgument(OperandNo))) in getModRefInfo()
874 if (Call->doesNotAccessMemory(OperandNo)) in getModRefInfo()
889 if (Call->onlyReadsMemory(OperandNo)) { in getModRefInfo()
894 if (Call->doesNotReadMemory(OperandNo)) { in getModRefInfo()
DIVUsers.cpp221 unsigned OperandNo = U.getOperandNo(); in AddUsersImpl() local
222 unsigned ValNo = PHINode::getIncomingValueNumForOperand(OperandNo); in AddUsersImpl()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/
DDemandedBits.cpp87 const Instruction *UserI, const Value *Val, unsigned OperandNo, in determineLiveOperandBits() argument
132 if (OperandNo == 0) { in determineLiveOperandBits()
142 if (OperandNo == 0) { in determineLiveOperandBits()
154 if (OperandNo == 2) { in determineLiveOperandBits()
166 if (OperandNo == 0) in determineLiveOperandBits()
168 else if (OperandNo == 1) in determineLiveOperandBits()
184 if (OperandNo == 0) { in determineLiveOperandBits()
201 if (OperandNo == 0) { in determineLiveOperandBits()
215 if (OperandNo == 0) { in determineLiveOperandBits()
242 if (OperandNo == 0) in determineLiveOperandBits()
[all …]
DBasicAliasAnalysis.cpp906 unsigned OperandNo = 0; in getModRefInfo() local
908 CI != CE; ++CI, ++OperandNo) { in getModRefInfo()
913 (!Call->doesNotCapture(OperandNo) && in getModRefInfo()
914 OperandNo < Call->getNumArgOperands() && in getModRefInfo()
915 !Call->isByValArgument(OperandNo))) in getModRefInfo()
920 if (Call->doesNotAccessMemory(OperandNo)) in getModRefInfo()
934 if (Call->onlyReadsMemory(OperandNo)) { in getModRefInfo()
939 if (Call->doesNotReadMemory(OperandNo)) { in getModRefInfo()
DIVUsers.cpp221 unsigned OperandNo = U.getOperandNo(); in AddUsersImpl() local
222 unsigned ValNo = PHINode::getIncomingValueNumForOperand(OperandNo); in AddUsersImpl()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/WebAssembly/
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().OpInfo[OperandNo].OperandType == in rewriteP2Align()
74 MI.getOperand(OperandNo).setImm(P2Align); in rewriteP2Align()
/external/llvm-project/llvm/lib/Target/WebAssembly/
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().OpInfo[OperandNo].OperandType == in rewriteP2Align()
74 MI.getOperand(OperandNo).setImm(P2Align); in rewriteP2Align()
/external/llvm/lib/Analysis/
DDemandedBits.cpp74 const Instruction *UserI, const Instruction *I, unsigned OperandNo, in determineLiveOperandBits() argument
114 if (OperandNo == 0) { in determineLiveOperandBits()
124 if (OperandNo == 0) { in determineLiveOperandBits()
144 if (OperandNo == 0) in determineLiveOperandBits()
160 if (OperandNo == 0) in determineLiveOperandBits()
173 if (OperandNo == 0) in determineLiveOperandBits()
198 if (OperandNo == 0) { in determineLiveOperandBits()
214 if (OperandNo == 0) { in determineLiveOperandBits()
244 if (OperandNo != 0) in determineLiveOperandBits()
DIVUsers.cpp171 unsigned OperandNo = U.getOperandNo(); in AddUsersImpl() local
172 unsigned ValNo = PHINode::getIncomingValueNumForOperand(OperandNo); in AddUsersImpl()
/external/llvm-project/llvm/include/llvm/Analysis/
DDemandedBits.h66 static APInt determineLiveOperandBitsAdd(unsigned OperandNo,
73 static APInt determineLiveOperandBitsSub(unsigned OperandNo,
81 const Value *Val, unsigned OperandNo,
/external/llvm-project/llvm/include/llvm/Transforms/Instrumentation/
DAddressSanitizerCommon.h32 InterestingMemoryOperand(Instruction *I, unsigned OperandNo, bool IsWrite,
39 PtrUse = &I->getOperandUse(OperandNo); in IsWrite()
/external/llvm/lib/Target/NVPTX/
DNVPTXInferAddressSpaces.cpp310 unsigned OperandNo = PHINode::getOperandNumForIncomingValue(Index); in cloneInstructionWithNewAddressSpace() local
311 NewPHI->addIncoming(NewPointerOperands[OperandNo], in cloneInstructionWithNewAddressSpace()
533 unsigned OperandNo = UndefUse->getOperandNo(); in rewriteWithNewAddressSpaces() local
534 assert(isa<UndefValue>(NewV->getOperand(OperandNo))); in rewriteWithNewAddressSpaces()
535 NewV->setOperand(OperandNo, ValueWithNewAddrSpace.lookup(UndefUse->get())); in rewriteWithNewAddressSpaces()
/external/llvm-project/clang/unittests/CodeGen/
DIRMatchers.h62 unsigned OperandNo; variable
65 Query(const Value *V, unsigned N) : Entity(V), OperandNo(N) {} in Query()
66 Query(const Metadata *M, unsigned N) : Entity(M), OperandNo(N) {} in Query()
67 Query(const Type *T, unsigned N) : Entity(T), OperandNo(N) {} in Query()
74 unsigned getOperandNo() const { return OperandNo; } in getOperandNo()
/external/llvm/include/llvm/IR/
DCallSite.h143 unsigned OperandNo = U - (*this)->op_begin(); in isBundleOperand() local
144 return getBundleOperandsStartIndex() <= OperandNo && in isBundleOperand()
145 OperandNo < getBundleOperandsEndIndex(); in isBundleOperand()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Scalar/
DInferAddressSpaces.cpp477 unsigned OperandNo = PHINode::getOperandNumForIncomingValue(Index); in cloneInstructionWithNewAddressSpace() local
478 NewPHI->addIncoming(NewPointerOperands[OperandNo], in cloneInstructionWithNewAddressSpace()
894 unsigned OperandNo = UndefUse->getOperandNo(); in rewriteWithNewAddressSpaces() local
895 assert(isa<UndefValue>(NewV->getOperand(OperandNo))); in rewriteWithNewAddressSpaces()
896 NewV->setOperand(OperandNo, ValueWithNewAddrSpace.lookup(UndefUse->get())); in rewriteWithNewAddressSpaces()
/external/llvm/include/llvm/Analysis/
DDemandedBits.h59 const Instruction *I, unsigned OperandNo,
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Analysis/
DDemandedBits.h67 const Value *Val, unsigned OperandNo,
/external/swiftshader/third_party/llvm-10.0/llvm/lib/IR/
DConstantsContext.h676 unsigned OperandNo = ~0u) {
689 assert(OperandNo < CP->getNumOperands() && "Invalid index");
690 assert(CP->getOperand(OperandNo) != To && "I didn't contain From!");
691 CP->setOperand(OperandNo, To);
/external/llvm/lib/IR/
DConstantsContext.h638 unsigned OperandNo = ~0u) {
651 assert(OperandNo < CP->getNumOperands() && "Invalid index");
652 assert(CP->getOperand(OperandNo) != To && "I didn't contain From!");
653 CP->setOperand(OperandNo, To);
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/IR/
DCallSite.h178 unsigned OperandNo = U - (*this)->op_begin(); in isBundleOperand() local
179 return getBundleOperandsStartIndex() <= OperandNo && in isBundleOperand()
180 OperandNo < getBundleOperandsEndIndex(); in isBundleOperand()
/external/llvm-project/llvm/lib/Transforms/Scalar/
DInferAddressSpaces.cpp590 unsigned OperandNo = PHINode::getOperandNumForIncomingValue(Index); in cloneInstructionWithNewAddressSpace() local
591 NewPHI->addIncoming(NewPointerOperands[OperandNo], in cloneInstructionWithNewAddressSpace()
1047 unsigned OperandNo = UndefUse->getOperandNo(); in rewriteWithNewAddressSpaces() local
1048 assert(isa<UndefValue>(NewV->getOperand(OperandNo))); in rewriteWithNewAddressSpaces()
1049 NewV->setOperand(OperandNo, ValueWithNewAddrSpace.lookup(UndefUse->get())); in rewriteWithNewAddressSpaces()
/external/llvm-project/llvm/lib/IR/
DConstantsContext.h753 unsigned OperandNo = ~0u) {
766 assert(OperandNo < CP->getNumOperands() && "Invalid index");
767 assert(CP->getOperand(OperandNo) != To && "I didn't contain From!");
768 CP->setOperand(OperandNo, To);
/external/llvm-project/llvm/lib/CodeGen/
DRenameIndependentSubregs.cpp252 unsigned OperandNo = MI->getOperandNo(&MO); in rewriteOperands() local
253 unsigned TiedIdx = MI->findTiedOperandIdx(OperandNo); in rewriteOperands()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/
DRenameIndependentSubregs.cpp252 unsigned OperandNo = MI->getOperandNo(&MO); in rewriteOperands() local
253 unsigned TiedIdx = MI->findTiedOperandIdx(OperandNo); in rewriteOperands()

12