/external/swiftshader/third_party/llvm-7.0/llvm/test/Transforms/AggressiveInstCombine/ |
D | trunc_multi_uses.ll | 14 ;; These tests check cases where expression dag post-dominated by TruncInst 32 ; make sure zext have another use that is not post-dominated by the TruncInst. 51 ; make sure zext have another use that is not post-dominated by the TruncInst. 70 ; make sure zext have another use that is not post-dominated by the TruncInst. 89 ; make sure zext have another use that is not post-dominated by the TruncInst. 111 ; make sure zext have another use that is not post-dominated by the TruncInst. 131 ; make sure zext have another use that is not post-dominated by the TruncInst. 150 ; make sure zext have another use that is not post-dominated by the TruncInst. 169 ; make sure zext have another use that is not post-dominated by the TruncInst. 188 ; make sure zext have another use that is not post-dominated by the TruncInst. [all …]
|
D | trunc_const_expr.ll | 13 ;; These tests check cases where expression dag post-dominated by TruncInst
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/AggressiveInstCombine/ |
D | AggressiveInstCombineInternal.h | 56 SmallVector<TruncInst *, 4> Worklist; 59 TruncInst *CurrentTruncInst;
|
D | TruncInstCombine.cpp | 320 assert(!isa<TruncInst>(I) && "Cannot reach here with TruncInst"); in ReduceExpressionDag() 336 if (auto *NewCI = dyn_cast<TruncInst>(Res)) in ReduceExpressionDag() 340 } else if (auto *NewCI = dyn_cast<TruncInst>(Res)) in ReduceExpressionDag() 397 if (auto *CI = dyn_cast<TruncInst>(&I)) in run()
|
/external/swiftshader/third_party/LLVM/lib/Transforms/InstCombine/ |
D | InstCombineCasts.cpp | 429 Instruction *InstCombiner::visitTrunc(TruncInst &CI) { in visitTrunc() 660 if (0 && isa<TruncInst>(I) && I->getOperand(0)->getType() == Ty) in CanEvaluateZExtd() 749 if (CI.hasOneUse() && isa<TruncInst>(CI.use_back())) in visitZExt() 798 if (TruncInst *CSrc = dyn_cast<TruncInst>(Src)) { // A->B->C cast in visitZExt() 853 if (TruncInst *TI = dyn_cast<TruncInst>(SrcI->getOperand(0))) { in visitZExt() 867 if (TruncInst *TI = dyn_cast<TruncInst>(And->getOperand(0))) { in visitZExt() 1006 if (0 && isa<TruncInst>(I) && I->getOperand(0)->getType() == Ty) in CanEvaluateSExtd() 1055 if (CI.hasOneUse() && isa<TruncInst>(CI.use_back())) in visitSExt() 1097 if (TruncInst *TI = dyn_cast<TruncInst>(Src)) in visitSExt() 1386 return new TruncInst(P, CI.getType()); in visitPtrToInt() [all …]
|
D | InstCombineShifts.cpp | 359 if (TruncInst *TI = dyn_cast<TruncInst>(Op0)) { in FoldShiftByConstant() 398 return new TruncInst(And, I.getType()); in FoldShiftByConstant()
|
/external/llvm/lib/Target/AArch64/ |
D | AArch64AddressTypePromotion.cpp | 166 if (isa<TruncInst>(Inst) && isa<SExtInst>(Inst->getOperand(0))) { in canGetThrough() 195 if (isa<TruncInst>(Inst)) in shouldGetThrough() 281 if (isa<SExtInst>(Inst) || isa<TruncInst>(Inst)) { in propagateSignExtension()
|
/external/llvm/lib/Transforms/InstCombine/ |
D | InstCombineCasts.cpp | 439 static Instruction *foldVecTruncToExtElt(TruncInst &Trunc, InstCombiner &IC, in foldVecTruncToExtElt() 477 Instruction *InstCombiner::visitTrunc(TruncInst &CI) { in visitTrunc() 735 if (isa<TruncInst>(I) && I->getOperand(0)->getType() == Ty) in canEvaluateZExtd() 835 if (CI.hasOneUse() && isa<TruncInst>(CI.user_back())) in visitZExt() 886 if (TruncInst *CSrc = dyn_cast<TruncInst>(Src)) { // A->B->C cast in visitZExt() 1071 if (isa<TruncInst>(I) && I->getOperand(0)->getType() == Ty) in canEvaluateSExtd() 1120 if (CI.hasOneUse() && isa<TruncInst>(CI.user_back())) in visitSExt() 1171 if (TruncInst *TI = dyn_cast<TruncInst>(Src)) in visitSExt() 1455 return new TruncInst(SrcI, FITy); in FoldItoFPtoI() 1854 if (isa<TruncInst>(Src) || isa<ZExtInst>(Src)) { in visitBitCast()
|
D | InstCombineShifts.cpp | 371 if (TruncInst *TI = dyn_cast<TruncInst>(Op0)) { in FoldShiftByConstant() 410 return new TruncInst(And, I.getType()); in FoldShiftByConstant()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/ARM/ |
D | ARMCodeGenPrepare.cpp | 165 else if (isa<TruncInst>(V)) in isSource() 232 if (isa<StoreInst>(I) || isa<TerminatorInst>(I) || isa<TruncInst>(I) || in shouldPromote() 519 else if (auto *Trunc = dyn_cast<TruncInst>(V)) in isSupportedValue() 646 if (isa<TruncInst>(V)) in TryToPromote()
|
/external/spirv-llvm/lib/SPIRV/ |
D | SPIRVLowerBool.cpp | 77 virtual void visitTruncInst(TruncInst &I) { in visitTruncInst()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/InstCombine/ |
D | InstCombineCasts.cpp | 457 static Instruction *foldVecTruncToExtElt(TruncInst &Trunc, InstCombiner &IC) { in foldVecTruncToExtElt() 496 Instruction *InstCombiner::narrowRotate(TruncInst &Trunc) { in narrowRotate() 565 Instruction *InstCombiner::narrowBinOp(TruncInst &Trunc) { in narrowBinOp() 623 static Instruction *shrinkSplatShuffle(TruncInst &Trunc, in shrinkSplatShuffle() 670 Instruction *InstCombiner::visitTrunc(TruncInst &CI) { in visitTrunc() 1054 if (CI.hasOneUse() && isa<TruncInst>(CI.user_back())) in visitZExt() 1107 if (TruncInst *CSrc = dyn_cast<TruncInst>(Src)) { // A->B->C cast in visitZExt() 1329 if (CI.hasOneUse() && isa<TruncInst>(CI.user_back())) in visitSExt() 1682 return new TruncInst(SrcI, FITy); in FoldItoFPtoI() 2297 if (isa<TruncInst>(Src) || isa<ZExtInst>(Src)) { in visitBitCast()
|
D | InstCombineInternal.h | 373 Instruction *visitTrunc(TruncInst &CI); 527 Instruction *narrowBinOp(TruncInst &Trunc); 529 Instruction *narrowRotate(TruncInst &Trunc); 832 Instruction *foldICmpTruncConstant(ICmpInst &Cmp, TruncInst *Trunc,
|
D | InstCombineShifts.cpp | 379 if (TruncInst *TI = dyn_cast<TruncInst>(Op0)) { in FoldShiftByConstant() 419 return new TruncInst(And, I.getType()); in FoldShiftByConstant()
|
/external/llvm/lib/Analysis/ |
D | VectorUtils.cpp | 335 if ((isa<TruncInst>(&I) || isa<ICmpInst>(&I)) && in computeMinimumValueSizes() 340 if (TTI && isa<TruncInst>(&I) && TTI->isTypeLegal(I.getType())) in computeMinimumValueSizes()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Utils/ |
D | SimplifyIndVar.cpp | 84 bool eliminateTrunc(TruncInst *TI); 498 bool SimplifyIndvar::eliminateTrunc(TruncInst *TI) { in eliminateTrunc() 634 if (auto *TI = dyn_cast<TruncInst>(UseInst)) in eliminateIVUser()
|
/external/swiftshader/third_party/LLVM/include/llvm/Support/ |
D | InstVisitor.h | 178 RetTy visitTruncInst(TruncInst &I) { DELEGATE(CastInst); } in visitTruncInst()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Analysis/ |
D | VectorUtils.cpp | 337 if ((isa<TruncInst>(&I) || isa<ICmpInst>(&I)) && in computeMinimumValueSizes() 342 if (TTI && isa<TruncInst>(&I) && TTI->isTypeLegal(I.getType())) in computeMinimumValueSizes()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/ExecutionEngine/Interpreter/ |
D | Interpreter.h | 138 void visitTruncInst(TruncInst &I);
|
/external/llvm/lib/Target/PowerPC/ |
D | PPCBoolRetToInt.cpp | 238 Value *BackToBool = new TruncInst(IntRetVal, Int1Ty, "backToBool", I); in runOnUse()
|
/external/swiftshader/third_party/LLVM/lib/ExecutionEngine/Interpreter/ |
D | Interpreter.h | 150 void visitTruncInst(TruncInst &I);
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/PowerPC/ |
D | PPCBoolRetToInt.cpp | 266 Value *BackToBool = new TruncInst(IntRetVal, Int1Ty, "backToBool", I); in runOnUse()
|
/external/swiftshader/third_party/LLVM/lib/VMCore/ |
D | Instructions.cpp | 2253 case Trunc: return new TruncInst (S, Ty, Name, InsertBefore); in Create() 2276 case Trunc: return new TruncInst (S, Ty, Name, InsertAtEnd); in Create() 2664 TruncInst::TruncInst( in TruncInst() function in TruncInst 2670 TruncInst::TruncInst( in TruncInst() function in TruncInst 3376 TruncInst *TruncInst::clone_impl() const { in clone_impl() 3377 return new TruncInst(getOperand(0), getType()); in clone_impl()
|
/external/llvm/lib/ExecutionEngine/Interpreter/ |
D | Interpreter.h | 157 void visitTruncInst(TruncInst &I);
|
/external/swiftshader/third_party/LLVM/lib/CodeGen/ |
D | Analysis.cpp | 271 if (isa<TruncInst>(U) && in isInTailCallPosition()
|