Home
last modified time | relevance | path

Searched refs:OpndIdx (Results 1 – 9 of 9) sorted by relevance

/external/llvm/lib/Transforms/Scalar/
DConstantHoisting.cpp151 BBs.insert(findMatInsertPt(U.Inst, U.OpndIdx)->getParent()); in findConstantInsertionPoint()
356 unsigned OpndIdx = User.OpndIdx; in maximizeConstantsInRange() local
357 Cost += TTI->getIntImmCost(Opcode, OpndIdx, Value, Ty); in maximizeConstantsInRange()
366 TTI->getIntImmCodeSizeCost(Opcode, OpndIdx, Diff.getValue(), Ty); in maximizeConstantsInRange()
481 ConstUser.OpndIdx); in emitBaseConstants()
490 Value *Opnd = ConstUser.Inst->getOperand(ConstUser.OpndIdx); in emitBaseConstants()
495 if (!updateOperand(ConstUser.Inst, ConstUser.OpndIdx, Mat) && Offset) in emitBaseConstants()
518 updateOperand(ConstUser.Inst, ConstUser.OpndIdx, ClonedCastInst); in emitBaseConstants()
528 ConstUser.OpndIdx)); in emitBaseConstants()
536 if (!updateOperand(ConstUser.Inst, ConstUser.OpndIdx, ConstExprInst)) { in emitBaseConstants()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Scalar/
DConstantHoisting.cpp317 BBs.insert(findMatInsertPt(U.Inst, U.OpndIdx)->getParent()); in findConstantInsertionPoint()
584 unsigned OpndIdx = User.OpndIdx; in maximizeConstantsInRange() local
585 Cost += TTI->getIntImmCostInst(Opcode, OpndIdx, Value, Ty); in maximizeConstantsInRange()
594 TTI->getIntImmCodeSizeCost(Opcode, OpndIdx, Diff.getValue(), Ty); in maximizeConstantsInRange()
677 if (SI->getPointerOperand() == SI->getOperand(U.OpndIdx)) { in findBaseConstants()
747 ConstUser.OpndIdx); in emitBaseConstants()
767 Value *Opnd = ConstUser.Inst->getOperand(ConstUser.OpndIdx); in emitBaseConstants()
772 if (!updateOperand(ConstUser.Inst, ConstUser.OpndIdx, Mat) && Offset) in emitBaseConstants()
795 updateOperand(ConstUser.Inst, ConstUser.OpndIdx, ClonedCastInst); in emitBaseConstants()
804 updateOperand(ConstUser.Inst, ConstUser.OpndIdx, Mat); in emitBaseConstants()
[all …]
/external/llvm-project/llvm/lib/Transforms/Scalar/
DConstantHoisting.cpp317 BBs.insert(findMatInsertPt(U.Inst, U.OpndIdx)->getParent()); in findConstantInsertionPoint()
588 unsigned OpndIdx = User.OpndIdx; in maximizeConstantsInRange() local
589 Cost += TTI->getIntImmCostInst(Opcode, OpndIdx, Value, Ty, in maximizeConstantsInRange()
599 TTI->getIntImmCodeSizeCost(Opcode, OpndIdx, Diff.getValue(), Ty); in maximizeConstantsInRange()
682 if (SI->getPointerOperand() == SI->getOperand(U.OpndIdx)) { in findBaseConstants()
752 ConstUser.OpndIdx); in emitBaseConstants()
772 Value *Opnd = ConstUser.Inst->getOperand(ConstUser.OpndIdx); in emitBaseConstants()
777 if (!updateOperand(ConstUser.Inst, ConstUser.OpndIdx, Mat) && Offset) in emitBaseConstants()
800 updateOperand(ConstUser.Inst, ConstUser.OpndIdx, ClonedCastInst); in emitBaseConstants()
809 updateOperand(ConstUser.Inst, ConstUser.OpndIdx, Mat); in emitBaseConstants()
[all …]
/external/llvm/include/llvm/Transforms/Scalar/
DConstantHoisting.h53 unsigned OpndIdx; member
55 ConstantUser(Instruction *Inst, unsigned Idx) : Inst(Inst), OpndIdx(Idx) { } in ConstantUser()
/external/llvm-project/llvm/include/llvm/Transforms/Scalar/
DConstantHoisting.h72 unsigned OpndIdx; member
74 ConstantUser(Instruction *Inst, unsigned Idx) : Inst(Inst), OpndIdx(Idx) {} in ConstantUser()
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Transforms/Scalar/
DConstantHoisting.h72 unsigned OpndIdx; member
74 ConstantUser(Instruction *Inst, unsigned Idx) : Inst(Inst), OpndIdx(Idx) {} in ConstantUser()
/external/llvm/lib/Target/AArch64/
DAArch64FrameLowering.cpp362 unsigned OpndIdx = 0; in convertCalleeSaveRestoreToSPPrePostIncDec() local
363 for (unsigned OpndEnd = MBBI->getNumOperands() - 1; OpndIdx < OpndEnd; in convertCalleeSaveRestoreToSPPrePostIncDec()
364 ++OpndIdx) in convertCalleeSaveRestoreToSPPrePostIncDec()
365 MIB.addOperand(MBBI->getOperand(OpndIdx)); in convertCalleeSaveRestoreToSPPrePostIncDec()
367 assert(MBBI->getOperand(OpndIdx).getImm() == 0 && in convertCalleeSaveRestoreToSPPrePostIncDec()
370 assert(MBBI->getOperand(OpndIdx - 1).getReg() == AArch64::SP && in convertCalleeSaveRestoreToSPPrePostIncDec()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AArch64/
DAArch64FrameLowering.cpp699 unsigned OpndIdx = 0; in convertCalleeSaveRestoreToSPPrePostIncDec() local
700 for (unsigned OpndEnd = MBBI->getNumOperands() - 1; OpndIdx < OpndEnd; in convertCalleeSaveRestoreToSPPrePostIncDec()
701 ++OpndIdx) in convertCalleeSaveRestoreToSPPrePostIncDec()
702 MIB.add(MBBI->getOperand(OpndIdx)); in convertCalleeSaveRestoreToSPPrePostIncDec()
704 assert(MBBI->getOperand(OpndIdx).getImm() == 0 && in convertCalleeSaveRestoreToSPPrePostIncDec()
707 assert(MBBI->getOperand(OpndIdx - 1).getReg() == AArch64::SP && in convertCalleeSaveRestoreToSPPrePostIncDec()
/external/llvm-project/llvm/lib/Target/AArch64/
DAArch64FrameLowering.cpp889 unsigned OpndIdx = 0; in convertCalleeSaveRestoreToSPPrePostIncDec() local
890 for (unsigned OpndEnd = MBBI->getNumOperands() - 1; OpndIdx < OpndEnd; in convertCalleeSaveRestoreToSPPrePostIncDec()
891 ++OpndIdx) in convertCalleeSaveRestoreToSPPrePostIncDec()
892 MIB.add(MBBI->getOperand(OpndIdx)); in convertCalleeSaveRestoreToSPPrePostIncDec()
894 assert(MBBI->getOperand(OpndIdx).getImm() == 0 && in convertCalleeSaveRestoreToSPPrePostIncDec()
897 assert(MBBI->getOperand(OpndIdx - 1).getReg() == AArch64::SP && in convertCalleeSaveRestoreToSPPrePostIncDec()