Home
last modified time | relevance | path

Searched refs:OpI (Results 1 – 6 of 6) sorted by relevance

/external/llvm/lib/Transforms/InstCombine/
DInstCombineCasts.cpp1186 BinaryOperator *OpI = dyn_cast<BinaryOperator>(CI.getOperand(0)); in visitFPTrunc() local
1187 if (OpI && OpI->hasOneUse()) { in visitFPTrunc()
1188 switch (OpI->getOpcode()) { in visitFPTrunc()
1195 Type *SrcTy = OpI->getType(); in visitFPTrunc()
1196 Value *LHSTrunc = LookThroughFPExtensions(OpI->getOperand(0)); in visitFPTrunc()
1197 Value *RHSTrunc = LookThroughFPExtensions(OpI->getOperand(1)); in visitFPTrunc()
1207 return BinaryOperator::Create(OpI->getOpcode(), LHSTrunc, RHSTrunc); in visitFPTrunc()
1254 Instruction *OpI = dyn_cast<Instruction>(FI.getOperand(0)); in visitFPToUI() local
1255 if (OpI == 0) in visitFPToUI()
1264 if ((isa<UIToFPInst>(OpI) || isa<SIToFPInst>(OpI)) && in visitFPToUI()
[all …]
/external/llvm/lib/Transforms/Scalar/
DTailDuplication.cpp268 if (Instruction *OpI = dyn_cast<Instruction>(I->getOperand(op))) in eliminateUnconditionalBranch() local
269 if (OpI->getParent() == DestBlock || in eliminateUnconditionalBranch()
270 (isa<InvokeInst>(OpI) && OpI->getParent() == DomBlock)) { in eliminateUnconditionalBranch()
DLoopIdiomRecognize.cpp155 if (Instruction *OpI = dyn_cast<Instruction>(Op)) in deleteDeadInstruction() local
156 if (isInstructionTriviallyDead(OpI)) in deleteDeadInstruction()
157 NowDeadInsts.push_back(OpI); in deleteDeadInstruction()
DDeadStoreElimination.cpp129 if (Instruction *OpI = dyn_cast<Instruction>(Op)) in DeleteDeadInstruction() local
130 if (isInstructionTriviallyDead(OpI)) in DeleteDeadInstruction()
131 NowDeadInsts.push_back(OpI); in DeleteDeadInstruction()
/external/llvm/lib/Transforms/Utils/
DLocal.cpp280 if (Instruction *OpI = dyn_cast<Instruction>(OpV)) in RecursivelyDeleteTriviallyDeadInstructions() local
281 if (isInstructionTriviallyDead(OpI)) in RecursivelyDeleteTriviallyDeadInstructions()
282 DeadInsts.push_back(OpI); in RecursivelyDeleteTriviallyDeadInstructions()
DSimplifyCFG.cpp1056 Instruction *OpI = dyn_cast<Instruction>(*i); in SpeculativelyExecuteBB() local
1057 if (OpI && OpI->getParent() == BIParent && in SpeculativelyExecuteBB()
1058 !OpI->isUsedInBasicBlock(BIParent)) in SpeculativelyExecuteBB()