reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

lib/Analysis/ScalarEvolutionExpander.cpp
 2282   Value *TruncTripCount = Builder.CreateZExtOrTrunc(TripCountVal, Ty);
lib/Target/AArch64/AArch64StackTagging.cpp
  158       V = IRB.CreateZExtOrTrunc(V, IRB.getInt64Ty());
  160       V = IRB.CreateZExtOrTrunc(V, IRB.getInt64Ty());
  163       V = IRB.CreateZExtOrTrunc(V, IRB.getInt64Ty());
lib/Target/AMDGPU/AMDGPUCodeGenPrepare.cpp
  500       LHS = Builder.CreateZExtOrTrunc(LHSVals[I], I32Ty);
  501       RHS = Builder.CreateZExtOrTrunc(RHSVals[I], I32Ty);
  510       ResultVals.push_back(Builder.CreateZExtOrTrunc(Result,
lib/Transforms/IPO/LowerTypeTests.cpp
  581   BitOffset = B.CreateZExtOrTrunc(BitOffset, BitsType);
lib/Transforms/InstCombine/InstCombineAndOrXor.cpp
 2132       return Builder.CreateZExtOrTrunc(A, CmpInst::makeCmpResultType(Ty));
lib/Transforms/InstCombine/InstCombineCalls.cpp
  636   Res = Builder.CreateZExtOrTrunc(Res, ResTy);
lib/Transforms/InstCombine/InstCombineCasts.cpp
 1768     Value *P = Builder.CreateZExtOrTrunc(CI.getOperand(0), Ty);
lib/Transforms/InstCombine/InstCombineSelect.cpp
  214     V = Builder.CreateZExtOrTrunc(V, SelType);
  218     V = Builder.CreateZExtOrTrunc(V, SelType);
  220     V = Builder.CreateZExtOrTrunc(V, SelType);
  663     V = Builder.CreateZExtOrTrunc(V, Y->getType());
  667     V = Builder.CreateZExtOrTrunc(V, Y->getType());
  669     V = Builder.CreateZExtOrTrunc(V, Y->getType());
  879     return Builder.CreateZExtOrTrunc(NewI, ValueOnZero->getType());
lib/Transforms/Instrumentation/DataFlowSanitizer.cpp
 1487                   IRB.CreateZExtOrTrunc(I.getLength(), DFSF.DFS.IntptrTy)});
lib/Transforms/Instrumentation/PGOInstrumentation.cpp
  857         ToProfile = Builder.CreateZExtOrTrunc(Cand.V, Builder.getInt64Ty());
lib/Transforms/Scalar/Float2Int.cpp
  467     NewV = IRB.CreateZExtOrTrunc(NewOperands[0], I->getType());
  482     NewV = IRB.CreateZExtOrTrunc(NewOperands[0], ToTy);
lib/Transforms/Scalar/LoopIdiomRecognize.cpp
 1732   NewCount = Builder.CreateZExtOrTrunc(
 1800         Builder.CreateZExtOrTrunc(PopCnt, cast<IntegerType>(CntPhi->getType()));
lib/Transforms/Utils/SimplifyCFG.cpp
 5113     Value *ShiftAmt = Builder.CreateZExtOrTrunc(Index, MapTy, "switch.cast");
 5461         Builder.CreateZExtOrTrunc(TableIndex, MapTy, "switch.maskindex");
lib/Transforms/Utils/SimplifyLibCalls.cpp
  958     Value *C = B.CreateZExtOrTrunc(CI->getArgOperand(1), BitfieldC->getType());
lib/Transforms/Vectorize/LoopVectorize.cpp
 3317         return B.CreateZExtOrTrunc(V, TruncatedTy);
 3352           NewI = B.CreateZExtOrTrunc(
 3359         auto *O0 = B.CreateZExtOrTrunc(
 3362         auto *O1 = B.CreateZExtOrTrunc(
 3371         auto *O0 = B.CreateZExtOrTrunc(
 3373         auto *O1 = B.CreateZExtOrTrunc(IE->getOperand(1), ScalarTruncatedTy);
 3377         auto *O0 = B.CreateZExtOrTrunc(
 3387       Value *Res = B.CreateZExtOrTrunc(NewI, OriginalTy);
tools/clang/lib/CodeGen/CGBuiltin.cpp
 3605         Arg2 = Builder.CreateZExtOrTrunc(Arg2, Int32Ty);
 3648       Arg1 = Builder.CreateZExtOrTrunc(Arg1, Int32Ty);
 3807             Builder.CreateZExtOrTrunc(EmitScalarExpr(E->getArg(I)), SizeTy);
 3852           Builder.CreateZExtOrTrunc(EmitScalarExpr(E->getArg(3)), Int32Ty);
tools/clang/lib/CodeGen/CGStmt.cpp
 2322         Tmp = Builder.CreateZExtOrTrunc(Tmp, TruncTy);