Home
last modified time | relevance | path

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

/external/llvm/lib/Transforms/Instrumentation/
DThreadSanitizer.cpp414 IRB.CreatePointerCast(Addr, IRB.getInt8PtrTy()), in instrumentLoadOrStore()
415 IRB.CreatePointerCast(StoredValue, IRB.getInt8PtrTy())); in instrumentLoadOrStore()
421 IRB.CreatePointerCast(Addr, IRB.getInt8PtrTy())); in instrumentLoadOrStore()
426 IRB.CreateCall(OnAccessFunc, IRB.CreatePointerCast(Addr, IRB.getInt8PtrTy())); in instrumentLoadOrStore()
474 IRB.CreatePointerCast(M->getArgOperand(0), IRB.getInt8PtrTy()), in instrumentMemIntrinsic()
480 IRB.CreatePointerCast(M->getArgOperand(0), IRB.getInt8PtrTy()), in instrumentMemIntrinsic()
481 IRB.CreatePointerCast(M->getArgOperand(1), IRB.getInt8PtrTy()), in instrumentMemIntrinsic()
507 Value *Args[] = {IRB.CreatePointerCast(Addr, PtrTy), in instrumentAtomic()
522 Value *Args[] = {IRB.CreatePointerCast(Addr, PtrTy), in instrumentAtomic()
540 Value *Args[] = {IRB.CreatePointerCast(Addr, PtrTy), in instrumentAtomic()
[all …]
DMemorySanitizer.cpp631 IRB.CreateAnd(IRB.CreatePointerCast(Addr, MS.IntptrTy), in getShadowPtr()
642 IRB.CreateAnd(IRB.CreatePointerCast(Addr, MS.IntptrTy), in getOriginPtr()
657 Value *Base = IRB.CreatePointerCast(MS.ParamTLS, MS.IntptrTy); in getShadowPtrForArgument()
667 Value *Base = IRB.CreatePointerCast(MS.ParamOriginTLS, MS.IntptrTy); in getOriginPtrForArgument()
675 Value *Base = IRB.CreatePointerCast(MS.RetvalTLS, MS.IntptrTy); in getShadowPtrForRetval()
1174 A = IRB.CreatePointerCast(A, Sa->getType()); in handleEqualityComparison()
1175 B = IRB.CreatePointerCast(B, Sb->getType()); in handleEqualityComparison()
1247 A = IRB.CreatePointerCast(A, Sa->getType()); in handleRelationalComparisonExact()
1248 B = IRB.CreatePointerCast(B, Sb->getType()); in handleRelationalComparisonExact()
1358 IRB.CreatePointerCast(I.getArgOperand(0), IRB.getInt8PtrTy()), in visitMemMoveInst()
[all …]
DAddressSanitizer.cpp588 Value *AddrLong = IRB.CreatePointerCast(Addr, IntptrTy); in instrumentMemIntrinsicParam()
681 IRB.CreateAdd(IRB.CreatePointerCast(Addr, IntptrTy), in instrumentMop()
738 Value *AddrLong = IRB.CreatePointerCast(Addr, IntptrTy); in instrumentAddress()
1008 IRB.CreatePointerCast(AllGlobals, IntptrTy), in runOnModule()
1019 IRB.CreatePointerCast(AllGlobals, IntptrTy), in runOnModule()
1366 Value *OrigStackBase = IRB.CreatePointerCast(MyAlloca, IntptrTy); in poisonStack()
1421 Value *Description = IRB.CreatePointerCast(StackDescriptionGlobal, in poisonStack()
1429 IRB.CreateStore(IRB.CreatePointerCast(&F, IntptrTy), BasePlus2); in poisonStack()
1465 Value *AddrArg = IRB.CreatePointerCast(V, IntptrTy); in poisonAlloca()
/external/clang/lib/CodeGen/
DCGCUDANV.cpp100 Args[0] = CGF.Builder.CreatePointerCast(ArgValues[I], VoidPtrTy); in EmitDeviceStubBody()
116 llvm::Value *Arg = CGF.Builder.CreatePointerCast(CGF.CurFn, CharPtrTy); in EmitDeviceStubBody()
DCGBlocks.cpp2214 llvm::Value *BC = Builder.CreatePointerCast(ByrefInfoAddr, DesTy); in emitByrefStructureInit()
DTargetInfo.cpp5347 return Builder.CreatePointerCast(ArgAddr, ArgPtrTy, "arg.addr"); in EmitVAArg()
/external/llvm/include/llvm/Support/
DNoFolder.h218 Instruction *CreatePointerCast(Constant *C, Type *DestTy) const { in CreatePointerCast() function
219 return CastInst::CreatePointerCast(C, DestTy); in CreatePointerCast()
DConstantFolder.h159 Constant *CreatePointerCast(Constant *C, Type *DestTy) const { in CreatePointerCast() function
DTargetFolder.h179 Constant *CreatePointerCast(Constant *C, Type *DestTy) const { in CreatePointerCast() function
/external/llvm/unittests/IR/
DInstructionsTest.cpp207 CastInst::CreatePointerCast(NullV2I32Ptr, V2Int32Ty, "foo", BB); in TEST()
210 CastInst::CreatePointerCast(NullV2I32Ptr, V2Int32Ty); in TEST()
/external/llvm/include/llvm/IR/
DInstrTypes.h463 static CastInst *CreatePointerCast(
471 static CastInst *CreatePointerCast(
DIRBuilder.h1126 Value *CreatePointerCast(Value *V, Type *DestTy,
1131 return Insert(Folder.CreatePointerCast(VC, DestTy), Name);
1132 return Insert(CastInst::CreatePointerCast(V, DestTy), Name);
/external/llvm/examples/ExceptionDemo/
DExceptionDemo.cpp927 llvm::Value *cast = builder.CreatePointerCast(stringVar, in generateStringPrint()
1299 builder.CreatePointerCast(unwindException, in createCatchWrappedInvokeFunction()
1332 llvm::Value *typeInfoThrown = builder.CreatePointerCast( in createCatchWrappedInvokeFunction()
/external/llvm/lib/Transforms/Scalar/
DMemCpyOptimizer.cpp702 : CastInst::CreatePointerCast(cpyDest, cpySrc->getType(), in performCallSlotOptzn()
708 CS.setArgument(i, CastInst::CreatePointerCast(Dest, in performCallSlotOptzn()
DLoopStrengthReduce.cpp2893 IVOper = Builder.CreatePointerCast(IVSrc, PostIncTy, "lsr.chain"); in GenerateIVChain()
/external/llvm/lib/IR/
DInstructions.cpp2415 CastInst *CastInst::CreatePointerCast(Value *S, Type *Ty, in CreatePointerCast() function in CastInst
2432 CastInst *CastInst::CreatePointerCast(Value *S, Type *Ty, in CreatePointerCast() function in CastInst
DCore.cpp2296 return wrap(unwrap(B)->CreatePointerCast(unwrap(Val), unwrap(DestTy), Name)); in LLVMBuildPointerCast()
/external/llvm/lib/Transforms/Vectorize/
DLoopVectorize.cpp1520 Count = BypassBuilder.CreatePointerCast(Count, IdxTy, "ptrcnt.to.int"); in createEmptyLoop()
/external/llvm/bindings/ocaml/llvm/
Dllvm.mli2215 See the method [llvm::LLVMBuilder::CreatePointerCast]. *)