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

12

/freebsd-11.0-release/contrib/llvm/tools/clang/lib/CodeGen/
H A DCodeGenTypes.cpp91 return llvm::IntegerType::get(getLLVMContext(),
320 return llvm::StructType::get(getLLVMContext());
328 return llvm::StructType::get(getLLVMContext());
348 ResultType = llvm::StructType::get(getLLVMContext());
403 ResultType = llvm::Type::getInt8Ty(getLLVMContext());
408 ResultType = llvm::Type::getInt1Ty(getLLVMContext());
427 ResultType = llvm::IntegerType::get(getLLVMContext(),
434 getTypeForFormat(getLLVMContext(), Context.getFloatTypeSemantics(T),
441 ResultType = getTypeForFormat(getLLVMContext(),
448 ResultType = llvm::Type::getInt8PtrTy(getLLVMContext());
[all...]
H A DSanitizerMetadata.cpp36 llvm::LLVMContext &VMContext = CGM.getLLVMContext();
79 llvm::MDNode::get(CGM.getLLVMContext(), None));
86 llvm::LLVMContext &VMContext = CGM.getLLVMContext();
H A DCGOpenCLRuntime.cpp36 llvm::LLVMContext& Ctx = CGM.getLLVMContext();
108 CGM.getLLVMContext(), "opencl.pipe_t"), PipeAddrSpc);
H A DCodeGenModule.cpp534 MetaDataNode = llvm::MDNode::get(getLLVMContext(), MD);
792 F->setAttributes(llvm::AttributeSet::get(getLLVMContext(), AttributeList));
1002 BitsetsMD->addOperand(llvm::MDTuple::get(getLLVMContext(), BitsetOps));
1011 BitsetsMD->addOperand(llvm::MDTuple::get(getLLVMContext(), BitsetOps2));
1022 F->setAttributes(llvm::Intrinsic::getAttributes(getLLVMContext(), IID));
1105 auto *MDOpts = llvm::MDString::get(getLLVMContext(), Opts);
1106 LinkerOptionsMetadata.push_back(llvm::MDNode::get(getLLVMContext(), MDOpts));
1112 auto *MDOpts = llvm::MDString::get(getLLVMContext(), Opt);
1113 LinkerOptionsMetadata.push_back(llvm::MDNode::get(getLLVMContext(), MDOpts));
1119 auto *MDOpts = llvm::MDString::get(getLLVMContext(), Op
[all...]
H A DCGCall.cpp1318 resultType = llvm::Type::getVoidTy(getLLVMContext());
1324 resultType = llvm::Type::getVoidTy(getLLVMContext());
1412 return llvm::StructType::get(getLLVMContext());
1639 getLLVMContext(), llvm::AttributeSet::ReturnIndex, RetAttrs));
1649 getLLVMContext(), IRFunctionArgs.getSRetArgNo() + 1, SRETAttrs));
1657 getLLVMContext(), IRFunctionArgs.getInallocaArgNo() + 1, Attrs));
1672 getLLVMContext(), IRFunctionArgs.getPaddingArgNo(ArgNo) + 1,
1752 PAL.push_back(llvm::AttributeSet::get(getLLVMContext(),
1760 AttributeSet::get(getLLVMContext(),
1861 AI->addAttr(llvm::AttributeSet::get(getLLVMContext(), A
[all...]
H A DCGRecordLayoutBuilder.cpp123 return llvm::Type::getIntNTy(Types.getLLVMContext(),
129 llvm::Type *Type = llvm::Type::getInt8Ty(Types.getLLVMContext());
470 llvm::Type::getInt32PtrTy(Types.getLLVMContext())));
699 getLLVMContext(), BaseBuilder.FieldTypes, "", BaseBuilder.Packed);
H A DCodeGenTypes.h176 llvm::LLVMContext &getLLVMContext() { return TheModule.getContext(); } function in class:clang::CodeGen::CodeGenTypes
H A DCGExpr.cpp49 destType = llvm::Type::getInt8PtrTy(getLLVMContext(), addressSpace);
763 NextVal = llvm::ConstantFP::get(getLLVMContext(), FVal);
1232 llvm::MDBuilder MDHelper(getLLVMContext());
1300 Load, llvm::ConstantInt::get(getLLVMContext(), End));
1303 Load, llvm::ConstantInt::get(getLLVMContext(), End));
1305 Load, llvm::ConstantInt::get(getLLVMContext(), Min));
2020 llvm::MDString *Str = llvm::MDString::get(CGM.getLLVMContext(),
2023 M->addOperand(llvm::MDNode::get(CGM.getLLVMContext(), Ops));
2029 llvm::MetadataAsValue::get(CGM.getLLVMContext(), M->getOperand(0));
2298 llvm::ConstantDataArray::getString(getLLVMContext(), Buffe
[all...]
H A DMicrosoftCXXABI.cpp449 llvm::StructType::create(CGM.getLLVMContext(), FieldTypes, TDTypeName);
472 CGM.getLLVMContext(), FieldTypes, "rtti.BaseClassDescriptor");
481 CGM.getLLVMContext(), "rtti.ClassHierarchyDescriptor");
497 CGM.getLLVMContext(), "rtti.CompleteObjectLocator");
684 CGM.getLLVMContext(), FieldTypes, "eh.CatchableType");
703 llvm::StructType::create(CGM.getLLVMContext(), FieldTypes, CTATypeName);
716 ThrowInfoType = llvm::StructType::create(CGM.getLLVMContext(), FieldTypes,
1842 llvm::IntegerType::getInt32Ty(CGF.getLLVMContext()),
2261 llvm::FunctionType::get(llvm::Type::getVoidTy(CGM.getLLVMContext()),
2265 llvm::AttributeSet::get(CGM.getLLVMContext(),
[all...]
H A DCGBuiltin.cpp98 llvm::IntegerType::get(CGF.getLLVMContext(),
160 llvm::IntegerType::get(CGF.getLLVMContext(),
199 CGF.getLLVMContext(), CGF.getContext().getTypeSize(T));
233 LLVMContext &C = CGF.CGM.getLLVMContext();
418 return RValue::get(llvm::ConstantInt::get(getLLVMContext(),
421 return RValue::get(llvm::ConstantFP::get(getLLVMContext(),
1255 llvm::Type *ITy = llvm::IntegerType::get(getLLVMContext(),
1674 llvm::IntegerType::get(CGM.getLLVMContext(), EncompassingInfo.Width);
1828 IntegerType::get(getLLVMContext(),
1910 AttributeSet::get(getLLVMContext(), llv
[all...]
H A DCGStmt.cpp1545 llvm::MDBuilder MDHelper(getLLVMContext());
1664 Ty = llvm::IntegerType::get(getLLVMContext(), Size);
1691 return llvm::ConstantInt::get(getLLVMContext(), Result);
1735 return llvm::MDNode::get(CGF.getLLVMContext(), Locs);
1991 ResultType = llvm::StructType::get(getLLVMContext(), ResultRegTypes);
2034 llvm::MDNode::get(getLLVMContext(),
2067 llvm::IntegerType::get(getLLVMContext(), (unsigned)ResSize));
2072 llvm::IntegerType::get(getLLVMContext(), (unsigned)TmpSize));
H A DCodeGenPGO.cpp735 auto *I8PtrTy = llvm::Type::getInt8PtrTy(CGM.getLLVMContext());
793 llvm::MDBuilder MDHelper(CGM.getLLVMContext());
817 llvm::MDBuilder MDHelper(CGM.getLLVMContext());
H A DCGExprConstant.cpp258 Elements.back() = llvm::ConstantInt::get(CGM.getLLVMContext(), Tmp);
278 Elements.push_back(llvm::ConstantInt::get(CGM.getLLVMContext(), Tmp));
299 Elements.push_back(llvm::ConstantInt::get(CGM.getLLVMContext(),
539 llvm::ConstantStruct::getTypeForElements(CGM.getLLVMContext(),
606 : CGM(cgm), CGF(cgf), VMContext(cgm.getLLVMContext()) {
H A DCGCUDANV.cpp80 : CGCUDARuntime(CGM), Context(CGM.getLLVMContext()),
H A DCGObjCRuntime.cpp141 llvm::Type::getIntNTy(CGF.getLLVMContext(),
H A DCodeGenModule.h590 NoObjCARCExceptionsMetadata = llvm::MDNode::get(getLLVMContext(), None);
612 llvm::LLVMContext &getLLVMContext() { return VMContext; } function in class:clang::CodeGen::CodeGenModule
H A DCGBlocks.cpp85 CGM.getLLVMContext(), C.getTargetAddressSpace(LangAS::opencl_constant));
326 llvm::StructType::get(CGM.getLLVMContext(), elementTypes, true);
443 llvm::StructType::get(CGM.getLLVMContext(), elementTypes, true);
551 llvm::StructType::get(CGM.getLLVMContext(), elementTypes, true);
2061 llvm::StructType::create(getLLVMContext(),
H A DCoverageMappingGen.cpp915 llvm::LLVMContext &Ctx = CGM.getLLVMContext();
961 llvm::LLVMContext &Ctx = CGM.getLLVMContext();
H A DCodeGenFunction.h1142 new llvm::UnreachableInst(getLLVMContext(), UnreachableBlock);
1158 llvm::LLVMContext &getLLVMContext() { return CGM.getLLVMContext(); } function in class:clang::CodeGen::CodeGenFunction
1489 return llvm::BasicBlock::Create(getLLVMContext(), "", parent, before);
1491 return llvm::BasicBlock::Create(getLLVMContext(), name, parent, before);
H A DItaniumCXXABI.cpp1131 CGF.getLLVMContext(), llvm::AttributeSet::FunctionIndex, FuncAttrs);
1869 llvm::AttributeSet::get(CGM.getLLVMContext(),
1880 llvm::AttributeSet::get(CGM.getLLVMContext(),
1891 llvm::AttributeSet::get(CGM.getLLVMContext(),
3812 llvm::BasicBlock::Create(CGM.getLLVMContext(), "", fn);
H A DCGAtomic.cpp658 llvm::Type *IPtrTy = llvm::IntegerType::get(CGF.getLLVMContext(),
1158 llvm::IntegerType::get(CGF.getLLVMContext(), AtomicSizeInBits);
1415 CGF.getLLVMContext(),
H A DCGClass.cpp1078 llvm::Type::getInt8PtrTy(CGF.getLLVMContext(), DPT->getAddressSpace());
1083 llvm::Type::getInt8PtrTy(CGF.getLLVMContext(), SPT->getAddressSpace());
2557 llvm::Value *BitSetName = llvm::MetadataAsValue::get(getLLVMContext(), MD);
H A DCGException.cpp883 ParentPad = llvm::ConstantTokenNone::get(CGF.getLLVMContext());
1332 ParentPad = llvm::ConstantTokenNone::get(CGM.getLLVMContext());
H A DCGObjC.cpp905 llvm::Type::getIntNTy(getLLVMContext(),
1183 llvm::Type::getIntNTy(getLLVMContext(),
2020 getLLVMContext(), llvm::MDString::get(getLLVMContext(), assembly)));
H A DCGVTables.cpp384 llvm::AttributeSet::get(getLLVMContext(), AttributeList);

Completed in 419 milliseconds

12