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

  /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/CodeGen/
MachineSink.cpp 176 MachineInstr *UseInst = MO.getParent();
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();
191 unsigned OpNo = &MO - &UseInst->getOperand(0);
192 MachineBasicBlock *UseBlock = UseInst->getParent();
193 if (UseInst->isPHI()) {
196 UseBlock = UseInst->getOperand(OpNo+1).getMBB()
    [all...]
  /external/llvm/lib/Transforms/Utils/
SimplifyIndVar.cpp 77 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) {
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->getType())->getBitWidth()
    [all...]
  /external/llvm/include/llvm/IR/
IRBuilder.h 107 Instruction *UseInst = cast<Instruction>(U.getUser());
108 if (PHINode *Phi = dyn_cast<PHINode>(UseInst)) {
114 SetInsertPoint(UseInst);
    [all...]

Completed in 132 milliseconds