/external/llvm/examples/ModuleMaker/ |
ModuleMaker.cpp | 34 FunctionType::get(Type::getInt32Ty(Context), /*not vararg*/false); 45 Value *Two = ConstantInt::get(Type::getInt32Ty(Context), 2); 46 Value *Three = ConstantInt::get(Type::getInt32Ty(Context), 3);
|
/external/llvm/lib/Analysis/ |
DIBuilder.cpp | 29 return ConstantInt::get(Type::getInt32Ty(VMContext), Tag | LLVMDebugVersion); 104 llvm::Constant::getNullValue(Type::getInt32Ty(VMContext)), 105 ConstantInt::get(Type::getInt32Ty(VMContext), Lang), 113 ConstantInt::get(Type::getInt32Ty(VMContext), RunTimeVer), 161 ConstantInt::get(Type::getInt32Ty(VMContext), 0), // Line 165 ConstantInt::get(Type::getInt32Ty(VMContext), 0), // Flags; 166 ConstantInt::get(Type::getInt32Ty(VMContext), 0), // Encoding 184 ConstantInt::get(Type::getInt32Ty(VMContext), 0), // Line 188 ConstantInt::get(Type::getInt32Ty(VMContext), 0), // Flags; 189 ConstantInt::get(Type::getInt32Ty(VMContext), Encoding [all...] |
/external/llvm/lib/Transforms/Instrumentation/ |
ProfilingUtils.cpp | 33 Constant *InitFn = M.getOrInsertFunction(FnName, Type::getInt32Ty(Context), 34 Type::getInt32Ty(Context), 36 Type::getInt32Ty(Context), 42 Args[0] = Constant::getNullValue(Type::getInt32Ty(Context)); 51 Constant::getNullValue(Type::getInt32Ty(Context))); 62 Args[3] = ConstantInt::get(Type::getInt32Ty(Context), NumElements); 94 Type::getInt32Ty(Context), true); 96 CastInst::Create(opcode, AI, Type::getInt32Ty(Context), 119 Indices[0] = Constant::getNullValue(Type::getInt32Ty(Context)); 120 Indices[1] = ConstantInt::get(Type::getInt32Ty(Context), CounterNum) [all...] |
EdgeProfiling.cpp | 77 Type *ATy = ArrayType::get(Type::getInt32Ty(M.getContext()), NumEdges);
|
/external/llvm/examples/HowToUseJIT/ |
HowToUseJIT.cpp | 65 cast<Function>(M->getOrInsertFunction("add1", Type::getInt32Ty(Context), 66 Type::getInt32Ty(Context), 97 cast<Function>(M->getOrInsertFunction("foo", Type::getInt32Ty(Context),
|
/external/llvm/unittests/Transforms/Utils/ |
Local.cpp | 29 PHINode *phi = builder.CreatePHI(Type::getInt32Ty(C), 2); 46 phi = builder.CreatePHI(Type::getInt32Ty(C), 0); 51 phi = builder.CreatePHI(Type::getInt32Ty(C), 0);
|
Cloning.cpp | 54 V = new Argument(Type::getInt32Ty(context)); 126 Constant *Z = Constant::getNullValue(Type::getInt32Ty(context)); 137 V = new Argument(Type::getInt32Ty(context));
|
/external/llvm/unittests/ExecutionEngine/ |
ExecutionEngineTest.cpp | 46 NewExtGlobal(Type::getInt32Ty(getGlobalContext()), "Global1"); 59 NewExtGlobal(Type::getInt32Ty(getGlobalContext()), "Global1"); 72 NewExtGlobal(Type::getInt32Ty(getGlobalContext()), "Global1"); 83 NewExtGlobal(Type::getInt32Ty(getGlobalContext()), "Global2"); 100 NewExtGlobal(Type::getInt32Ty(getGlobalContext()), "Global1"); 111 NewExtGlobal(Type::getInt32Ty(getGlobalContext()), "Global2"); 120 NewExtGlobal(Type::getInt32Ty(getGlobalContext()), "Global1");
|
/external/llvm/examples/Fibonacci/ |
fibonacci.cpp | 43 cast<Function>(M->getOrInsertFunction("fib", Type::getInt32Ty(Context), 44 Type::getInt32Ty(Context), 51 Value *One = ConstantInt::get(Type::getInt32Ty(Context), 1); 52 Value *Two = ConstantInt::get(Type::getInt32Ty(Context), 2);
|
/external/llvm/examples/ParallelJIT/ |
ParallelJIT.cpp | 39 Type::getInt32Ty(M->getContext()), 40 Type::getInt32Ty(M->getContext()), 48 Value *One = ConstantInt::get(Type::getInt32Ty(M->getContext()), 1); 70 Type::getInt32Ty(M->getContext()), 71 Type::getInt32Ty(M->getContext()), 78 Value *One = ConstantInt::get(Type::getInt32Ty(M->getContext()), 1); 79 Value *Two = ConstantInt::get(Type::getInt32Ty(M->getContext()), 2);
|
/external/llvm/lib/CodeGen/ |
ShadowStackGC.cpp | 146 Type::getInt32Ty(C), NULL); 150 FunctionType::get(Type::getInt32Ty(C), true)); 217 Type *Int32Ty = Type::getInt32Ty(F.getContext()); 252 ConstantInt::get(Type::getInt32Ty(F.getContext()), 0), 253 ConstantInt::get(Type::getInt32Ty(F.getContext()), 0) 278 EltTys.push_back(Type::getInt32Ty(M.getContext())); 280 EltTys.push_back(Type::getInt32Ty(M.getContext())); 351 Value *Indices[] = { ConstantInt::get(Type::getInt32Ty(Context), 0), 352 ConstantInt::get(Type::getInt32Ty(Context), Idx), 353 ConstantInt::get(Type::getInt32Ty(Context), Idx2) } [all...] |
/external/llvm/lib/Target/ARM/ |
Thumb2RegisterInfo.cpp | 45 Type::getInt32Ty(MBB.getParent()->getFunction()->getContext()), Val);
|
/external/llvm/unittests/VMCore/ |
MetadataTest.cpp | 118 Constant *C = ConstantInt::get(Type::getInt32Ty(getGlobalContext()), 1); 119 Instruction *I = new BitCastInst(C, Type::getInt32Ty(getGlobalContext())); 132 Constant *C = ConstantInt::get(Type::getInt32Ty(Context), 1); 133 Constant *C2 = ConstantInt::get(Type::getInt32Ty(Context), 2);
|
/external/llvm/examples/BrainF/ |
BrainF.cpp | 58 Type *Tys[] = { Type::getInt8PtrTy(C), Type::getInt32Ty(C) }; 64 getOrInsertFunction("getchar", IntegerType::getInt32Ty(C), NULL)); 68 getOrInsertFunction("putchar", IntegerType::getInt32Ty(C), 69 IntegerType::getInt32Ty(C), NULL)); 83 Type* IntPtrTy = IntegerType::getInt32Ty(C); 150 getOrInsertFunction("puts", IntegerType::getInt32Ty(C), 158 Constant *zero_32 = Constant::getNullValue(IntegerType::getInt32Ty(C)); 224 CreateSExt(tape_0, IntegerType::getInt32Ty(C), tapereg);
|
BrainFDriver.cpp | 61 getOrInsertFunction("main", IntegerType::getInt32Ty(mod->getContext()), 62 IntegerType::getInt32Ty(mod->getContext()),
|
/external/llvm/lib/Transforms/Utils/ |
BuildLibCalls.cpp | 66 Type *I32Ty = B.getInt32Ty(); 88 B.getInt32Ty(), 173 B.getInt32Ty(), 196 B.getInt32Ty(), 241 Value *PutChar = M->getOrInsertFunction("putchar", B.getInt32Ty(), 242 B.getInt32Ty(), NULL); 245 B.getInt32Ty(), 264 B.getInt32Ty(), 284 B.getInt32Ty(), 285 B.getInt32Ty(), File->getType() [all...] |
ModuleUtils.cpp | 27 IRB.getInt32Ty(), PointerType::getUnqual(FnTy), NULL);
|
LowerInvoke.cpp | 205 ConstantInt *InvokeNoC = ConstantInt::get(Type::getInt32Ty(II->getContext()), 230 new StoreInst(Constant::getNullValue(Type::getInt32Ty(II->getContext())), 438 Value *Idx[] = { Constant::getNullValue(Type::getInt32Ty(F.getContext())), 439 ConstantInt::get(Type::getInt32Ty(F.getContext()), 1) }; 464 AllocaInst *InvokeNum = new AllocaInst(Type::getInt32Ty(F.getContext()), 0, 466 new StoreInst(ConstantInt::get(Type::getInt32Ty(F.getContext()), 0), 486 Idx[1] = ConstantInt::get(Type::getInt32Ty(F.getContext()), 0); 539 Value *Idx[] = { Constant::getNullValue(Type::getInt32Ty(F.getContext())), 540 ConstantInt::get(Type::getInt32Ty(F.getContext()), 0) }; 545 Idx[1] = ConstantInt::get(Type::getInt32Ty(F.getContext()), 1) [all...] |
LowerExpectIntrinsic.cpp | 74 Type *Int32Ty = Type::getInt32Ty(Context); 124 Type *Int32Ty = Type::getInt32Ty(Context);
|
/external/llvm/unittests/Support/ |
ValueHandleTest.cpp | 31 ConstantV(ConstantInt::get(Type::getInt32Ty(getGlobalContext()), 0)), 32 BitcastV(new BitCastInst(ConstantV, Type::getInt32Ty(getGlobalContext()))) { 49 EXPECT_EQ(Type::getInt32Ty(getGlobalContext()), WVH->getType()); 50 EXPECT_EQ(Type::getInt32Ty(getGlobalContext()), (*WVH).getType()); 204 EXPECT_EQ(Type::getInt32Ty(getGlobalContext()), CVH->getType()); 205 EXPECT_EQ(Type::getInt32Ty(getGlobalContext()), (*CVH).getType()); 306 getValPtr()->replaceAllUsesWith(Constant::getNullValue(Type::getInt32Ty(getGlobalContext()))); 323 Constant::getNullValue(Type::getInt32Ty(getGlobalContext())))); 326 EXPECT_EQ(Constant::getNullValue(Type::getInt32Ty(getGlobalContext())), RVH.AURWArgument); 327 EXPECT_EQ(Constant::getNullValue(Type::getInt32Ty(getGlobalContext())) [all...] |
IRBuilderTest.cpp | 46 AllocaInst *Var2 = Builder.CreateAlloca(Builder.getInt32Ty());
|
/external/llvm/lib/Transforms/Scalar/ |
Reg2Mem.cpp | 86 new BitCastInst(Constant::getNullValue(Type::getInt32Ty(F.getContext())), 87 Type::getInt32Ty(F.getContext()),
|
/external/llvm/lib/Transforms/InstCombine/ |
InstCombineVectorOps.cpp | 187 Type *Int32Ty = Type::getInt32Ty(EI.getContext()); 216 Mask.assign(NumElts, UndefValue::get(Type::getInt32Ty(V->getContext()))); 222 Mask.push_back(ConstantInt::get(Type::getInt32Ty(V->getContext()), i)); 228 Mask.push_back(ConstantInt::get(Type::getInt32Ty(V->getContext()), 248 Mask[InsertedIdx] = UndefValue::get(Type::getInt32Ty(V->getContext())); 265 ConstantInt::get(Type::getInt32Ty(V->getContext()), 270 ConstantInt::get(Type::getInt32Ty(V->getContext()), 295 Mask.assign(NumElts, UndefValue::get(Type::getInt32Ty(V->getContext()))); 300 Mask.assign(NumElts, ConstantInt::get(Type::getInt32Ty(V->getContext()),0)); 323 ConstantInt::get(Type::getInt32Ty(V->getContext()) [all...] |
/external/llvm/lib/VMCore/ |
ValueTypes.cpp | 158 case MVT::i32: return Type::getInt32Ty(Context); 177 case MVT::v2i32: return VectorType::get(Type::getInt32Ty(Context), 2); 178 case MVT::v4i32: return VectorType::get(Type::getInt32Ty(Context), 4); 179 case MVT::v8i32: return VectorType::get(Type::getInt32Ty(Context), 8);
|
/external/llvm/examples/ExceptionDemo/ |
ExceptionDemo.cpp | [all...] |