Home
last modified time | relevance | path

Searched refs:TruncInst (Results 1 – 24 of 24) sorted by relevance

/external/llvm/lib/Transforms/InstCombine/
DInstCombineCasts.cpp436 Instruction *InstCombiner::visitTrunc(TruncInst &CI) { in visitTrunc()
661 if (isa<TruncInst>(I) && I->getOperand(0)->getType() == Ty) in CanEvaluateZExtd()
750 if (CI.hasOneUse() && isa<TruncInst>(CI.use_back())) in visitZExt()
799 if (TruncInst *CSrc = dyn_cast<TruncInst>(Src)) { // A->B->C cast in visitZExt()
854 if (TruncInst *TI = dyn_cast<TruncInst>(SrcI->getOperand(0))) { in visitZExt()
868 if (TruncInst *TI = dyn_cast<TruncInst>(And->getOperand(0))) { in visitZExt()
1003 if (isa<TruncInst>(I) && I->getOperand(0)->getType() == Ty) in CanEvaluateSExtd()
1052 if (CI.hasOneUse() && isa<TruncInst>(CI.use_back())) in visitSExt()
1094 if (TruncInst *TI = dyn_cast<TruncInst>(Src)) in visitSExt()
1729 if (isa<TruncInst>(Src) || isa<ZExtInst>(Src)) { in visitBitCast()
DInstCombineShifts.cpp360 if (TruncInst *TI = dyn_cast<TruncInst>(Op0)) { in FoldShiftByConstant()
399 return new TruncInst(And, I.getType()); in FoldShiftByConstant()
DInstCombinePHI.cpp667 if (isa<TruncInst>(User)) { in SliceUpIllegalIntegerPHI()
674 !User->hasOneUse() || !isa<TruncInst>(User->use_back()) || in SliceUpIllegalIntegerPHI()
DInstCombine.h169 Instruction *visitTrunc(TruncInst &CI);
DInstCombineCompares.cpp1110 if (TruncInst *Cast = dyn_cast<TruncInst>(LHSI->getOperand(0))) { in visitICmpInstWithInstAndIntCst()
1739 TruncInst *TI = dyn_cast<TruncInst>(*UI); in ProcessUGT_ADDCST_ADD()
DInstCombineCalls.cpp295 return new TruncInst(V, IIOperand->getType()); in visitCallInst()
/external/llvm/lib/ExecutionEngine/Interpreter/
DInterpreter.h156 void visitTruncInst(TruncInst &I);
DExecution.cpp1098 void Interpreter::visitTruncInst(TruncInst &I) { in visitTruncInst()
/external/llvm/include/llvm/
DInstVisitor.h182 RetTy visitTruncInst(TruncInst &I) { DELEGATE(CastInst);} in visitTruncInst()
/external/llvm/lib/IR/
DInstructions.cpp2293 case Trunc: return new TruncInst (S, Ty, Name, InsertBefore); in Create()
2314 case Trunc: return new TruncInst (S, Ty, Name, InsertAtEnd); in Create()
2708 TruncInst::TruncInst( in TruncInst() function in TruncInst
2714 TruncInst::TruncInst( in TruncInst() function in TruncInst
3445 TruncInst *TruncInst::clone_impl() const { in clone_impl()
3446 return new TruncInst(getOperand(0), getType()); in clone_impl()
DVerifier.cpp254 void visitTruncInst(TruncInst &I);
1057 void Verifier::visitTruncInst(TruncInst &I) { in visitTruncInst()
/external/llvm/include/llvm/IR/
DInstruction.def145 HANDLE_CAST_INST(33, Trunc , TruncInst ) // Truncate integers
DInstructions.h3271 class TruncInst : public CastInst {
3274 virtual TruncInst *clone_impl() const;
3278 TruncInst(
3286 TruncInst(
/external/llvm/lib/CodeGen/
DAnalysis.cpp217 if (isa<TruncInst>(I) && in getNoopInput()
/external/llvm/lib/Target/X86/
DX86FastISel.cpp1117 } else if (TruncInst *TI = dyn_cast<TruncInst>(BI->getCondition())) { in X86SelectBranch()
1749 if (ArgVal->getType()->isIntegerTy(1) && isa<TruncInst>(ArgVal) && in DoSelectCall()
1750 cast<TruncInst>(ArgVal)->getParent() == I->getParent() && in DoSelectCall()
1752 ArgVal = cast<TruncInst>(ArgVal)->getOperand(0); in DoSelectCall()
/external/llvm/lib/CodeGen/SelectionDAG/
DSelectionDAGBuilder.h72 class TruncInst; variable
/external/llvm/tools/llvm-stress/
Dllvm-stress.cpp512 new TruncInst(V, DestTy, "Tr", BB->getTerminator())); in Act()
/external/llvm/include/llvm-c/
DCore.h1072 macro(TruncInst) \
/external/llvm/lib/Target/ARM/
DARMFastISel.cpp1327 } else if (TruncInst *TI = dyn_cast<TruncInst>(BI->getCondition())) { in SelectBranch()
/external/llvm/lib/Transforms/Scalar/
DCodeGenPrepare.cpp1794 InsertedTrunc = new TruncInst(I, Src->getType(), "", InsertPt); in OptimizeExtUses()
DGVN.cpp821 StoredVal = new TruncInst(StoredVal, NewIntTy, "trunc", InsertPt); in CoerceAvailableValueToLoadType()
DLoopStrengthReduce.cpp2305 if (TruncInst *Trunc = dyn_cast<TruncInst>(Oper)) in getWideOperand()
DScalarReplAggregates.cpp2531 ResultVal = new TruncInst(ResultVal, LI->getType(), "", LI); in RewriteLoadUserOfWholeAlloca()
/external/llvm/lib/Transforms/Instrumentation/
DMemorySanitizer.cpp907 void visitTruncInst(TruncInst &I) { in visitTruncInst()