| /freebsd-12.1/contrib/llvm/lib/MC/ |
| H A D | MCObjectFileInfo.cpp | 54 EHFrameSection = Ctx->getMachOSection( in initMachOMCObjectFileInfo() 353 TLSBSSSection = Ctx->getELFSection( in initELFMCObjectFileInfo() 495 BSSSection = Ctx->getCOFFSection( in initCOFFMCObjectFileInfo() 499 TextSection = Ctx->getCOFFSection( in initCOFFMCObjectFileInfo() 505 DataSection = Ctx->getCOFFSection( in initCOFFMCObjectFileInfo() 509 ReadOnlySection = Ctx->getCOFFSection( in initCOFFMCObjectFileInfo() 691 DrectveSection = Ctx->getCOFFSection( in initCOFFMCObjectFileInfo() 695 PDataSection = Ctx->getCOFFSection( in initCOFFMCObjectFileInfo() 699 XDataSection = Ctx->getCOFFSection( in initCOFFMCObjectFileInfo() 711 TLSDataSection = Ctx->getCOFFSection( in initCOFFMCObjectFileInfo() [all …]
|
| /freebsd-12.1/contrib/llvm/lib/Object/ |
| H A D | WasmObjectFile.cpp | 72 if (Ctx.Ptr == Ctx.End) in readUint8() 78 if (Ctx.Ptr + 4 > Ctx.End) in readUint32() 86 if (Ctx.Ptr + 4 > Ctx.End) in readFloat32() 95 if (Ctx.Ptr + 8 > Ctx.End) in readFloat64() 259 Ctx.Ptr = Ctx.Start + 4; in WasmObjectFile() 291 Ctx.Ptr = Ctx.Start; in parseSection() 335 if (Ctx.Ptr != Ctx.End) in parseDylinkSection() 381 if (Ctx.Ptr != Ctx.End) in parseNameSection() 758 if (Ctx.Ptr != Ctx.End) in parseRelocSection() 807 if (Ctx.Ptr != Ctx.End) in parseTypeSection() [all …]
|
| /freebsd-12.1/contrib/llvm/tools/clang/lib/AST/ |
| H A D | NSAPI.cpp | 48 Sel = Ctx.Selectors.getUnarySelector(&Ctx.Idents.get("stringWithString")); in getNSStringSelector() 67 Sel= Ctx.Selectors.getUnarySelector(&Ctx.Idents.get("stringWithCString")); in getNSStringSelector() 70 Sel = Ctx.Selectors.getUnarySelector(&Ctx.Idents.get("initWithString")); in getNSStringSelector() 95 Sel = Ctx.Selectors.getNullarySelector(&Ctx.Idents.get("array")); in getNSArraySelector() 98 Sel = Ctx.Selectors.getUnarySelector(&Ctx.Idents.get("arrayWithArray")); in getNSArraySelector() 115 Sel = Ctx.Selectors.getUnarySelector(&Ctx.Idents.get("initWithArray")); in getNSArraySelector() 121 Sel = Ctx.Selectors.getUnarySelector(&Ctx.Idents.get("objectAtIndex")); in getNSArraySelector() 132 Sel = Ctx.Selectors.getUnarySelector(&Ctx.Idents.get("addObject")); in getNSArraySelector() 173 Sel = Ctx.Selectors.getNullarySelector(&Ctx.Idents.get("dictionary")); in getNSDictionarySelector() 274 Sel = Ctx.Selectors.getUnarySelector(&Ctx.Idents.get("addObject")); in getNSSetSelector() [all …]
|
| H A D | QualTypeNames.cpp | 34 const ASTContext &Ctx, 53 const ASTContext &Ctx, const Decl *decl, 74 Ctx, NNS, WithGlobalNsPrefix); in getFullyQualifiedTemplateName() 137 Ctx, Arg, WithGlobalNsPrefix); in getFullyQualifiedTemplateType() 168 Ctx, Arg, WithGlobalNsPrefix); in getFullyQualifiedTemplateType() 230 Ctx, in getFullyQualifiedNestedNameSpecifier() 353 Ctx, in createNestedNameSpecifier() 363 Ctx, in createNestedNameSpecifier() 379 QT = Ctx.getPointerType(QT); in getFullyQualifiedType() 381 QT = Ctx.getQualifiedType(QT, Quals); in getFullyQualifiedType() [all …]
|
| H A D | ExprClassification.cpp | 44 if (!Ctx.getLangOpts().CPlusPlus) { in ClassifyImpl() 202 return ClassifyInternal(Ctx, in ClassifyInternal() 307 return ClassifyUnnamed(Ctx, cast<CallExpr>(E)->getCallReturnType(Ctx)); in ClassifyInternal() 351 return ClassifyUnnamed(Ctx, in ClassifyInternal() 476 if (E->getType() == Ctx.UnknownAnyTy) in ClassifyMemberExpr() 481 if (!Ctx.getLangOpts().CPlusPlus) { in ClassifyMemberExpr() 491 return ClassifyInternal(Ctx, Base); in ClassifyMemberExpr() 533 assert(Ctx.getLangOpts().CPlusPlus && in ClassifyBinaryOp() 569 assert(Ctx.getLangOpts().CPlusPlus && in ClassifyConditional() 633 if (Ctx.getLangOpts().OpenCL && in IsModifiable() [all …]
|
| H A D | ScanfFormatString.cpp | 239 return ArgType::PtrTo(Ctx.IntTy); in getArgType() 243 return ArgType::PtrTo(Ctx.ShortTy); in getArgType() 245 return ArgType::PtrTo(Ctx.LongTy); in getArgType() 248 return ArgType::PtrTo(Ctx.LongLongTy); in getArgType() 259 return ArgType::PtrTo(Ctx.LongLongTy); in getArgType() 320 return ArgType::PtrTo(Ctx.FloatTy); in getArgType() 322 return ArgType::PtrTo(Ctx.DoubleTy); in getArgType() 375 return ArgType::PtrTo(Ctx.IntTy); in getArgType() 379 return ArgType::PtrTo(Ctx.ShortTy); in getArgType() 381 return ArgType::PtrTo(Ctx.LongTy); in getArgType() [all …]
|
| H A D | PrintfFormatString.cpp | 472 return Ctx.IntTy; in getScalarArgType() 478 return Ctx.IntTy; in getScalarArgType() 488 return Ctx.LongLongTy; in getScalarArgType() 490 return Ctx.IntTy; in getScalarArgType() 498 return Ctx.LongLongTy; in getScalarArgType() 524 return Ctx.UnsignedIntTy; in getScalarArgType() 554 return Ctx.LongDoubleTy; in getScalarArgType() 555 return Ctx.DoubleTy; in getScalarArgType() 593 return ArgType(Ctx.getPointerType(Ctx.UnsignedShortTy.withConst()), in getScalarArgType() 602 return ArgType(Ctx.getPointerType(Ctx.UnsignedShortTy.withConst()), in getScalarArgType() [all …]
|
| /freebsd-12.1/contrib/llvm/lib/Target/AVR/MCTargetDesc/ |
| H A D | AVRAsmBackend.cpp | 49 if (Ctx) { in signed_width() 67 if (Ctx) { in unsigned_width() 194 MCContext *Ctx = nullptr) { in fixup() argument 204 MCContext *Ctx = nullptr) { in lo8() argument 206 ldi::fixup(Size, Fixup, Value, Ctx); in lo8() 210 MCContext *Ctx = nullptr) { in hi8() argument 212 ldi::fixup(Size, Fixup, Value, Ctx); in hi8() 216 MCContext *Ctx = nullptr) { in hh8() argument 218 ldi::fixup(Size, Fixup, Value, Ctx); in hh8() 222 MCContext *Ctx = nullptr) { in ms8() argument [all …]
|
| /freebsd-12.1/contrib/llvm/tools/clang/lib/StaticAnalyzer/Checkers/ |
| H A D | LocalizationChecker.cpp | 163 &Ctx.Idents.get("initWithTitle"), &Ctx.Idents.get("image"), in initUIMethods() 167 &Ctx.Idents.get("initWithTitle"), &Ctx.Idents.get("image"), in initUIMethods() 196 &Ctx.Idents.get("buttonWithTitle"), &Ctx.Idents.get("image"), in initUIMethods() 197 &Ctx.Idents.get("target"), &Ctx.Idents.get("action")}; in initUIMethods() 204 &Ctx.Idents.get("buttonWithTitle"), &Ctx.Idents.get("target"), in initUIMethods() 234 &Ctx.Idents.get("actionWithTitle"), &Ctx.Idents.get("style"), in initUIMethods() 282 &Ctx.Idents.get("setLabel"), &Ctx.Idents.get("forSegment")}; in initUIMethods() 362 &Ctx.Idents.get("initWithName"), &Ctx.Idents.get("target"), in initUIMethods() 440 &Ctx.Idents.get("order"), &Ctx.Idents.get("handler")}; in initUIMethods() 553 &Ctx.Idents.get("initWithTitle"), &Ctx.Idents.get("style"), in initUIMethods() [all …]
|
| H A D | BasicObjCFoundationChecks.cpp | 240 ASTContext &Ctx = C.getASTContext(); in checkPreObjCMessage() local 243 getKeywordSelector(Ctx, "compare"), in checkPreObjCMessage() 267 ASTContext &Ctx = C.getASTContext(); in checkPreObjCMessage() local 295 ASTContext &Ctx = C.getASTContext(); in checkPreObjCMessage() local 400 return Ctx.getTypeSize(T); in GetCFNumberSize() 435 ASTContext &Ctx = C.getASTContext(); in checkPreStmt() local 437 ICreate = &Ctx.Idents.get("CFNumberCreate"); in checkPreStmt() 613 ASTContext &Ctx = C.getASTContext(); in checkPreObjCMessage() local 617 drainS = GetNullarySelector("drain", Ctx); in checkPreObjCMessage() 722 ASTContext &Ctx = C.getASTContext(); in checkPreObjCMessage() local [all …]
|
| /freebsd-12.1/contrib/llvm/tools/clang/lib/Analysis/ |
| H A D | ThreadSafetyCommon.cpp | 104 CallingContext Ctx(nullptr, D); in translateAttrExpr() local 118 Ctx.FunArgs = CE->getArgs(); in translateAttrExpr() 122 Ctx.FunArgs = CE->getArgs(); in translateAttrExpr() 125 Ctx.SelfArg = DeclExp; in translateAttrExpr() 134 Ctx.SelfArg = &SelfDRE; in translateAttrExpr() 249 Ctx); in translate() 284 if (Ctx && Ctx->FunArgs && FD == Ctx->AttrDecl->getCanonicalDecl()) { in translateDeclRefExpr() 286 assert(I < Ctx->NumArgs); in translateDeclRefExpr() 287 return translate(Ctx->FunArgs[I], Ctx->Prev); in translateDeclRefExpr() 301 if (Ctx && Ctx->SelfArg) in translateCXXThisExpr() [all …]
|
| /freebsd-12.1/contrib/llvm/include/llvm/MC/ |
| H A D | MCExpr.h | 463 return create(Add, LHS, RHS, Ctx); in createAdd() 468 return create(And, LHS, RHS, Ctx); in createAnd() 473 return create(Div, LHS, RHS, Ctx); in createDiv() 478 return create(EQ, LHS, RHS, Ctx); in createEQ() 483 return create(GT, LHS, RHS, Ctx); in createGT() 488 return create(GTE, LHS, RHS, Ctx); in createGTE() 498 return create(LOr, LHS, RHS, Ctx); in createLOr() 503 return create(LT, LHS, RHS, Ctx); in createLT() 508 return create(LTE, LHS, RHS, Ctx); in createLTE() 523 return create(NE, LHS, RHS, Ctx); in createNE() [all …]
|
| /freebsd-12.1/contrib/llvm/lib/Target/X86/AsmParser/ |
| H A D | X86AsmInstrumentation.cpp | 384 InstrumentMOVSImpl(AccessSize, Ctx, Out); in InstrumentMOVS() 550 unsigned FrameReg = GetFrameReg(Ctx, Out); in InstrumentMemOperandPrologue() 585 unsigned FrameReg = GetFrameReg(Ctx, Out); in InstrumentMemOperandEpilogue() 662 MCSymbol *DoneSym = Ctx.createTempSymbol(); in InstrumentMemOperandSmall() 737 MCSymbol *DoneSym = Ctx.createTempSymbol(); in InstrumentMemOperandLarge() 751 MCSymbol *DoneSym = Ctx.createTempSymbol(); in InstrumentMOVSImpl() 824 EmitAdjustRSP(Ctx, Out, -128); in InstrumentMemOperandPrologue() 843 EmitAdjustRSP(Ctx, Out, 128); in InstrumentMemOperandEpilogue() 936 MCSymbol *DoneSym = Ctx.createTempSymbol(); in InstrumentMemOperandSmall() 1012 MCSymbol *DoneSym = Ctx.createTempSymbol(); in InstrumentMemOperandLarge() [all …]
|
| /freebsd-12.1/contrib/llvm/tools/clang/lib/StaticAnalyzer/Checkers/MPI-Checker/ |
| H A D | MPIChecker.cpp | 40 ProgramStateRef State = Ctx.getState(); in checkDoubleNonblocking() 48 Ctx.addTransition(ErrorNode->getState(), ErrorNode); in checkDoubleNonblocking() 53 Ctx.addTransition(State); in checkDoubleNonblocking() 75 ProgramStateRef State = Ctx.getState(); in checkUnmatchedWaits() 95 Ctx.addTransition(State); in checkUnmatchedWaits() 97 Ctx.addTransition(State, ErrorNode); in checkUnmatchedWaits() 103 ProgramStateRef State = Ctx.getState(); in checkMissingWaits() 129 Ctx.addTransition(State); in checkMissingWaits() 131 Ctx.addTransition(State, ErrorNode); in checkMissingWaits() 165 Ctx.getState(), SuperRegion, in allRegionsUsedByWait() [all …]
|
| H A D | MPIChecker.h | 36 void checkPreCall(const CallEvent &CE, CheckerContext &Ctx) const { in checkPreCall() argument 37 dynamicInit(Ctx); in checkPreCall() 38 checkUnmatchedWaits(CE, Ctx); in checkPreCall() 39 checkDoubleNonblocking(CE, Ctx); in checkPreCall() 43 dynamicInit(Ctx); in checkDeadSymbols() 44 checkMissingWaits(SymReaper, Ctx); in checkDeadSymbols() 47 void dynamicInit(CheckerContext &Ctx) const { in dynamicInit() argument 51 .reset(new MPIFunctionClassifier{Ctx.getASTContext()}); in dynamicInit() 68 clang::ento::CheckerContext &Ctx) const; 74 clang::ento::CheckerContext &Ctx) const; [all …]
|
| /freebsd-12.1/contrib/llvm/lib/Target/AArch64/MCTargetDesc/ |
| H A D | AArch64ELFObjectWriter.cpp | 134 Ctx.reportError(Fixup.getLoc(), in getRelocType() 142 Ctx.reportError(Fixup.getLoc(), in getRelocType() 164 Ctx.reportError(Fixup.getLoc(), in getRelocType() 198 Ctx.reportError(Fixup.getLoc(), in getRelocType() 222 Ctx.reportError(Fixup.getLoc(), in getRelocType() 237 Ctx.reportError(Fixup.getLoc(), in getRelocType() 252 Ctx.reportError(Fixup.getLoc(), in getRelocType() 311 Ctx.reportError(Fixup.getLoc(), in getRelocType() 356 Ctx.reportError(Fixup.getLoc(), in getRelocType() 371 Ctx.reportError(Fixup.getLoc(), in getRelocType() [all …]
|
| /freebsd-12.1/contrib/llvm/tools/clang/lib/CodeGen/ |
| H A D | CGLoopInfo.cpp | 56 Args.push_back(MDNode::get(Ctx, Vals)); in createMetadata() 64 Args.push_back(MDNode::get(Ctx, Vals)); in createMetadata() 72 Args.push_back(MDNode::get(Ctx, Vals)); in createMetadata() 80 Args.push_back(MDNode::get(Ctx, Vals)); in createMetadata() 89 Args.push_back(MDNode::get(Ctx, Vals)); in createMetadata() 102 Args.push_back(MDNode::get(Ctx, Vals)); in createMetadata() 115 Args.push_back(MDNode::get(Ctx, Vals)); in createMetadata() 123 Args.push_back(MDNode::get(Ctx, Vals)); in createMetadata() 129 Ctx, {MDString::get(Ctx, "llvm.loop.parallel_accesses"), AccGroup})); in createMetadata() 137 Args.push_back(MDNode::get(Ctx, Vals)); in createMetadata() [all …]
|
| H A D | ObjectFilePCHContainerOperations.cpp | 47 ASTContext *Ctx; member in __anon266401a60111::PCHContainerGenerator 63 ASTContext &Ctx; member 65 : DI(DI), Ctx(Ctx) {} in DebugTypeVisitor() 86 QualType QualTy = Ctx.getTypeDeclType(D); in VisitTypeDecl() 124 ArgTypes.push_back(Ctx.getObjCSelType()); in VisitObjCMethodDecl() 142 OutputFileName(OutputFileName), Ctx(nullptr), in PCHContainerGenerator() 165 assert(!Ctx && "initialized multiple times"); in Initialize() 167 Ctx = &Context; in Initialize() 238 void HandleTranslationUnit(ASTContext &Ctx) override { in HandleTranslationUnit() argument 266 auto Triple = Ctx.getTargetInfo().getTriple(); in HandleTranslationUnit() [all …]
|
| H A D | CGNonTrivialStruct.cpp | 28 return FD->getBitWidthValue(Ctx); in getFieldSize() 29 return Ctx.getTypeSize(FT); in getFieldSize() 37 StructVisitor(ASTContext &Ctx) : Ctx(Ctx) {} in StructVisitor() 74 ASTContext &Ctx; member 83 CopyStructVisitor(ASTContext &Ctx) : StructVisitor<Derived>(Ctx) {} in CopyStructVisitor() 308 QualType ParamTy = Ctx.getPointerType(Ctx.VoidPtrTy); in getFunctionInfo() 312 Ctx, nullptr, SourceLocation(), &Ctx.Idents.get(ValNameStr[I]), ParamTy, in getFunctionInfo() 465 Ctx, Ctx.getTranslationUnitDecl(), SourceLocation(), SourceLocation(), in getFunction() 466 II, Ctx.getFunctionType(Ctx.VoidTy, llvm::None, {}), nullptr, in getFunction() 510 GenBinaryFunc(ASTContext &Ctx) : CopyStructVisitor<Derived, IsMove>(Ctx) {} in GenBinaryFunc() [all …]
|
| /freebsd-12.1/contrib/llvm/tools/clang/include/clang/StaticAnalyzer/Core/PathSensitive/ |
| H A D | SMTConv.h | 330 Ctx.getTypeSize(FromTy)); in getCastExpr() 351 *RetTy = Ctx.BoolTy; in getBinExpr() 359 *RetTy = Ctx.getPointerDiffType(); in getBinExpr() 544 NewInt = Int.extend(Ctx.getTypeSize(Ctx.BoolTy)); in fixAPSInt() 580 uint64_t LBitWidth = Ctx.getTypeSize(LTy); in doTypeConversion() 581 uint64_t RBitWidth = Ctx.getTypeSize(RTy); in doTypeConversion() 603 assert((Ctx.getTypeSize(LTy) == Ctx.getTypeSize(RTy)) && in doTypeConversion() 634 uint64_t LBitWidth = Ctx.getTypeSize(LTy); in doIntTypeConversion() 635 uint64_t RBitWidth = Ctx.getTypeSize(RTy); in doIntTypeConversion() 717 uint64_t LBitWidth = Ctx.getTypeSize(LTy); in doFloatTypeConversion() [all …]
|
| /freebsd-12.1/contrib/llvm/tools/clang/lib/ARCMigrate/ |
| H A D | TransEmptyStatementsAndDealloc.cpp | 45 SourceManager &SM = Ctx.getSourceManager(); in isEmptyARCMTMacroStatement() 79 ASTContext &Ctx; member in __anoneda57f1d0111::EmptyChecker 84 : Ctx(ctx), MacroLocs(macroLocs) { } in EmptyChecker() 103 if (hasSideEffects(condE, Ctx)) in VisitIfStmt() 115 if (hasSideEffects(condE, Ctx)) in VisitWhileStmt() 125 if (hasSideEffects(condE, Ctx)) in VisitDoStmt() 135 if (hasSideEffects(Exp, Ctx)) in VisitObjCForCollectionStmt() 172 ASTContext &getContext() { return Pass.Ctx; } in getContext() 189 if (!EmptyChecker(Ctx, MacroLocs).Visit(I)) in isBodyEmpty() 196 ASTContext &Ctx = pass.Ctx; in cleanupDeallocOrFinalize() local [all …]
|
| /freebsd-12.1/contrib/llvm/tools/llvm-readobj/ |
| H A D | Win64EHDumper.cpp | 115 static std::string formatSymbol(const Dumper::Context &Ctx, in formatSymbol() argument 122 if (!Ctx.ResolveSymbol(Section, Offset, Symbol, Ctx.UserData)) { in formatSymbol() 148 Ctx.ResolveSymbol(Section, Offset, Symbol, Ctx.UserData)) in resolveRelocation() 159 ResolvedSection = Ctx.COFF.getCOFFSection(**SI); in resolveRelocation() 281 void Dumper::printRuntimeFunction(const Context &Ctx, in printRuntimeFunction() argument 293 error(Ctx.COFF.getSectionContents(XData, Contents)); in printRuntimeFunction() 302 printUnwindInfo(Ctx, XData, Offset, *UI); in printRuntimeFunction() 305 void Dumper::printData(const Context &Ctx) { in printData() argument 306 for (const auto &Section : Ctx.COFF.sections()) { in printData() 315 error(Ctx.COFF.getSectionContents(PData, Contents)); in printData() [all …]
|
| /freebsd-12.1/contrib/llvm/lib/MC/MCDisassembler/ |
| H A D | MCExternalSymbolizer.cpp | 94 MCSymbol *Sym = Ctx.getOrCreateSymbol(Name); in tryAddingSymbolicOperand() 95 Add = MCSymbolRefExpr::create(Sym, Ctx); in tryAddingSymbolicOperand() 105 MCSymbol *Sym = Ctx.getOrCreateSymbol(Name); in tryAddingSymbolicOperand() 106 Sub = MCSymbolRefExpr::create(Sym, Ctx); in tryAddingSymbolicOperand() 114 Off = MCConstantExpr::create(SymbolicOp.Value, Ctx); in tryAddingSymbolicOperand() 120 LHS = MCBinaryExpr::createSub(Add, Sub, Ctx); in tryAddingSymbolicOperand() 122 LHS = MCUnaryExpr::createMinus(Sub, Ctx); in tryAddingSymbolicOperand() 124 Expr = MCBinaryExpr::createAdd(LHS, Off, Ctx); in tryAddingSymbolicOperand() 129 Expr = MCBinaryExpr::createAdd(Add, Off, Ctx); in tryAddingSymbolicOperand() 136 Expr = MCConstantExpr::create(0, Ctx); in tryAddingSymbolicOperand() [all …]
|
| /freebsd-12.1/contrib/llvm/lib/Target/AArch64/Disassembler/ |
| H A D | AArch64ExternalSymbolizer.cpp | 172 MCSymbol *Sym = Ctx.getOrCreateSymbol(Name); in tryAddingSymbolicOperand() 175 Add = MCSymbolRefExpr::create(Sym, Variant, Ctx); in tryAddingSymbolicOperand() 177 Add = MCSymbolRefExpr::create(Sym, Ctx); in tryAddingSymbolicOperand() 187 MCSymbol *Sym = Ctx.getOrCreateSymbol(Name); in tryAddingSymbolicOperand() 188 Sub = MCSymbolRefExpr::create(Sym, Ctx); in tryAddingSymbolicOperand() 196 Off = MCConstantExpr::create(SymbolicOp.Value, Ctx); in tryAddingSymbolicOperand() 202 LHS = MCBinaryExpr::createSub(Add, Sub, Ctx); in tryAddingSymbolicOperand() 204 LHS = MCUnaryExpr::createMinus(Sub, Ctx); in tryAddingSymbolicOperand() 206 Expr = MCBinaryExpr::createAdd(LHS, Off, Ctx); in tryAddingSymbolicOperand() 211 Expr = MCBinaryExpr::createAdd(Add, Off, Ctx); in tryAddingSymbolicOperand() [all …]
|
| /freebsd-12.1/contrib/llvm/lib/Transforms/IPO/ |
| H A D | CrossDSOCFI.cpp | 108 LLVMContext &Ctx = M.getContext(); in buildCFICheck() local 110 "__cfi_check", Type::getVoidTy(Ctx), Type::getInt64Ty(Ctx), in buildCFICheck() 111 Type::getInt8PtrTy(Ctx), Type::getInt8PtrTy(Ctx)); in buildCFICheck() 131 BasicBlock *BB = BasicBlock::Create(Ctx, "entry", F); in buildCFICheck() 132 BasicBlock *ExitBB = BasicBlock::Create(Ctx, "exit", F); in buildCFICheck() 134 BasicBlock *TrapBB = BasicBlock::Create(Ctx, "fail", F); in buildCFICheck() 137 "__cfi_check_fail", Type::getVoidTy(Ctx), Type::getInt8PtrTy(Ctx), in buildCFICheck() 138 Type::getInt8PtrTy(Ctx)); in buildCFICheck() 148 ConstantInt *CaseTypeId = ConstantInt::get(Type::getInt64Ty(Ctx), TypeId); in buildCFICheck() 149 BasicBlock *TestBB = BasicBlock::Create(Ctx, "test", F); in buildCFICheck() [all …]
|