Home
last modified time | relevance | path

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

/external/llvm/lib/Transforms/Instrumentation/
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()
497 Value *Args[] = {IRB.CreatePointerCast(Addr, PtrTy), in instrumentAtomic()
515 Value *Args[] = {IRB.CreatePointerCast(Addr, PtrTy), in instrumentAtomic()
[all …]
DMemorySanitizer.cpp571 IRB.CreatePointerCast(Addr, IRB.getInt8PtrTy()), in storeOrigin()
800 IRB.CreateAnd(IRB.CreatePointerCast(Addr, MS.IntptrTy), in getShadowPtr()
811 IRB.CreateAnd(IRB.CreatePointerCast(Addr, MS.IntptrTy), in getOriginPtr()
826 Value *Base = IRB.CreatePointerCast(MS.ParamTLS, MS.IntptrTy); in getShadowPtrForArgument()
836 Value *Base = IRB.CreatePointerCast(MS.ParamOriginTLS, MS.IntptrTy); in getOriginPtrForArgument()
844 Value *Base = IRB.CreatePointerCast(MS.RetvalTLS, MS.IntptrTy); in getShadowPtrForRetval()
1485 A = IRB.CreatePointerCast(A, Sa->getType()); in handleEqualityComparison()
1486 B = IRB.CreatePointerCast(B, Sb->getType()); in handleEqualityComparison()
1558 A = IRB.CreatePointerCast(A, Sa->getType()); in handleRelationalComparisonExact()
1559 B = IRB.CreatePointerCast(B, Sb->getType()); in handleRelationalComparisonExact()
[all …]
DAddressSanitizer.cpp642 IRB.CreatePointerCast(MI->getOperand(0), IRB.getInt8PtrTy()), in instrumentMemIntrinsic()
643 IRB.CreatePointerCast(MI->getOperand(1), IRB.getInt8PtrTy()), in instrumentMemIntrinsic()
648 IRB.CreatePointerCast(MI->getOperand(0), IRB.getInt8PtrTy()), in instrumentMemIntrinsic()
723 Param[i] = IRB.CreatePointerCast(Param[i], IntptrTy); in instrumentPointerComparisonOrSubtraction()
779 Value *AddrLong = IRB.CreatePointerCast(Addr, IntptrTy); in instrumentMop()
840 Value *AddrLong = IRB.CreatePointerCast(Addr, IntptrTy); in instrumentAddress()
1133 IRB.CreatePointerCast(AllGlobals, IntptrTy), in InstrumentGlobals()
1144 IRB.CreatePointerCast(AllGlobals, IntptrTy), in InstrumentGlobals()
1610 Value *OrigStackBase = IRB.CreatePointerCast(MyAlloca, IntptrTy); in poisonStack()
1671 Value *Description = IRB.CreatePointerCast(StackDescriptionGlobal, in poisonStack()
[all …]
/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()
DTargetInfo.cpp5872 return Builder.CreatePointerCast(ArgAddr, ArgPtrTy, "arg.addr"); in EmitVAArg()
6074 Val = Builder.CreatePointerCast(AP, ArgPtrTy); in EmitVAArg()
6083 Val = Builder.CreatePointerCast(ArgAddr, ArgPtrTy); in EmitVAArg()
DCGBlocks.cpp2196 llvm::Value *BC = Builder.CreatePointerCast(ByrefInfoAddr, DesTy); in emitByrefStructureInit()
DCGExprScalar.cpp1371 return CGF.Builder.CreatePointerCast(V, ConvertType(CE->getType())); in VisitCastExpr()
/external/llvm/lib/Transforms/Scalar/
DLoadCombine.cpp200 Builder->CreatePointerCast(Loads[0].POP.Pointer, in combineLoads()
204 Builder->CreatePointerCast( in combineLoads()
DMemCpyOptimizer.cpp711 : CastInst::CreatePointerCast(cpyDest, cpySrc->getType(), in performCallSlotOptzn()
717 CS.setArgument(i, CastInst::CreatePointerCast(Dest, in performCallSlotOptzn()
DLoopStrengthReduce.cpp2973 IVOper = Builder.CreatePointerCast(IVSrc, PostIncTy, "lsr.chain"); in GenerateIVChain()
/external/llvm/include/llvm/IR/
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
DInstrTypes.h463 static CastInst *CreatePointerCast(
471 static CastInst *CreatePointerCast(
DIRBuilder.h1198 Value *CreatePointerCast(Value *V, Type *DestTy,
1203 return Insert(Folder.CreatePointerCast(VC, DestTy), Name);
1204 return Insert(CastInst::CreatePointerCast(V, DestTy), Name);
/external/llvm/unittests/IR/
DInstructionsTest.cpp284 CastInst::CreatePointerCast(NullV2I32Ptr, V2Int32Ty, "foo", BB); in TEST()
287 CastInst::CreatePointerCast(NullV2I32Ptr, V2Int32Ty); in TEST()
/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/include/llvm/Analysis/
DTargetFolder.h179 Constant *CreatePointerCast(Constant *C, Type *DestTy) const { in CreatePointerCast() function
/external/llvm/lib/IR/
DInstructions.cpp2467 CastInst *CastInst::CreatePointerCast(Value *S, Type *Ty, in CreatePointerCast() function in CastInst
2489 CastInst *CastInst::CreatePointerCast(Value *S, Type *Ty, in CreatePointerCast() function in CastInst
DCore.cpp2464 return wrap(unwrap(B)->CreatePointerCast(unwrap(Val), unwrap(DestTy), Name)); in LLVMBuildPointerCast()
/external/llvm/lib/Transforms/Vectorize/
DLoopVectorize.cpp2076 BackedgeCount = CastInst::CreatePointerCast(BackedgeCount, IdxTy, in createEmptyLoop()
2156 Count = BypassBuilder.CreatePointerCast(Count, IdxTy, "ptrcnt.to.int"); in createEmptyLoop()
/external/llvm/bindings/ocaml/llvm/
Dllvm.mli2284 See the method [llvm::LLVMBuilder::CreatePointerCast]. *)