/external/clang/lib/CodeGen/ |
D | CodeGenTypes.cpp | 92 return llvm::IntegerType::get(getLLVMContext(), in ConvertTypeForMem() 332 ResultType = llvm::Type::getInt8Ty(getLLVMContext()); in ConvertType() 337 ResultType = llvm::Type::getInt1Ty(getLLVMContext()); in ConvertType() 356 ResultType = llvm::IntegerType::get(getLLVMContext(), in ConvertType() 363 getTypeForFormat(getLLVMContext(), Context.getFloatTypeSemantics(T), in ConvertType() 370 ResultType = getTypeForFormat(getLLVMContext(), in ConvertType() 377 ResultType = llvm::Type::getInt8PtrTy(getLLVMContext()); in ConvertType() 382 ResultType = llvm::IntegerType::get(getLLVMContext(), 128); in ConvertType() 426 PointeeType = llvm::Type::getInt8Ty(getLLVMContext()); in ConvertType() 450 ResultType = llvm::Type::getInt8Ty(getLLVMContext()); in ConvertType() [all …]
|
D | CGBuiltin.cpp | 98 llvm::IntegerType::get(CGF.getLLVMContext(), in EmitBinaryAtomic() 133 llvm::IntegerType::get(CGF.getLLVMContext(), in EmitBinaryAtomicPost() 165 LLVMContext &C = CGF.CGM.getLLVMContext(); in EmitSignBit() 221 return RValue::get(llvm::ConstantInt::get(getLLVMContext(), in EmitBuiltinExpr() 224 return RValue::get(llvm::ConstantFP::get(getLLVMContext(), in EmitBuiltinExpr() 1053 llvm::IntegerType::get(getLLVMContext(), in EmitBuiltinExpr() 1082 llvm::IntegerType::get(getLLVMContext(), in EmitBuiltinExpr() 1122 llvm::Type *ITy = llvm::IntegerType::get(getLLVMContext(), in EmitBuiltinExpr() 1616 IntegerType::get(getLLVMContext(), in EmitBuiltinExpr() 1698 AttributeSet::get(getLLVMContext(), llvm::AttributeSet::FunctionIndex, in EmitBuiltinExpr() [all …]
|
D | SanitizerMetadata.cpp | 35 llvm::LLVMContext &VMContext = CGM.getLLVMContext(); in reportGlobalToASan() 76 llvm::MDNode::get(CGM.getLLVMContext(), None)); in disableSanitizerForInstruction() 83 llvm::LLVMContext &VMContext = CGM.getLLVMContext(); in getLocationMetadata()
|
D | CGOpenCLRuntime.cpp | 36 llvm::LLVMContext& Ctx = CGM.getLLVMContext(); in convertOpenCLSpecificType()
|
D | CGCall.cpp | 1273 resultType = llvm::Type::getVoidTy(getLLVMContext()); in GetFunctionType() 1279 resultType = llvm::Type::getVoidTy(getLLVMContext()); in GetFunctionType() 1284 resultType = llvm::Type::getVoidTy(getLLVMContext()); in GetFunctionType() 1372 return llvm::StructType::get(getLLVMContext()); in GetFunctionTypeForVTable() 1546 getLLVMContext(), llvm::AttributeSet::ReturnIndex, RetAttrs)); in ConstructAttributeList() 1556 getLLVMContext(), IRFunctionArgs.getSRetArgNo() + 1, SRETAttrs)); in ConstructAttributeList() 1564 getLLVMContext(), IRFunctionArgs.getInallocaArgNo() + 1, Attrs)); in ConstructAttributeList() 1579 getLLVMContext(), IRFunctionArgs.getPaddingArgNo(ArgNo) + 1, in ConstructAttributeList() 1638 PAL.push_back(llvm::AttributeSet::get(getLLVMContext(), in ConstructAttributeList() 1646 AttributeSet::get(getLLVMContext(), in ConstructAttributeList() [all …]
|
D | CGExpr.cpp | 48 destType = llvm::Type::getInt8PtrTy(getLLVMContext(), addressSpace); in EmitCastToVoidPtr() 744 NextVal = llvm::ConstantFP::get(getLLVMContext(), FVal); in EmitComplexPrePostIncDec() 1115 llvm::MDBuilder MDHelper(getLLVMContext()); in getRangeForLoadFromType() 1150 llvm::ConstantInt::get(llvm::Type::getInt32Ty(getLLVMContext()), 0), in EmitLoadOfScalar() 1151 llvm::ConstantInt::get(llvm::Type::getInt32Ty(getLLVMContext()), 1), in EmitLoadOfScalar() 1152 llvm::ConstantInt::get(llvm::Type::getInt32Ty(getLLVMContext()), 2) in EmitLoadOfScalar() 1195 Load, llvm::ConstantInt::get(getLLVMContext(), End)); in EmitLoadOfScalar() 1198 Load, llvm::ConstantInt::get(getLLVMContext(), End)); in EmitLoadOfScalar() 1200 Load, llvm::ConstantInt::get(getLLVMContext(), Min)); in EmitLoadOfScalar() 1255 llvm::LLVMContext &VMContext = getLLVMContext(); in EmitStoreOfScalar() [all …]
|
D | CodeGenPGO.cpp | 73 llvm::ConstantDataArray::getString(CGM.getLLVMContext(), FuncName, false); in createFuncNameVar() 793 auto *I8PtrTy = llvm::Type::getInt8PtrTy(CGM.getLLVMContext()); in emitCounterIncrement() 851 llvm::MDBuilder MDHelper(CGM.getLLVMContext()); in createBranchWeights() 874 llvm::MDBuilder MDHelper(CGM.getLLVMContext()); in createBranchWeights()
|
D | CGRecordLayoutBuilder.cpp | 108 return llvm::Type::getIntNTy(Types.getLLVMContext(), in getIntNType() 114 llvm::Type *Type = llvm::Type::getInt8Ty(Types.getLLVMContext()); in getByteArrayType() 455 llvm::Type::getInt32PtrTy(Types.getLLVMContext()))); in accumulateVPtrs() 683 getLLVMContext(), BaseBuilder.FieldTypes, "", BaseBuilder.Packed); in ComputeRecordLayout()
|
D | CodeGenModule.cpp | 683 F->setAttributes(llvm::AttributeSet::get(getLLVMContext(), AttributeList)); in SetLLVMFunctionAttributes() 875 F->setAttributes(llvm::Intrinsic::getAttributes(getLLVMContext(), in SetFunctionAttributes() 964 auto *MDOpts = llvm::MDString::get(getLLVMContext(), Opts); in AppendLinkerOptions() 965 LinkerOptionsMetadata.push_back(llvm::MDNode::get(getLLVMContext(), MDOpts)); in AppendLinkerOptions() 971 auto *MDOpts = llvm::MDString::get(getLLVMContext(), Opt); in AddDetectMismatch() 972 LinkerOptionsMetadata.push_back(llvm::MDNode::get(getLLVMContext(), MDOpts)); in AddDetectMismatch() 978 auto *MDOpts = llvm::MDString::get(getLLVMContext(), Opt); in AddDependentLib() 979 LinkerOptionsMetadata.push_back(llvm::MDNode::get(getLLVMContext(), MDOpts)); in AddDependentLib() 1000 llvm::LLVMContext &Context = CGM.getLLVMContext(); in addLinkOptionsPostorder() 1083 llvm::MDNode::get(getLLVMContext(), in EmitModuleLinkOptions() [all …]
|
D | CGCUDANV.cpp | 91 CGF.getLLVMContext(), ArgTypes); in EmitDeviceStubBody()
|
D | CGExprConstant.cpp | 251 Elements.back() = llvm::ConstantInt::get(CGM.getLLVMContext(), Tmp); in AppendBitField() 271 Elements.push_back(llvm::ConstantInt::get(CGM.getLLVMContext(), Tmp)); in AppendBitField() 292 Elements.push_back(llvm::ConstantInt::get(CGM.getLLVMContext(), in AppendBitField() 532 llvm::ConstantStruct::getTypeForElements(CGM.getLLVMContext(), in Finalize() 588 : CGM(cgm), CGF(cgf), VMContext(cgm.getLLVMContext()) { in ConstExprEmitter()
|
D | CGStmt.cpp | 1745 Ty = llvm::IntegerType::get(getLLVMContext(), Size); in EmitAsmInputLValue() 1803 return llvm::MDNode::get(CGF.getLLVMContext(), Locs); in getAsmSrcLocInfo() 2046 ResultType = llvm::StructType::get(getLLVMContext(), ResultRegTypes); in EmitAsmStmt() 2070 llvm::MDNode::get(getLLVMContext(), in EmitAsmStmt() 2103 llvm::IntegerType::get(getLLVMContext(), (unsigned)ResSize)); in EmitAsmStmt() 2108 llvm::IntegerType::get(getLLVMContext(), (unsigned)TmpSize)); in EmitAsmStmt()
|
D | CodeGenTypes.h | 178 llvm::LLVMContext &getLLVMContext() { return TheModule.getContext(); } in getLLVMContext() function
|
D | CGVTables.cpp | 350 llvm::AttributeSet::get(getLLVMContext(), AttributeList); in EmitMustTailThunk() 870 llvm::MDString::get(getLLVMContext(), Out.str()), in EmitVTableBitSetEntries() 875 llvm::MDTuple::get(getLLVMContext(), BitsetOps); in EmitVTableBitSetEntries()
|
D | MicrosoftCXXABI.cpp | 344 llvm::StructType::create(CGM.getLLVMContext(), FieldTypes, TDTypeName); in getTypeDescriptorType() 367 CGM.getLLVMContext(), FieldTypes, "rtti.BaseClassDescriptor"); in getBaseClassDescriptorType() 376 CGM.getLLVMContext(), "rtti.ClassHierarchyDescriptor"); in getClassHierarchyDescriptorType() 392 CGM.getLLVMContext(), "rtti.CompleteObjectLocator"); in getCompleteObjectLocatorType() 583 CGM.getLLVMContext(), FieldTypes, "eh.CatchHandlerType"); in getCatchHandlerTypeType() 601 CGM.getLLVMContext(), FieldTypes, "eh.CatchableType"); in getCatchableTypeType() 620 llvm::StructType::create(CGM.getLLVMContext(), FieldTypes, CTATypeName); in getCatchableTypeArrayType() 633 ThrowInfoType = llvm::StructType::create(CGM.getLLVMContext(), FieldTypes, in getThrowInfoType() 1622 llvm::IntegerType::getInt32Ty(CGF.getLLVMContext()), in EmitVirtualDestructorCall() 2152 return llvm::StructType::get(CGM.getLLVMContext(), fields); in ConvertMemberPointerType() [all …]
|
D | CGBlocks.cpp | 85 CGM.getLLVMContext(), C.getTargetAddressSpace(LangAS::opencl_constant)); in buildBlockDescriptor() 347 llvm::StructType::get(CGM.getLLVMContext(), elementTypes, true); in computeBlockInfo() 459 llvm::StructType::get(CGM.getLLVMContext(), elementTypes, true); in computeBlockInfo() 566 llvm::StructType::get(CGM.getLLVMContext(), elementTypes, true); in computeBlockInfo() 2047 llvm::StructType::create(getLLVMContext(), in BuildByRefType()
|
D | CGAtomic.cpp | 632 llvm::Type *IPtrTy = llvm::IntegerType::get(CGF.getLLVMContext(), in AddDirectArgument() 929 llvm::IntegerType::get(getLLVMContext(), Size * 8); in EmitAtomicExpr() 1050 llvm::IntegerType::get(CGF.getLLVMContext(), AtomicSizeInBits); in emitCastToAtomicIntPointer() 1298 CGF.getLLVMContext(), in convertRValueToInt()
|
D | CGObjCRuntime.cpp | 140 llvm::Type::getIntNPtrTy(CGF.getLLVMContext(), in EmitValueForIvarAtOffset()
|
D | CodeGenFunction.h | 1058 new llvm::UnreachableInst(getLLVMContext(), UnreachableBlock); in getUnreachableBlock() 1074 llvm::LLVMContext &getLLVMContext() { return CGM.getLLVMContext(); } in getLLVMContext() function 1381 return llvm::BasicBlock::Create(getLLVMContext(), "", parent, before); 1383 return llvm::BasicBlock::Create(getLLVMContext(), name, parent, before);
|
D | CodeGenModule.h | 597 NoObjCARCExceptionsMetadata = llvm::MDNode::get(getLLVMContext(), None); in getNoObjCARCExceptionsMetadata() 613 llvm::LLVMContext &getLLVMContext() { return VMContext; } in getLLVMContext() function
|
D | CGClass.cpp | 951 llvm::Type::getInt8PtrTy(CGF.getLLVMContext(), DPT->getAddressSpace()); in emitMemcpyIR() 956 llvm::Type::getInt8PtrTy(CGF.getLLVMContext(), SPT->getAddressSpace()); in emitMemcpyIR() 2196 getLLVMContext(), llvm::MDString::get(getLLVMContext(), Out.str())); in EmitVTablePtrCheck()
|
/external/llvm/examples/Kaleidoscope/Orc/lazy_irgen/ |
D | toy.cpp | 687 LLVMContext& getLLVMContext() const { return Context; } in getLLVMContext() function in SessionContext 717 Session.getLLVMContext())), in IRGenContext() 718 Builder(Session.getLLVMContext()) { in IRGenContext() 726 LLVMContext& getLLVMContext() { return Session.getLLVMContext(); } in getLLVMContext() function in IRGenContext 755 return ConstantFP::get(C.getLLVMContext(), APFloat(Val)); in IRGen() 851 ConstantFP::get(C.getLLVMContext(), APFloat(0.0)); in IRGen() 858 BasicBlock *ThenBB = BasicBlock::Create(C.getLLVMContext(), "then", TheFunction); in IRGen() 859 BasicBlock *ElseBB = BasicBlock::Create(C.getLLVMContext(), "else"); in IRGen() 860 BasicBlock *MergeBB = BasicBlock::Create(C.getLLVMContext(), "ifcont"); in IRGen()
|
/external/llvm/examples/Kaleidoscope/Orc/initial/ |
D | toy.cpp | 687 LLVMContext& getLLVMContext() const { return Context; } in getLLVMContext() function in SessionContext 717 Session.getLLVMContext())), in IRGenContext() 718 Builder(Session.getLLVMContext()) { in IRGenContext() 726 LLVMContext& getLLVMContext() { return Session.getLLVMContext(); } in getLLVMContext() function in IRGenContext 755 return ConstantFP::get(C.getLLVMContext(), APFloat(Val)); in IRGen() 851 ConstantFP::get(C.getLLVMContext(), APFloat(0.0)); in IRGen() 858 BasicBlock *ThenBB = BasicBlock::Create(C.getLLVMContext(), "then", TheFunction); in IRGen() 859 BasicBlock *ElseBB = BasicBlock::Create(C.getLLVMContext(), "else"); in IRGen() 860 BasicBlock *MergeBB = BasicBlock::Create(C.getLLVMContext(), "ifcont"); in IRGen()
|
/external/llvm/examples/Kaleidoscope/Orc/lazy_codegen/ |
D | toy.cpp | 687 LLVMContext& getLLVMContext() const { return Context; } in getLLVMContext() function in SessionContext 717 Session.getLLVMContext())), in IRGenContext() 718 Builder(Session.getLLVMContext()) { in IRGenContext() 726 LLVMContext& getLLVMContext() { return Session.getLLVMContext(); } in getLLVMContext() function in IRGenContext 755 return ConstantFP::get(C.getLLVMContext(), APFloat(Val)); in IRGen() 851 ConstantFP::get(C.getLLVMContext(), APFloat(0.0)); in IRGen() 858 BasicBlock *ThenBB = BasicBlock::Create(C.getLLVMContext(), "then", TheFunction); in IRGen() 859 BasicBlock *ElseBB = BasicBlock::Create(C.getLLVMContext(), "else"); in IRGen() 860 BasicBlock *MergeBB = BasicBlock::Create(C.getLLVMContext(), "ifcont"); in IRGen()
|
/external/llvm/examples/Kaleidoscope/Orc/fully_lazy/ |
D | toy.cpp | 688 LLVMContext& getLLVMContext() const { return Context; } in getLLVMContext() function in SessionContext 718 Session.getLLVMContext())), in IRGenContext() 719 Builder(Session.getLLVMContext()) { in IRGenContext() 727 LLVMContext& getLLVMContext() { return Session.getLLVMContext(); } in getLLVMContext() function in IRGenContext 756 return ConstantFP::get(C.getLLVMContext(), APFloat(Val)); in IRGen() 852 ConstantFP::get(C.getLLVMContext(), APFloat(0.0)); in IRGen() 859 BasicBlock *ThenBB = BasicBlock::Create(C.getLLVMContext(), "then", TheFunction); in IRGen() 860 BasicBlock *ElseBB = BasicBlock::Create(C.getLLVMContext(), "else"); in IRGen() 861 BasicBlock *MergeBB = BasicBlock::Create(C.getLLVMContext(), "ifcont"); in IRGen() 1174 CompileCallbacks(LazyEmitLayer, CCMgrMemMgr, Session.getLLVMContext(), in KaleidoscopeJIT()
|