Searched refs:UseInst (Results 1 - 5 of 5) sorted by relevance

/external/llvm/lib/Transforms/Utils/
H A DSimplifyIndVar.cpp77 Value *foldIVUser(Instruction *UseInst, Instruction *IVOperand);
79 bool eliminateIVUser(Instruction *UseInst, Instruction *IVOperand);
92 /// IVOperand is guaranteed SCEVable, but UseInst may not be.
97 Value *SimplifyIndvar::foldIVUser(Instruction *UseInst, Instruction *IVOperand) { argument
101 switch (UseInst->getOpcode()) {
108 if (IVOperand != UseInst->getOperand(OperIdx) ||
109 !isa<ConstantInt>(UseInst->getOperand(1)))
122 ConstantInt *D = cast<ConstantInt>(UseInst->getOperand(1));
123 if (UseInst->getOpcode() == Instruction::LShr) {
125 uint32_t BitWidth = cast<IntegerType>(UseInst
143 << " -> " << *UseInst << '\\n'); local
245 eliminateIVUser(Instruction *UseInst, Instruction *IVOperand) argument
407 Instruction *UseInst = UseOper.first; local
[all...]
/external/llvm/lib/CodeGen/
H A DMachineSink.cpp176 MachineInstr *UseInst = MO.getParent(); local
177 unsigned OpNo = &MO - &UseInst->getOperand(0);
178 MachineBasicBlock *UseBlock = UseInst->getParent();
179 if (!(UseBlock == MBB && UseInst->isPHI() &&
180 UseInst->getOperand(OpNo+1).getMBB() == DefMBB)) {
190 MachineInstr *UseInst = MO.getParent(); local
191 unsigned OpNo = &MO - &UseInst->getOperand(0);
192 MachineBasicBlock *UseBlock = UseInst->getParent();
193 if (UseInst->isPHI()) {
196 UseBlock = UseInst
[all...]
/external/llvm/lib/Transforms/Scalar/
H A DSink.cpp84 Instruction *UseInst = cast<Instruction>(U.getUser()); local
85 BasicBlock *UseBlock = UseInst->getParent();
86 if (PHINode *PN = dyn_cast<PHINode>(UseInst)) {
/external/llvm/include/llvm/IR/
H A DIRBuilder.h107 Instruction *UseInst = cast<Instruction>(U.getUser()); local
108 if (PHINode *Phi = dyn_cast<PHINode>(UseInst)) {
114 SetInsertPoint(UseInst);
/external/llvm/lib/Analysis/
H A DScalarEvolution.cpp4957 getConstantEvolvingPHIOperands(Instruction *UseInst, const Loop *L,
4963 for (Instruction::op_iterator OpI = UseInst->op_begin(),
4964 OpE = UseInst->op_end(); OpI != OpE; ++OpI) {

Completed in 118 milliseconds