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

  /external/llvm/lib/Transforms/Utils/
SimplifyIndVar.cpp 70 Value *foldIVUser(Instruction *UseInst, Instruction *IVOperand);
72 bool eliminateIdentitySCEV(Instruction *UseInst, Instruction *IVOperand);
74 bool eliminateIVUser(Instruction *UseInst, Instruction *IVOperand);
88 /// IVOperand is guaranteed SCEVable, but UseInst may not be.
93 Value *SimplifyIndvar::foldIVUser(Instruction *UseInst, Instruction *IVOperand) {
97 switch (UseInst->getOpcode()) {
104 if (IVOperand != UseInst->getOperand(OperIdx) ||
105 !isa<ConstantInt>(UseInst->getOperand(1)))
118 ConstantInt *D = cast<ConstantInt>(UseInst->getOperand(1));
119 if (UseInst->getOpcode() == Instruction::LShr)
    [all...]
  /external/llvm/lib/CodeGen/
MachineSink.cpp 224 MachineInstr *UseInst = MO.getParent();
225 unsigned OpNo = &MO - &UseInst->getOperand(0);
226 MachineBasicBlock *UseBlock = UseInst->getParent();
227 if (!(UseBlock == MBB && UseInst->isPHI() &&
228 UseInst->getOperand(OpNo+1).getMBB() == DefMBB)) {
238 MachineInstr *UseInst = MO.getParent();
239 unsigned OpNo = &MO - &UseInst->getOperand(0);
240 MachineBasicBlock *UseBlock = UseInst->getParent();
241 if (UseInst->isPHI()) {
244 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/AMDGPU/
AMDGPUPromoteAlloca.cpp 258 Instruction *UseInst = dyn_cast<Instruction>(User);
259 if (UseInst && UseInst->getOpcode() == Instruction::PtrToInt)
262 if (StoreInst *SI = dyn_cast_or_null<StoreInst>(UseInst)) {
  /external/llvm/lib/Analysis/
ScalarEvolution.cpp     [all...]

Completed in 723 milliseconds