Home
last modified time | relevance | path

Searched refs:Int8Ty (Results 1 – 25 of 27) sorted by relevance

12

/external/llvm/unittests/IR/
DConstantsTest.cpp105 IntegerType* Int8Ty = Type::getInt8Ty(getGlobalContext()); in TEST() local
106 EXPECT_EQ(100, ConstantInt::get(Int8Ty, 100, false)->getSExtValue()); in TEST()
107 EXPECT_EQ(100, ConstantInt::get(Int8Ty, 100, true)->getSExtValue()); in TEST()
108 EXPECT_EQ(100, ConstantInt::getSigned(Int8Ty, 100)->getSExtValue()); in TEST()
109 EXPECT_EQ(-50, ConstantInt::get(Int8Ty, 206)->getSExtValue()); in TEST()
110 EXPECT_EQ(-50, ConstantInt::getSigned(Int8Ty, -50)->getSExtValue()); in TEST()
111 EXPECT_EQ(206U, ConstantInt::getSigned(Int8Ty, -50)->getZExtValue()); in TEST()
114 EXPECT_EQ(0x3b, ConstantInt::get(Int8Ty, 0x13b)->getSExtValue()); in TEST()
DValueTest.cpp49 Type *Int8Ty = Type::getInt8Ty(Ctx); in TEST() local
86 Constant *DummyCast1 = M->getOrInsertGlobal("dummy_cast", Int8Ty); in TEST()
DInstructionsTest.cpp174 Type *Int8Ty = Type::getInt8Ty(C); in TEST() local
178 Type *V8x8Ty = VectorType::get(Int8Ty, 8); in TEST()
/external/llvm/lib/Transforms/IPO/
DLowerBitSets.cpp197 IntegerType *Int8Ty; member
249 Int8Ty = Type::getInt8Ty(M->getContext()); in doInitialization()
309 *M, Int8Ty, /*isConstant=*/true, GlobalValue::PrivateLinkage, nullptr); in createByteArray()
311 *M, Int8Ty, /*isConstant=*/true, GlobalValue::PrivateLinkage, nullptr); in createByteArray()
319 BAI->Mask = ConstantExpr::getPtrToInt(MaskGlobal, Int8Ty); in createByteArray()
338 BAI->Mask->replaceAllUsesWith(ConstantInt::get(Int8Ty, Mask)); in allocateByteArrays()
362 Int8Ty, 0, GlobalValue::PrivateLinkage, "bits", GEP, M); in allocateByteArrays()
413 return B.CreateICmpNE(ByteAndMask, ConstantInt::get(Int8Ty, 0)); in createBitSetTest()
510 ConstantAggregateZero::get(ArrayType::get(Int8Ty, Padding))); in buildBitSetsFromGlobals()
/external/llvm/examples/BrainF/
DBrainF.cpp84 Type* Int8Ty = IntegerType::getInt8Ty(C); in header() local
85 Constant* allocsize = ConstantExpr::getSizeOf(Int8Ty); in header()
87 ptr_arr = CallInst::CreateMalloc(BB, IntPtrTy, Int8Ty, allocsize, val_mem, in header()
/external/llvm/lib/Transforms/Instrumentation/
DSanitizerCoverage.cpp190 Type *Int8Ty = IRB.getInt8Ty(); in runOnModule() local
197 new GlobalVariable(M, Int8Ty, false, GlobalVariable::ExternalLinkage, in runOnModule()
223 ArrayType::get(Int8Ty, RoundUpToAlignment(N, kCounterAlignment)); in runOnModule()
/external/clang/lib/CodeGen/
DCGObjCGNU.cpp119 llvm::IntegerType *Int8Ty; member in __anonbf5e84120111::CGObjCGNU
261 Fields.push_back(llvm::ConstantInt::get(Int8Ty, attrs & 0xff)); in PushPropertyAttributes()
271 Fields.push_back(llvm::ConstantInt::get(Int8Ty, attrs & 0xff)); in PushPropertyAttributes()
273 Fields.push_back(llvm::ConstantInt::get(Int8Ty, 0)); in PushPropertyAttributes()
274 Fields.push_back(llvm::ConstantInt::get(Int8Ty, 0)); in PushPropertyAttributes()
911 Int8Ty = llvm::Type::getInt8Ty(VMContext); in CGObjCGNU()
913 PtrToInt8Ty = llvm::PointerType::getUnqual(Int8Ty); in CGObjCGNU()
1825 PtrToInt8Ty, Int8Ty, Int8Ty, Int8Ty, Int8Ty, PtrToInt8Ty, in GenerateProtocol()
2065 PtrToInt8Ty, Int8Ty, Int8Ty, Int8Ty, Int8Ty, PtrToInt8Ty, in GeneratePropertyList()
DCGExprConstant.cpp301 llvm::Type *Ty = CGM.Int8Ty; in AppendPadding()
337 llvm::Type *Ty = CGM.Int8Ty; in ConvertStructToPacked()
644 llvm::Type *Ty = CGM.Int8Ty; in VisitCastExpr()
1089 llvm::ArrayType::get(Int8Ty, (OuterSize - InnerSize) / 8)) in EmitConstantValue()
1116 llvm::Type *CharPtrTy = Int8Ty->getPointerTo(AS); in EmitConstantValue()
1118 Casted = llvm::ConstantExpr::getGetElementPtr(Int8Ty, Casted, Offset); in EmitConstantValue()
DCGCXXABI.cpp225 llvm::Type *charPtrTy = CGF.Int8Ty->getPointerTo(AS); in ReadArrayCookie()
DMicrosoftCXXABI.cpp342 llvm::ArrayType::get(CGM.Int8Ty, TypeInfoString.size() + 1)}; in getTypeDescriptorType()
413 return new llvm::GlobalVariable(CGM.getModule(), CGM.Int8Ty, in getImageBase()
1071 CGF.Int8Ty->getPointerTo(AS)); in initializeHiddenVirtualInheritanceMembers()
1212 llvm::Type *charPtrTy = CGF.Int8Ty->getPointerTo(AS); in adjustThisArgumentForVirtualFunctionCall()
1236 llvm::Type *charPtrTy = CGF.Int8Ty->getPointerTo(AS); in adjustThisArgumentForVirtualFunctionCall()
1261 This = CGF.Builder.CreateConstInBoundsGEP1_32(CGF.Int8Ty, This, in adjustThisArgumentForVirtualFunctionCall()
1311 llvm::Type *charPtrTy = CGF.Int8Ty->getPointerTo(AS), in adjustThisParameterInVirtualFunctionPrologue()
1316 This = CGF.Builder.CreateConstInBoundsGEP1_32(CGF.Int8Ty, This, in adjustThisParameterInVirtualFunctionPrologue()
1877 V = CGF.Builder.CreateConstInBoundsGEP1_32(CGF.Int8Ty, V, RA.NonVirtual); in performReturnAdjustment()
DTargetInfo.cpp1345 llvm::Value *Four8 = llvm::ConstantInt::get(CGF.Int8Ty, 4); in initDwarfEHRegSizeTable()
1356 llvm::Value *Sixteen8 = llvm::ConstantInt::get(CGF.Int8Ty, 16); in initDwarfEHRegSizeTable()
1363 Four8, Builder.CreateConstInBoundsGEP1_32(CGF.Int8Ty, Address, 9)); in initDwarfEHRegSizeTable()
1368 llvm::Value *Twelve8 = llvm::ConstantInt::get(CGF.Int8Ty, 12); in initDwarfEHRegSizeTable()
1562 llvm::Value *Eight8 = llvm::ConstantInt::get(CGF.Int8Ty, 8); in initDwarfEHRegSizeTable()
1704 llvm::Value *Eight8 = llvm::ConstantInt::get(CGF.Int8Ty, 8); in initDwarfEHRegSizeTable()
3229 llvm::IntegerType *i8 = CGF.Int8Ty; in initDwarfEHRegSizeTable()
3825 llvm::IntegerType *i8 = CGF.Int8Ty; in PPC64_initDwarfEHRegSizeTable()
4484 llvm::Value *Four8 = llvm::ConstantInt::get(CGF.Int8Ty, 4); in initDwarfEHRegSizeTable()
5793 llvm::Value *Four8 = llvm::ConstantInt::get(CGF.Int8Ty, 4); in initDwarfEHRegSizeTable()
[all …]
DItaniumCXXABI.cpp1763 guardTy = CGF.Int8Ty; in EmitGuardedInit()
1859 ? Builder.CreateAnd(LI, llvm::ConstantInt::get(CGM.Int8Ty, 1)) in EmitGuardedInit()
1933 CGF.CGM.CreateRuntimeVariable(CGF.Int8Ty, "__dso_handle"); in emitGlobalDtorWithCXAAtExit()
2038 CGM.getModule(), CGM.Int8Ty, /*isConstant=*/false, in EmitThreadLocalInitFuncs()
2040 llvm::ConstantInt::get(CGM.Int8Ty, 0), "__tls_guard"); in EmitThreadLocalInitFuncs()
DCodeGenTypes.cpp609 llvm::ArrayType::get(CGM.Int8Ty, (atomicSize - valueSize) / 8) in ConvertType()
DCGBlocks.cpp535 elementTypes.push_back(llvm::ArrayType::get(CGM.Int8Ty, in computeBlockInfo()
553 elementTypes.push_back(llvm::ArrayType::get(CGM.Int8Ty, in computeBlockInfo()
2101 llvm::Type *Ty = Int8Ty; in BuildByRefType()
DCGBuiltin.cpp1177 Ptr = Builder.CreateBitCast(Ptr, Int8Ty->getPointerTo(AddrSpace)); in EmitBuiltinExpr()
1234 PHINode *Result = Builder.CreatePHI(Int8Ty, 5, "was_set"); in EmitBuiltinExpr()
1263 Ptr = Builder.CreateBitCast(Ptr, Int8Ty->getPointerTo(AddrSpace)); in EmitBuiltinExpr()
1882 return llvm::VectorType::get(CGF->Int8Ty, V1Ty ? 1 : (8 << IsQuad)); in GetNeonType()
1896 return llvm::VectorType::get(CGF->Int8Ty, 16); in GetNeonType()
3995 llvm::Type *VTy = llvm::VectorType::get(Int8Ty, 8); in vectorWrapScalar8()
3996 Op = Builder.CreateBitCast(Op, Int8Ty); in vectorWrapScalar8()
4013 llvm::Type *VTy = llvm::VectorType::get(Int8Ty, 8); in emitVectorWrappedScalar8Intrinsic()
6016 llvm::Type *VecTy = llvm::VectorType::get(Int8Ty, 32); in EmitX86BuiltinExpr()
6043 llvm::Type *VecTy = llvm::VectorType::get(Int8Ty, 32); in EmitX86BuiltinExpr()
[all …]
DCodeGenModule.cpp98 Int8Ty = llvm::Type::getInt8Ty(LLVMContext); in CodeGenModule()
109 Int8PtrTy = Int8Ty->getPointerTo(0); in CodeGenModule()
3630 Int8Ty, Uuid.substr(Field3ValueOffsets[Idx], 2), 16); in EmitUuidofInitializer()
3636 llvm::ConstantArray::get(llvm::ArrayType::get(Int8Ty, 8), Field3) in EmitUuidofInitializer()
DCodeGenModule.h114 llvm::IntegerType *Int8Ty, *Int16Ty, *Int32Ty, *Int64Ty; member
DCGExprScalar.cpp2383 llvm::Type *Int8Ty = CGF.Int8Ty; in EmitOverflowCheckedBinOp() local
2384 llvm::Type *argTypes[] = { CGF.Int64Ty, CGF.Int64Ty, Int8Ty, Int8Ty }; in EmitOverflowCheckedBinOp()
DCGDecl.cpp1162 Builder.CreateMemSet(Loc, llvm::ConstantInt::get(Int8Ty, 0), SizeVal, in EmitAutoVarInit()
DCGAtomic.cpp332 addr, llvm::ConstantInt::get(CGF.Int8Ty, 0), in emitMemSetZeroIfNecessary()
DCGExpr.cpp565 llvm::ConstantInt::get(Int8Ty, TCK) in EmitTypeCheck()
630 llvm::ConstantInt::get(Int8Ty, TCK) in EmitTypeCheck()
DCGDebugInfo.cpp1322 V = llvm::ConstantInt::get(CGM.Int8Ty, 0); in CollectTemplateParams()
/external/llvm/lib/IR/
DLLVMContextImpl.cpp35 Int8Ty(C, 8), in LLVMContextImpl()
DType.cpp237 IntegerType *Type::getInt8Ty(LLVMContext &C) { return &C.pImpl->Int8Ty; } in getInt8Ty()
DLLVMContextImpl.h923 IntegerType Int1Ty, Int8Ty, Int16Ty, Int32Ty, Int64Ty;

12