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

/freebsd-10-stable/contrib/llvm/lib/Transforms/Utils/
H A DSimplifyIndVar.cpp72 Value *foldIVUser(Instruction *UseInst, Instruction *IVOperand);
74 bool eliminateIVUser(Instruction *UseInst, Instruction *IVOperand);
84 /// IVOperand is guaranteed SCEVable, but UseInst may not be.
89 Value *SimplifyIndvar::foldIVUser(Instruction *UseInst, Instruction *IVOperand) { argument
93 switch (UseInst->getOpcode()) {
100 if (IVOperand != UseInst->getOperand(OperIdx) ||
101 !isa<ConstantInt>(UseInst->getOperand(1)))
114 ConstantInt *D = cast<ConstantInt>(UseInst->getOperand(1));
115 if (UseInst->getOpcode() == Instruction::LShr) {
117 uint32_t BitWidth = cast<IntegerType>(UseInst
135 << " -> " << *UseInst << '\\n'); local
237 eliminateIVUser(Instruction *UseInst, Instruction *IVOperand) argument
[all...]
/freebsd-10-stable/contrib/llvm/lib/CodeGen/
H A DMachineSink.cpp187 MachineInstr *UseInst = &*I; local
188 MachineBasicBlock *UseBlock = UseInst->getParent();
189 if (!(UseBlock == MBB && UseInst->isPHI() &&
190 UseInst->getOperand(I.getOperandNo()+1).getMBB() == DefMBB)) {
202 MachineInstr *UseInst = &*I; local
203 MachineBasicBlock *UseBlock = UseInst->getParent();
204 if (UseInst->isPHI()) {
207 UseBlock = UseInst->getOperand(I.getOperandNo()+1).getMBB();
466 MachineInstr *UseInst = &*I; local
467 MachineBasicBlock *UseBlock = UseInst
[all...]
/freebsd-10-stable/contrib/llvm/lib/Transforms/Scalar/
H A DSink.cpp83 Instruction *UseInst = cast<Instruction>(*I); local
84 BasicBlock *UseBlock = UseInst->getParent();
85 if (PHINode *PN = dyn_cast<PHINode>(UseInst)) {
/freebsd-10-stable/contrib/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);
/freebsd-10-stable/contrib/llvm/lib/Analysis/
H A DScalarEvolution.cpp4775 getConstantEvolvingPHIOperands(Instruction *UseInst, const Loop *L,
4781 for (Instruction::op_iterator OpI = UseInst->op_begin(),
4782 OpE = UseInst->op_end(); OpI != OpE; ++OpI) {

Completed in 205 milliseconds