/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/AggressiveInstCombine/ |
AggressiveInstCombineInternal.h | 33 // 2. Supported leaves: ZExtInst, SExtInst, TruncInst and Constant value. 55 /// List of all TruncInst instructions to be processed. 56 SmallVector<TruncInst *, 4> Worklist; 58 /// Current processed TruncInst instruction. 59 TruncInst *CurrentTruncInst; 71 /// processed TruncInst. It maps each instruction in the dag to its Info 81 /// Perform TruncInst pattern optimization on given function. 98 /// Build an expression dag dominated by the current processed TruncInst and
|
TruncInstCombine.cpp | 10 // TruncInstCombine - looks for expression dags post-dominated by TruncInst and 15 // 2. Supported leaves: ZExtInst, SExtInst, TruncInst and Constant value. 320 assert(!isa<TruncInst>(I) && "Cannot reach here with TruncInst"); 331 // 1. Update Old-TruncInst -> New-TruncInst. 332 // 2. Remove Old-TruncInst (if New node is not TruncInst). 333 // 3. Add New-TruncInst (if Old node was not TruncInst) [all...] |
/external/spirv-llvm/lib/SPIRV/ |
SPIRVLowerBool.cpp | 77 virtual void visitTruncInst(TruncInst &I) {
|
/external/llvm/lib/Target/AArch64/ |
AArch64AddressTypePromotion.cpp | 166 if (isa<TruncInst>(Inst) && isa<SExtInst>(Inst->getOperand(0))) { 195 if (isa<TruncInst>(Inst)) 281 if (isa<SExtInst>(Inst) || isa<TruncInst>(Inst)) {
|
/external/swiftshader/third_party/LLVM/lib/Transforms/InstCombine/ |
InstCombineCasts.cpp | 429 Instruction *InstCombiner::visitTrunc(TruncInst &CI) { 660 if (0 && isa<TruncInst>(I) && I->getOperand(0)->getType() == Ty) 749 if (CI.hasOneUse() && isa<TruncInst>(CI.use_back())) 798 if (TruncInst *CSrc = dyn_cast<TruncInst>(Src)) { // A->B->C cast [all...] |
InstCombineShifts.cpp | 359 if (TruncInst *TI = dyn_cast<TruncInst>(Op0)) { 398 return new TruncInst(And, I.getType());
|
InstCombineCalls.cpp | 327 if (TruncInst *TI = dyn_cast<TruncInst>(II->getArgOperand(0))) { 334 return new TruncInst(V, TI->getType()); [all...] |
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/ARM/ |
ARMCodeGenPrepare.cpp | 165 else if (isa<TruncInst>(V)) 232 if (isa<StoreInst>(I) || isa<TerminatorInst>(I) || isa<TruncInst>(I) || 519 else if (auto *Trunc = dyn_cast<TruncInst>(V)) 646 if (isa<TruncInst>(V))
|
/external/llvm/lib/Transforms/InstCombine/ |
InstCombineCasts.cpp | 439 static Instruction *foldVecTruncToExtElt(TruncInst &Trunc, InstCombiner &IC, 477 Instruction *InstCombiner::visitTrunc(TruncInst &CI) { 735 if (isa<TruncInst>(I) && I->getOperand(0)->getType() == Ty) [all...] |
InstCombineShifts.cpp | 371 if (TruncInst *TI = dyn_cast<TruncInst>(Op0)) { 410 return new TruncInst(And, I.getType()); [all...] |
/external/llvm/lib/Analysis/ |
VectorUtils.cpp | 335 if ((isa<TruncInst>(&I) || isa<ICmpInst>(&I)) && 340 if (TTI && isa<TruncInst>(&I) && TTI->isTypeLegal(I.getType()))
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/InstCombine/ |
InstCombineCasts.cpp | 457 static Instruction *foldVecTruncToExtElt(TruncInst &Trunc, InstCombiner &IC) { 496 Instruction *InstCombiner::narrowRotate(TruncInst &Trunc) { 565 Instruction *InstCombiner::narrowBinOp(TruncInst &Trunc) { 623 static Instruction *shrinkSplatShuffle(TruncInst &Trunc, 670 Instruction *InstCombiner::visitTrunc(TruncInst &CI) { [all...] |
InstCombineInternal.h | 373 Instruction *visitTrunc(TruncInst &CI); 527 Instruction *narrowBinOp(TruncInst &Trunc); 529 Instruction *narrowRotate(TruncInst &Trunc); [all...] |
InstCombineShifts.cpp | 379 if (TruncInst *TI = dyn_cast<TruncInst>(Op0)) { 419 return new TruncInst(And, I.getType()); [all...] |
/external/llvm/lib/ExecutionEngine/Interpreter/ |
Interpreter.h | 157 void visitTruncInst(TruncInst &I);
|
/external/llvm/lib/Target/PowerPC/ |
PPCBoolRetToInt.cpp | 238 Value *BackToBool = new TruncInst(IntRetVal, Int1Ty, "backToBool", I);
|
/external/swiftshader/third_party/LLVM/include/llvm/Support/ |
InstVisitor.h | 178 RetTy visitTruncInst(TruncInst &I) { DELEGATE(CastInst); }
|
/external/swiftshader/third_party/LLVM/lib/ExecutionEngine/Interpreter/ |
Interpreter.h | 150 void visitTruncInst(TruncInst &I);
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/ExecutionEngine/Interpreter/ |
Interpreter.h | 138 void visitTruncInst(TruncInst &I);
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/PowerPC/ |
PPCBoolRetToInt.cpp | 266 Value *BackToBool = new TruncInst(IntRetVal, Int1Ty, "backToBool", I);
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Analysis/ |
VectorUtils.cpp | 337 if ((isa<TruncInst>(&I) || isa<ICmpInst>(&I)) && 342 if (TTI && isa<TruncInst>(&I) && TTI->isTypeLegal(I.getType()))
|
/external/llvm/include/llvm/IR/ |
InstVisitor.h | 185 RetTy visitTruncInst(TruncInst &I) { DELEGATE(CastInst);}
|
/external/swiftshader/third_party/LLVM/lib/CodeGen/ |
Analysis.cpp | 271 if (isa<TruncInst>(U) &&
|
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/IR/ |
InstVisitor.h | 188 RetTy visitTruncInst(TruncInst &I) { DELEGATE(CastInst);}
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Utils/ |
SimplifyIndVar.cpp | 84 bool eliminateTrunc(TruncInst *TI); 498 bool SimplifyIndvar::eliminateTrunc(TruncInst *TI) { 634 if (auto *TI = dyn_cast<TruncInst>(UseInst)) [all...] |