/external/swiftshader/third_party/LLVM/unittests/VMCore/ |
D | ConstantsTest.cpp | 100 IntegerType* Int8Ty = Type::getInt8Ty(getGlobalContext()); in TEST() local 101 EXPECT_EQ(100, ConstantInt::get(Int8Ty, 100, false)->getSExtValue()); in TEST() 102 EXPECT_EQ(100, ConstantInt::get(Int8Ty, 100, true)->getSExtValue()); in TEST() 103 EXPECT_EQ(100, ConstantInt::getSigned(Int8Ty, 100)->getSExtValue()); in TEST() 104 EXPECT_EQ(-50, ConstantInt::get(Int8Ty, 206)->getSExtValue()); in TEST() 105 EXPECT_EQ(-50, ConstantInt::getSigned(Int8Ty, -50)->getSExtValue()); in TEST() 106 EXPECT_EQ(206U, ConstantInt::getSigned(Int8Ty, -50)->getZExtValue()); in TEST() 109 EXPECT_EQ(0x3b, ConstantInt::get(Int8Ty, 0x13b)->getSExtValue()); in TEST()
|
D | InstructionsTest.cpp | 114 Type* Int8Ty = Type::getInt8Ty(C); in TEST() local 116 Type* V8x8Ty = VectorType::get(Int8Ty, 8); in TEST()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/ |
D | PreISelIntrinsicLowering.cpp | 34 Type *Int8Ty = Type::getInt8Ty(F.getContext()); in lowerLoadRelative() local 44 B.CreateGEP(Int8Ty, CI->getArgOperand(0), CI->getArgOperand(1)); in lowerLoadRelative() 48 Value *ResultPtr = B.CreateGEP(Int8Ty, CI->getArgOperand(0), OffsetI32); in lowerLoadRelative()
|
/external/llvm/lib/CodeGen/ |
D | PreISelIntrinsicLowering.cpp | 34 Type *Int8Ty = Type::getInt8Ty(F.getContext()); in lowerLoadRelative() local 44 B.CreateGEP(Int8Ty, CI->getArgOperand(0), CI->getArgOperand(1)); in lowerLoadRelative() 48 Value *ResultPtr = B.CreateGEP(Int8Ty, CI->getArgOperand(0), OffsetI32); in lowerLoadRelative()
|
/external/llvm/lib/Transforms/IPO/ |
D | LowerTypeTests.cpp | 219 IntegerType *Int8Ty; member 313 *M, Int8Ty, /*isConstant=*/true, GlobalValue::PrivateLinkage, nullptr); in createByteArray() 315 *M, Int8Ty, /*isConstant=*/true, GlobalValue::PrivateLinkage, nullptr); in createByteArray() 323 BAI->Mask = ConstantExpr::getPtrToInt(MaskGlobal, Int8Ty); in createByteArray() 342 BAI->Mask->replaceAllUsesWith(ConstantInt::get(Int8Ty, Mask)); in allocateByteArrays() 366 Int8Ty, 0, GlobalValue::PrivateLinkage, "bits", GEP, M); in allocateByteArrays() 417 return B.CreateICmpNE(ByteAndMask, ConstantInt::get(Int8Ty, 0)); in createBitSetTest() 514 ConstantAggregateZero::get(ArrayType::get(Int8Ty, Padding))); in buildBitSetsFromGlobalVariables() 634 ConstantInt *Jmp = ConstantInt::get(Int8Ty, kJmpPCRel32Code); in createJumpTableEntry() 646 ConstantInt *Int3 = ConstantInt::get(Int8Ty, kInt3Code); in createJumpTableEntry() [all …]
|
D | WholeProgramDevirt.cpp | 242 IntegerType *Int8Ty; member 259 : M(M), Int8Ty(Type::getInt8Ty(M.getContext())), in DevirtModule() 599 Value *Bit = ConstantInt::get(Int8Ty, 1ULL << OffsetBit); in tryVirtualConstProp() 601 auto IsBitSet = B.CreateICmpNE(BitsAndBit, ConstantInt::get(Int8Ty, 0)); in tryVirtualConstProp() 734 Value *GEP = LoadB.CreateGEP(Int8Ty, Ptr, Offset); in scanTypeCheckedLoadUsers()
|
/external/swiftshader/third_party/llvm-7.0/llvm/unittests/FuzzMutate/ |
D | OperationsTest.cpp | 246 Type *Int8Ty = Type::getInt8Ty(Ctx); in TEST() local 262 auto *PHI1 = PHINode::Create(Int8Ty, /*NumReservedValues=*/2, "p1", BB3); in TEST() 263 PHI1->addIncoming(ConstantInt::get(Int8Ty, 0), BB1); in TEST() 264 PHI1->addIncoming(ConstantInt::get(Int8Ty, 1), BB2); in TEST() 265 auto *PHI2 = PHINode::Create(Int8Ty, /*NumReservedValues=*/2, "p2", BB3); in TEST() 266 PHI2->addIncoming(ConstantInt::get(Int8Ty, 1), BB1); in TEST() 267 PHI2->addIncoming(ConstantInt::get(Int8Ty, 0), BB2); in TEST()
|
/external/swiftshader/third_party/llvm-7.0/llvm/unittests/IR/ |
D | ConstantsTest.cpp | 108 IntegerType *Int8Ty = Type::getInt8Ty(Context); in TEST() local 109 EXPECT_EQ(100, ConstantInt::get(Int8Ty, 100, false)->getSExtValue()); in TEST() 110 EXPECT_EQ(100, ConstantInt::get(Int8Ty, 100, true)->getSExtValue()); in TEST() 111 EXPECT_EQ(100, ConstantInt::getSigned(Int8Ty, 100)->getSExtValue()); in TEST() 112 EXPECT_EQ(-50, ConstantInt::get(Int8Ty, 206)->getSExtValue()); in TEST() 113 EXPECT_EQ(-50, ConstantInt::getSigned(Int8Ty, -50)->getSExtValue()); in TEST() 114 EXPECT_EQ(206U, ConstantInt::getSigned(Int8Ty, -50)->getZExtValue()); in TEST() 117 EXPECT_EQ(0x3b, ConstantInt::get(Int8Ty, 0x13b)->getSExtValue()); in TEST()
|
D | ValueTest.cpp | 50 Type *Int8Ty = Type::getInt8Ty(Ctx); in TEST() local 87 Constant *DummyCast1 = M->getOrInsertGlobal("dummy_cast", Int8Ty); in TEST()
|
/external/llvm/unittests/IR/ |
D | ConstantsTest.cpp | 108 IntegerType *Int8Ty = Type::getInt8Ty(Context); in TEST() local 109 EXPECT_EQ(100, ConstantInt::get(Int8Ty, 100, false)->getSExtValue()); in TEST() 110 EXPECT_EQ(100, ConstantInt::get(Int8Ty, 100, true)->getSExtValue()); in TEST() 111 EXPECT_EQ(100, ConstantInt::getSigned(Int8Ty, 100)->getSExtValue()); in TEST() 112 EXPECT_EQ(-50, ConstantInt::get(Int8Ty, 206)->getSExtValue()); in TEST() 113 EXPECT_EQ(-50, ConstantInt::getSigned(Int8Ty, -50)->getSExtValue()); in TEST() 114 EXPECT_EQ(206U, ConstantInt::getSigned(Int8Ty, -50)->getZExtValue()); in TEST() 117 EXPECT_EQ(0x3b, ConstantInt::get(Int8Ty, 0x13b)->getSExtValue()); in TEST()
|
D | ValueTest.cpp | 50 Type *Int8Ty = Type::getInt8Ty(Ctx); in TEST() local 87 Constant *DummyCast1 = M->getOrInsertGlobal("dummy_cast", Int8Ty); in TEST()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Coroutines/ |
D | CoroEarly.cpp | 69 Type *Int8Ty = Builder.getInt8Ty(); in lowerCoroPromise() local 72 StructType::get(Context, {AnyResumeFnPtrTy, AnyResumeFnPtrTy, Int8Ty}); in lowerCoroPromise() 81 Builder.CreateConstInBoundsGEP1_32(Int8Ty, Operand, Offset); in lowerCoroPromise()
|
/external/clang/lib/CodeGen/ |
D | CGBuilder.h | 247 assert(Addr.getElementType() == TypeCache.Int8Ty); 253 assert(Addr.getElementType() == TypeCache.Int8Ty); 260 assert(Ptr->getType()->getPointerElementType() == TypeCache.Int8Ty); 265 assert(Ptr->getType()->getPointerElementType() == TypeCache.Int8Ty);
|
D | CodeGenTypeCache.h | 37 llvm::IntegerType *Int8Ty, *Int16Ty, *Int32Ty, *Int64Ty; member
|
D | ObjectFilePCHContainerOperations.cpp | 261 auto Int8Ty = llvm::Type::getInt8Ty(*VMContext); in HandleTranslationUnit() local 262 auto *Ty = llvm::ArrayType::get(Int8Ty, Size); in HandleTranslationUnit()
|
D | CGObjCGNU.cpp | 112 llvm::IntegerType *Int8Ty; member in __anonc6edbebb0111::CGObjCGNU 266 Fields.push_back(llvm::ConstantInt::get(Int8Ty, attrs & 0xff)); in PushPropertyAttributes() 276 Fields.push_back(llvm::ConstantInt::get(Int8Ty, attrs & 0xff)); in PushPropertyAttributes() 278 Fields.push_back(llvm::ConstantInt::get(Int8Ty, 0)); in PushPropertyAttributes() 279 Fields.push_back(llvm::ConstantInt::get(Int8Ty, 0)); in PushPropertyAttributes() 951 Int8Ty = llvm::Type::getInt8Ty(VMContext); in CGObjCGNU() 953 PtrToInt8Ty = llvm::PointerType::getUnqual(Int8Ty); in CGObjCGNU() 1860 PtrToInt8Ty, Int8Ty, Int8Ty, Int8Ty, Int8Ty, PtrToInt8Ty, in GenerateProtocol() 2098 PtrToInt8Ty, Int8Ty, Int8Ty, Int8Ty, Int8Ty, PtrToInt8Ty, in GeneratePropertyList()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/IPO/ |
D | LowerTypeTests.cpp | 335 IntegerType *Int8Ty = Type::getInt8Ty(M.getContext()); member in __anondb9e6fc60111::LowerTypeTestsModule 537 M, Int8Ty, /*isConstant=*/true, GlobalValue::PrivateLinkage, nullptr); in createByteArray() 538 auto MaskGlobal = new GlobalVariable(M, Int8Ty, /*isConstant=*/true, in createByteArray() 567 ConstantExpr::getIntToPtr(ConstantInt::get(Int8Ty, Mask), Int8PtrTy)); in allocateByteArrays() 590 Int8Ty, 0, GlobalValue::PrivateLinkage, "bits", GEP, &M); in allocateByteArrays() 617 ByteArray = GlobalAlias::create(Int8Ty, 0, GlobalValue::PrivateLinkage, in createBitSetTest() 621 Value *ByteAddr = B.CreateGEP(Int8Ty, ByteArray, BitOffset); in createBitSetTest() 625 B.CreateAnd(Byte, ConstantExpr::getPtrToInt(TIL.BitMask, Int8Ty)); in createBitSetTest() 626 return B.CreateICmpNE(ByteAndMask, ConstantInt::get(Int8Ty, 0)); in createBitSetTest() 707 ConstantInt::get(Int8Ty, DL.getPointerSizeInBits(0)), in lowerTypeTestCall() [all …]
|
D | WholeProgramDevirt.cpp | 413 IntegerType *Int8Ty; member 439 ImportSummary(ImportSummary), Int8Ty(Type::getInt8Ty(M.getContext())), in DevirtModule() 1031 GlobalAlias *GA = GlobalAlias::create(Int8Ty, 0, GlobalValue::ExternalLinkage, in exportGlobal() 1051 Constant *C = M.getOrInsertGlobal(getGlobalName(Slot, Args, Name), Int8Ty); in importGlobal() 1104 return ConstantExpr::getGetElementPtr(Int8Ty, C, in getMemberAddr() 1162 B.CreateGEP(Int8Ty, B.CreateBitCast(Call.VTable, Int8PtrTy), Byte); in applyVirtualConstProp() 1166 auto IsBitSet = B.CreateICmpNE(BitsAndBit, ConstantInt::get(Int8Ty, 0)); in applyVirtualConstProp() 1272 Constant *BitConst = ConstantInt::get(Int8Ty, 1ULL << OffsetBit); in tryVirtualConstProp() 1412 Value *GEP = LoadB.CreateGEP(Int8Ty, Ptr, Offset); in scanTypeCheckedLoadUsers() 1505 Constant *Bit = importConstant(Slot, CSByConstantArg.first, "bit", Int8Ty, in importResolution()
|
/external/swiftshader/third_party/llvm-7.0/llvm/examples/BrainF/ |
D | BrainF.cpp | 96 Type* Int8Ty = IntegerType::getInt8Ty(C); in header() local 97 Constant* allocsize = ConstantExpr::getSizeOf(Int8Ty); in header() 99 ptr_arr = CallInst::CreateMalloc(BB, IntPtrTy, Int8Ty, allocsize, val_mem, in header()
|
/external/swiftshader/third_party/LLVM/examples/BrainF/ |
D | BrainF.cpp | 84 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/examples/BrainF/ |
D | BrainF.cpp | 96 Type* Int8Ty = IntegerType::getInt8Ty(C); in header() local 97 Constant* allocsize = ConstantExpr::getSizeOf(Int8Ty); in header() 99 ptr_arr = CallInst::CreateMalloc(BB, IntPtrTy, Int8Ty, allocsize, val_mem, in header()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Instrumentation/ |
D | SanitizerCoverage.cpp | 235 *Int16Ty, *Int8Ty, *Int8PtrTy; member in __anon1001c3990111::SanitizerCoverageModule 310 Int8Ty = IRB.getInt8Ty(); in runOnModule() 329 SanCovTraceConstCmp1, VoidTy, Int8Ty, Int8Ty)); in runOnModule() 597 AllBlocks.size(), F, Int8Ty, SanCovCountersSectionName); in CreateFunctionLocalArrays() 785 auto Inc = IRB.CreateAdd(Load, ConstantInt::get(Int8Ty, 1)); in InjectCoverageAtBlock()
|
D | HWAddressSanitizer.cpp | 197 Type *Int8Ty; member in __anon466e5f120111::HWAddressSanitizer 248 Int8Ty = IRB.getInt8Ty(); in doInitialization() 284 "__hwasan_tag_memory", IRB.getVoidTy(), IntptrTy, Int8Ty, IntptrTy)); in initializeCallbacks() 286 M.getOrInsertFunction("__hwasan_generate_tag", Int8Ty)); in initializeCallbacks()
|
/external/llvm/lib/Transforms/Instrumentation/ |
D | SanitizerCoverage.cpp | 252 Type *Int8Ty = IRB.getInt8Ty(); in runOnModule() local 259 new GlobalVariable(M, Int8Ty, false, GlobalVariable::ExternalLinkage, in runOnModule() 283 Type *Int8ArrayNTy = ArrayType::get(Int8Ty, alignTo(N, CounterAlignment)); in runOnModule()
|
/external/swiftshader/third_party/LLVM/lib/VMCore/ |
D | LLVMContextImpl.cpp | 32 Int8Ty(C, 8), in LLVMContextImpl()
|