Searched refs:OpndIdx (Results 1 – 6 of 6) sorted by relevance
/external/llvm/lib/Transforms/Scalar/ |
D | ConstantHoisting.cpp | 151 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-7.0/llvm/lib/Transforms/Scalar/ |
D | ConstantHoisting.cpp | 301 BBs.insert(findMatInsertPt(U.Inst, U.OpndIdx)->getParent()); in findConstantInsertionPoint() 515 unsigned OpndIdx = User.OpndIdx; in maximizeConstantsInRange() local 516 Cost += TTI->getIntImmCost(Opcode, OpndIdx, Value, Ty); in maximizeConstantsInRange() 525 TTI->getIntImmCodeSizeCost(Opcode, OpndIdx, Diff.getValue(), Ty); in maximizeConstantsInRange() 640 ConstUser.OpndIdx); in emitBaseConstants() 650 Value *Opnd = ConstUser.Inst->getOperand(ConstUser.OpndIdx); in emitBaseConstants() 655 if (!updateOperand(ConstUser.Inst, ConstUser.OpndIdx, Mat) && Offset) in emitBaseConstants() 678 updateOperand(ConstUser.Inst, ConstUser.OpndIdx, ClonedCastInst); in emitBaseConstants() 688 ConstUser.OpndIdx)); in emitBaseConstants() 696 if (!updateOperand(ConstUser.Inst, ConstUser.OpndIdx, ConstExprInst)) { in emitBaseConstants() [all …]
|
/external/llvm/include/llvm/Transforms/Scalar/ |
D | ConstantHoisting.h | 53 unsigned OpndIdx; member 55 ConstantUser(Instruction *Inst, unsigned Idx) : Inst(Inst), OpndIdx(Idx) { } in ConstantUser()
|
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/Transforms/Scalar/ |
D | ConstantHoisting.h | 67 unsigned OpndIdx; member 69 ConstantUser(Instruction *Inst, unsigned Idx) : Inst(Inst), OpndIdx(Idx) {} in ConstantUser()
|
/external/llvm/lib/Target/AArch64/ |
D | AArch64FrameLowering.cpp | 362 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-7.0/llvm/lib/Target/AArch64/ |
D | AArch64FrameLowering.cpp | 464 unsigned OpndIdx = 0; in convertCalleeSaveRestoreToSPPrePostIncDec() local 465 for (unsigned OpndEnd = MBBI->getNumOperands() - 1; OpndIdx < OpndEnd; in convertCalleeSaveRestoreToSPPrePostIncDec() 466 ++OpndIdx) in convertCalleeSaveRestoreToSPPrePostIncDec() 467 MIB.add(MBBI->getOperand(OpndIdx)); in convertCalleeSaveRestoreToSPPrePostIncDec() 469 assert(MBBI->getOperand(OpndIdx).getImm() == 0 && in convertCalleeSaveRestoreToSPPrePostIncDec() 472 assert(MBBI->getOperand(OpndIdx - 1).getReg() == AArch64::SP && in convertCalleeSaveRestoreToSPPrePostIncDec()
|