/external/llvm/lib/Transforms/Instrumentation/ |
D | ThreadSanitizer.cpp | 136 "__tsan_func_entry", IRB.getVoidTy(), IRB.getInt8PtrTy(), nullptr)); in initializeCallbacks() 145 ReadName, IRB.getVoidTy(), IRB.getInt8PtrTy(), nullptr)); in initializeCallbacks() 149 WriteName, IRB.getVoidTy(), IRB.getInt8PtrTy(), nullptr)); in initializeCallbacks() 155 UnalignedReadName, IRB.getVoidTy(), IRB.getInt8PtrTy(), nullptr)); in initializeCallbacks() 161 UnalignedWriteName, IRB.getVoidTy(), IRB.getInt8PtrTy(), nullptr)); in initializeCallbacks() 207 IRB.getInt8PtrTy(), IRB.getInt8PtrTy(), nullptr)); in initializeCallbacks() 209 "__tsan_vptr_read", IRB.getVoidTy(), IRB.getInt8PtrTy(), nullptr)); in initializeCallbacks() 216 M.getOrInsertFunction("memmove", IRB.getInt8PtrTy(), IRB.getInt8PtrTy(), in initializeCallbacks() 217 IRB.getInt8PtrTy(), IntptrTy, nullptr)); in initializeCallbacks() 219 M.getOrInsertFunction("memcpy", IRB.getInt8PtrTy(), IRB.getInt8PtrTy(), in initializeCallbacks() [all …]
|
D | InstrProfiling.cpp | 220 auto *Int8PtrTy = Type::getInt8PtrTy(Ctx); in getOrCreateRegionCounters() 251 auto *VoidPtrTy = Type::getInt8PtrTy(M->getContext()); in emitRegistration() 315 Type *i8PTy = Type::getInt8PtrTy(M->getContext()); in emitUses()
|
D | MemorySanitizer.cpp | 389 IRB.getInt8PtrTy(), IRB.getInt32Ty(), nullptr); in initializeCallbacks() 393 "__msan_set_alloca_origin4", IRB.getVoidTy(), IRB.getInt8PtrTy(), IntptrTy, in initializeCallbacks() 394 IRB.getInt8PtrTy(), IntptrTy, nullptr); in initializeCallbacks() 397 IRB.getInt8PtrTy(), IntptrTy, nullptr); in initializeCallbacks() 401 "__msan_memmove", IRB.getInt8PtrTy(), IRB.getInt8PtrTy(), in initializeCallbacks() 402 IRB.getInt8PtrTy(), IntptrTy, nullptr); in initializeCallbacks() 404 "__msan_memcpy", IRB.getInt8PtrTy(), IRB.getInt8PtrTy(), IRB.getInt8PtrTy(), in initializeCallbacks() 407 "__msan_memset", IRB.getInt8PtrTy(), IRB.getInt8PtrTy(), IRB.getInt32Ty(), in initializeCallbacks() 670 IRB.CreatePointerCast(Addr, IRB.getInt8PtrTy()), in storeOrigin() 1800 IRB.CreatePointerCast(I.getArgOperand(0), IRB.getInt8PtrTy()), in visitMemMoveInst() [all …]
|
D | AddressSanitizer.cpp | 794 IRB.CreatePointerCast(MI->getOperand(0), IRB.getInt8PtrTy()), in instrumentMemIntrinsic() 795 IRB.CreatePointerCast(MI->getOperand(1), IRB.getInt8PtrTy()), in instrumentMemIntrinsic() 800 IRB.CreatePointerCast(MI->getOperand(0), IRB.getInt8PtrTy()), in instrumentMemIntrinsic() 1422 ClMemoryAccessCallbackPrefix + "memmove", IRB.getInt8PtrTy(), in initializeCallbacks() 1423 IRB.getInt8PtrTy(), IRB.getInt8PtrTy(), IntptrTy, nullptr)); in initializeCallbacks() 1425 ClMemoryAccessCallbackPrefix + "memcpy", IRB.getInt8PtrTy(), in initializeCallbacks() 1426 IRB.getInt8PtrTy(), IRB.getInt8PtrTy(), IntptrTy, nullptr)); in initializeCallbacks() 1428 ClMemoryAccessCallbackPrefix + "memset", IRB.getInt8PtrTy(), in initializeCallbacks() 1429 IRB.getInt8PtrTy(), IRB.getInt32Ty(), IntptrTy, nullptr)); in initializeCallbacks() 1893 IRBPoison.CreateIntToPtr(SavedFlagPtr, IRBPoison.getInt8PtrTy())); in poisonStack()
|
D | GCOVProfiling.cpp | 752 Type::getInt8PtrTy(*Ctx), // const char *orig_filename in getStartFileFunc() 753 Type::getInt8PtrTy(*Ctx), // const char version[4] in getStartFileFunc() 774 Type::getInt8PtrTy(*Ctx), // const char *function_name in getEmitFunctionFunc() 863 Constant::getNullValue(Builder.getInt8PtrTy()), in insertCounterWriteout()
|
D | DataFlowSanitizer.cpp | 403 ArgTypes.push_back(Type::getInt8PtrTy(*Ctx)); in getCustomFunctionType() 447 Type::getVoidTy(*Ctx), Type::getInt8PtrTy(*Ctx), /*isVarArg=*/false); in doInitialization() 448 Type *DFSanSetLabelArgs[3] = { ShadowTy, Type::getInt8PtrTy(*Ctx), IntptrTy }; in doInitialization() 454 Type::getVoidTy(*Ctx), Type::getInt8PtrTy(*Ctx), /*isVarArg=*/false); in doInitialization() 1337 IRB.CreateBitCast(I.getDest(), Type::getInt8PtrTy(*DFSF.DFS.Ctx)), in visitMemSetInst() 1357 Type *Int8Ptr = Type::getInt8PtrTy(*DFSF.DFS.Ctx); in visitMemTransferInst() 1464 IRB.CreateBitCast(*i, Type::getInt8PtrTy(*DFSF.DFS.Ctx))); in visitCallSite()
|
/external/llvm/lib/Transforms/Utils/ |
D | BuildLibCalls.cpp | 31 return B.CreateBitCast(V, B.getInt8PtrTy(AS), "cstr"); in CastToCStr() 50 DL.getIntPtrType(Context), B.getInt8PtrTy(), nullptr); in EmitStrLen() 75 DL.getIntPtrType(Context), B.getInt8PtrTy(), in EmitStrNLen() 97 Type *I8Ptr = B.getInt8PtrTy(); in EmitStrChr() 126 B.getInt8PtrTy(), B.getInt8PtrTy(), DL.getIntPtrType(Context), nullptr); in EmitStrNCmp() 148 Type *I8Ptr = B.getInt8PtrTy(); in EmitStrCpy() 171 Type *I8Ptr = B.getInt8PtrTy(); in EmitStrNCpy() 199 "__memcpy_chk", AttributeSet::get(M->getContext(), AS), B.getInt8PtrTy(), in EmitMemCpyChk() 200 B.getInt8PtrTy(), B.getInt8PtrTy(), DL.getIntPtrType(Context), in EmitMemCpyChk() 223 "memchr", AttributeSet::get(M->getContext(), AS), B.getInt8PtrTy(), in EmitMemChr() [all …]
|
D | ModuleUtils.cpp | 57 CSVals[2] = llvm::Constant::getNullValue(IRB.getInt8PtrTy()); in appendToGlobalArray()
|
D | SimplifyLibCalls.cpp | 127 Type *PCharTy = Type::getInt8PtrTy(Context); in checkStringCopyLibFuncSignature() 192 FT->getReturnType() != B.getInt8PtrTy() || in optimizeStrCat() 239 if (FT->getNumParams() != 3 || FT->getReturnType() != B.getInt8PtrTy() || in optimizeStrNCat() 281 if (FT->getNumParams() != 2 || FT->getReturnType() != B.getInt8PtrTy() || in optimizeStrChr() 326 if (FT->getNumParams() != 2 || FT->getReturnType() != B.getInt8PtrTy() || in optimizeStrRChr() 363 FT->getParamType(0) != B.getInt8PtrTy()) in optimizeStrCmp() 404 FT->getParamType(0) != B.getInt8PtrTy() || in optimizeStrNCmp() 544 if (FT->getNumParams() != 1 || FT->getParamType(0) != B.getInt8PtrTy() || in optimizeStrLen() 580 if (FT->getNumParams() != 2 || FT->getParamType(0) != B.getInt8PtrTy() || in optimizeStrPBrk() 631 if (FT->getNumParams() != 2 || FT->getParamType(0) != B.getInt8PtrTy() || in optimizeStrSpn() [all …]
|
/external/llvm/unittests/Linker/ |
D | LinkModulesTest.cpp | 29 Type::getInt8PtrTy(Ctx), Type::getInt32Ty(Ctx), false /*=isVarArg*/); in SetUp() 38 AT = ArrayType::get(Type::getInt8PtrTy(Ctx), 3); in SetUp() 53 Type::getInt8PtrTy(Ctx)); in SetUp() 91 Builder.CreateRet(ConstantPointerNull::get(Type::getInt8PtrTy(Ctx))); in TEST_F() 108 ArrayType *AT = ArrayType::get(Type::getInt8PtrTy(Ctx), 3); in TEST_F() 131 Type::getVoidTy(Ctx), Type::getInt8PtrTy(Ctx), false /*=isVarArgs*/); in getInternal()
|
/external/llvm/unittests/IR/ |
D | TypeBuilderTest.cpp | 23 EXPECT_EQ(Type::getInt8PtrTy(getGlobalContext()), in TEST() 25 EXPECT_EQ(Type::getInt8PtrTy(getGlobalContext()), in TEST() 27 EXPECT_EQ(Type::getInt8PtrTy(getGlobalContext()), in TEST() 29 EXPECT_EQ(Type::getInt8PtrTy(getGlobalContext()), in TEST() 74 EXPECT_EQ(PointerType::getUnqual(Type::getInt8PtrTy(getGlobalContext())), in TEST() 81 EXPECT_EQ(PointerType::getUnqual(Type::getInt8PtrTy(getGlobalContext())), in TEST() 88 EXPECT_EQ(PointerType::getUnqual(Type::getInt8PtrTy(getGlobalContext())), in TEST() 117 EXPECT_EQ(Type::getInt8PtrTy(getGlobalContext()), in TEST()
|
/external/llvm/lib/Target/NVPTX/ |
D | NVPTXLowerStructArgs.cpp | 79 Type::getInt8PtrTy(Func->getParent()->getContext(), ADDRESS_SPACE_PARAM), in handleParam() 80 Type::getInt8PtrTy(Func->getParent()->getContext(), in handleParam() 86 new BitCastInst(Arg, Type::getInt8PtrTy(Func->getParent()->getContext(), in handleParam()
|
D | NVPTXLowerAggrCopies.cpp | 77 srcAddr = builder.CreateBitCast(srcAddr, Type::getInt8PtrTy(Context, srcAS)); in convertTransferToLoop() 78 dstAddr = builder.CreateBitCast(dstAddr, Type::getInt8PtrTy(Context, dstAS)); in convertTransferToLoop()
|
/external/llvm/lib/CodeGen/ |
D | IntrinsicLowering.cpp | 115 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()
|
D | SjLjEHPrepare.cpp | 96 Type *VoidPtrTy = Type::getInt8PtrTy(M.getContext()); in doInitialization() 218 ExnVal = Builder.CreateIntToPtr(ExnVal, Builder.getInt8PtrTy()); in setupFunctionContext() 234 Builder.CreateBitCast(PersonalityFn, Builder.getInt8PtrTy()), in setupFunctionContext() 427 Value *SetjmpArg = Builder.CreateBitCast(JBufPtr, Builder.getInt8PtrTy()); in setupEntryBlockAndCallSites() 432 Value *FuncCtxArg = Builder.CreateBitCast(FuncCtx, Builder.getInt8PtrTy()); in setupEntryBlockAndCallSites()
|
D | DwarfEHPrepare.cpp | 214 Type::getInt8PtrTy(Ctx), false); in InsertUnwindResumeCalls() 237 PHINode *PN = PHINode::Create(Type::getInt8PtrTy(Ctx), ResumesLeft, in InsertUnwindResumeCalls()
|
D | StackProtector.cpp | 335 PointerType *PtrTy = Type::getInt8PtrTy(RI->getContext()); in CreatePrologue() 484 Type::getInt8PtrTy(Context), nullptr); in CreateFailBB()
|
D | ShadowStackGCLowering.cpp | 146 StructType::get(Type::getInt8PtrTy(C), Type::getInt32Ty(C), nullptr); in Next() 193 Type *VoidPtr = Type::getInt8PtrTy(F.getContext()); in GetFrameMap()
|
D | WinEHPrepare.cpp | 177 Int8PtrType(Type::getInt8PtrTy(HandlerFn->getContext())), in WinEHCloningDirectorBase() 371 PointerType *Int8PtrType = Type::getInt8PtrTy(Context); in prepareExceptionHandlers() 774 llvm::StructType::get(Type::getInt8PtrTy(Context), in createStubLandingPad() 826 Type *Int8PtrType = Type::getInt8PtrTy(Context); in outlineHandler()
|
/external/llvm/examples/ExceptionDemo/ |
D | ExceptionDemo.cpp | 929 builder.getInt8PtrTy()); in generateStringPrint() 973 builder.getInt8PtrTy()); in generateIntegerPrint() 1024 llvm::PointerType *exceptionStorageType = builder.getInt8PtrTy(); in createFinallyBlock() 1667 builder.getInt8PtrTy(), in createStandardUtilityFunctions() 1750 argTypes.push_back(builder.getInt8PtrTy()); in createStandardUtilityFunctions() 1769 argTypes.push_back(builder.getInt8PtrTy()); in createStandardUtilityFunctions() 1787 argTypes.push_back(builder.getInt8PtrTy()); in createStandardUtilityFunctions() 1823 argTypes.push_back(builder.getInt8PtrTy()); in createStandardUtilityFunctions() 1838 retType = builder.getInt8PtrTy(); in createStandardUtilityFunctions() 1859 argTypes.push_back(builder.getInt8PtrTy()); in createStandardUtilityFunctions() [all …]
|
/external/llvm/lib/Transforms/Scalar/ |
D | LoopIdiomRecognize.cpp | 940 Type *DestInt8PtrTy = Builder.getInt8PtrTy(DestAS); in processLoopStridedStore() 1046 Builder.getInt8PtrTy(SI->getPointerAddressSpace()), in processLoopStoreOfLoopLoad() 1062 Builder.getInt8PtrTy(LI->getPointerAddressSpace()), in processLoopStoreOfLoopLoad()
|
D | SeparateConstOffsetFromGEP.cpp | 732 Builder.getInt8PtrTy(Variadic->getType()->getPointerAddressSpace()); in lowerToSingleIndexGEPs() 975 Type *I8PtrTy = Type::getInt8PtrTy(GEP->getContext(), in splitGEP()
|
D | LoadCombine.cpp | 200 Builder->getInt8PtrTy(AddressSpace)), in combineLoads()
|
/external/llvm/lib/Target/PowerPC/ |
D | PPCLoopDataPrefetch.cpp | 212 Type *I8Ptr = Type::getInt8PtrTy((*I)->getContext(), PtrAddrSpace); in runOnLoop()
|
/external/lldb/source/Expression/ |
D | IRForTarget.cpp | 728 Type *i8_ptr_ty = Type::getInt8PtrTy(m_module->getContext()); in RewriteObjCConstString() 1141 Type *sel_ptr_type = Type::getInt8PtrTy(m_module->getContext()); in RewriteObjCSelector() 1145 type_array[0] = llvm::Type::getInt8PtrTy(m_module->getContext()); in RewriteObjCSelector() 1161 …Constant *omvn_pointer = ConstantExpr::getBitCast(_objc_meth_var_name_, Type::getInt8PtrTy(m_modul… in RewriteObjCSelector() 1901 Type *char_ptr_ty = Type::getInt8PtrTy(m_module->getContext()); in ReplaceStrings() 2544 …cated_bitcast = ConstantExpr::getIntToPtr(relocated_addr, llvm::Type::getInt8PtrTy(m_module->getCo… in CompleteDataAllocation()
|