Home
last modified time | relevance | path

Searched refs:CreateCast (Results 1 – 23 of 23) sorted by relevance

/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DBypassSlowDivision.cpp293 Builder.CreateCast(Instruction::Trunc, Divisor, BypassType); in createFastBB()
295 Builder.CreateCast(Instruction::Trunc, Dividend, BypassType); in createFastBB()
301 Builder.CreateCast(Instruction::ZExt, ShortQV, getSlowType()); in createFastBB()
303 Builder.CreateCast(Instruction::ZExt, ShortRV, getSlowType()); in createFastBB()
H A DScalarEvolutionExpander.cpp125 Ret = Builder.CreateCast(Op, V, Ty, V->getName()); in ReuseOrCreateCast()
/freebsd/contrib/llvm-project/llvm/include/llvm/IR/
H A DIRBuilder.h2039 return CreateCast(Instruction::SExt, V, DestTy, Name);
2076 return CreateCast(Instruction::FPToUI, V, DestTy, Name);
2083 return CreateCast(Instruction::FPToSI, V, DestTy, Name);
2103 return CreateCast(Instruction::SIToFP, V, DestTy, Name);
2112 return CreateCast(Instruction::FPTrunc, V, DestTy, Name);
2119 return CreateCast(Instruction::FPExt, V, DestTy, Name);
2124 return CreateCast(Instruction::PtrToInt, V, DestTy, Name);
2129 return CreateCast(Instruction::IntToPtr, V, DestTy, Name);
2134 return CreateCast(Instruction::BitCast, V, DestTy, Name);
2139 return CreateCast(Instruction::AddrSpaceCast, V, DestTy, Name);
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Target/NVPTX/
H A DNVPTXGenericToNVVM.cpp267 return Builder.CreateCast(Instruction::CastOps(C->getOpcode()), in remapConstantExpr()
/freebsd/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86InstCombineIntrinsic.cpp542 Value *LHS = Builder.CreateCast(Cast, Arg0, ExtTy); in simplifyX86pmulh()
543 Value *RHS = Builder.CreateCast(Cast, Arg1, ExtTy); in simplifyX86pmulh()
606 LHSLo = Builder.CreateCast(LHSCast, LHSLo, ResTy); in simplifyX86pmadd()
607 LHSHi = Builder.CreateCast(LHSCast, LHSHi, ResTy); in simplifyX86pmadd()
608 RHSLo = Builder.CreateCast(Instruction::CastOps::SExt, RHSLo, ResTy); in simplifyX86pmadd()
609 RHSHi = Builder.CreateCast(Instruction::CastOps::SExt, RHSHi, ResTy); in simplifyX86pmadd()
/freebsd/contrib/llvm-project/clang/include/clang/Sema/
H A DInitialization.h662 static InitializationKind CreateCast(SourceRange TypeRange) { in CreateCast() function
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/
H A DExpandLargeFpConvert.cpp582 Value *Cast = Builder.CreateCast(cast<CastInst>(I)->getOpcode(), Ext, in scalarize()
H A DAtomicExpandPass.cpp1161 Builder.CreateCast(CastOp, AI->getValOperand(), PMV.WordType), in expandAtomicRMWToMaskedIntrinsic()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstCombineCalls.cpp3375 Res = Builder.CreateCast(cast<CastInst>(Arg)->getOpcode(), Res, in visitCallInst()
3439 Res = Builder.CreateCast(cast<CastInst>(Arg)->getOpcode(), Res, in visitCallInst()
3502 Res = Builder.CreateCast(cast<CastInst>(Arg)->getOpcode(), Res, in visitCallInst()
3548 Res = Builder.CreateCast(ExtOpc, Res, II->getType()); in visitCallInst()
4273 NewArg = Builder.CreateCast(opcode, *AI, PTy); in transformConstExprCastCall()
H A DInstCombineCasts.cpp221 Value *CastX = Builder.CreateCast(CI.getOpcode(), X, DestTy); in commonCastTransforms()
670 Value *NarrowOp = Builder.CreateCast(Opcode, ScalarOp, DestScalarTy); in shrinkInsertElt()
H A DInstCombineAndOrXor.cpp1815 X = Builder.CreateCast(CastOpcode, X, Y->getType()); in foldCastedBitwiseLogic()
1817 Y = Builder.CreateCast(CastOpcode, Y, X->getType()); in foldCastedBitwiseLogic()
H A DInstCombineVectorOps.cpp1911 return Builder.CreateCast(cast<CastInst>(I)->getOpcode(), NewOps[0], in buildNew()
H A DInstCombineCompares.cpp5931 X = Builder.CreateCast(CastOpcode, X, YTy); in foldICmpWithZextOrSext()
5933 Y = Builder.CreateCast(CastOpcode, Y, XTy); in foldICmpWithZextOrSext()
H A DInstCombineSelect.cpp3837 Value *NewCast = Builder.CreateCast(CastOp, NewSI, SelType); in visitSelectInst()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Vectorize/
H A DVectorCombine.cpp1581 Value *Cast = Builder.CreateCast(Opcode, Shuf, ShuffleDstTy); in foldShuffleOfCastops()
1817 auto *Value = Builder.CreateCast((Instruction::CastOps)CI->getOpcode(), in generateNewInstTree()
2173 Value *NewCast = Builder.CreateCast(CastOpc, NewReduction, ResultTy); in foldCastFromReductions()
H A DVPlanRecipes.cpp1168 Value *Cast = Builder.CreateCast(Instruction::CastOps(Opcode), A, DestTy); in execute()
1288 Start = Builder.CreateCast(Instruction::Trunc, Start, TruncType); in execute()
1898 return State.Builder.CreateCast(Instruction::CastOps(Opcode), Op, ResultTy); in generate()
H A DSLPVectorizer.cpp13121 : Builder.CreateCast(VecOpcode, InVec, VecTy); in vectorizeTree()
13619 V0 = Builder.CreateCast( in vectorizeTree()
13621 V1 = Builder.CreateCast( in vectorizeTree()
H A DLoopVectorize.cpp2223 : B.CreateCast(Instruction::SIToFP, Index, StepTy); in emitTransformedIndex()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DScalarizer.cpp875 Builder.CreateCast(CI.getOpcode(), Op0[I], DestVS->getFragmentType(I), in visitCastInst()
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaCast.cpp446 : InitializationKind::CreateCast(/*type range?*/ range); in tryDiagnoseOverloadedCast()
1906 : InitializationKind::CreateCast(OpRange); in TryStaticImplicitCast()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Instrumentation/
H A DNumericalStabilitySanitizer.cpp1659 return Builder.CreateCast(Cast->getOpcode(), Cast->getOperand(0), in createShadowValueWithOperandsAvailable()
/freebsd/contrib/llvm-project/llvm/lib/IR/
H A DCore.cpp4155 return wrap(unwrap(B)->CreateCast(Instruction::CastOps(map_from_llvmopcode(Op)), unwrap(Val), in LLVMBuildCast()
/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DCGStmtOpenMP.cpp6258 UpdateVal = CGF.Builder.CreateCast(llvm::Instruction::CastOps::UIToFP, IC, in emitOMPAtomicRMW()