| /openbsd-src/gnu/llvm/llvm/include/llvm/IR/ |
| H A D | NoFolder.h | 114 Instruction *CreateCast(Instruction::CastOps Op, Constant *C, in CreateCast() function 138 return CreateCast(Instruction::BitCast, C, DestTy); in CreateBitCast() 142 return CreateCast(Instruction::IntToPtr, C, DestTy); in CreateIntToPtr() 146 return CreateCast(Instruction::PtrToInt, C, DestTy); in CreatePtrToInt()
|
| H A D | ConstantFolder.h | 177 Constant *CreateCast(Instruction::CastOps Op, Constant *C, in CreateCast() function 201 return CreateCast(Instruction::BitCast, C, DestTy); in CreateBitCast() 205 return CreateCast(Instruction::IntToPtr, C, DestTy); in CreateIntToPtr() 209 return CreateCast(Instruction::PtrToInt, C, DestTy); in CreatePtrToInt()
|
| H A D | IRBuilder.h | 1913 return CreateCast(Instruction::Trunc, V, DestTy, Name); 1917 return CreateCast(Instruction::ZExt, V, DestTy, Name); 1921 return CreateCast(Instruction::SExt, V, DestTy, Name); 1958 return CreateCast(Instruction::FPToUI, V, DestTy, Name); 1965 return CreateCast(Instruction::FPToSI, V, DestTy, Name); 1972 return CreateCast(Instruction::UIToFP, V, DestTy, Name); 1979 return CreateCast(Instruction::SIToFP, V, DestTy, Name); 1988 return CreateCast(Instruction::FPTrunc, V, DestTy, Name); 1995 return CreateCast(Instruction::FPExt, V, DestTy, Name); 2000 return CreateCast(Instruction::PtrToInt, V, DestTy, Name); [all …]
|
| H A D | IRBuilderFolder.h | 77 virtual Value *CreateCast(Instruction::CastOps Op, Constant *C,
|
| /openbsd-src/gnu/llvm/llvm/include/llvm/Analysis/ |
| H A D | TargetFolder.h | 188 Constant *CreateCast(Instruction::CastOps Op, Constant *C, in CreateCast() function 211 return CreateCast(Instruction::BitCast, C, DestTy); in CreateBitCast() 214 return CreateCast(Instruction::IntToPtr, C, DestTy); in CreateIntToPtr() 217 return CreateCast(Instruction::PtrToInt, C, DestTy); in CreatePtrToInt()
|
| H A D | InstSimplifyFolder.h | 119 Value *CreateCast(Instruction::CastOps Op, Constant *C, in CreateCast() function 123 return ConstFolder.CreateCast(Op, C, DestTy); in CreateCast()
|
| /openbsd-src/gnu/llvm/llvm/lib/Transforms/Utils/ |
| H A D | BypassSlowDivision.cpp | 293 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 D | ScalarEvolutionExpander.cpp | 86 Ret = Builder.CreateCast(Op, V, Ty, V->getName()); in ReuseOrCreateCast()
|
| /openbsd-src/gnu/llvm/llvm/lib/Target/NVPTX/ |
| H A D | NVPTXGenericToNVVM.cpp | 290 return Builder.CreateCast(Instruction::CastOps(C->getOpcode()), in remapConstantExpr()
|
| /openbsd-src/gnu/llvm/clang/include/clang/Sema/ |
| H A D | Initialization.h | 662 static InitializationKind CreateCast(SourceRange TypeRange) { in CreateCast() function
|
| /openbsd-src/gnu/llvm/llvm/lib/Transforms/InstCombine/ |
| H A D | InstCombineCalls.cpp | 2677 Res = Builder.CreateCast(cast<CastInst>(Arg)->getOpcode(), Res, in visitCallInst() 2727 Res = Builder.CreateCast(cast<CastInst>(Arg)->getOpcode(), Res, in visitCallInst() 2776 Res = Builder.CreateCast(cast<CastInst>(Arg)->getOpcode(), Res, in visitCallInst() 2815 Res = Builder.CreateCast(ExtOpc, Res, II->getType()); in visitCallInst() 3602 NewArg = Builder.CreateCast(opcode, *AI, PTy); in transformConstExprCastCall()
|
| H A D | InstCombineCasts.cpp | 350 Value *CastX = Builder.CreateCast(CI.getOpcode(), X, DestTy); in commonCastTransforms() 794 Value *NarrowOp = Builder.CreateCast(Opcode, ScalarOp, DestScalarTy); in shrinkInsertElt()
|
| H A D | InstCombineAndOrXor.cpp | 1560 X = Builder.CreateCast(CastOpcode, X, Y->getType()); in foldCastedBitwiseLogic() 1562 Y = Builder.CreateCast(CastOpcode, Y, X->getType()); in foldCastedBitwiseLogic()
|
| H A D | InstCombineCompares.cpp | 4869 X = Builder.CreateCast(CastOpcode, X, YTy); in foldICmpWithZextOrSext() 4871 Y = Builder.CreateCast(CastOpcode, Y, XTy); in foldICmpWithZextOrSext()
|
| H A D | InstCombineSelect.cpp | 3315 Value *NewCast = Builder.CreateCast(CastOp, NewSI, SelType); in visitSelectInst()
|
| H A D | InstructionCombining.cpp | 1057 return Builder.CreateCast(Cast->getOpcode(), SO, I.getType()); in foldOperationIntoSelectOperand()
|
| /openbsd-src/gnu/llvm/llvm/lib/Transforms/Scalar/ |
| H A D | Scalarizer.cpp | 740 Res[I] = Builder.CreateCast(CI.getOpcode(), Op0[I], VT->getElementType(), in visitCastInst()
|
| /openbsd-src/gnu/llvm/llvm/lib/Transforms/Vectorize/ |
| H A D | VPlanRecipes.cpp | 672 Value *Cast = Builder.CreateCast(CI->getOpcode(), A, DestTy); in execute()
|
| H A D | SLPVectorizer.cpp | 9415 Value *V = Builder.CreateCast(CI->getOpcode(), InVec, VecTy); in vectorizeTree() 9767 V0 = Builder.CreateCast( in vectorizeTree() 9769 V1 = Builder.CreateCast( in vectorizeTree()
|
| H A D | LoopVectorize.cpp | 2465 : B.CreateCast(Instruction::SIToFP, Index, StepTy); in emitTransformedIndex() 9386 Start = Builder.CreateCast(Instruction::Trunc, Start, TruncType); in execute()
|
| /openbsd-src/gnu/llvm/clang/lib/Sema/ |
| H A D | SemaCast.cpp | 445 : InitializationKind::CreateCast(/*type range?*/ range); in tryDiagnoseOverloadedCast() 1866 : InitializationKind::CreateCast(OpRange); in TryStaticImplicitCast()
|
| /openbsd-src/gnu/llvm/llvm/lib/CodeGen/ |
| H A D | AtomicExpandPass.cpp | 1090 Builder.CreateCast(CastOp, AI->getValOperand(), PMV.WordType), in expandAtomicRMWToMaskedIntrinsic()
|
| /openbsd-src/gnu/llvm/llvm/lib/IR/ |
| H A D | Core.cpp | 3777 return wrap(unwrap(B)->CreateCast(Instruction::CastOps(map_from_llvmopcode(Op)), unwrap(Val), in LLVMBuildCast()
|
| /openbsd-src/gnu/llvm/clang/lib/CodeGen/ |
| H A D | CGStmtOpenMP.cpp | 6155 UpdateVal = CGF.Builder.CreateCast(llvm::Instruction::CastOps::UIToFP, IC, in emitOMPAtomicRMW()
|