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

  /external/swiftshader/third_party/LLVM/lib/Transforms/Utils/
SimplifyIndVar.cpp 76 Value *foldIVUser(Instruction *UseInst, Instruction *IVOperand);
78 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) {
121 uint32_t BitWidth = cast<IntegerType>(UseInst->getType())->getBitWidth()
    [all...]
  /external/llvm/lib/Transforms/Utils/
SimplifyIndVar.cpp 69 Value *foldIVUser(Instruction *UseInst, Instruction *IVOperand);
71 bool eliminateIdentitySCEV(Instruction *UseInst, Instruction *IVOperand);
74 bool eliminateIVUser(Instruction *UseInst, Instruction *IVOperand);
85 /// IVOperand is guaranteed SCEVable, but UseInst may not be.
90 Value *SimplifyIndvar::foldIVUser(Instruction *UseInst, Instruction *IVOperand) {
94 switch (UseInst->getOpcode()) {
101 if (IVOperand != UseInst->getOperand(OperIdx) ||
102 !isa<ConstantInt>(UseInst->getOperand(1)))
115 ConstantInt *D = cast<ConstantInt>(UseInst->getOperand(1));
116 if (UseInst->getOpcode() == Instruction::LShr)
    [all...]
  /external/llvm/lib/CodeGen/
MachineSink.cpp 225 MachineInstr *UseInst = MO.getParent();
226 unsigned OpNo = &MO - &UseInst->getOperand(0);
227 MachineBasicBlock *UseBlock = UseInst->getParent();
228 if (!(UseBlock == MBB && UseInst->isPHI() &&
229 UseInst->getOperand(OpNo+1).getMBB() == DefMBB)) {
239 MachineInstr *UseInst = MO.getParent();
240 unsigned OpNo = &MO - &UseInst->getOperand(0);
241 MachineBasicBlock *UseBlock = UseInst->getParent();
242 if (UseInst->isPHI()) {
245 UseBlock = UseInst->getOperand(OpNo+1).getMBB()
    [all...]
  /external/swiftshader/third_party/LLVM/lib/Transforms/Scalar/
Sink.cpp 80 Instruction *UseInst = cast<Instruction>(*I);
81 BasicBlock *UseBlock = UseInst->getParent();
82 if (PHINode *PN = dyn_cast<PHINode>(UseInst)) {
  /external/swiftshader/third_party/LLVM/lib/CodeGen/
MachineSink.cpp 177 MachineInstr *UseInst = &*I;
178 MachineBasicBlock *UseBlock = UseInst->getParent();
179 if (!(UseBlock == MBB && UseInst->isPHI() &&
180 UseInst->getOperand(I.getOperandNo()+1).getMBB() == DefMBB)) {
192 MachineInstr *UseInst = &*I;
193 MachineBasicBlock *UseBlock = UseInst->getParent();
194 if (UseInst->isPHI()) {
197 UseBlock = UseInst->getOperand(I.getOperandNo()+1).getMBB();
  /external/llvm/lib/Transforms/Scalar/
Sink.cpp 45 Instruction *UseInst = cast<Instruction>(U.getUser());
46 BasicBlock *UseBlock = UseInst->getParent();
47 if (PHINode *PN = dyn_cast<PHINode>(UseInst)) {
  /external/llvm/lib/Target/AMDGPU/
AMDGPUPromoteAlloca.cpp 57 /// be the same value as one of the input operands of UseInst.
59 Instruction *UseInst,
553 Instruction *UseInst = cast<Instruction>(User);
554 if (UseInst->getOpcode() == Instruction::PtrToInt)
557 if (LoadInst *LI = dyn_cast_or_null<LoadInst>(UseInst)) {
564 if (StoreInst *SI = dyn_cast<StoreInst>(UseInst)) {
571 } else if (AtomicRMWInst *RMW = dyn_cast_or_null<AtomicRMWInst>(UseInst)) {
575 = dyn_cast_or_null<AtomicCmpXchgInst>(UseInst)) {
582 if (ICmpInst *ICmp = dyn_cast<ICmpInst>(UseInst)) {
593 if (GetElementPtrInst *GEP = dyn_cast<GetElementPtrInst>(UseInst)) {
    [all...]
  /external/llvm/lib/Target/WebAssembly/
WebAssemblyRegStackify.cpp 367 const MachineInstr *UseInst = Use.getParent();
368 VNInfo *UseVNI = LI.getVNInfoBefore(LIS.getInstructionIndex(*UseInst));
374 if (UseInst == OneUseInst) {
381 while (!MDT.dominates(OneUseInst, UseInst)) {
387 if (UseInst->getDesc().getNumDefs() == 0)
389 const MachineOperand &MO = UseInst->getOperand(0);
404 UseInst = NewUseInst;
    [all...]
  /external/swiftshader/third_party/LLVM/include/llvm/Support/
IRBuilder.h 96 Instruction *UseInst = cast<Instruction>(U.getUser());
97 if (PHINode *Phi = dyn_cast<PHINode>(UseInst)) {
103 SetInsertPoint(UseInst);
    [all...]
  /external/swiftshader/third_party/LLVM/lib/Analysis/
ScalarEvolution.cpp     [all...]
  /external/llvm/lib/Analysis/
ScalarEvolution.cpp     [all...]

Completed in 250 milliseconds