/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() 75 AssertingVH<PHINode> P1 = B.CreatePHI(Type::getInt32Ty(C), 2); in TEST() 78 PHINode *P2 = B.CreatePHI(Type::getInt32Ty(C), 2); in TEST() 81 AssertingVH<PHINode> P3 = B.CreatePHI(Type::getInt32Ty(C), 2); in TEST() 85 PHINode *P4 = B.CreatePHI(Type::getInt32Ty(C), 2); 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() 248 AllocaInst* Alloca = IBuilder.CreateAlloca(IntegerType::getInt32Ty(C)); in CreateOldFunctionBodyAndDI()
|
/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() 150 FunctionType::get(Type::getInt32Ty(C), true)); in Next() 210 Type *Int32Ty = Type::getInt32Ty(F.getContext()); in GetFrameMap() 244 ConstantInt::get(Type::getInt32Ty(F.getContext()), 0), in GetFrameMap() 245 ConstantInt::get(Type::getInt32Ty(F.getContext()), 0)}; in GetFrameMap() 279 EltTys.push_back(Type::getInt32Ty(M.getContext())); in doInitialization() 281 EltTys.push_back(Type::getInt32Ty(M.getContext())); in doInitialization() 354 Value *Indices[] = {ConstantInt::get(Type::getInt32Ty(Context), 0), in CreateGEP() 355 ConstantInt::get(Type::getInt32Ty(Context), Idx), in CreateGEP() 356 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() 504 Type::getInt32Ty(Context), in LowerIntrinsicCall()
|
/external/llvm/examples/ParallelJIT/ |
D | ParallelJIT.cpp | 40 Type::getInt32Ty(M->getContext()), in createAdd1() 41 Type::getInt32Ty(M->getContext()), in createAdd1() 49 Value *One = ConstantInt::get(Type::getInt32Ty(M->getContext()), 1); in createAdd1() 71 Type::getInt32Ty(M->getContext()), in CreateFibFunction() 72 Type::getInt32Ty(M->getContext()), in CreateFibFunction() 79 Value *One = ConstantInt::get(Type::getInt32Ty(M->getContext()), 1); in CreateFibFunction() 80 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 | 72 Type *I32Ty = B.getInt32Ty(); in EmitStrChr() 99 "strncmp", AttributeSet::get(M->getContext(), AS), B.getInt32Ty(), in EmitStrNCmp() 198 B.getInt8PtrTy(), B.getInt32Ty(), DL.getIntPtrType(Context), nullptr); in EmitMemChr() 222 "memcmp", AttributeSet::get(M->getContext(), AS), B.getInt32Ty(), in EmitMemCmp() 297 Value *PutChar = M->getOrInsertFunction("putchar", B.getInt32Ty(), in EmitPutChar() 298 B.getInt32Ty(), nullptr); in EmitPutChar() 301 B.getInt32Ty(), in EmitPutChar() 326 B.getInt32Ty(), in EmitPutS() 351 B.getInt32Ty(), in EmitFPutC() 352 B.getInt32Ty(), File->getType(), in EmitFPutC() [all …]
|
D | CodeExtractor.cpp | 365 Idx[0] = Constant::getNullValue(Type::getInt32Ty(header->getContext())); in constructFunction() 366 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() 609 Idx[0] = Constant::getNullValue(Type::getInt32Ty(Context)); in emitCallAndSwitchStatement() 610 Idx[1] = ConstantInt::get(Type::getInt32Ty(Context), in emitCallAndSwitchStatement()
|
/external/llvm/examples/BrainF/ |
D | BrainF.cpp | 59 Type *Tys[] = { Type::getInt8PtrTy(C), Type::getInt32Ty(C) }; in header() 65 getOrInsertFunction("getchar", IntegerType::getInt32Ty(C), NULL)); in header() 69 getOrInsertFunction("putchar", IntegerType::getInt32Ty(C), in header() 70 IntegerType::getInt32Ty(C), NULL)); in header() 83 Type* IntPtrTy = IntegerType::getInt32Ty(C); in header() 146 getOrInsertFunction("puts", IntegerType::getInt32Ty(C), in header() 154 Constant *zero_32 = Constant::getNullValue(IntegerType::getInt32Ty(C)); in header() 221 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 | 43 cast<Function>(M->getOrInsertFunction("fib", Type::getInt32Ty(Context), in CreateFibFunction() 44 Type::getInt32Ty(Context), in CreateFibFunction() 51 Value *One = ConstantInt::get(Type::getInt32Ty(Context), 1); in CreateFibFunction() 52 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 | VerifierTest.cpp | 50 FunctionType *FTy = FunctionType::get(Type::getInt32Ty(C), /*isVarArg=*/false); in TEST() 68 FunctionType *FTy = FunctionType::get(Type::getInt32Ty(C), /*isVarArg=*/false); in TEST() 83 Constant *ConstZero = ConstantInt::get(Type::getInt32Ty(C), 0); in TEST()
|
/external/llvm/examples/HowToUseJIT/ |
D | HowToUseJIT.cpp | 66 cast<Function>(M->getOrInsertFunction("add1", Type::getInt32Ty(Context), in main() 67 Type::getInt32Ty(Context), in main() 97 cast<Function>(M->getOrInsertFunction("foo", Type::getInt32Ty(Context), in main()
|
/external/llvm/lib/IR/ |
D | ValueTypes.cpp | 208 case MVT::i32: return Type::getInt32Ty(Context); in getTypeForEVT() 243 case MVT::v1i32: return VectorType::get(Type::getInt32Ty(Context), 1); in getTypeForEVT() 244 case MVT::v2i32: return VectorType::get(Type::getInt32Ty(Context), 2); in getTypeForEVT() 245 case MVT::v4i32: return VectorType::get(Type::getInt32Ty(Context), 4); in getTypeForEVT() 246 case MVT::v8i32: return VectorType::get(Type::getInt32Ty(Context), 8); in getTypeForEVT() 247 case MVT::v16i32: return VectorType::get(Type::getInt32Ty(Context), 16); in getTypeForEVT() 248 case MVT::v32i32: return VectorType::get(Type::getInt32Ty(Context), 32); in getTypeForEVT() 249 case MVT::v64i32: return VectorType::get(Type::getInt32Ty(Context), 64); in getTypeForEVT()
|
/external/llvm/examples/ExceptionDemo/ |
D | ExceptionDemo.cpp | 1137 argTypes.push_back(builder.getInt32Ty()); in createCatchWrappedInvokeFunction() 1367 llvm::Type::getInt32Ty(context), i), in createCatchWrappedInvokeFunction() 1400 unwindArgTypes.push_back(builder.getInt32Ty()); in createThrowExceptionFunction() 1459 theSwitch->addCase(llvm::ConstantInt::get(llvm::Type::getInt32Ty(context), in createThrowExceptionFunction() 1666 TypeArray(builder.getInt32Ty())); in createStandardUtilityFunctions() 1670 builder.getInt32Ty() in createStandardUtilityFunctions() 1723 structVals.push_back(llvm::ConstantInt::get(builder.getInt32Ty(), i)); in createStandardUtilityFunctions() 1751 argTypes.push_back(builder.getInt32Ty()); in createStandardUtilityFunctions() 1807 argTypes.push_back(builder.getInt32Ty()); in createStandardUtilityFunctions() 1843 argTypes.push_back(builder.getInt32Ty()); in createStandardUtilityFunctions() [all …]
|
/external/llvm/lib/Transforms/InstCombine/ |
D | InstCombineVectorOps.cpp | 226 Type *Int32Ty = Type::getInt32Ty(EI.getContext()); in visitExtractElementInst() 288 Mask.assign(NumElts, UndefValue::get(Type::getInt32Ty(V->getContext()))); in collectSingleShuffleElements() 294 Mask.push_back(ConstantInt::get(Type::getInt32Ty(V->getContext()), i)); in collectSingleShuffleElements() 300 Mask.push_back(ConstantInt::get(Type::getInt32Ty(V->getContext()), in collectSingleShuffleElements() 320 Mask[InsertedIdx] = UndefValue::get(Type::getInt32Ty(V->getContext())); in collectSingleShuffleElements() 337 ConstantInt::get(Type::getInt32Ty(V->getContext()), in collectSingleShuffleElements() 342 ConstantInt::get(Type::getInt32Ty(V->getContext()), in collectSingleShuffleElements() 373 Mask.assign(NumElts, UndefValue::get(Type::getInt32Ty(V->getContext()))); in collectShuffleElements() 379 Mask.assign(NumElts, ConstantInt::get(Type::getInt32Ty(V->getContext()),0)); in collectShuffleElements() 406 Mask[i] = ConstantInt::get(Type::getInt32Ty(V->getContext()), i); in collectShuffleElements() [all …]
|
/external/llvm/lib/Target/X86/ |
D | X86WinEHState.cpp | 221 Type::getInt32Ty(Context) // int32_t TryLevel in getCXXEHRegistrationType() 244 Type::getInt32Ty(Context), // int32_t EncodedScopeTable in getSEHRegistrationType() 245 Type::getInt32Ty(Context) // int32_t TryLevel in getSEHRegistrationType() 294 Type *Int32Ty = Type::getInt32Ty(TheModule->getContext()); in emitExceptionRegistrationRecord() 336 Type *Int32Ty = Type::getInt32Ty(Context); in generateLSDAInEAXThunk()
|
/external/clang/lib/CodeGen/ |
D | CGLoopInfo.cpp | 39 Type::getInt32Ty(Ctx), Attrs.VectorizeWidth))}; in createMetadata() 47 Type::getInt32Ty(Ctx), Attrs.InterleaveCount))}; in createMetadata() 55 Type::getInt32Ty(Ctx), Attrs.UnrollCount))}; in createMetadata()
|
D | SanitizerMetadata.cpp | 90 llvm::Type::getInt32Ty(VMContext), PLoc.getLine())), in getLocationMetadata() 92 llvm::Type::getInt32Ty(VMContext), PLoc.getColumn())), in getLocationMetadata()
|
/external/llvm/lib/Transforms/Scalar/ |
D | Reg2Mem.cpp | 86 Constant::getNullValue(Type::getInt32Ty(F.getContext())), in INITIALIZE_PASS_DEPENDENCY() 87 Type::getInt32Ty(F.getContext()), "reg2mem alloca point", &*I); in INITIALIZE_PASS_DEPENDENCY()
|
/external/llvm/lib/Target/Hexagon/ |
D | HexagonGenExtract.cpp | 108 CSR = ConstantInt::get(Type::getInt32Ty(Ctx), 0); in INITIALIZE_PASS_DEPENDENCY() 117 CSL = ConstantInt::get(Type::getInt32Ty(Ctx), 0); in INITIALIZE_PASS_DEPENDENCY() 124 CSL = ConstantInt::get(Type::getInt32Ty(Ctx), 0); in INITIALIZE_PASS_DEPENDENCY()
|
/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()
|