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

Declarations

include/llvm/IR/InstrTypes.h
  461   static CastInst *Create(

References

include/llvm/IR/IRBuilder.h
 2022     return Insert(CastInst::Create(Op, V, DestTy), Name);
include/llvm/IR/NoFolder.h
  255     return CastInst::Create(Op, C, DestTy);
lib/Analysis/PHITransAddr.cpp
  387     CastInst *New = CastInst::Create(Cast->getOpcode(), OpVal, InVal->getType(),
lib/Analysis/ScalarEvolutionExpander.cpp
   64             Ret = CastInst::Create(Op, V, Ty, "", &*IP);
   75     Ret = CastInst::Create(Op, V, Ty, V->getName(), &*IP);
lib/AsmParser/LLParser.cpp
 6559   Inst = CastInst::Create((Instruction::CastOps)Opc, Op, DestTy);
lib/Bitcode/Reader/BitcodeReader.cpp
 3945         I = CastInst::Create(CastOp, Op, ResTy);
lib/CodeGen/CodeGenPrepare.cpp
 1114       InsertedCast = CastInst::Create(CI->getOpcode(), CI->getOperand(0),
 1582       InsertedTrunc = CastInst::Create(TruncI->getOpcode(), InsertedShift,
 6254   auto *ExtInst = CastInst::Create(ExtType, Cond, NewType);
lib/IR/AutoUpgrade.cpp
 3779     Temp = CastInst::Create(Instruction::PtrToInt, V, MidTy);
 3781     return CastInst::Create(Instruction::IntToPtr, Temp, DestTy);
lib/IR/Constants.cpp
 3003     return CastInst::Create((Instruction::CastOps)getOpcode(),
lib/IR/Instructions.cpp
 2795     return Create(Instruction::BitCast, S, Ty, Name, InsertBefore);
 2796   return Create(Instruction::ZExt, S, Ty, Name, InsertBefore);
 2811     return Create(Instruction::BitCast, S, Ty, Name, InsertBefore);
 2812   return Create(Instruction::SExt, S, Ty, Name, InsertBefore);
 2827     return Create(Instruction::BitCast, S, Ty, Name, InsertBefore);
 2828   return Create(Instruction::Trunc, S, Ty, Name, InsertBefore);
 2869     return Create(Instruction::PtrToInt, S, Ty, Name, InsertBefore);
 2895     return Create(Instruction::AddrSpaceCast, S, Ty, Name, InsertBefore);
 2897   return Create(Instruction::BitCast, S, Ty, Name, InsertBefore);
 2904     return Create(Instruction::PtrToInt, S, Ty, Name, InsertBefore);
 2906     return Create(Instruction::IntToPtr, S, Ty, Name, InsertBefore);
 2908   return Create(Instruction::BitCast, S, Ty, Name, InsertBefore);
 2922   return Create(opcode, C, Ty, Name, InsertBefore);
 2949   return Create(opcode, C, Ty, Name, InsertBefore);
lib/Transforms/InstCombine/InstCombineAddSub.cpp
  923     return CastInst::Create(Instruction::SExt, X, Ty);
lib/Transforms/InstCombine/InstCombineAndOrXor.cpp
 1571     return CastInst::Create(CastOpcode, NewOp, DestTy);
 1586       return CastInst::Create(CastOpcode, Res, DestTy);
 1596       return CastInst::Create(CastOpcode, R, DestTy);
lib/Transforms/InstCombine/InstCombineCalls.cpp
 1731     return CastInst::Create(*Action.CastOp, II->getArgOperand(0), II->getType(),
 3211         return CastInst::Create(Instruction::BitCast, Result, CI.getType());
lib/Transforms/InstCombine/InstCombineCasts.cpp
  269       auto *Res = CastInst::Create(NewOpc, CSrc->getOperand(0), Ty);
 1376     return CastInst::Create(Instruction::ZExt, Src, DestTy);
 2398         return CastInst::Create(Instruction::BitCast, Elem, DestTy);
lib/Transforms/InstCombine/InstCombinePHI.cpp
  807     CastInst *NewCI = CastInst::Create(FirstCI->getOpcode(), PhiVal,
lib/Transforms/InstCombine/InstCombineSelect.cpp
  332     return CastInst::Create(Instruction::CastOps(TI->getOpcode()), NewSI,
 1773     return CastInst::Create(Instruction::CastOps(ExtOpcode), NewSel, SelType);
 2076   return CastInst::Create(Instruction::SExt, Sat, Ty);
lib/Transforms/InstCombine/InstCombineShifts.cpp
  135     Ret = CastInst::Create(Instruction::Trunc, NewShift, Sh0->getType());
lib/Transforms/InstCombine/InstCombineVectorOps.cpp
  436         return CastInst::Create(CI->getOpcode(), EE, EI.getType());
 1274       return CastInst::Create(cast<CastInst>(I)->getOpcode(), NewOps[0], DestTy,
lib/Transforms/InstCombine/InstructionCombining.cpp
 1615   return CastInst::Create(CastOpc, NarrowBO, BO.getType());
 1944           return CastInst::Create(Instruction::IntToPtr, NewSub, GEPType);
lib/Transforms/Scalar/InferAddressSpaces.cpp
  991               NewV = CastInst::Create(Instruction::BitCast, NewV,
lib/Transforms/Scalar/LoopStrengthReduce.cpp
 5276           CastInst::Create(CastInst::getCastOpcode(ICmpScaledV, false,
 5368             CastInst::Create(CastInst::getCastOpcode(FullV, false,
 5435         CastInst::Create(CastInst::getCastOpcode(FullV, false, OpTy, false),
lib/Transforms/Utils/Local.cpp
 2869       auto *Trunc = CastInst::Create(Instruction::Trunc, Provider, DemandedTy,
 2876     auto *ExtInst = CastInst::Create(Instruction::ZExt, CI, ITy, "zext", I);