Home
last modified time | relevance | path

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

12

/external/llvm/lib/Transforms/Utils/
DBuildLibCalls.cpp32 return B.CreateBitCast(V, B.getInt8PtrTy(), "cstr"); in CastToCStr()
51 B.getInt8PtrTy(), in EmitStrLen()
77 B.getInt8PtrTy(), in EmitStrNLen()
99 Type *I8Ptr = B.getInt8PtrTy(); in EmitStrChr()
127 B.getInt8PtrTy(), in EmitStrNCmp()
128 B.getInt8PtrTy(), in EmitStrNCmp()
151 Type *I8Ptr = B.getInt8PtrTy(); in EmitStrCpy()
173 Type *I8Ptr = B.getInt8PtrTy(); in EmitStrNCpy()
199 B.getInt8PtrTy(), in EmitMemCpyChk()
200 B.getInt8PtrTy(), in EmitMemCpyChk()
[all …]
DLowerInvoke.cpp122 Type *VoidPtrTy = Type::getInt8PtrTy(M.getContext()); in doInitialization()
459 AllocaInst *StackPtr = new AllocaInst(Type::getInt8PtrTy(F.getContext()), 0, in insertExpensiveEHSupport()
490 Type::getInt8PtrTy(F.getContext()), in insertExpensiveEHSupport()
543 Type::getInt8PtrTy(F.getContext()), in insertExpensiveEHSupport()
DInlineFunction.cpp358 Type *VoidPtrTy = Type::getInt8PtrTy(Context); in HandleByValArgument()
424 Type *Int8PtrTy = Type::getInt8PtrTy(AI->getType()->getContext()); in hasLifetimeMarkers()
/external/llvm/lib/Transforms/Instrumentation/
DThreadSanitizer.cpp134 "__tsan_func_entry", IRB.getVoidTy(), IRB.getInt8PtrTy(), NULL)); in doInitialization()
143 ReadName, IRB.getVoidTy(), IRB.getInt8PtrTy(), NULL)); in doInitialization()
147 WriteName, IRB.getVoidTy(), IRB.getInt8PtrTy(), NULL)); in doInitialization()
163 "__tsan_vptr_update", IRB.getVoidTy(), IRB.getInt8PtrTy(), in doInitialization()
164 IRB.getInt8PtrTy(), NULL)); in doInitialization()
326 StoredValue = IRB.CreateIntToPtr(StoredValue, IRB.getInt8PtrTy()); in instrumentLoadOrStore()
329 IRB.CreatePointerCast(Addr, IRB.getInt8PtrTy()), in instrumentLoadOrStore()
330 IRB.CreatePointerCast(StoredValue, IRB.getInt8PtrTy())); in instrumentLoadOrStore()
335 IRB.CreateCall(OnAccessFunc, IRB.CreatePointerCast(Addr, IRB.getInt8PtrTy())); in instrumentLoadOrStore()
DProfilingUtils.cpp29 PointerType::getUnqual(Type::getInt8PtrTy(Context)); in InsertProfilingInitCall()
DGCOVProfiling.cpp579 Type::getInt8PtrTy(*Ctx), false); in getStartFileFunc()
597 Type::getInt8PtrTy(*Ctx), // const char *function_name in getEmitFunctionFunc()
/external/llvm/unittests/VMCore/
DTypeBuilderTest.cpp24 EXPECT_EQ(Type::getInt8PtrTy(getGlobalContext()), in TEST()
26 EXPECT_EQ(Type::getInt8PtrTy(getGlobalContext()), in TEST()
28 EXPECT_EQ(Type::getInt8PtrTy(getGlobalContext()), in TEST()
30 EXPECT_EQ(Type::getInt8PtrTy(getGlobalContext()), in TEST()
75 EXPECT_EQ(PointerType::getUnqual(Type::getInt8PtrTy(getGlobalContext())), in TEST()
82 EXPECT_EQ(PointerType::getUnqual(Type::getInt8PtrTy(getGlobalContext())), in TEST()
89 EXPECT_EQ(PointerType::getUnqual(Type::getInt8PtrTy(getGlobalContext())), in TEST()
118 EXPECT_EQ(Type::getInt8PtrTy(getGlobalContext()), in TEST()
DVerifierTest.cpp55 GlobalAlias *GA = new GlobalAlias(Type::getInt8PtrTy(C), in TEST()
/external/llvm/lib/CodeGen/
DIntrinsicLowering.cpp115 Type::getInt8PtrTy(Context), in AddPrototypes()
116 Type::getInt8PtrTy(Context), in AddPrototypes()
117 Type::getInt8PtrTy(Context), in AddPrototypes()
122 Type::getInt8PtrTy(Context), in AddPrototypes()
123 Type::getInt8PtrTy(Context), in AddPrototypes()
124 Type::getInt8PtrTy(Context), in AddPrototypes()
129 Type::getInt8PtrTy(Context), in AddPrototypes()
130 Type::getInt8PtrTy(Context), in AddPrototypes()
DDwarfEHPrepare.cpp128 Type::getInt8PtrTy(Ctx), false); in InsertUnwindResumeCalls()
154 PHINode *PN = PHINode::Create(Type::getInt8PtrTy(Ctx), ResumesSize, in InsertUnwindResumeCalls()
DSjLjEHPrepare.cpp93 Type *VoidPtrTy = Type::getInt8PtrTy(M.getContext()); in doInitialization()
210 ExnVal = Builder.CreateIntToPtr(ExnVal, Builder.getInt8PtrTy()); in setupFunctionContext()
423 Value *SetjmpArg = Builder.CreateBitCast(JBufPtr, Builder.getInt8PtrTy()); in setupEntryBlockAndCallSites()
428 Value *FuncCtxArg = Builder.CreateBitCast(FuncCtx, Builder.getInt8PtrTy()); in setupEntryBlockAndCallSites()
DPseudoSourceValue.cpp66 Value(Type::getInt8PtrTy(getGlobalContext()), in PseudoSourceValue()
DShadowStackGC.cpp145 Type *ExnTy = StructType::get(Type::getInt8PtrTy(C), in Next()
204 Type *VoidPtr = Type::getInt8PtrTy(F.getContext()); in GetFrameMap()
DStackProtector.cpp191 PointerType *PtrTy = Type::getInt8PtrTy(RI->getContext()); in InsertStackProtectors()
/external/llvm/examples/ExceptionDemo/
DExceptionDemo.cpp899 builder.getInt8PtrTy()); in generateStringPrint()
943 builder.getInt8PtrTy()); in generateIntegerPrint()
994 llvm::PointerType *exceptionStorageType = builder.getInt8PtrTy(); in createFinallyBlock()
1642 builder.getInt8PtrTy(), in createStandardUtilityFunctions()
1727 argTypes.push_back(builder.getInt8PtrTy()); in createStandardUtilityFunctions()
1746 argTypes.push_back(builder.getInt8PtrTy()); in createStandardUtilityFunctions()
1764 argTypes.push_back(builder.getInt8PtrTy()); in createStandardUtilityFunctions()
1800 argTypes.push_back(builder.getInt8PtrTy()); in createStandardUtilityFunctions()
1815 retType = builder.getInt8PtrTy(); in createStandardUtilityFunctions()
1836 argTypes.push_back(builder.getInt8PtrTy()); in createStandardUtilityFunctions()
[all …]
/external/llvm/lib/Transforms/Scalar/
DLoopIdiomRecognize.cpp486 Expander.expandCodeFor(Ev->getStart(), Builder.getInt8PtrTy(AddrSpace), in processLoopStridedStore()
522 Builder.getInt8PtrTy(), in processLoopStridedStore()
523 Builder.getInt8PtrTy(), IntPtr, in processLoopStridedStore()
533 Value *PatternPtr = ConstantExpr::getBitCast(GV, Builder.getInt8PtrTy()); in processLoopStridedStore()
576 Builder.getInt8PtrTy(SI->getPointerAddressSpace()), in processLoopStoreOfLoopLoad()
592 Builder.getInt8PtrTy(LI->getPointerAddressSpace()), in processLoopStoreOfLoopLoad()
DSimplifyLibCalls.cpp144 FT->getReturnType() != B.getInt8PtrTy() || in CallOptimizer()
196 FT->getReturnType() != B.getInt8PtrTy() || in CallOptimizer()
243 FT->getReturnType() != B.getInt8PtrTy() || in CallOptimizer()
292 FT->getReturnType() != B.getInt8PtrTy() || in CallOptimizer()
333 FT->getParamType(0) != B.getInt8PtrTy()) in CallOptimizer()
381 FT->getParamType(0) != B.getInt8PtrTy() || in CallOptimizer()
440 FT->getParamType(0) != B.getInt8PtrTy()) in CallOptimizer()
481 FT->getParamType(0) != B.getInt8PtrTy()) in CallOptimizer()
519 FT->getParamType(0) != B.getInt8PtrTy() || in CallOptimizer()
567 FT->getParamType(0) != B.getInt8PtrTy() || in CallOptimizer()
[all …]
/external/llvm/unittests/Bitcode/
DBitReaderTest.cpp39 PointerType* Int8Ptr = Type::getInt8PtrTy(Mod->getContext()); in makeLLVMModule()
/external/llvm/lib/Target/NVPTX/
DNVPTXLowerAggrCopies.cpp57 srcAddr = builder.CreateBitCast(srcAddr, Type::getInt8PtrTy(Context, srcAS)); in convertTransferToLoop()
58 dstAddr = builder.CreateBitCast(dstAddr, Type::getInt8PtrTy(Context, dstAS)); in convertTransferToLoop()
/external/llvm/lib/VMCore/
DIRBuilder.cpp48 PT = getInt8PtrTy(PT->getAddressSpace()); in getCastedInt8PtrValue()
/external/llvm/include/llvm/
DType.h387 static PointerType *getInt8PtrTy(LLVMContext &C, unsigned AS = 0);
/external/clang/lib/CodeGen/
DCodeGenFunction.cpp774 llvm::Type *i8p = Builder.getInt8PtrTy(); in emitNonZeroVLAInit()
819 llvm::Type *BP = Builder.getInt8PtrTy(DestAS); in EmitNullInitialization()
871 Builder.CreateBitCast(NullVariable, Builder.getInt8PtrTy()); in EmitNullInitialization()
/external/llvm/examples/BrainF/
DBrainF.cpp58 Type *Tys[] = { Type::getInt8PtrTy(C), Type::getInt32Ty(C) }; in header()
/external/llvm/tools/lto/
DLTOCodeGenerator.cpp316 llvm::Type *i8PTy = llvm::Type::getInt8PtrTy(_context); in applyScopeRestrictions()
/external/llvm/lib/Analysis/
DMemoryBuiltins.cpp121 if (FTy->getReturnType() == Type::getInt8PtrTy(FTy->getContext()) && in getAllocationData()
327 if (FTy->getParamType(0) != Type::getInt8PtrTy(Callee->getContext())) in isFreeCall()

12