HomeSort by relevance Sort by last modified time
    Searched defs:Trunc (Results 1 - 25 of 35) sorted by null

1 2

  /prebuilts/go/darwin-x86/src/math/
floor.go 42 // Trunc returns the integer value of x.
45 // Trunc(±0) = ±0
46 // Trunc(±Inf) = ±Inf
47 // Trunc(NaN) = NaN
48 func Trunc(x float64) float64
50 func trunc(x float64) float64 { func
68 // t := Trunc(x)
105 // t := math.Trunc(x)
  /prebuilts/go/linux-x86/src/math/
floor.go 42 // Trunc returns the integer value of x.
45 // Trunc(±0) = ±0
46 // Trunc(±Inf) = ±Inf
47 // Trunc(NaN) = NaN
48 func Trunc(x float64) float64
50 func trunc(x float64) float64 { func
68 // t := Trunc(x)
105 // t := math.Trunc(x)
  /external/llvm/lib/Transforms/InstCombine/
InstCombinePHI.cpp 432 Constant *Trunc = ConstantExpr::getTrunc(C, NarrowType);
433 if (ConstantExpr::getZExt(Trunc, C->getType()) != C)
435 NewIncoming.push_back(Trunc);
635 Instruction *Inst; // The trunc instruction.
687 /// only used by trunc or trunc(lshr) operations. If so, we split the PHI into
691 /// TODO: The user of the trunc may be an bitcast to float/double/vector or an
744 // Otherwise it must be a lshr which can only be used by one trunc.
    [all...]
InstCombineCasts.cpp 190 case Instruction::Trunc:
200 // This also handles the case of zext(trunc(x)) -> zext(x).
324 /// Ty will always be a type smaller than V. We should return true if trunc(V)
326 /// then trunc(inst(x,y)) can be computed as inst(trunc(x),trunc(y)), which only
402 case Instruction::Trunc:
403 // trunc(trunc(x)) -> trunc(x
    [all...]
InstCombineCompares.cpp     [all...]
  /external/llvm/lib/Transforms/Utils/
IntegerDivision.cpp 509 Value *Trunc;
521 Trunc = Builder.CreateTrunc(ExtRem, RemTy);
523 Rem->replaceAllUsesWith(Trunc);
557 Value *Trunc;
569 Trunc = Builder.CreateTrunc(ExtRem, RemTy);
571 Rem->replaceAllUsesWith(Trunc);
606 Value *Trunc;
618 Trunc = Builder.CreateTrunc(ExtDiv, DivTy);
620 Div->replaceAllUsesWith(Trunc);
655 Value *Trunc;
    [all...]
Local.cpp     [all...]
  /external/swiftshader/third_party/LLVM/lib/Analysis/
InstructionSimplify.cpp     [all...]
ScalarEvolution.cpp 134 const SCEVTruncateExpr *Trunc = cast<SCEVTruncateExpr>(this);
135 const SCEV *Op = Trunc->getOperand();
136 OS << "(trunc " << *Op->getType() << " " << *Op << " to "
137 << *Trunc->getType() << ")";
742 MultiplyFactor = MultiplyFactor.trunc(W);
813 // trunc(trunc(x)) --> trunc(x)
817 // trunc(sext(x)) --> sext(x) if widening or trunc(x) if narrowin
    [all...]
  /external/llvm/lib/Target/SystemZ/
SystemZISelDAGToDAG.cpp 614 SDValue Trunc = CurDAG->getNode(ISD::TRUNCATE, DL, VT, Base);
615 insertDAGNode(CurDAG, Base.getNode(), Trunc);
616 Base = Trunc;
    [all...]
  /external/llvm/lib/Target/WebAssembly/
WebAssemblyFastISel.cpp 772 const TruncInst *Trunc = cast<TruncInst>(I);
774 unsigned Reg = getRegForValue(Trunc->getOperand(0));
778 if (Trunc->getOperand(0)->getType()->isIntegerTy(64)) {
786 updateValueMap(Trunc, Reg);
    [all...]
  /external/swiftshader/third_party/LLVM/lib/Transforms/InstCombine/
InstCombineCasts.cpp 186 case Instruction::Trunc:
196 // This also handles the case of zext(trunc(x)) -> zext(x).
321 /// Ty will always be a type smaller than V. We should return true if trunc(V)
323 /// then trunc(inst(x,y)) can be computed as inst(trunc(x),trunc(y)), which only
398 case Instruction::Trunc:
399 // trunc(trunc(x)) -> trunc(x
    [all...]
  /external/llvm/lib/Analysis/
InstructionSimplify.cpp 743 // trunc(X) - trunc(Y) -> trunc(X - Y) if everything simplifies.
749 // It does! Now see if "trunc V" simplifies.
751 // It does, return the simplified "trunc V".
    [all...]
ScalarEvolution.cpp 143 const SCEVTruncateExpr *Trunc = cast<SCEVTruncateExpr>(this);
144 const SCEV *Op = Trunc->getOperand();
145 OS << "(trunc " << *Op->getType() << " " << *Op << " to "
146 << *Trunc->getType() << ")";
    [all...]
  /external/llvm/lib/Transforms/Scalar/
IndVarSimplify.cpp     [all...]
  /external/shaderc/spirv-headers/include/spirv/1.0/
OpenCL.std.h 102 Trunc = 66,
  /external/shaderc/spirv-headers/include/spirv/1.1/
OpenCL.std.h 102 Trunc = 66,
  /external/spirv-llvm/lib/SPIRV/libSPIRV/
OpenCL.std.h 102 Trunc = 66,
  /external/swiftshader/third_party/LLVM/lib/CodeGen/SelectionDAG/
TargetLowering.cpp 191 Names[RTLIB::TRUNC_F64] = "trunc";
    [all...]
  /external/swiftshader/third_party/LLVM/lib/Transforms/Scalar/
IndVarSimplify.cpp     [all...]
  /prebuilts/ndk/r16/sources/third_party/shaderc/third_party/spirv-tools/external/spirv-headers/include/spirv/1.0/
OpenCL.std.h 98 Trunc = 66,
  /prebuilts/ndk/r16/sources/third_party/shaderc/third_party/spirv-tools/external/spirv-headers/include/spirv/1.1/
OpenCL.std.h 98 Trunc = 66,
  /prebuilts/ndk/r16/sources/third_party/shaderc/third_party/spirv-tools/external/spirv-headers/include/spirv/1.2/
OpenCL.std.h 98 Trunc = 66,
  /external/llvm/lib/CodeGen/SelectionDAG/
TargetLowering.cpp 727 NewMask.trunc(ShAmt) == 0) {
    [all...]
  /external/llvm/lib/Target/AMDGPU/
AMDGPUISelLowering.cpp     [all...]

Completed in 375 milliseconds

1 2