Searched refs:getContext (Results 201 - 225 of 708) sorted by relevance

1234567891011>>

/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/AArch64/
H A DAArch64SelectionDAGInfo.cpp35 Type *IntPtrTy = Type::getInt8PtrTy(*DAG.getContext());
46 .setLibCallee(CallingConv::C, Type::getVoidTy(*DAG.getContext()),
/freebsd-11-stable/contrib/llvm-project/llvm/lib/CodeGen/
H A DDwarfEHPrepare.cpp163 LLVMContext &Ctx = Fn.getContext();
203 LLVMContext &Ctx = Fn.getContext();
H A DPreISelIntrinsicLowering.cpp35 Type *Int32Ty = Type::getInt32Ty(F.getContext());
37 Type *Int8Ty = Type::getInt8Ty(F.getContext());
/freebsd-11-stable/contrib/llvm-project/llvm/lib/IR/
H A DInlineAsm.cpp47 LLVMContextImpl *pImpl = FTy->getContext().pImpl;
52 getType()->getContext().pImpl->InlineAsms.remove(this);
H A DInstructions.cpp88 if (VT->getElementType() != Type::getInt1Ty(Op0->getContext()))
96 } else if (Op0->getType() != Type::getInt1Ty(Op0->getContext())) {
362 auto *ContextImpl = getContext().pImpl;
485 MDBuilder MDB(getContext());
497 Type::getInt64Ty(getContext()), Val.udiv(APT).getLimitedValue())));
509 ConstantInt::get(Type::getInt64Ty(getContext()),
512 setMetadata(LLVMContext::MD_prof, MDNode::get(getContext(), Vals));
569 Type *BPTy = Type::getInt8PtrTy(BB->getContext());
664 Type *VoidTy = Type::getVoidTy(M->getContext());
665 Type *IntPtrTy = Type::getInt8PtrTy(M->getContext());
[all...]
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Transforms/Instrumentation/
H A DThreadSanitizer.cpp202 IntptrTy = DL.getIntPtrType(M.getContext());
204 IRBuilder<> IRB(M.getContext());
206 Attr = Attr.addAttribute(M.getContext(), AttributeList::FunctionIndex,
239 Type *Ty = Type::getIntNTy(M.getContext(), BitSize);
638 Type *Ty = Type::getIntNTy(IRB.getContext(), BitSize);
653 Type *Ty = Type::getIntNTy(IRB.getContext(), BitSize);
670 Type *Ty = Type::getIntNTy(IRB.getContext(), BitSize);
684 Type *Ty = Type::getIntNTy(IRB.getContext(), BitSize);
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/SystemZ/
H A DSystemZAsmPrinter.cpp128 SystemZMCInstLower Lower(MF->getContext(), *this);
324 .addExpr(getTLSGetOffset(MF->getContext()))
331 .addExpr(getTLSGetOffset(MF->getContext()))
338 .addExpr(getGlobalOffsetTable(MF->getContext()));
557 MCContext &Ctx = MF->getContext();
586 auto &Ctx = OutStreamer->getContext();
619 auto &Ctx = OutStreamer->getContext();
706 SystemZMCInstLower Lower(MF->getContext(), *this);
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Transforms/IPO/
H A DArgumentPromotion.cpp232 NF->setAttributes(AttributeList::get(F->getContext(), PAL.getFnAttributes(),
264 ConstantInt::get(Type::getInt32Ty(F->getContext()), 0), nullptr};
266 Idxs[1] = ConstantInt::get(Type::getInt32Ty(F->getContext()), i);
291 (ElTy->isStructTy() ? Type::getInt32Ty(F->getContext())
292 : Type::getInt64Ty(F->getContext()));
339 AttributeList::get(F->getContext(), CallPAL.getFnAttributes(),
394 Value *Idxs[2] = {ConstantInt::get(Type::getInt32Ty(F->getContext()), 0),
398 Idxs[1] = ConstantInt::get(Type::getInt32Ty(F->getContext()), i);
H A DCrossDSOCFI.cpp104 LLVMContext &Ctx = M.getContext();
162 MDBuilder(M.getContext()).createBranchWeights((1U << 20) - 1, 1);
H A DThinLTOBitcodeWriter.cpp97 GlobalMD = MDString::get(M.getContext(), NewName);
101 MetadataAsValue::get(M.getContext(), GlobalMD));
134 *MDNode::get(M.getContext(), {MD->getOperand(0), I->second}));
143 FunctionType::get(Type::getVoidTy(M.getContext()), false);
318 auto &Ctx = MergedM->getContext();
H A DLowerTypeTests.cpp390 IntegerType *Int1Ty = Type::getInt1Ty(M.getContext());
391 IntegerType *Int8Ty = Type::getInt8Ty(M.getContext());
392 PointerType *Int8PtrTy = Type::getInt8PtrTy(M.getContext());
393 ArrayType *Int8Arr0Ty = ArrayType::get(Type::getInt8Ty(M.getContext()), 0);
394 IntegerType *Int32Ty = Type::getInt32Ty(M.getContext());
396 IntegerType *Int64Ty = Type::getInt64Ty(M.getContext());
397 IntegerType *IntPtrTy = M.getDataLayout().getIntPtrType(M.getContext(), 0);
631 Constant *ByteArrayConst = ConstantDataArray::get(M.getContext(), BAB.Bytes);
732 return ConstantInt::getFalse(M.getContext());
737 return ConstantInt::getTrue(M.getContext());
[all...]
/freebsd-11-stable/contrib/llvm-project/llvm/utils/TableGen/GlobalISel/
H A DGIMatchDag.h92 GIMatchDagContext &getContext() const { return Ctx; } function in class:llvm::GIMatchDag
193 auto Obj = std::make_unique<T>(getContext(), std::forward<Args>(args)...);
/freebsd-11-stable/contrib/llvm-project/lldb/source/Plugins/ExpressionParser/Clang/
H A DIRForTarget.cpp357 ConstantInt::get(llvm::Type::getInt64Ty(m_module->getContext()),
366 MDNode *persistent_global_md = MDNode::get(m_module->getContext(), value_ref);
421 Type *i8_ptr_ty = Type::getInt8PtrTy(m_module->getContext());
422 Type *i32_ty = Type::getInt32Ty(m_module->getContext());
423 Type *i8_ty = Type::getInt8Ty(m_module->getContext());
850 // Type *sel_type = StructType::get(m_module->getContext());
852 Type *sel_ptr_type = Type::getInt8PtrTy(m_module->getContext());
856 type_array[0] = llvm::Type::getInt8PtrTy(m_module->getContext());
874 _objc_meth_var_name_, Type::getInt8PtrTy(m_module->getContext()));
1007 type_array[0] = llvm::Type::getInt8PtrTy(m_module->getContext());
[all...]
/freebsd-11-stable/contrib/llvm-project/clang/lib/CodeGen/
H A DCGObjCGNU.cpp240 CGM.getContext().getObjCEncodingForPropertyDecl(PD, Container);
290 CGM.getContext().getCharWidth());
303 ASTContext &Context = CGM.getContext();
604 CGM.getContext().getObjCEncodingForMethodDecl(M));
1132 ASTContext &Context = CGM.getContext();
1135 CGM.getContext().getObjCEncodingForPropertyDecl(property, OCD);
1163 ASTContext &Context = CGM.getContext();
1177 CGM.getContext().getCharWidth());
1227 IdentifierInfo &II = CGM.getContext().Idents.get(Name);
1228 TranslationUnitDecl *TUDecl = CGM.getContext()
[all...]
H A DCGCall.cpp166 prefix.push_back(CGT.getContext().getSizeType());
348 ? CGM.getContext().VoidPtrTy
414 ? CGM.getContext().VoidPtrTy
486 bool IsWindows = getContext().getTargetInfo().getTriple().isOSWindows();
489 if (getContext().getLangOpts().ObjCAutoRefCount &&
599 argTypes.push_back(CGT.getContext().getCanonicalParamType(arg.Ty));
697 getContext().VoidTy, /*instanceMethod=*/false, /*chainCall=*/false,
1006 CharUnits EltSize = CGF.getContext().getTypeSizeInChars(CAE->EltTy);
1022 auto Exp = getTypeExpansion(Ty, getContext());
1064 auto Exp = getTypeExpansion(Ty, getContext());
[all...]
/freebsd-11-stable/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/
H A DSValBuilder.cpp281 QualType PT = getContext().getPointerType(QualType(T, 0));
363 ASTContext &Ctx = getContext();
492 if (getContext().getTypeSize(castTy) >= getContext().getTypeSize(originalTy))
500 APSIntType ToType(getContext().getTypeSize(castTy),
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DLowerMemIntrinsics.cpp37 LLVMContext &Ctx = PreLoopBB->getContext();
146 LLVMContext &Ctx = PreLoopBB->getContext();
329 BasicBlock::Create(F->getContext(), "copy_backwards_loop", F, CopyForwardBB);
349 BasicBlock::Create(F->getContext(), "copy_forward_loop", F, ExitBB);
377 = BasicBlock::Create(F->getContext(), "loadstoreloop", F, NewBB);
H A DLocal.cpp202 MDBuilder(BB->getContext()).
284 MDBuilder(BB->getContext()).
340 new UnreachableInst(BB->getContext(), BB);
494 DII->setOperand(0, MetadataAsValue::get(DII->getContext(),
708 ConstantInt::get(Type::getInt32Ty(BA->getContext()), 1);
720 new UnreachableInst(PredBB->getContext(), PredBB);
1047 unsigned LoopMDKind = BB->getContext().getMDKindID("llvm.loop");
1063 new UnreachableInst(BB->getContext(), BB);
1478 LLVMContext &C = BB->getContext();
1510 auto *MDV = MetadataAsValue::getIfExists(V->getContext(),
[all...]
/freebsd-11-stable/contrib/llvm-project/llvm/include/llvm/IR/
H A DIntrinsicInst.h372 Attribute::getWithAlignment(getContext(), *Alignment));
377 Attribute::getWithAlignment(getContext(), Alignment));
437 BaseCL::getContext(), *Alignment));
442 BaseCL::getContext(), Alignment));
488 assert(V->getType() == Type::getInt8Ty(getContext()) &&
H A DInstrTypes.h977 return VectorType::get(Type::getInt1Ty(opnd_type->getContext()),
980 return Type::getInt1Ty(opnd_type->getContext());
1138 using Instruction::getContext;
1403 PAL = PAL.addAttribute(getContext(), i, Kind);
1410 PAL = PAL.addAttribute(getContext(), i, Attr);
1418 PAL = PAL.addParamAttribute(getContext(), ArgNo, Kind);
1426 PAL = PAL.addParamAttribute(getContext(), ArgNo, Attr);
1433 PAL = PAL.removeAttribute(getContext(), i, Kind);
1440 PAL = PAL.removeAttribute(getContext(), i, Kind);
1448 PAL = PAL.removeParamAttribute(getContext(), ArgN
[all...]
/freebsd-11-stable/contrib/llvm-project/llvm/lib/CodeGen/AsmPrinter/
H A DAsmPrinterInlineAsm.cpp77 MCContext &Context = MMI->getContext();
80 LLVMContext &LLVMCtx = MMI->getModule()->getContext();
303 MMI->getModule()->getContext().emitError(LocCookie, Msg.str());
464 MMI->getContext().registerInlineAsmLabel(Sym);
482 MMI->getModule()->getContext().emitError(LocCookie, Msg.str());
/freebsd-11-stable/contrib/llvm-project/llvm/lib/CodeGen/GlobalISel/
H A DCallLowering.cpp177 CCState CCInfo(F.getCallingConv(), F.isVarArg(), MF, ArgLocs, F.getContext());
198 F.getContext(), F.getCallingConv(), EVT(CurVT));
203 F.getContext(), F.getCallingConv(), CurVT);
415 CCState CCInfo1(CalleeCC, false, MF, ArgLocs1, F.getContext());
421 CCState CCInfo2(CallerCC, false, MF, ArgLocs2, F.getContext());
/freebsd-11-stable/contrib/llvm-project/clang/lib/Serialization/
H A DASTReaderStmt.cpp222 S->setConditionVariable(Record.getContext(), readDeclAs<VarDecl>());
245 S->setConditionVariable(Record.getContext(), readDeclAs<VarDecl>());
269 S->setConditionVariable(Record.getContext(), readDeclAs<VarDecl>());
287 S->setConditionVariable(Record.getContext(), readDeclAs<VarDecl>());
345 S->setDeclGroup(DeclGroupRef(DeclGroup::Create(Record.getContext(),
391 S->setOutputsAndInputsAndClobbers(Record.getContext(),
439 S->initialize(Record.getContext(), AsmStr, AsmToks,
584 E->setValue(Record.getContext(), Record.readAPInt());
590 E->setValue(Record.getContext(), Record.readAPInt());
598 E->setValue(Record.getContext(), Recor
[all...]
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstCombineCalls.cpp94 return Type::getInt32Ty(Ty->getContext());
103 IntegerType *BoolTy = Type::getInt1Ty(V->getContext());
169 IntegerType* IntType = IntegerType::get(MI->getContext(), Size<<3);
269 Type *ITy = IntegerType::get(MI->getContext(), Len*8); // n=1 -> i8.
736 Type *IntTy64 = Type::getInt64Ty(II.getContext());
779 Type *IntTy8 = Type::getInt8Ty(II.getContext());
780 Type *IntTy32 = Type::getInt32Ty(II.getContext());
859 Type *IntTy8 = Type::getInt8Ty(II.getContext());
860 Type *IntTy32 = Type::getInt32Ty(II.getContext());
898 Type *IntTy64 = Type::getInt64Ty(II.getContext());
[all...]
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/Mips/AsmParser/
H A DMipsAsmParser.cpp541 IsPicEnabled = getContext().getObjectFileInfo()->isPositionIndependent();
2123 MCSymbol *TmpLabel = getContext().createTempSymbol();
2124 const MCExpr *TmpExpr = MCSymbolRefExpr::create(TmpLabel, getContext());
2127 getContext(), IDLoc);
2169 getContext().getRegisterInfo()->getRegClass(
2702 getContext().getRegisterInfo()->isSuperOrSubRegisterEq(DstReg, SrcReg)) {
2917 SymExpr, getContext());
2919 SymExpr, getContext());
2928 MipsMCExpr::create(MipsMCExpr::MEK_GOT_CALL, SymExpr, getContext());
2937 getContext()
[all...]

Completed in 284 milliseconds

1234567891011>>