Home
last modified time | relevance | path

Searched refs:UserI (Results 1 – 3 of 3) sorted by relevance

/external/llvm/lib/Transforms/Scalar/
DBDCE.cpp60 void determineLiveOperandBits(const Instruction *UserI,
84 void BDCE::determineLiveOperandBits(const Instruction *UserI, in determineLiveOperandBits() argument
103 AC, UserI, DT); in determineLiveOperandBits()
109 0, AC, UserI, DT); in determineLiveOperandBits()
113 switch (UserI->getOpcode()) { in determineLiveOperandBits()
117 if (const IntrinsicInst *II = dyn_cast<IntrinsicInst>(UserI)) in determineLiveOperandBits()
157 dyn_cast<ConstantInt>(UserI->getOperand(1))) { in determineLiveOperandBits()
163 const ShlOperator *S = cast<ShlOperator>(UserI); in determineLiveOperandBits()
173 dyn_cast<ConstantInt>(UserI->getOperand(1))) { in determineLiveOperandBits()
179 if (cast<LShrOperator>(UserI)->isExact()) in determineLiveOperandBits()
[all …]
/external/llvm/lib/Transforms/InstCombine/
DInstCombinePHI.cpp653 Instruction *UserI = cast<Instruction>(U); in SliceUpIllegalIntegerPHI() local
656 if (PHINode *UserPN = dyn_cast<PHINode>(UserI)) { in SliceUpIllegalIntegerPHI()
663 if (isa<TruncInst>(UserI)) { in SliceUpIllegalIntegerPHI()
664 PHIUsers.push_back(PHIUsageRecord(PHIId, 0, UserI)); in SliceUpIllegalIntegerPHI()
669 if (UserI->getOpcode() != Instruction::LShr || in SliceUpIllegalIntegerPHI()
670 !UserI->hasOneUse() || !isa<TruncInst>(UserI->user_back()) || in SliceUpIllegalIntegerPHI()
671 !isa<ConstantInt>(UserI->getOperand(1))) in SliceUpIllegalIntegerPHI()
674 unsigned Shift = cast<ConstantInt>(UserI->getOperand(1))->getZExtValue(); in SliceUpIllegalIntegerPHI()
675 PHIUsers.push_back(PHIUsageRecord(PHIId, Shift, UserI->user_back())); in SliceUpIllegalIntegerPHI()
700 for (unsigned UserI = 0, UserE = PHIUsers.size(); UserI != UserE; ++UserI) { in SliceUpIllegalIntegerPHI() local
[all …]
/external/llvm/lib/CodeGen/
DCodeGenPrepare.cpp1876 Instruction *UserI = cast<Instruction>(U.getUser()); in UsesReplacer() local
1877 OriginalUses.push_back(InstructionAndIdx(UserI, U.getOperandNo())); in UsesReplacer()
2960 Instruction *UserI = cast<Instruction>(U.getUser()); in FindAllMemoryUses() local
2962 if (LoadInst *LI = dyn_cast<LoadInst>(UserI)) { in FindAllMemoryUses()
2967 if (StoreInst *SI = dyn_cast<StoreInst>(UserI)) { in FindAllMemoryUses()
2974 if (CallInst *CI = dyn_cast<CallInst>(UserI)) { in FindAllMemoryUses()
2984 if (FindAllMemoryUses(UserI, MemoryUses, ConsideredInsts, TM)) in FindAllMemoryUses()