| /llvm-project-15.0.7/llvm/lib/CodeGen/ |
| H A D | ValueTypes.cpp | 192 case MVT::i8: return Type::getInt8Ty(Context); in getTypeForEVT() 212 return PointerType::get(Type::getInt8Ty(Context), 20); in getTypeForEVT() 240 return FixedVectorType::get(Type::getInt8Ty(Context), 1); in getTypeForEVT() 242 return FixedVectorType::get(Type::getInt8Ty(Context), 2); in getTypeForEVT() 244 return FixedVectorType::get(Type::getInt8Ty(Context), 4); in getTypeForEVT() 246 return FixedVectorType::get(Type::getInt8Ty(Context), 8); in getTypeForEVT() 248 return FixedVectorType::get(Type::getInt8Ty(Context), 16); in getTypeForEVT() 250 return FixedVectorType::get(Type::getInt8Ty(Context), 32); in getTypeForEVT() 252 return FixedVectorType::get(Type::getInt8Ty(Context), 64); in getTypeForEVT() 254 return FixedVectorType::get(Type::getInt8Ty(Context), 128); in getTypeForEVT() [all …]
|
| /llvm-project-15.0.7/llvm/unittests/Analysis/ |
| H A D | BasicAliasAnalysisTest.cpp | 84 cast<GlobalVariable>(M.getOrInsertGlobal("some_global", B.getInt8Ty())); in TEST_F() 116 AllocaInst *I8 = B.CreateAlloca(B.getInt8Ty(), B.getInt32(2)); in TEST_F() 118 cast<GetElementPtrInst>(B.CreateGEP(B.getInt8Ty(), I8, ArbitraryI32)); in TEST_F() 154 cast<GetElementPtrInst>(B.CreateGEP(B.getInt8Ty(), Ptr, B.getInt32(1))); in TEST_F() 159 cast<GetElementPtrInst>(B.CreateGEP(B.getInt8Ty(), Ptr, B.getInt32(1))); in TEST_F() 189 cast<GetElementPtrInst>(B.CreateGEP(B.getInt8Ty(), Ptr, B.getInt32(1))); in TEST_F() 191 cast<GetElementPtrInst>(B.CreateGEP(B.getInt8Ty(), Ptr, B.getInt32(1))); in TEST_F()
|
| H A D | MemorySSATest.cpp | 604 Type *Int8 = Type::getInt8Ty(C); in TEST_F() 635 Type *Int8 = Type::getInt8Ty(C); in TEST_F() 665 Type *Int8 = Type::getInt8Ty(C); in TEST_F() 709 Type *Int8 = Type::getInt8Ty(C); in TEST_F() 773 Type *Int8 = Type::getInt8Ty(C); in TEST_F() 802 Type *Int8 = Type::getInt8Ty(C); in TEST_F() 834 Type *Int8 = Type::getInt8Ty(C); in TEST_F() 1011 Type *Int8 = Type::getInt8Ty(C); in TEST_F() 1055 Type *Int8 = Type::getInt8Ty(C); in TEST_F() 1106 Type *Int8 = Type::getInt8Ty(C); in TEST_F() [all …]
|
| /llvm-project-15.0.7/llvm/unittests/FuzzMutate/ |
| H A D | RandomIRBuilderTest.cpp | 102 {Type::getInt8Ty(Ctx), Type::getInt32Ty(Ctx), Type::getInt64Ty(Ctx)}; in TEST() 181 {Type::getInt8Ty(Ctx), Type::getInt32Ty(Ctx), Type::getInt64Ty(Ctx)}; in TEST() 222 std::vector<Type *> Types = {Type::getInt8Ty(Ctx)}; in TEST() 252 std::vector<Type *> Types = {Type::getInt8Ty(Ctx)}; in TEST() 282 std::vector<Type *> Types = {Type::getInt8Ty(Ctx)}; in TEST()
|
| H A D | StrategiesTest.cpp | 30 Type::getInt1Ty, Type::getInt8Ty, Type::getInt16Ty, Type::getInt32Ty, in createInjectorMutator() 43 Type::getInt1Ty, Type::getInt8Ty, Type::getInt16Ty, Type::getInt32Ty, in createDeleterMutator() 54 Type::getInt1Ty, Type::getInt8Ty, Type::getInt16Ty, Type::getInt32Ty, in createInstModifierMutator()
|
| H A D | OperationsTest.cpp | 83 Constant *i8 = ConstantInt::get(Type::getInt8Ty(Ctx), 3); in TEST() 196 auto *AI = new AllocaInst(Type::getInt8Ty(Ctx), 0, "a", RI); in TEST() 245 Type *Int8Ty = Type::getInt8Ty(Ctx); in TEST()
|
| /llvm-project-15.0.7/llvm/lib/Target/DirectX/ |
| H A D | PointerTypeAnalysis.cpp | 52 PointeeTy = Type::getInt8Ty(V->getContext()); in classifyPointerType() 57 PointeeTy = Type::getInt8Ty(V->getContext()); in classifyPointerType() 79 Type::getInt8Ty(I.getContext()), in classifyFunctionType()
|
| H A D | DXILOpBuilder.cpp | 203 return Type::getInt8Ty(Ctx); in getTypeFromParameterKind() 288 return Type::getInt8Ty(Ctx); in getOverloadTy()
|
| /llvm-project-15.0.7/llvm/unittests/Transforms/Utils/ |
| H A D | ValueMapperTest.cpp | 69 auto *PtrTy = Type::getInt8Ty(Context)->getPointerTo(); in TEST() 176 FunctionType::get(Type::getVoidTy(C), Type::getInt8Ty(C), false); in TEST() 235 FunctionType::get(Type::getVoidTy(C), Type::getInt8Ty(C), false); in TEST() 270 FunctionType::get(Type::getVoidTy(C), Type::getInt8Ty(C), false); in TEST() 289 FunctionType::get(Type::getVoidTy(C), Type::getInt8Ty(C), false); in TEST() 331 FunctionType::get(Type::getVoidTy(C), Type::getInt8Ty(C), false); in TEST() 351 auto *N0 = UndefValue::get(Type::getInt8Ty(C)); in TEST() 380 auto *Int8 = Type::getInt8Ty(Context); in TEST()
|
| /llvm-project-15.0.7/llvm/lib/Transforms/Instrumentation/ |
| H A D | MemorySanitizer.cpp | 728 Type *RetTy = StructType::get(PointerType::get(IRB.getInt8Ty(), 0), in createKernelApi() 737 name_load, RetTy, PointerType::get(IRB.getInt8Ty(), 0)); in createKernelApi() 739 name_store, RetTy, PointerType::get(IRB.getInt8Ty(), 0)); in createKernelApi() 744 PointerType::get(IRB.getInt8Ty(), 0), IRB.getInt64Ty()); in createKernelApi() 747 PointerType::get(IRB.getInt8Ty(), 0), IRB.getInt64Ty()); in createKernelApi() 3600 getShadowOriginPtr(DstPtr, IRB, IRB.getInt8Ty(), Align(1), in visitLibAtomicStore() 3890 &I, IRB, IRB.getInt8Ty(), Align(1), /*isStore*/ true); in poisonAllocaUserspace() 4801 IRB.getInt8Ty(), in finalizeInstrumentation() 4802 IRB.CreateInBoundsGEP(IRB.getInt8Ty(), VAArgTLSCopy, in finalizeInstrumentation() 4817 IRB.CreateInBoundsGEP(IRB.getInt8Ty(), VAArgTLSCopy, in finalizeInstrumentation() [all …]
|
| H A D | InstrOrderFile.cpp | 70 MapTy = ArrayType::get(Type::getInt8Ty(Ctx), NumFunctions); in createOrderFileData() 113 IntegerType *Int8Ty = Type::getInt8Ty(Ctx); in generateCodeSequence()
|
| /llvm-project-15.0.7/llvm/examples/BrainF/ |
| H A D | BrainF.cpp | 94 Type* Int8Ty = IntegerType::getInt8Ty(C); in header() 155 PointerType::getUnqual(IntegerType::getInt8Ty(C))); in header() 197 Type *Int8Ty = IntegerType::getInt8Ty(C); in readloop() 216 CreateTrunc(tape_0, IntegerType::getInt8Ty(C), tapereg); in readloop()
|
| H A D | BrainFDriver.cpp | 78 Type::getInt8Ty(mod->getContext())->getPointerTo()->getPointerTo()}, in addMainFunction()
|
| /llvm-project-15.0.7/llvm/unittests/Target/DirectX/ |
| H A D | PointerTypeAnalysisTests.cpp | 35 Type *I8Ptr = TypedPointerType::get(Type::getInt8Ty(Context), 0); in TEST() 56 Type *I8Ptr = TypedPointerType::get(Type::getInt8Ty(Context), 0); in TEST() 176 Type *I8Ptr = TypedPointerType::get(Type::getInt8Ty(Context), 0); in TEST()
|
| /llvm-project-15.0.7/llvm/lib/Target/AMDGPU/ |
| H A D | AMDGPULowerKernelArguments.cpp | 111 Builder.getInt8Ty(), KernArgSegment, EltOffset, in runOnFunction() 157 Builder.getInt8Ty(), KernArgSegment, AlignDownOffset, in runOnFunction() 162 Builder.getInt8Ty(), KernArgSegment, EltOffset, in runOnFunction()
|
| /llvm-project-15.0.7/llvm/lib/Transforms/Utils/ |
| H A D | SimplifyLibCalls.cpp | 392 Type *CharTy = B.getInt8Ty(); in memChrToCharCompare() 1060 CharVal = B.CreateTrunc(CharVal, B.getInt8Ty()); in optimizeMemRChr() 1103 Value *SrcPlus = B.CreateInBoundsGEP(B.getInt8Ty(), SrcStr, in optimizeMemRChr() 1118 Type *Int8Ty = B.getInt8Ty(); in optimizeMemRChr() 1155 CharVal = B.CreateTrunc(CharVal, B.getInt8Ty()); in optimizeMemChr() 1204 Type *Int8Ty = B.getInt8Ty(); in optimizeMemChr() 1487 ? B.CreateInBoundsGEP(B.getInt8Ty(), Dst, NewN) in optimizeMemCCpy() 1503 return B.CreateInBoundsGEP(B.getInt8Ty(), Dst, N); in optimizeMemPCpy() 2852 Value *PtrDiff = B.CreatePtrDiff(B.getInt8Ty(), V, Dest); in optimizeSPrintFString() 3107 Value *Char = B.CreateLoad(B.getInt8Ty(), in optimizeFWrite() [all …]
|
| H A D | AMDGPUEmitPrintf.cpp | 124 auto PtrNext = Builder.CreateGEP(Builder.getInt8Ty(), PtrPhi, One); in getStrlenWithNull() 128 auto Data = Builder.CreateLoad(Builder.getInt8Ty(), PtrPhi); in getStrlenWithNull()
|
| /llvm-project-15.0.7/llvm/unittests/IR/ |
| H A D | FunctionTest.cpp | 19 Type *ArgTypes[] = {Type::getInt8Ty(C), Type::getInt32Ty(C)}; in TEST() 49 Type *ArgTypes[] = {Type::getInt8Ty(C), Type::getInt32Ty(C)}; in TEST()
|
| H A D | ConstantsTest.cpp | 106 IntegerType *Int8Ty = Type::getInt8Ty(Context); in TEST() 331 Type *IntTy = Type::getInt8Ty(Context); in TEST() 356 Type *IntTy = Type::getInt8Ty(Context); in TEST() 424 for (Type *T : {Type::getInt8Ty(Context), Type::getInt16Ty(Context), in TEST() 452 for (Type *T : {Type::getInt8Ty(Context), Type::getInt16Ty(Context), in TEST() 751 Type *Int8Ty = Type::getInt8Ty(Context); in TEST() 783 Type *Ty = Type::getInt8Ty(Context); in TEST()
|
| H A D | TypesTest.cpp | 52 Type *Int8 = Type::getInt8Ty(CTypedPointers); in TEST()
|
| H A D | VerifierTest.cpp | 174 new GlobalVariable(M, Type::getInt8Ty(C), false, in TEST() 221 new GlobalVariable(M, Type::getInt8Ty(C), false, in TEST()
|
| /llvm-project-15.0.7/llvm/lib/Target/AArch64/ |
| H A D | SVEIntrinsicOpts.cpp | 295 FixedVectorType::get(Type::getInt8Ty(I->getContext()), MinVScale * 2); in optimizePredicateStore() 358 FixedVectorType::get(Type::getInt8Ty(I->getContext()), MinVScale * 2); in optimizePredicateLoad()
|
| /llvm-project-15.0.7/llvm/lib/Target/X86/ |
| H A D | X86PreAMXConfig.cpp | 156 Type *I8Ty = Type::getInt8Ty(Ctx); in preWriteTileCfg() 162 Value *PaletteValue = ConstantInt::get(Type::getInt8Ty(Ctx), 1); in preWriteTileCfg()
|
| /llvm-project-15.0.7/polly/lib/CodeGen/ |
| H A D | RuntimeDebugBuilder.cpp | 136 Val = Builder.CreateGEP(Builder.getInt8Ty(), Val, Builder.getInt64(0)); in prepareValuesForPrinting() 212 Val = Builder.CreateGEP(Builder.getInt8Ty(), Val, Builder.getInt64(0)); in createGPUPrinterT()
|
| /llvm-project-15.0.7/llvm/lib/Transforms/IPO/ |
| H A D | ThinLTOBitcodeWriter.cpp | 394 llvm::ConstantInt::get(Type::getInt8Ty(Ctx), Linkage))); in splitAndWriteThinLTOBitcode() 416 ConstantInt::get(Type::getInt8Ty(Ctx), A.getVisibility())), in splitAndWriteThinLTOBitcode() 418 ConstantInt::get(Type::getInt8Ty(Ctx), A.isWeakForLinker())), in splitAndWriteThinLTOBitcode()
|