/freebsd-11-stable/contrib/llvm-project/llvm/lib/Transforms/Utils/ |
H A D | LowerInvoke.cpp | 50 if (InvokeInst *II = dyn_cast<InvokeInst>(BB.getTerminator())) { 51 SmallVector<Value *, 16> CallArgs(II->arg_begin(), II->arg_end()); 53 II->getOperandBundlesAsDefs(OpBundles); 56 CallInst::Create(II->getFunctionType(), II->getCalledValue(), 57 CallArgs, OpBundles, "", II); 58 NewCall->takeName(II); 59 NewCall->setCallingConv(II->getCallingConv()); 60 NewCall->setAttributes(II [all...] |
H A D | DemoteRegToStack.cpp | 46 if (InvokeInst *II = dyn_cast<InvokeInst>(&I)) { 47 if (!II->getNormalDest()->getSinglePredecessor()) { 48 unsigned SuccNum = GetSuccessorNumber(II->getParent(), II->getNormalDest()); 49 assert(isCriticalEdge(II, SuccNum) && "Expected a critical edge!"); 50 BasicBlock *BB = SplitCriticalEdge(II, SuccNum); 99 InvokeInst &II = cast<InvokeInst>(I); local 100 InsertPt = II.getNormalDest()->getFirstInsertionPt(); 132 if (InvokeInst *II = dyn_cast<InvokeInst>(P->getIncomingValue(i))) { 133 assert(II [all...] |
/freebsd-11-stable/contrib/llvm-project/compiler-rt/lib/fuzzer/ |
H A D | FuzzerCorpus.h | 51 for (auto II : Inputs) 52 delete II; 57 for (auto II : Inputs) 58 Res += II->U.size(); 63 for (auto II : Inputs) 64 Res += !II->U.empty(); 69 for (auto II : Inputs) 70 Res = std::max(Res, II->U.size()); 75 return std::count_if(Inputs.begin(), Inputs.end(), [](const InputInfo *II) { 76 return II 96 InputInfo &II = *Inputs.back(); local 157 Replace(InputInfo *II, const Unit &U) argument 171 InputInfo &II = *Inputs[ChooseUnitIdxToMutate(Rand)]; local [all...] |
/freebsd-11-stable/contrib/llvm-project/clang/lib/Analysis/ |
H A D | ObjCNoReturn.cpp | 20 static bool isSubclass(const ObjCInterfaceDecl *Class, IdentifierInfo *II) { argument 23 if (Class->getIdentifier() == II) 25 return isSubclass(Class->getSuperClass(), II); 33 SmallVector<IdentifierInfo*, 3> II; local 36 II.push_back(&C.Idents.get("raise")); 37 II.push_back(&C.Idents.get("format")); 39 C.Selectors.getSelector(II.size(), &II[0]); 42 II.push_back(&C.Idents.get("arguments")); 44 C.Selectors.getSelector(II [all...] |
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Transforms/InstCombine/ |
H A D | InstCombineCalls.cpp | 292 static Value *simplifyX86immShift(const IntrinsicInst &II, argument 297 switch (II.getIntrinsicID()) { 363 auto Arg1 = II.getArgOperand(1); 390 auto Vec = II.getArgOperand(0); 426 static Value *simplifyX86varShift(const IntrinsicInst &II, argument 431 switch (II.getIntrinsicID()) { 473 auto *CShift = dyn_cast<Constant>(II.getArgOperand(1)); 477 auto Vec = II.getArgOperand(0); 478 auto VT = cast<VectorType>(II.getType()); 550 static Value *simplifyX86pack(IntrinsicInst &II, argument 616 simplifyX86movmsk(const IntrinsicInst &II, InstCombiner::BuilderTy &Builder) argument 646 simplifyX86addcarry(const IntrinsicInst &II, InstCombiner::BuilderTy &Builder) argument 673 simplifyX86insertps(const IntrinsicInst &II, InstCombiner::BuilderTy &Builder) argument 732 simplifyX86extrq(IntrinsicInst &II, Value *Op0, ConstantInt *CILength, ConstantInt *CIIndex, InstCombiner::BuilderTy &Builder) argument 826 simplifyX86insertq(IntrinsicInst &II, Value *Op0, Value *Op1, APInt APLength, APInt APIndex, InstCombiner::BuilderTy &Builder) argument 921 simplifyX86pshufb(const IntrinsicInst &II, InstCombiner::BuilderTy &Builder) argument 968 simplifyX86vpermilvar(const IntrinsicInst &II, InstCombiner::BuilderTy &Builder) argument 1018 simplifyX86vpermv(const IntrinsicInst &II, InstCombiner::BuilderTy &Builder) argument 1056 simplifyMaskedLoad(IntrinsicInst &II) argument 1082 simplifyMaskedStore(IntrinsicInst &II) argument 1118 simplifyMaskedGather(IntrinsicInst &II) argument 1128 simplifyMaskedScatter(IntrinsicInst &II) argument 1162 simplifyInvariantGroupIntrinsic(IntrinsicInst &II, InstCombiner &IC) argument 1188 foldCttzCtlz(IntrinsicInst &II, InstCombiner &IC) argument 1264 foldCtpop(IntrinsicInst &II, InstCombiner &IC) argument 1304 simplifyX86MaskedLoad(IntrinsicInst &II, InstCombiner &IC) argument 1340 simplifyX86MaskedStore(IntrinsicInst &II, InstCombiner &IC) argument 1406 simplifyNeonTbl1(const IntrinsicInst &II, InstCombiner::BuilderTy &Builder) argument 1445 simplifyNeonVld1(const IntrinsicInst &II, unsigned MemAlign, InstCombiner::BuilderTy &Builder) argument 1508 SimplifyNVVMIntrinsic(IntrinsicInst *II, InstCombiner &IC) argument 1775 foldIntrinsicWithOverflowCommon(IntrinsicInst *II) argument 1802 IntrinsicInst *II = dyn_cast<IntrinsicInst>(&CI); local 4212 visitInvokeInst(InvokeInst &II) argument 4287 IntrinsicInst *II = dyn_cast<IntrinsicInst>(U); local [all...] |
/freebsd-11-stable/contrib/llvm-project/clang/include/clang/Analysis/ |
H A D | SelectorExtras.h | 21 SmallVector<IdentifierInfo *, 10> II({&Ctx.Idents.get(IIs)...}); 23 return Ctx.Selectors.getSelector(II.size(), &II[0]);
|
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Transforms/Scalar/ |
H A D | LowerConstantIntrinsics.cpp | 43 static Value *lowerIsConstantIntrinsic(IntrinsicInst *II) { argument 44 Value *Op = II->getOperand(0); 46 return isa<Constant>(Op) ? ConstantInt::getTrue(II->getType()) 47 : ConstantInt::getFalse(II->getType()); 50 static bool replaceConditionalBranchesOnConstant(Instruction *II, argument 54 replaceAndRecursivelySimplify(II, NewValue, nullptr, nullptr, nullptr, 94 IntrinsicInst *II = dyn_cast<IntrinsicInst>(&I); local 95 if (!II) 97 switch (II->getIntrinsicID()) { 113 IntrinsicInst *II local [all...] |
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/NVPTX/ |
H A D | NVPTXTargetTransformInfo.cpp | 24 static bool readsThreadIndex(const IntrinsicInst *II) { argument 25 switch (II->getIntrinsicID()) { 34 static bool readsLaneId(const IntrinsicInst *II) { argument 35 return II->getIntrinsicID() == Intrinsic::nvvm_read_ptx_sreg_laneid; 39 static bool isNVVMAtomic(const IntrinsicInst *II) { argument 40 switch (II->getIntrinsicID()) { 95 if (const IntrinsicInst *II = dyn_cast<IntrinsicInst>(I)) { 97 if (readsThreadIndex(II) || readsLaneId(II)) 101 if (isNVVMAtomic(II)) [all...] |
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Transforms/Coroutines/ |
H A D | CoroCleanup.cpp | 62 if (auto *II = dyn_cast<IntrinsicInst>(&I)) { 63 switch (II->getIntrinsicID()) { 67 II->replaceAllUsesWith(II->getArgOperand(1)); 70 II->replaceAllUsesWith(II->getArgOperand(1)); 73 II->replaceAllUsesWith(ConstantInt::getTrue(Context)); 78 II->replaceAllUsesWith(ConstantTokenNone::get(Context)); 81 lowerSubFn(Builder, cast<CoroSubFnInst>(II)); 84 II [all...] |
/freebsd-11-stable/contrib/llvm-project/clang/lib/Lex/ |
H A D | PPMacroExpansion.cpp | 62 Preprocessor::getLocalMacroDirectiveHistory(const IdentifierInfo *II) const { 63 if (!II->hadMacroDefinition()) 65 auto Pos = CurSubmoduleState->Macros.find(II); 70 void Preprocessor::appendMacroDirective(IdentifierInfo *II, MacroDirective *MD){ argument 74 MacroState &StoredMD = CurSubmoduleState->Macros[II]; 78 StoredMD.overrideActiveModuleMacros(*this, II); 84 PendingModuleMacroNames.push_back(II); 88 II->setHasMacroDefinition(true); 89 if (!MD->isDefined() && LeafModuleMacros.find(II) == LeafModuleMacros.end()) 90 II 95 setLoadedMacroDirective(IdentifierInfo *II, MacroDirective *ED, MacroDirective *MD) argument 131 addModuleMacro(Module *Mod, IdentifierInfo *II, MacroInfo *Macro, ArrayRef<ModuleMacro *> Overrides, bool &New) argument 173 getModuleMacro(Module *Mod, IdentifierInfo *II) argument 181 updateModuleMacroInfo(const IdentifierInfo *II, ModuleMacroInfo &Info) argument 259 dumpMacroInfo(const IdentifierInfo *II) argument 403 IdentifierInfo *II = MI->getReplacementToken(0).getIdentifierInfo(); local [all...] |
/freebsd-11-stable/contrib/llvm-project/llvm/lib/CodeGen/ |
H A D | ExpandReductions.cpp | 83 if (auto *II = dyn_cast<IntrinsicInst>(&I)) { 84 switch (II->getIntrinsicID()) { 99 if (TTI->shouldExpandReduction(II)) 100 Worklist.push_back(II); 107 for (auto *II : Worklist) { 109 isa<FPMathOperator>(II) ? II->getFastMathFlags() : FastMathFlags{}; 110 Intrinsic::ID ID = II->getIntrinsicID(); 114 IRBuilder<> Builder(II); 123 Value *Acc = II [all...] |
H A D | MIRCanonicalizerPass.cpp | 104 for (auto *II : instructions) { 107 II->print(OS); 112 StringInstrMap.push_back({(i == std::string::npos) ? S : S.substr(i), II}); 120 for (auto &II : StringInstrMap) { 124 II.second->dump(); 130 MBB->splice(getPos(), MBB, II.second); 164 for (auto *II : Instructions) { 165 for (unsigned i = 1; i < II->getNumOperands(); i++) { 166 MachineOperand &MO = II->getOperand(i); 180 for (auto *II [all...] |
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Analysis/ |
H A D | OrderedBasicBlock.cpp | 43 auto II = BB->begin(); local 46 II = std::next(LastInstFound); 49 for (; II != IE; ++II) { 50 Inst = cast<Instruction>(II); 56 assert(II != IE && "Instruction not found?"); 58 LastInstFound = II;
|
/freebsd-11-stable/contrib/llvm-project/clang/lib/Analysis/plugins/SampleAnalyzer/ |
H A D | MainCallChecker.cpp | 27 IdentifierInfo *II = FD->getIdentifier(); 28 if (!II) // if no identifier, not a simple C function 31 if (II->isStr("main")) {
|
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/XCore/ |
H A D | XCoreRegisterInfo.cpp | 61 static void InsertFPImmInst(MachineBasicBlock::iterator II, argument 64 MachineInstr &MI = *II; 70 BuildMI(MBB, II, dl, TII.get(XCore::LDW_2rus), Reg) 76 BuildMI(MBB, II, dl, TII.get(XCore::STW_2rus)) 83 BuildMI(MBB, II, dl, TII.get(XCore::LDAWF_l2rus), Reg) 92 static void InsertFPConstInst(MachineBasicBlock::iterator II, argument 97 MachineInstr &MI = *II; 100 unsigned ScratchOffset = RS->scavengeRegister(&XCore::GRRegsRegClass, II, 0); 102 TII.loadImmediate(MBB, II, ScratchOffset, Offset); 106 BuildMI(MBB, II, d 128 InsertSPImmInst(MachineBasicBlock::iterator II, const XCoreInstrInfo &TII, unsigned Reg, int Offset) argument 161 InsertSPConstInst(MachineBasicBlock::iterator II, const XCoreInstrInfo &TII, unsigned Reg, int Offset, RegScavenger *RS ) argument 259 eliminateFrameIndex(MachineBasicBlock::iterator II, int SPAdj, unsigned FIOperandNum, RegScavenger *RS) const argument [all...] |
/freebsd-11-stable/contrib/llvm-project/clang/include/clang/Basic/ |
H A D | IdentifierTable.h | 134 /// This is intended to be used for string literals only: II->isStr("foo"). 419 /// \p II is allowed to be null, in which case objects of this type have 422 IdentifierInfo *const II; member in class:clang::PoisonIdentifierRAIIObject 426 PoisonIdentifierRAIIObject(IdentifierInfo *II, bool NewValue) argument 427 : II(II), OldValue(II ? II->isPoisoned() : false) { 428 if(II) 429 II 532 IdentifierInfo *&II = Entry.second; local 554 IdentifierInfo &II = get(Name); local 569 IdentifierInfo *&II = Entry.second; local 705 Selector(IdentifierInfo *II, unsigned nArgs) argument [all...] |
/freebsd-11-stable/contrib/llvm-project/clang/include/clang/Lex/ |
H A D | ExternalPreprocessorSource.h | 34 virtual void updateOutOfDateIdentifier(IdentifierInfo &II) = 0;
|
/freebsd-11-stable/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/ |
H A D | NSErrorChecker.cpp | 31 static bool IsNSError(QualType T, IdentifierInfo *II); 32 static bool IsCFError(QualType T, IdentifierInfo *II); 41 mutable IdentifierInfo *II; member in class:__anon823::NSErrorMethodChecker 44 NSErrorMethodChecker() : II(nullptr) {} 59 if (!II) 60 II = &D->getASTContext().Idents.get("NSError"); 64 if (IsNSError(I->getType(), II)) { 88 mutable IdentifierInfo *II; member in class:__anon824::CFErrorFunctionChecker 91 CFErrorFunctionChecker() : II(nullptr) {} 106 if (!II) 280 IsNSError(QualType T, IdentifierInfo *II) argument 301 IsCFError(QualType T, IdentifierInfo *II) argument [all...] |
/freebsd-11-stable/contrib/llvm-project/llvm/utils/TableGen/ |
H A D | InstrDocsEmitter.cpp | 69 for (const CodeGenInstruction *II : Target.getInstructionsByEnumValue()) { 70 Record *Inst = II->TheDef; 73 if (II->Namespace == "TargetOpcode") 81 if (!II->AsmString.empty()) { 88 CodeGenInstruction::FlattenAsmStringVariants(II->AsmString, VarNum); 100 #define FLAG(f) if (II->f) { FlagStrings.push_back(str(f)); } 155 for (unsigned i = 0; i < II->Operands.size(); ++i) { 156 bool IsDef = i < II->Operands.NumDefs; 157 auto Op = II->Operands[i]; 193 if (!II [all...] |
/freebsd-11-stable/contrib/llvm-project/clang/lib/Sema/ |
H A D | IdentifierResolver.cpp | 146 if (IdentifierInfo *II = Name.getAsIdentifierInfo()) 147 updatingIdentifier(*II); 171 if (IdentifierInfo *II = Name.getAsIdentifierInfo()) 172 updatingIdentifier(*II); 212 if (IdentifierInfo *II = Name.getAsIdentifierInfo()) 213 updatingIdentifier(*II); 231 if (IdentifierInfo *II = Name.getAsIdentifierInfo()) 232 readingIdentifier(*II); 303 if (IdentifierInfo *II = Name.getAsIdentifierInfo()) 304 readingIdentifier(*II); 378 readingIdentifier(IdentifierInfo &II) argument 383 updatingIdentifier(IdentifierInfo &II) argument [all...] |
/freebsd-11-stable/contrib/llvm-project/clang/lib/AST/ |
H A D | SelectorLocationsKind.cpp | 29 IdentifierInfo *II = Sel.getIdentifierInfoForSlot(0); 30 unsigned Len = II ? II->getLength() : 0; 37 IdentifierInfo *II = Sel.getIdentifierInfoForSlot(Index); 38 unsigned Len = /* selector id */ (II ? II->getLength() : 0) + /* ':' */ 1;
|
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/ARC/ |
H A D | ARCRegisterInfo.cpp | 38 static void ReplaceFrameIndex(MachineBasicBlock::iterator II, argument 43 MachineInstr &MI = *II; 50 BuildMI(MBB, II, dl, TII.get(ARC::LD_rlimm), Reg) 54 MBB.erase(II); 66 BaseReg = RS->scavengeRegister(&ARC::GPR32RegClass, II, SPAdj); 75 BuildMI(MBB, II, dl, TII.get(AddOpc)) 93 BuildMI(MBB, II, dl, TII.get(MI.getOpcode()), Reg) 106 BuildMI(MBB, II, dl, TII.get(MI.getOpcode())) 114 BuildMI(MBB, II, dl, 125 MBB.erase(II); 165 eliminateFrameIndex(MachineBasicBlock::iterator II, int SPAdj, unsigned FIOperandNum, RegScavenger *RS) const argument [all...] |
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/AVR/ |
H A D | AVRRegisterInfo.cpp | 98 static void foldFrameOffset(MachineBasicBlock::iterator &II, int &Offset, unsigned DstReg) { argument 99 MachineInstr &MI = *II; 124 II++; 128 void AVRRegisterInfo::eliminateFrameIndex(MachineBasicBlock::iterator II, argument 133 MachineInstr &MI = *II; 164 II++; // Skip over the FRMIDX (and now MOVW) instruction. 174 if (II != MBB.end()) 175 foldFrameOffset(II, Offset, DstReg); 196 MachineInstr *New = BuildMI(MBB, II, dl, TII.get(Opcode), DstReg) 222 BuildMI(MBB, II, d [all...] |
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/Hexagon/ |
H A D | HexagonHazardRecognizer.h | 44 HexagonHazardRecognizer(const InstrItineraryData *II, argument 47 : Resources(ST.createDFAPacketizer(II)), TII(HII) { }
|
/freebsd-11-stable/contrib/llvm-project/llvm/include/llvm/IR/ |
H A D | InstIterator.h | 53 InstIterator(const InstIterator<A,B,C,D> &II) argument 54 : BBs(II.BBs), BB(II.BB), BI(II.BI) {} 57 InstIterator(InstIterator<A,B,C,D> &II) argument 58 : BBs(II.BBs), BB(II.BB), BI(II.BI) {} 111 // The only way that the II could be broken is if it is now pointing to
|