/external/llvm/unittests/ExecutionEngine/ |
D | ExecutionEngineTest.cpp | 53 NewExtGlobal(Type::getInt32Ty(getGlobalContext()), "Global1"); in TEST_F() 67 NewExtGlobal(Type::getInt32Ty(getGlobalContext()), "Global1"); in TEST_F() 80 NewExtGlobal(Type::getInt32Ty(getGlobalContext()), "Global1"); in TEST_F() 91 NewExtGlobal(Type::getInt32Ty(getGlobalContext()), "Global2"); in TEST_F() 108 NewExtGlobal(Type::getInt32Ty(getGlobalContext()), "Global1"); in TEST_F() 119 NewExtGlobal(Type::getInt32Ty(getGlobalContext()), "Global2"); in TEST_F() 128 NewExtGlobal(Type::getInt32Ty(getGlobalContext()), "Global1"); in TEST_F()
|
/external/llvm/lib/CodeGen/ |
D | ShadowStackGCLowering.cpp | 146 StructType::get(Type::getInt8PtrTy(C), Type::getInt32Ty(C), nullptr); in Next() 148 "__gcc_personality_v0", FunctionType::get(Type::getInt32Ty(C), true)); in Next() 206 Type *Int32Ty = Type::getInt32Ty(F.getContext()); in GetFrameMap() 240 ConstantInt::get(Type::getInt32Ty(F.getContext()), 0), in GetFrameMap() 241 ConstantInt::get(Type::getInt32Ty(F.getContext()), 0)}; in GetFrameMap() 275 EltTys.push_back(Type::getInt32Ty(M.getContext())); in doInitialization() 277 EltTys.push_back(Type::getInt32Ty(M.getContext())); in doInitialization() 350 Value *Indices[] = {ConstantInt::get(Type::getInt32Ty(Context), 0), in CreateGEP() 351 ConstantInt::get(Type::getInt32Ty(Context), Idx), in CreateGEP() 352 ConstantInt::get(Type::getInt32Ty(Context), Idx2)}; in CreateGEP() [all …]
|
D | IntrinsicLowering.cpp | 103 Type::getInt32Ty(M.getContext())); in AddPrototypes() 131 Type::getInt32Ty(M.getContext()), in AddPrototypes() 193 ConstantInt::get(Type::getInt32Ty(Context), 0xFF0000), in LowerBSWAP() 196 ConstantInt::get(Type::getInt32Ty(Context), 0xFF00), in LowerBSWAP() 369 Type::getInt32Ty(Context)); in LowerIntrinsicCall() 497 Type::getInt32Ty(Context), in LowerIntrinsicCall()
|
/external/llvm/examples/ParallelJIT/ |
D | ParallelJIT.cpp | 39 Type::getInt32Ty(M->getContext()), in createAdd1() 40 Type::getInt32Ty(M->getContext()), in createAdd1() 48 Value *One = ConstantInt::get(Type::getInt32Ty(M->getContext()), 1); in createAdd1() 70 Type::getInt32Ty(M->getContext()), in CreateFibFunction() 71 Type::getInt32Ty(M->getContext()), in CreateFibFunction() 78 Value *One = ConstantInt::get(Type::getInt32Ty(M->getContext()), 1); in CreateFibFunction() 79 Value *Two = ConstantInt::get(Type::getInt32Ty(M->getContext()), 2); in CreateFibFunction()
|
/external/llvm/examples/ModuleMaker/ |
D | ModuleMaker.cpp | 34 FunctionType::get(Type::getInt32Ty(Context), /*not vararg*/false); in main() 45 Value *Two = ConstantInt::get(Type::getInt32Ty(Context), 2); in main() 46 Value *Three = ConstantInt::get(Type::getInt32Ty(Context), 3); in main()
|
/external/llvm/lib/Transforms/Utils/ |
D | BuildLibCalls.cpp | 98 Type *I32Ty = B.getInt32Ty(); in EmitStrChr() 125 "strncmp", AttributeSet::get(M->getContext(), AS), B.getInt32Ty(), in EmitStrNCmp() 224 B.getInt8PtrTy(), B.getInt32Ty(), DL.getIntPtrType(Context), nullptr); in EmitMemChr() 248 "memcmp", AttributeSet::get(M->getContext(), AS), B.getInt32Ty(), in EmitMemCmp() 323 Value *PutChar = M->getOrInsertFunction("putchar", B.getInt32Ty(), in EmitPutChar() 324 B.getInt32Ty(), nullptr); in EmitPutChar() 327 B.getInt32Ty(), in EmitPutChar() 352 B.getInt32Ty(), in EmitPutS() 377 B.getInt32Ty(), in EmitFPutC() 378 B.getInt32Ty(), File->getType(), in EmitFPutC() [all …]
|
D | CodeExtractor.cpp | 364 Idx[0] = Constant::getNullValue(Type::getInt32Ty(header->getContext())); in constructFunction() 365 Idx[1] = ConstantInt::get(Type::getInt32Ty(header->getContext()), i); in constructFunction() 467 Idx[0] = Constant::getNullValue(Type::getInt32Ty(Context)); in emitCallAndSwitchStatement() 468 Idx[1] = ConstantInt::get(Type::getInt32Ty(Context), i); in emitCallAndSwitchStatement() 492 Idx[0] = Constant::getNullValue(Type::getInt32Ty(Context)); in emitCallAndSwitchStatement() 493 Idx[1] = ConstantInt::get(Type::getInt32Ty(Context), FirstOut + i); in emitCallAndSwitchStatement() 605 Idx[0] = Constant::getNullValue(Type::getInt32Ty(Context)); in emitCallAndSwitchStatement() 606 Idx[1] = ConstantInt::get(Type::getInt32Ty(Context), in emitCallAndSwitchStatement()
|
/external/llvm/examples/BrainF/ |
D | BrainF.cpp | 58 Type *Tys[] = { Type::getInt8PtrTy(C), Type::getInt32Ty(C) }; in header() 64 getOrInsertFunction("getchar", IntegerType::getInt32Ty(C), NULL)); in header() 68 getOrInsertFunction("putchar", IntegerType::getInt32Ty(C), in header() 69 IntegerType::getInt32Ty(C), NULL)); in header() 83 Type* IntPtrTy = IntegerType::getInt32Ty(C); in header() 150 getOrInsertFunction("puts", IntegerType::getInt32Ty(C), in header() 158 Constant *zero_32 = Constant::getNullValue(IntegerType::getInt32Ty(C)); in header() 224 CreateSExt(tape_0, IntegerType::getInt32Ty(C), tapereg); in readloop()
|
D | BrainFDriver.cpp | 61 getOrInsertFunction("main", IntegerType::getInt32Ty(mod->getContext()), in addMainFunction() 62 IntegerType::getInt32Ty(mod->getContext()), in addMainFunction()
|
/external/llvm/examples/Fibonacci/ |
D | fibonacci.cpp | 42 cast<Function>(M->getOrInsertFunction("fib", Type::getInt32Ty(Context), in CreateFibFunction() 43 Type::getInt32Ty(Context), in CreateFibFunction() 50 Value *One = ConstantInt::get(Type::getInt32Ty(Context), 1); in CreateFibFunction() 51 Value *Two = ConstantInt::get(Type::getInt32Ty(Context), 2); in CreateFibFunction()
|
/external/llvm/unittests/IR/ |
D | ValueHandleTest.cpp | 27 ConstantV(ConstantInt::get(Type::getInt32Ty(getGlobalContext()), 0)), in ValueHandle() 28 BitcastV(new BitCastInst(ConstantV, Type::getInt32Ty(getGlobalContext()))) { in ValueHandle() 45 EXPECT_EQ(Type::getInt32Ty(getGlobalContext()), WVH->getType()); in TEST_F() 46 EXPECT_EQ(Type::getInt32Ty(getGlobalContext()), (*WVH).getType()); in TEST_F() 200 EXPECT_EQ(Type::getInt32Ty(getGlobalContext()), CVH->getType()); in TEST_F() 201 EXPECT_EQ(Type::getInt32Ty(getGlobalContext()), (*CVH).getType()); in TEST_F() 308 getValPtr()->replaceAllUsesWith(Constant::getNullValue(Type::getInt32Ty(getGlobalContext()))); in TEST_F() 325 Constant::getNullValue(Type::getInt32Ty(getGlobalContext())))); in TEST_F() 328 EXPECT_EQ(Constant::getNullValue(Type::getInt32Ty(getGlobalContext())), RVH.AURWArgument); in TEST_F() 329 EXPECT_EQ(Constant::getNullValue(Type::getInt32Ty(getGlobalContext())), in TEST_F()
|
D | ValueTest.cpp | 50 Type *Int32Ty = Type::getInt32Ty(Ctx); in TEST() 96 Type *Int32Ty = Type::getInt32Ty(Ctx); in TEST()
|
/external/llvm/unittests/Transforms/Utils/ |
D | Local.cpp | 29 PHINode *phi = builder.CreatePHI(Type::getInt32Ty(C), 2); in TEST() 46 phi = builder.CreatePHI(Type::getInt32Ty(C), 0); in TEST() 51 phi = builder.CreatePHI(Type::getInt32Ty(C), 0); in TEST()
|
D | IntegerDivision.cpp | 28 SmallVector<Type*, 2> ArgTys(2, Builder.getInt32Ty()); in TEST() 29 Function *F = Function::Create(FunctionType::get(Builder.getInt32Ty(), in TEST() 58 SmallVector<Type*, 2> ArgTys(2, Builder.getInt32Ty()); in TEST() 59 Function *F = Function::Create(FunctionType::get(Builder.getInt32Ty(), in TEST() 88 SmallVector<Type*, 2> ArgTys(2, Builder.getInt32Ty()); in TEST() 89 Function *F = Function::Create(FunctionType::get(Builder.getInt32Ty(), in TEST() 118 SmallVector<Type*, 2> ArgTys(2, Builder.getInt32Ty()); in TEST() 119 Function *F = Function::Create(FunctionType::get(Builder.getInt32Ty(), in TEST()
|
D | Cloning.cpp | 62 V = new Argument(Type::getInt32Ty(context)); in TEST_F() 134 Constant *Z = Constant::getNullValue(Type::getInt32Ty(context)); in TEST_F() 138 GetElementPtrInst::Create(Type::getInt32Ty(context), V, ops); in TEST_F() 146 V = new Argument(Type::getInt32Ty(context)); in TEST_F() 246 AllocaInst* Alloca = IBuilder.CreateAlloca(IntegerType::getInt32Ty(C)); in CreateOldFunctionBodyAndDI()
|
/external/llvm/examples/HowToUseJIT/ |
D | HowToUseJIT.cpp | 66 cast<Function>(M->getOrInsertFunction("add1", Type::getInt32Ty(Context), in main() 67 Type::getInt32Ty(Context), in main() 98 cast<Function>(M->getOrInsertFunction("foo", Type::getInt32Ty(Context), in main()
|
/external/llvm/examples/ExceptionDemo/ |
D | ExceptionDemo.cpp | 1136 argTypes.push_back(builder.getInt32Ty()); in createCatchWrappedInvokeFunction() 1365 llvm::Type::getInt32Ty(context), i), in createCatchWrappedInvokeFunction() 1398 unwindArgTypes.push_back(builder.getInt32Ty()); in createThrowExceptionFunction() 1457 theSwitch->addCase(llvm::ConstantInt::get(llvm::Type::getInt32Ty(context), in createThrowExceptionFunction() 1664 TypeArray(builder.getInt32Ty())); in createStandardUtilityFunctions() 1668 builder.getInt32Ty() in createStandardUtilityFunctions() 1721 structVals.push_back(llvm::ConstantInt::get(builder.getInt32Ty(), i)); in createStandardUtilityFunctions() 1749 argTypes.push_back(builder.getInt32Ty()); in createStandardUtilityFunctions() 1805 argTypes.push_back(builder.getInt32Ty()); in createStandardUtilityFunctions() 1841 argTypes.push_back(builder.getInt32Ty()); in createStandardUtilityFunctions() [all …]
|
/external/llvm/lib/IR/ |
D | ValueTypes.cpp | 189 case MVT::i32: return Type::getInt32Ty(Context); in getTypeForEVT() 218 case MVT::v1i32: return VectorType::get(Type::getInt32Ty(Context), 1); in getTypeForEVT() 219 case MVT::v2i32: return VectorType::get(Type::getInt32Ty(Context), 2); in getTypeForEVT() 220 case MVT::v4i32: return VectorType::get(Type::getInt32Ty(Context), 4); in getTypeForEVT() 221 case MVT::v8i32: return VectorType::get(Type::getInt32Ty(Context), 8); in getTypeForEVT() 222 case MVT::v16i32: return VectorType::get(Type::getInt32Ty(Context), 16); in getTypeForEVT()
|
/external/llvm/lib/Transforms/InstCombine/ |
D | InstCombineVectorOps.cpp | 276 Type *Int32Ty = Type::getInt32Ty(EI.getContext()); in visitExtractElementInst() 337 Mask.assign(NumElts, UndefValue::get(Type::getInt32Ty(V->getContext()))); in CollectSingleShuffleElements() 343 Mask.push_back(ConstantInt::get(Type::getInt32Ty(V->getContext()), i)); in CollectSingleShuffleElements() 349 Mask.push_back(ConstantInt::get(Type::getInt32Ty(V->getContext()), in CollectSingleShuffleElements() 369 Mask[InsertedIdx] = UndefValue::get(Type::getInt32Ty(V->getContext())); in CollectSingleShuffleElements() 386 ConstantInt::get(Type::getInt32Ty(V->getContext()), in CollectSingleShuffleElements() 391 ConstantInt::get(Type::getInt32Ty(V->getContext()), in CollectSingleShuffleElements() 422 Mask.assign(NumElts, UndefValue::get(Type::getInt32Ty(V->getContext()))); in CollectShuffleElements() 428 Mask.assign(NumElts, ConstantInt::get(Type::getInt32Ty(V->getContext()),0)); in CollectShuffleElements() 455 Mask[i] = ConstantInt::get(Type::getInt32Ty(V->getContext()), i); in CollectShuffleElements() [all …]
|
/external/llvm/unittests/Linker/ |
D | LinkModulesTest.cpp | 29 Type::getInt8PtrTy(Ctx), Type::getInt32Ty(Ctx), false /*=isVarArg*/); in SetUp() 51 ConstantInt *One = ConstantInt::get(Type::getInt32Ty(Ctx), 1); in SetUp() 76 GEPIndices.push_back(ConstantInt::get(Type::getInt32Ty(Ctx), 0)); in TEST_F()
|
/external/clang/lib/CodeGen/ |
D | CGLoopInfo.cpp | 36 Type::getInt32Ty(Ctx), Attrs.VectorizerWidth))}; in createMetadata() 44 Type::getInt32Ty(Ctx), Attrs.VectorizerUnroll))}; in createMetadata()
|
D | SanitizerMetadata.cpp | 87 llvm::Type::getInt32Ty(VMContext), PLoc.getLine())), in getLocationMetadata() 89 llvm::Type::getInt32Ty(VMContext), PLoc.getColumn())), in getLocationMetadata()
|
/external/llvm/lib/Transforms/Scalar/ |
D | Reg2Mem.cpp | 86 new BitCastInst(Constant::getNullValue(Type::getInt32Ty(F.getContext())), in INITIALIZE_PASS_DEPENDENCY() 87 Type::getInt32Ty(F.getContext()), in INITIALIZE_PASS_DEPENDENCY()
|
/external/llvm/lib/Transforms/Instrumentation/ |
D | AddressSanitizer.cpp | 598 PointerType *Int32PtrTy = PointerType::getUnqual(IRBRet.getInt32Ty()); in unpoisonDynamicAlloca() 599 Value *Zero = Constant::getNullValue(IRBRet.getInt32Ty()); in unpoisonDynamicAlloca() 761 ConstantInt::get(Type::getInt32Ty(M.getContext()), MD.LineNo), in createPrivateGlobalForSourceLoc() 762 ConstantInt::get(Type::getInt32Ty(M.getContext()), MD.ColumnNo), in createPrivateGlobalForSourceLoc() 801 IRB.CreateIntCast(MI->getOperand(1), IRB.getInt32Ty(), false), in instrumentMemIntrinsic() 977 Value *ExpVal = Exp == 0 ? nullptr : ConstantInt::get(IRB.getInt32Ty(), Exp); in generateCrashCode() 1035 AddrLong, ConstantInt::get(IRB.getInt32Ty(), Exp)); in instrumentAddress() 1090 ConstantInt::get(IRB.getInt32Ty(), Exp)); in instrumentUnusualSizeOrAlignment() 1397 const Type *ExpType = Exp ? Type::getInt32Ty(*C) : nullptr; in initializeCallbacks() 1429 IRB.getInt8PtrTy(), IRB.getInt32Ty(), IntptrTy, nullptr)); in initializeCallbacks() [all …]
|
/external/mesa3d/src/gallium/drivers/radeon/ |
D | AMDILPeepholeOptimizer.cpp | 244 Type *aType = Type::getInt32Ty(*mCTX); in doIsConstCallConversionIfNeeded() 338 Type *aType = Type::getInt32Ty(*mCTX); in optimizeCallInst() 350 Type *aType = Type::getInt32Ty(*mCTX); in optimizeCallInst() 475 != Type::getInt32Ty(inst->getContext())) { in optimizeBitInsert() 720 != Type::getInt32Ty(inst->getContext())) { in optimizeBitExtract() 896 newMaskConst = ConstantInt::get(Type::getInt32Ty(*mCTX), 0x1F); in expandBFM() 897 newShiftConst = ConstantInt::get(Type::getInt32Ty(*mCTX), 1); in expandBFM() 906 newMaskConst = ConstantInt::get(Type::getInt32Ty(*mCTX), 0x1F); in expandBFM() 907 newShiftConst = ConstantInt::get(Type::getInt32Ty(*mCTX), 1); in expandBFM()
|