Searched refs:getLLVMContext (Results 1 - 25 of 29) sorted by relevance

12

/external/clang/lib/CodeGen/
H A DCGOpenCLRuntime.cpp42 CGM.getLLVMContext(), "opencl.image1d_t"), 0);
45 CGM.getLLVMContext(), "opencl.image1d_array_t"), 0);
48 CGM.getLLVMContext(), "opencl.image1d_buffer_t"), 0);
51 CGM.getLLVMContext(), "opencl.image2d_t"), 0);
54 CGM.getLLVMContext(), "opencl.image2d_array_t"), 0);
57 CGM.getLLVMContext(), "opencl.image3d_t"), 0);
59 return llvm::IntegerType::get(CGM.getLLVMContext(),32);
62 CGM.getLLVMContext(), "opencl.event_t"), 0);
H A DCodeGenTypes.cpp95 return llvm::IntegerType::get(getLLVMContext(),
328 ResultType = llvm::Type::getInt8Ty(getLLVMContext());
333 ResultType = llvm::Type::getInt1Ty(getLLVMContext());
352 ResultType = llvm::IntegerType::get(getLLVMContext(),
358 ResultType = getTypeForFormat(getLLVMContext(),
365 ResultType = getTypeForFormat(getLLVMContext(),
372 ResultType = llvm::Type::getInt8PtrTy(getLLVMContext());
377 ResultType = llvm::IntegerType::get(getLLVMContext(), 128);
421 PointeeType = llvm::Type::getInt8Ty(getLLVMContext());
445 ResultType = llvm::Type::getInt8Ty(getLLVMContext());
[all...]
H A DCGCUDANV.cpp91 CGF.getLLVMContext(), ArgTypes);
H A DCGRecordLayoutBuilder.cpp456 llvm::Type *FieldTy = llvm::Type::getInt8Ty(Types.getLLVMContext());
666 llvm::FunctionType::get(llvm::Type::getInt32Ty(Types.getLLVMContext()),
701 llvm::Type *Vbptr = llvm::Type::getInt32PtrTy(Types.getLLVMContext());
738 BaseSubobjectType = llvm::StructType::create(Types.getLLVMContext(),
893 llvm::Type *Ty = llvm::Type::getInt8Ty(Types.getLLVMContext());
H A DCGExpr.cpp45 destType = llvm::Type::getInt8PtrTy(getLLVMContext(), addressSpace);
680 NextVal = llvm::ConstantFP::get(getLLVMContext(), FVal);
1046 llvm::MDBuilder MDHelper(getLLVMContext());
1080 llvm::ConstantInt::get(llvm::Type::getInt32Ty(getLLVMContext()), 0),
1081 llvm::ConstantInt::get(llvm::Type::getInt32Ty(getLLVMContext()), 1),
1082 llvm::ConstantInt::get(llvm::Type::getInt32Ty(getLLVMContext()), 2)
1120 Load, llvm::ConstantInt::get(getLLVMContext(), End));
1123 Load, llvm::ConstantInt::get(getLLVMContext(), End));
1125 Load, llvm::ConstantInt::get(getLLVMContext(), Min));
1177 llvm::LLVMContext &VMContext = getLLVMContext();
[all...]
H A DCodeGenModule.cpp584 F->setAttributes(llvm::AttributeSet::get(getLLVMContext(), AttributeList));
714 F->setAttributes(llvm::Intrinsic::getAttributes(getLLVMContext(),
795 llvm::Value *MDOpts = llvm::MDString::get(getLLVMContext(), Opts);
796 LinkerOptionsMetadata.push_back(llvm::MDNode::get(getLLVMContext(), MDOpts));
802 llvm::Value *MDOpts = llvm::MDString::get(getLLVMContext(), Opt);
803 LinkerOptionsMetadata.push_back(llvm::MDNode::get(getLLVMContext(), MDOpts));
809 llvm::Value *MDOpts = llvm::MDString::get(getLLVMContext(), Opt);
810 LinkerOptionsMetadata.push_back(llvm::MDNode::get(getLLVMContext(), MDOpts));
832 llvm::LLVMContext &Context = CGM.getLLVMContext();
917 llvm::MDNode::get(getLLVMContext(),
[all...]
H A DCodeGenTypes.h122 llvm::LLVMContext &getLLVMContext() { return TheModule.getContext(); } function in class:clang::CodeGen::CodeGenTypes
H A DCGBuiltin.cpp92 llvm::IntegerType::get(CGF.getLLVMContext(),
126 llvm::IntegerType::get(CGF.getLLVMContext(),
203 return RValue::get(llvm::ConstantInt::get(getLLVMContext(),
206 return RValue::get(llvm::ConstantFP::get(getLLVMContext(),
952 llvm::IntegerType::get(getLLVMContext(),
979 llvm::IntegerType::get(getLLVMContext(),
1019 llvm::Type *ITy = llvm::IntegerType::get(getLLVMContext(),
1325 LLVMContext &C = CGM.getLLVMContext();
1539 ArgValue = llvm::ConstantInt::get(getLLVMContext(), Result);
1958 llvm::Type *IntResTy = llvm::IntegerType::get(getLLVMContext(),
[all...]
H A DCGCall.cpp911 resultType = llvm::Type::getVoidTy(getLLVMContext());
921 resultType = llvm::Type::getVoidTy(getLLVMContext());
982 return llvm::StructType::get(getLLVMContext());
1115 AttributeSet::get(getLLVMContext(), Index, SRETAttrs));
1130 AttributeSet::get(getLLVMContext(),
1142 PAL.push_back(llvm::AttributeSet::get(getLLVMContext(), Index,
1169 PAL.push_back(llvm::AttributeSet::get(getLLVMContext(), Index + I,
1205 PAL.push_back(llvm::AttributeSet::get(getLLVMContext(), Index, Attrs));
1210 AttributeSet::get(getLLVMContext(),
1260 AI->addAttr(llvm::AttributeSet::get(getLLVMContext(),
[all...]
H A DCGExprConstant.cpp263 Elements.back() = llvm::ConstantInt::get(CGM.getLLVMContext(), Tmp);
283 Elements.push_back(llvm::ConstantInt::get(CGM.getLLVMContext(), Tmp));
304 Elements.push_back(llvm::ConstantInt::get(CGM.getLLVMContext(),
528 llvm::ConstantStruct::getTypeForElements(CGM.getLLVMContext(),
588 : CGM(cgm), CGF(cgf), VMContext(cgm.getLLVMContext()) {
H A DCGStmt.cpp1420 Ty = llvm::IntegerType::get(getLLVMContext(), Size);
1477 return llvm::MDNode::get(CGF.getLLVMContext(), Locs);
1707 ResultType = llvm::StructType::get(getLLVMContext(), ResultRegTypes);
1754 llvm::IntegerType::get(getLLVMContext(), (unsigned)ResSize));
1759 llvm::IntegerType::get(getLLVMContext(), (unsigned)TmpSize));
H A DCGAtomic.cpp600 llvm::IntegerType::get(getLLVMContext(), Size * 8)->getPointerTo();
713 llvm::IntegerType::get(CGF.getLLVMContext(), AtomicSizeInBits);
923 llvm::IntegerType::get(getLLVMContext(), atomics.getValueSizeInBits());
H A DCGObjCRuntime.cpp139 llvm::Type::getIntNPtrTy(CGF.getLLVMContext(),
H A DCodeGenModule.h500 llvm::MDNode::get(getLLVMContext(),
513 llvm::LLVMContext &getLLVMContext() { return VMContext; } function in class:clang::CodeGen::CodeGenModule
H A DCodeGenFunction.h993 new llvm::UnreachableInst(getLLVMContext(), UnreachableBlock);
1004 llvm::LLVMContext &getLLVMContext() { return CGM.getLLVMContext(); } function in class:clang::CodeGen::CodeGenFunction
1274 return llvm::BasicBlock::Create(getLLVMContext(), "", parent, before);
1276 return llvm::BasicBlock::Create(getLLVMContext(), name, parent, before);
H A DItaniumCXXABI.cpp1054 llvm::AttributeSet::get(CGM.getLLVMContext(),
1065 llvm::AttributeSet::get(CGM.getLLVMContext(),
1076 llvm::AttributeSet::get(CGM.getLLVMContext(),
H A DCGBlocks.cpp341 llvm::StructType::get(CGM.getLLVMContext(), elementTypes, true);
455 llvm::StructType::get(CGM.getLLVMContext(), elementTypes, true);
552 llvm::StructType::get(CGM.getLLVMContext(), elementTypes, true);
2034 llvm::StructType::create(getLLVMContext(),
H A DCGExprAgg.cpp1429 llvm::Type::getInt8PtrTy(getLLVMContext(), DPT->getAddressSpace());
1434 llvm::Type::getInt8PtrTy(getLLVMContext(), SPT->getAddressSpace());
H A DMicrosoftCXXABI.cpp534 = llvm::ConstantInt::get(llvm::IntegerType::getInt1Ty(CGF.getLLVMContext()),
702 return llvm::StructType::get(CGM.getLLVMContext(), fields);
H A DCGDebugInfo.cpp897 C = llvm::ConstantInt::get(CGM.getLLVMContext(), Value->getInt());
899 C = llvm::ConstantFP::get(CGM.getLLVMContext(), Value->getFloat());
1229 llvm::ConstantInt::get(CGM.getLLVMContext(), TA.getAsIntegral()));
2507 Builder.getCurrentDebugLocation().getScope(CGM.getLLVMContext()) ==
H A DCGObjC.cpp850 llvm::Type::getIntNTy(getLLVMContext(),
1123 llvm::Type::getIntNTy(getLLVMContext(),
1974 llvm::Value *string = llvm::MDString::get(getLLVMContext(), assembly);
1975 metadata->addOperand(llvm::MDNode::get(getLLVMContext(), string));
H A DCGClass.cpp830 llvm::Type::getInt8PtrTy(CGF.getLLVMContext(), DPT->getAddressSpace());
835 llvm::Type::getInt8PtrTy(CGF.getLLVMContext(), SPT->getAddressSpace());
H A DCodeGenFunction.cpp432 llvm::LLVMContext &Context = getLLVMContext();
H A DCGObjCMac.cpp68 llvm::AttributeSet::get(CGM.getLLVMContext(),
588 llvm::AttributeSet::get(CGM.getLLVMContext(),
1038 CGObjCRuntime(cgm), VMContext(cgm.getLLVMContext()) { }
3636 CGBuilderTy Builder(CGF.getLLVMContext());
5044 : VMContext(cgm.getLLVMContext()), CGM(cgm), ExternalProtocolPtrTy(0)
H A DTargetInfo.cpp83 return CGT.getLLVMContext();
512 return llvm::Type::getX86_MMXTy(CGF.getLLVMContext());
1032 llvm::AttributeSet::get(CGM.getLLVMContext(),

Completed in 299 milliseconds

12