Searched defs:UseInst (Results 1 - 4 of 4) sorted by relevance

/external/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)) {
/external/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...]
/external/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();
449 MachineInstr *UseInst = &*I; local
450 MachineBasicBlock *UseBlock = UseInst
[all...]
/external/llvm/include/llvm/IR/
H A DIRBuilder.h103 Instruction *UseInst = cast<Instruction>(U.getUser()); local
104 if (PHINode *Phi = dyn_cast<PHINode>(UseInst)) {
110 SetInsertPoint(UseInst);

Completed in 176 milliseconds