Home
last modified time | relevance | path

Searched refs:Trunc (Results 1 – 25 of 231) sorted by relevance

12345678910

/external/llvm/lib/Transforms/Utils/
DIntegerDivision.cpp509 Value *Trunc; in expandRemainderUpTo32Bits() local
521 Trunc = Builder.CreateTrunc(ExtRem, RemTy); in expandRemainderUpTo32Bits()
523 Rem->replaceAllUsesWith(Trunc); in expandRemainderUpTo32Bits()
557 Value *Trunc; in expandRemainderUpTo64Bits() local
569 Trunc = Builder.CreateTrunc(ExtRem, RemTy); in expandRemainderUpTo64Bits()
571 Rem->replaceAllUsesWith(Trunc); in expandRemainderUpTo64Bits()
606 Value *Trunc; in expandDivisionUpTo32Bits() local
618 Trunc = Builder.CreateTrunc(ExtDiv, DivTy); in expandDivisionUpTo32Bits()
620 Div->replaceAllUsesWith(Trunc); in expandDivisionUpTo32Bits()
655 Value *Trunc; in expandDivisionUpTo64Bits() local
[all …]
DBypassSlowDivision.cpp117 Value *ShortDivisorV = FastBuilder.CreateCast(Instruction::Trunc, Divisor, in insertFastDiv()
119 Value *ShortDividendV = FastBuilder.CreateCast(Instruction::Trunc, Dividend, in insertFastDiv()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Utils/
DIntegerDivision.cpp509 Value *Trunc; in expandRemainderUpTo32Bits() local
521 Trunc = Builder.CreateTrunc(ExtRem, RemTy); in expandRemainderUpTo32Bits()
523 Rem->replaceAllUsesWith(Trunc); in expandRemainderUpTo32Bits()
557 Value *Trunc; in expandRemainderUpTo64Bits() local
569 Trunc = Builder.CreateTrunc(ExtRem, RemTy); in expandRemainderUpTo64Bits()
571 Rem->replaceAllUsesWith(Trunc); in expandRemainderUpTo64Bits()
606 Value *Trunc; in expandDivisionUpTo32Bits() local
618 Trunc = Builder.CreateTrunc(ExtDiv, DivTy); in expandDivisionUpTo32Bits()
620 Div->replaceAllUsesWith(Trunc); in expandDivisionUpTo32Bits()
655 Value *Trunc; in expandDivisionUpTo64Bits() local
[all …]
DBypassSlowDivision.cpp295 Builder.CreateCast(Instruction::Trunc, Divisor, BypassType); in createFastBB()
297 Builder.CreateCast(Instruction::Trunc, Dividend, BypassType); in createFastBB()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/InstCombine/
DInstCombineCasts.cpp193 case Instruction::Trunc: in EvaluateInDifferentType()
420 case Instruction::Trunc: in canEvaluateTruncated()
457 static Instruction *foldVecTruncToExtElt(TruncInst &Trunc, InstCombiner &IC) { in foldVecTruncToExtElt() argument
458 Value *TruncOp = Trunc.getOperand(0); in foldVecTruncToExtElt()
459 Type *DestType = Trunc.getType(); in foldVecTruncToExtElt()
496 Instruction *InstCombiner::narrowRotate(TruncInst &Trunc) { in narrowRotate() argument
497 assert((isa<VectorType>(Trunc.getSrcTy()) || in narrowRotate()
498 shouldChangeType(Trunc.getSrcTy(), Trunc.getType())) && in narrowRotate()
504 if (!match(Trunc.getOperand(0), m_OneUse(m_Or(m_Value(Or0), m_Value(Or1))))) in narrowRotate()
520 Type *DestTy = Trunc.getType(); in narrowRotate()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/ARM/
DARMCodeGenPrepare.cpp451 auto *Trunc = cast<Instruction>(Builder.CreateTrunc(Op, TruncTy)); in Mutate() local
452 Trunc->moveBefore(I); in Mutate()
453 I->setOperand(i, Trunc); in Mutate()
454 NewInsts.insert(Trunc); in Mutate()
519 else if (auto *Trunc = dyn_cast<TruncInst>(V)) in isSupportedValue() local
520 return Trunc->getDestTy()->getScalarSizeInBits() <= TypeSize; in isSupportedValue()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/AggressiveInstCombine/
DTruncInstCombine.cpp45 case Instruction::Trunc: in getRelevantOperands()
105 case Instruction::Trunc: in buildTruncExpressionDag()
312 case Instruction::Trunc: in ReduceExpressionDag()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/AMDGPU/
DAMDGPULowerKernelArguments.cpp207 Value *Trunc = Builder.CreateTrunc(ExtractBits, ArgIntTy); in runOnFunction() local
208 Value *NewVal = Builder.CreateBitCast(Trunc, ArgTy, in runOnFunction()
/external/llvm/lib/Transforms/InstCombine/
DInstCombineCasts.cpp190 case Instruction::Trunc: in EvaluateInDifferentType()
402 case Instruction::Trunc: in canEvaluateTruncated()
439 static Instruction *foldVecTruncToExtElt(TruncInst &Trunc, InstCombiner &IC, in foldVecTruncToExtElt() argument
441 Value *TruncOp = Trunc.getOperand(0); in foldVecTruncToExtElt()
442 Type *DestType = Trunc.getType(); in foldVecTruncToExtElt()
746 case Instruction::Trunc: // zext(trunc(x)) -> trunc(x) or zext(x) in canEvaluateZExtd()
912 Value *Trunc = Builder->CreateTrunc(A, CI.getType()); in visitZExt() local
914 return BinaryOperator::CreateAnd(Trunc, in visitZExt()
915 ConstantInt::get(Trunc->getType(), in visitZExt()
1081 case Instruction::Trunc: // sext(trunc(x)) -> trunc(x) or sext(x) in canEvaluateSExtd()
/external/angle/third_party/spirv-headers/src/include/spirv/1.2/
DOpenCL.std.h98 Trunc = 66, enumerator
/external/swiftshader/third_party/SPIRV-Headers/include/spirv/1.2/
DOpenCL.std.h98 Trunc = 66, enumerator
/external/angle/third_party/spirv-headers/src/include/spirv/1.0/
DOpenCL.std.h98 Trunc = 66, enumerator
/external/deqp-deps/SPIRV-Headers/include/spirv/1.2/
DOpenCL.std.h98 Trunc = 66, enumerator
/external/angle/third_party/spirv-headers/src/include/spirv/1.1/
DOpenCL.std.h98 Trunc = 66, enumerator
/external/shaderc/spirv-headers/include/spirv/1.2/
DOpenCL.std.h98 Trunc = 66, enumerator
/external/deqp-deps/SPIRV-Headers/include/spirv/1.0/
DOpenCL.std.h98 Trunc = 66, enumerator
/external/deqp-deps/SPIRV-Headers/include/spirv/1.1/
DOpenCL.std.h98 Trunc = 66, enumerator
/external/shaderc/spirv-headers/include/spirv/1.1/
DOpenCL.std.h98 Trunc = 66, enumerator
/external/swiftshader/third_party/SPIRV-Headers/include/spirv/1.1/
DOpenCL.std.h98 Trunc = 66, enumerator
/external/shaderc/spirv-headers/include/spirv/1.0/
DOpenCL.std.h98 Trunc = 66, enumerator
/external/swiftshader/third_party/SPIRV-Headers/include/spirv/1.0/
DOpenCL.std.h98 Trunc = 66, enumerator
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Vectorize/
DLoopVectorize.cpp405 void widenIntOrFpInduction(PHINode *IV, TruncInst *Trunc = nullptr);
1342 auto *Trunc = dyn_cast<TruncInst>(I); in isOptimizableIVTruncate() local
1343 if (!Trunc) in isOptimizableIVTruncate()
1355 Value *Op = Trunc->getOperand(0); in isOptimizableIVTruncate()
1787 Start = Builder.CreateCast(Instruction::Trunc, Start, TruncType); in createVectorIntOrFpInductionPHI()
1893 void InnerLoopVectorizer::widenIntOrFpInduction(PHINode *IV, TruncInst *Trunc) { in widenIntOrFpInduction() argument
1909 Instruction *EntryVal = Trunc ? cast<Instruction>(Trunc) : IV; in widenIntOrFpInduction()
1956 if (Trunc) { in widenIntOrFpInduction()
1957 auto *TruncType = cast<IntegerType>(Trunc->getType()); in widenIntOrFpInduction()
1974 if (Trunc) in widenIntOrFpInduction()
[all …]
/external/llvm/lib/Target/WebAssembly/
DWebAssemblyFastISel.cpp772 const TruncInst *Trunc = cast<TruncInst>(I); in selectTrunc() local
774 unsigned Reg = getRegForValue(Trunc->getOperand(0)); in selectTrunc()
778 if (Trunc->getOperand(0)->getType()->isIntegerTy(64)) { in selectTrunc()
786 updateValueMap(Trunc, Reg); in selectTrunc()
1162 case Instruction::Trunc: return selectTrunc(I); in fastSelectInstruction()
/external/swiftshader/third_party/llvm-7.0/llvm/test/CodeGen/X86/
Dx86-64-jumps.ll18 ; PR5930 - Trunc of block address differences.
/external/llvm/test/CodeGen/X86/
Dx86-64-jumps.ll18 ; PR5930 - Trunc of block address differences.

12345678910