Home
last modified time | relevance | path

Searched refs:CreatePointerCast (Results 1 – 25 of 25) sorted by relevance

/minix3/external/bsd/llvm/dist/llvm/lib/Transforms/Instrumentation/
H A DThreadSanitizer.cpp404 IRB.CreatePointerCast(Addr, IRB.getInt8PtrTy()), in instrumentLoadOrStore()
405 IRB.CreatePointerCast(StoredValue, IRB.getInt8PtrTy())); in instrumentLoadOrStore()
411 IRB.CreatePointerCast(Addr, IRB.getInt8PtrTy())); in instrumentLoadOrStore()
416 IRB.CreateCall(OnAccessFunc, IRB.CreatePointerCast(Addr, IRB.getInt8PtrTy())); in instrumentLoadOrStore()
449 IRB.CreatePointerCast(M->getArgOperand(0), IRB.getInt8PtrTy()), in instrumentMemIntrinsic()
455 IRB.CreatePointerCast(M->getArgOperand(0), IRB.getInt8PtrTy()), in instrumentMemIntrinsic()
456 IRB.CreatePointerCast(M->getArgOperand(1), IRB.getInt8PtrTy()), in instrumentMemIntrinsic()
482 Value *Args[] = {IRB.CreatePointerCast(Addr, PtrTy), in instrumentAtomic()
496 Value *Args[] = {IRB.CreatePointerCast(Addr, PtrTy), in instrumentAtomic()
513 Value *Args[] = {IRB.CreatePointerCast(Addr, PtrTy), in instrumentAtomic()
[all …]
H A DSanitizerCoverage.cpp186 IRB.CreatePointerCast(RealGuardArray, Int32PtrTy)); in runOnModule()
192 IRB.CreatePointerCast(RealGuardArray, Int32PtrTy), in runOnModule()
258 IRB.CreatePointerCast(Callee, IntptrTy), in InjectCoverageForIndirectCalls()
259 IRB.CreatePointerCast(CalleeCache, IntptrTy)); in InjectCoverageForIndirectCalls()
282 IRB.CreatePointerCast(GuardArray, IntptrTy), in InjectCoverageAtBlock()
H A DMemorySanitizer.cpp600 IRB.CreatePointerCast(Addr, IRB.getInt8PtrTy()), in storeOrigin()
790 IRB.CreateAnd(IRB.CreatePointerCast(Addr, MS.IntptrTy), in getShadowPtrOffset()
840 Value *Base = IRB.CreatePointerCast(MS.ParamTLS, MS.IntptrTy); in getShadowPtrForArgument()
850 Value *Base = IRB.CreatePointerCast(MS.ParamOriginTLS, MS.IntptrTy); in getOriginPtrForArgument()
858 Value *Base = IRB.CreatePointerCast(MS.RetvalTLS, MS.IntptrTy); in getShadowPtrForRetval()
1529 A = IRB.CreatePointerCast(A, Sa->getType()); in handleEqualityComparison()
1530 B = IRB.CreatePointerCast(B, Sb->getType()); in handleEqualityComparison()
1602 A = IRB.CreatePointerCast(A, Sa->getType()); in handleRelationalComparisonExact()
1603 B = IRB.CreatePointerCast(B, Sb->getType()); in handleRelationalComparisonExact()
1713 IRB.CreatePointerCast(I.getArgOperand(0), IRB.getInt8PtrTy()), in visitMemMoveInst()
[all …]
H A DAddressSanitizer.cpp761 IRB.CreatePointerCast(MI->getOperand(0), IRB.getInt8PtrTy()), in instrumentMemIntrinsic()
762 IRB.CreatePointerCast(MI->getOperand(1), IRB.getInt8PtrTy()), in instrumentMemIntrinsic()
767 IRB.CreatePointerCast(MI->getOperand(0), IRB.getInt8PtrTy()), in instrumentMemIntrinsic()
845 Param[i] = IRB.CreatePointerCast(Param[i], IntptrTy); in instrumentPointerComparisonOrSubtraction()
901 Value *AddrLong = IRB.CreatePointerCast(Addr, IntptrTy); in instrumentMop()
962 Value *AddrLong = IRB.CreatePointerCast(Addr, IntptrTy); in instrumentAddress()
1267 IRB.CreatePointerCast(AllGlobals, IntptrTy), in InstrumentGlobals()
1278 IRB.CreatePointerCast(AllGlobals, IntptrTy), in InstrumentGlobals()
1637 return IRB.CreatePointerCast(Alloca, IntptrTy); in createAllocaForLayout()
1758 Value *Description = IRB.CreatePointerCast(StackDescriptionGlobal, in poisonStack()
[all …]
/minix3/external/bsd/llvm/dist/clang/lib/CodeGen/
H A DCGCUDANV.cpp100 Args[0] = CGF.Builder.CreatePointerCast(ArgValues[I], VoidPtrTy); in EmitDeviceStubBody()
116 llvm::Value *Arg = CGF.Builder.CreatePointerCast(CGF.CurFn, CharPtrTy); in EmitDeviceStubBody()
H A DCGOpenMPRuntime.cpp496 CGF.Builder.CreatePointerCast(VDAddr, CGM.Int8PtrTy), in getOMPAddrOfThreadPrivate()
514 CGF.Builder.CreatePointerCast(VDAddr, CGM.VoidPtrTy), in EmitOMPThreadPrivateVarInit()
551 auto Arg = CtorCGF.Builder.CreatePointerCast( in EmitOMPThreadPrivateVarDefinition()
H A DCGExprScalar.cpp1415 V = CGF.Builder.CreatePointerCast( in VisitCastExpr()
1426 return CGF.Builder.CreatePointerCast(V, ConvertType(CE->getType())); in VisitCastExpr()
H A DTargetInfo.cpp6382 return Builder.CreatePointerCast(ArgAddr, ArgPtrTy, "arg.addr"); in EmitVAArg()
6584 Val = Builder.CreatePointerCast(AP, ArgPtrTy); in EmitVAArg()
6593 Val = Builder.CreatePointerCast(ArgAddr, ArgPtrTy); in EmitVAArg()
H A DCGBlocks.cpp2218 llvm::Value *BC = Builder.CreatePointerCast(ByrefInfoAddr, DesTy); in emitByrefStructureInit()
/minix3/external/bsd/llvm/dist/llvm/lib/Transforms/Scalar/
H A DLoadCombine.cpp205 Builder->CreatePointerCast(Loads[0].POP.Pointer, in combineLoads()
209 Builder->CreatePointerCast( in combineLoads()
H A DMemCpyOptimizer.cpp730 : CastInst::CreatePointerCast(cpyDest, cpySrc->getType(), in performCallSlotOptzn()
736 CS.setArgument(i, CastInst::CreatePointerCast(Dest, in performCallSlotOptzn()
H A DLoopStrengthReduce.cpp2970 IVOper = Builder.CreatePointerCast(IVSrc, PostIncTy, "lsr.chain"); in GenerateIVChain()
/minix3/external/bsd/llvm/dist/llvm/include/llvm/IR/
H A DNoFolder.h218 Instruction *CreatePointerCast(Constant *C, Type *DestTy) const { in CreatePointerCast() function
219 return CastInst::CreatePointerCast(C, DestTy); in CreatePointerCast()
H A DConstantFolder.h159 Constant *CreatePointerCast(Constant *C, Type *DestTy) const { in CreatePointerCast() function
H A DInstrTypes.h461 static CastInst *CreatePointerCast(
469 static CastInst *CreatePointerCast(
H A DIRBuilder.h1253 Value *CreatePointerCast(Value *V, Type *DestTy,
1258 return Insert(Folder.CreatePointerCast(VC, DestTy), Name);
1259 return Insert(CastInst::CreatePointerCast(V, DestTy), Name);
/minix3/external/bsd/llvm/dist/llvm/unittests/IR/
H A DInstructionsTest.cpp284 CastInst::CreatePointerCast(NullV2I32Ptr, V2Int32Ty, "foo", BB); in TEST()
287 CastInst::CreatePointerCast(NullV2I32Ptr, V2Int32Ty); in TEST()
/minix3/external/bsd/llvm/dist/llvm/examples/ExceptionDemo/
H A DExceptionDemo.cpp927 llvm::Value *cast = builder.CreatePointerCast(stringVar, in generateStringPrint()
1299 builder.CreatePointerCast(unwindException, in createCatchWrappedInvokeFunction()
1332 llvm::Value *typeInfoThrown = builder.CreatePointerCast( in createCatchWrappedInvokeFunction()
/minix3/external/bsd/llvm/dist/llvm/include/llvm/Analysis/
H A DTargetFolder.h179 Constant *CreatePointerCast(Constant *C, Type *DestTy) const { in CreatePointerCast() function
/minix3/minix/llvm/passes/include/magic/support/
H A DMagicMemFunction.h268 arg = CastInst::CreatePointerCast(arg, wArgType, "WrapperCast", I); in replaceInstruction()
/minix3/external/bsd/llvm/dist/llvm/lib/IR/
H A DInstructions.cpp2498 CastInst *CastInst::CreatePointerCast(Value *S, Type *Ty, in CreatePointerCast() function in CastInst
2516 CastInst *CastInst::CreatePointerCast(Value *S, Type *Ty, in CreatePointerCast() function in CastInst
H A DCore.cpp2641 return wrap(unwrap(B)->CreatePointerCast(unwrap(Val), unwrap(DestTy), Name)); in LLVMBuildPointerCast()
/minix3/external/bsd/llvm/dist/llvm/lib/Transforms/Vectorize/
H A DLoopVectorize.cpp2253 BackedgeCount = CastInst::CreatePointerCast(BackedgeCount, IdxTy, in createEmptyLoop()
2333 Count = BypassBuilder.CreatePointerCast(Count, IdxTy, "ptrcnt.to.int"); in createEmptyLoop()
/minix3/external/bsd/llvm/dist/llvm/bindings/go/llvm/
H A Dir.go1615 func (b Builder) CreatePointerCast(val Value, t Type, name string) (v Value) { func
/minix3/external/bsd/llvm/dist/llvm/bindings/ocaml/llvm/
H A Dllvm.mli2384 See the method [llvm::LLVMBuilder::CreatePointerCast]. *)