HomeSort by relevance Sort by last modified time
    Searched refs:UseInst (Results 1 - 6 of 6) sorted by null

  /external/llvm/lib/Transforms/Utils/
SimplifyIndVar.cpp 70 Value *foldIVUser(Instruction *UseInst, Instruction *IVOperand);
72 bool eliminateIVUser(Instruction *UseInst, Instruction *IVOperand);
86 /// IVOperand is guaranteed SCEVable, but UseInst may not be.
91 Value *SimplifyIndvar::foldIVUser(Instruction *UseInst, Instruction *IVOperand) {
95 switch (UseInst->getOpcode()) {
102 if (IVOperand != UseInst->getOperand(OperIdx) ||
103 !isa<ConstantInt>(UseInst->getOperand(1)))
116 ConstantInt *D = cast<ConstantInt>(UseInst->getOperand(1));
117 if (UseInst->getOpcode() == Instruction::LShr) {
119 uint32_t BitWidth = cast<IntegerType>(UseInst->getType())->getBitWidth()
    [all...]
  /external/llvm/lib/CodeGen/
MachineSink.cpp 212 MachineInstr *UseInst = MO.getParent();
213 unsigned OpNo = &MO - &UseInst->getOperand(0);
214 MachineBasicBlock *UseBlock = UseInst->getParent();
215 if (!(UseBlock == MBB && UseInst->isPHI() &&
216 UseInst->getOperand(OpNo+1).getMBB() == DefMBB)) {
226 MachineInstr *UseInst = MO.getParent();
227 unsigned OpNo = &MO - &UseInst->getOperand(0);
228 MachineBasicBlock *UseBlock = UseInst->getParent();
229 if (UseInst->isPHI()) {
232 UseBlock = UseInst->getOperand(OpNo+1).getMBB()
    [all...]
  /external/llvm/lib/Transforms/Scalar/
Sink.cpp 84 Instruction *UseInst = cast<Instruction>(U.getUser());
85 BasicBlock *UseBlock = UseInst->getParent();
86 if (PHINode *PN = dyn_cast<PHINode>(UseInst)) {
  /external/llvm/lib/Target/R600/
AMDGPUPromoteAlloca.cpp 249 Instruction *UseInst = dyn_cast<Instruction>(User);
250 if (UseInst && UseInst->getOpcode() == Instruction::PtrToInt)
  /external/llvm/include/llvm/IR/
IRBuilder.h 108 Instruction *UseInst = cast<Instruction>(U.getUser());
109 if (PHINode *Phi = dyn_cast<PHINode>(UseInst)) {
115 SetInsertPoint(UseInst);
    [all...]
  /external/llvm/lib/Analysis/
ScalarEvolution.cpp     [all...]

Completed in 1189 milliseconds