| /netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/Scalar/ |
| H A D | StraightLineStrengthReduce.cpp | 145 : CandidateKind(CT), Base(B), Index(Idx), Stride(S), Ins(I) {} in Candidate() 172 Instruction *Ins = nullptr; member 275 return (Basis.Ins != C.Ins && // skip the same instruction in isBasisFor() 278 Basis.Ins->getType() == C.Ins->getType() && in isBasisFor() 280 DT->dominates(Basis.Ins->getParent(), C.Ins->getParent()) && in isBasisFor() 308 return isGEPFoldable(cast<GetElementPtrInst>(C.Ins), TTI); in isFoldable() 335 hasOnlyOneNonZeroIndex(cast<GetElementPtrInst>(C.Ins))); in isSimplestForm() 596 cast<GetElementPtrInst>(Basis.Ins)->getResultElementType())); in emitBump() 616 IntegerType::get(Basis.Ins->getContext(), IndexOffset.getBitWidth()); in emitBump() 639 assert(Basis.Ins->getParent() != nullptr && "the basis is unlinked"); in rewriteCandidateWithBasis() [all …]
|
| /netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/Mips/ |
| H A D | MipsCCState.h | 32 void PreAnalyzeCallResultForF128(const SmallVectorImpl<ISD::InputArg> &Ins, 49 PreAnalyzeFormalArgumentsForF128(const SmallVectorImpl<ISD::InputArg> &Ins); 52 PreAnalyzeCallResultForVectorFloat(const SmallVectorImpl<ISD::InputArg> &Ins, 56 const SmallVectorImpl<ISD::InputArg> &Ins); 110 void AnalyzeFormalArguments(const SmallVectorImpl<ISD::InputArg> &Ins, in AnalyzeFormalArguments() argument 112 PreAnalyzeFormalArgumentsForF128(Ins); in AnalyzeFormalArguments() 113 CCState::AnalyzeFormalArguments(Ins, Fn); in AnalyzeFormalArguments() 119 void AnalyzeCallResult(const SmallVectorImpl<ISD::InputArg> &Ins, in AnalyzeCallResult() argument 122 PreAnalyzeCallResultForF128(Ins, RetTy, Func); in AnalyzeCallResult() 123 PreAnalyzeCallResultForVectorFloat(Ins, RetTy); in AnalyzeCallResult() [all …]
|
| H A D | MipsCCState.cpp | 87 const SmallVectorImpl<ISD::InputArg> &Ins, in PreAnalyzeCallResultForF128() argument 89 for (unsigned i = 0; i < Ins.size(); ++i) { in PreAnalyzeCallResultForF128() 112 const SmallVectorImpl<ISD::InputArg> &Ins, const Type *RetTy) { in PreAnalyzeCallResultForVectorFloat() argument 113 for (unsigned i = 0; i < Ins.size(); ++i) { in PreAnalyzeCallResultForVectorFloat() 148 const SmallVectorImpl<ISD::InputArg> &Ins) { in PreAnalyzeFormalArgumentsForF128() argument 150 for (unsigned i = 0; i < Ins.size(); ++i) { in PreAnalyzeFormalArgumentsForF128() 156 if (Ins[i].Flags.isSRet()) { in PreAnalyzeFormalArgumentsForF128() 163 assert(Ins[i].getOrigArgIndex() < MF.getFunction().arg_size()); in PreAnalyzeFormalArgumentsForF128() 164 std::advance(FuncArg, Ins[i].getOrigArgIndex()); in PreAnalyzeFormalArgumentsForF128()
|
| H A D | MipsCallLowering.cpp | 446 SmallVector<ISD::InputArg, 8> Ins; in lowerFormalArguments() local 447 subTargetRegTypeForCallingConv(F, ArgInfos, OrigArgIndices, Ins); in lowerFormalArguments() 458 CCInfo.AnalyzeFormalArguments(Ins, TLI.CCAssignFnForCall()); in lowerFormalArguments() 459 setLocInfo(ArgLocs, Ins); in lowerFormalArguments() 616 SmallVector<ISD::InputArg, 8> Ins; in lowerCall() local 617 subTargetRegTypeForCallingConv(F, ArgInfos, OrigRetIndices, Ins); in lowerCall() 623 CCInfo.AnalyzeCallResult(Ins, TLI.CCAssignFnForReturn(), Info.OrigRet.Ty, in lowerCall() 625 setLocInfo(ArgLocs, Ins); in lowerCall()
|
| /netbsd-src/external/apache2/llvm/dist/llvm/lib/CodeGen/ |
| H A D | CallingConvLower.cpp | 90 CCState::AnalyzeFormalArguments(const SmallVectorImpl<ISD::InputArg> &Ins, in AnalyzeFormalArguments() argument 92 unsigned NumArgs = Ins.size(); in AnalyzeFormalArguments() 95 MVT ArgVT = Ins[i].VT; in AnalyzeFormalArguments() 96 ISD::ArgFlagsTy ArgFlags = Ins[i].Flags; in AnalyzeFormalArguments() 167 void CCState::AnalyzeCallResult(const SmallVectorImpl<ISD::InputArg> &Ins, in AnalyzeCallResult() argument 169 for (unsigned i = 0, e = Ins.size(); i != e; ++i) { in AnalyzeCallResult() 170 MVT VT = Ins[i].VT; in AnalyzeCallResult() 171 ISD::ArgFlagsTy Flags = Ins[i].Flags; in AnalyzeCallResult() 269 const SmallVectorImpl<ISD::InputArg> &Ins, in resultsCompatible() argument 275 CCInfo1.AnalyzeCallResult(Ins, CalleeFn); in resultsCompatible() [all …]
|
| /netbsd-src/external/apache2/llvm/dist/clang/tools/clang-import-test/ |
| H A D | clang-import-test.cpp | 164 auto Ins = std::make_unique<CompilerInstance>(); in BuildCompilerInstance() local 167 Ins->createDiagnostics(DC.release(), ShouldOwnClient); in BuildCompilerInstance() 174 CompilerInvocation::CreateFromArgs(*Inv, ClangArgv, Ins->getDiagnostics()); in BuildCompilerInstance() 206 Ins->setInvocation(std::move(Inv)); in BuildCompilerInstance() 209 Ins->getDiagnostics(), Ins->getInvocation().TargetOpts); in BuildCompilerInstance() 210 Ins->setTarget(TI); in BuildCompilerInstance() 211 Ins->getTarget().adjust(Ins->getLangOpts()); in BuildCompilerInstance() 212 Ins->createFileManager(); in BuildCompilerInstance() 213 Ins->createSourceManager(Ins->getFileManager()); in BuildCompilerInstance() 214 Ins->createPreprocessor(TU_Complete); in BuildCompilerInstance() [all …]
|
| /netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/PowerPC/ |
| H A D | PPCCCState.h | 25 PreAnalyzeFormalArguments(const SmallVectorImpl<ISD::InputArg> &Ins); 50 void AnalyzeFormalArguments(const SmallVectorImpl<ISD::InputArg> &Ins, in AnalyzeFormalArguments() argument 53 IsFixed.resize(Ins.size(), true); in AnalyzeFormalArguments() 54 CCState::AnalyzeFormalArguments(Ins, Fn); in AnalyzeFormalArguments()
|
| H A D | PPCCCState.cpp | 27 const SmallVectorImpl<ISD::InputArg> &Ins) { in PreAnalyzeFormalArguments() argument 28 for (const auto &I : Ins) { in PreAnalyzeFormalArguments()
|
| H A D | PPCISelLowering.h | 1173 const SmallVectorImpl<ISD::InputArg> &Ins, 1179 const SmallVectorImpl<ISD::InputArg> &Ins, SelectionDAG &DAG) const; 1238 const SmallVectorImpl<ISD::InputArg> &Ins, 1246 const SmallVectorImpl<ISD::InputArg> &Ins, 1252 const SmallVectorImpl<ISD::InputArg> &Ins, 1275 const SmallVectorImpl<ISD::InputArg> &Ins, const SDLoc &dl, 1279 const SmallVectorImpl<ISD::InputArg> &Ins, const SDLoc &dl, 1283 const SmallVectorImpl<ISD::InputArg> &Ins, const SDLoc &dl, 1294 const SmallVectorImpl<ISD::InputArg> &Ins, 1301 const SmallVectorImpl<ISD::InputArg> &Ins, [all …]
|
| H A D | PPCRegisterInfo.cpp | 883 MachineBasicBlock::reverse_iterator Ins = MI; in lowerCRBitSpilling() local 885 ++Ins; in lowerCRBitSpilling() 888 for (; Ins != Rend; ++Ins) { in lowerCRBitSpilling() 890 if (Ins->modifiesRegister(SrcReg, TRI)) in lowerCRBitSpilling() 893 if (Ins->readsRegister(SrcReg, TRI)) in lowerCRBitSpilling() 897 Ins = MI; in lowerCRBitSpilling() 901 if (!Ins->isDebugInstr()) in lowerCRBitSpilling() 906 if (Ins == MBB.rend()) in lowerCRBitSpilling() 907 Ins = MI; in lowerCRBitSpilling() 911 switch (Ins->getOpcode()) { in lowerCRBitSpilling() [all …]
|
| /netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/SystemZ/ |
| H A D | SystemZCallingConv.h | 51 void AnalyzeFormalArguments(const SmallVectorImpl<ISD::InputArg> &Ins, in AnalyzeFormalArguments() argument 55 for (unsigned i = 0; i < Ins.size(); ++i) in AnalyzeFormalArguments() 59 for (unsigned i = 0; i < Ins.size(); ++i) in AnalyzeFormalArguments() 60 ArgIsShortVector.push_back(IsShortVectorType(Ins[i].ArgVT)); in AnalyzeFormalArguments() 62 CCState::AnalyzeFormalArguments(Ins, Fn); in AnalyzeFormalArguments()
|
| /netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/Lanai/ |
| H A D | LanaiISelLowering.h | 118 const SmallVectorImpl<ISD::InputArg> &Ins, 124 const SmallVectorImpl<ISD::InputArg> &Ins, 130 const SmallVectorImpl<ISD::InputArg> &Ins, 139 const SmallVectorImpl<ISD::InputArg> &Ins,
|
| /netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/MSP430/ |
| H A D | MSP430ISelLowering.h | 146 const SmallVectorImpl<ISD::InputArg> &Ins, 152 const SmallVectorImpl<ISD::InputArg> &Ins, 158 const SmallVectorImpl<ISD::InputArg> &Ins, 164 const SmallVectorImpl<ISD::InputArg> &Ins,
|
| H A D | MSP430ISelLowering.cpp | 446 const SmallVectorImpl<ISD::InputArg> &Ins) { in AnalyzeVarArgs() argument 447 State.AnalyzeFormalArguments(Ins, CC_MSP430_AssignStack); in AnalyzeVarArgs() 550 const SmallVectorImpl<ISD::InputArg> &Ins) { in AnalyzeRetResult() argument 551 State.AnalyzeCallResult(Ins, RetCC_MSP430); in AnalyzeRetResult() 568 const SmallVectorImpl<ISD::InputArg> &Ins, const SDLoc &dl, in LowerFormalArguments() argument 576 return LowerCCCArguments(Chain, CallConv, isVarArg, Ins, dl, DAG, InVals); in LowerFormalArguments() 578 if (Ins.empty()) in LowerFormalArguments() 591 SmallVectorImpl<ISD::InputArg> &Ins = CLI.Ins; in LowerCall() local 608 Outs, OutVals, Ins, dl, DAG, InVals); in LowerCall() 619 const SmallVectorImpl<ISD::InputArg> &Ins, const SDLoc &dl, in LowerCCCArguments() argument [all …]
|
| /netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/BPF/ |
| H A D | BPFISelLowering.cpp | 301 const SmallVectorImpl<ISD::InputArg> &Ins, const SDLoc &DL, in LowerFormalArguments() argument 317 CCInfo.AnalyzeFormalArguments(Ins, getHasAlu32() ? CC_BPF32 : CC_BPF64); in LowerFormalArguments() 373 auto &Ins = CLI.Ins; in LowerCall() local 495 return LowerCallResult(Chain, InFlag, CallConv, IsVarArg, Ins, CLI.DL, DAG, in LowerCall() 549 const SmallVectorImpl<ISD::InputArg> &Ins, const SDLoc &DL, in LowerCallResult() argument 557 if (Ins.size() >= 2) { in LowerCallResult() 559 for (unsigned i = 0, e = Ins.size(); i != e; ++i) in LowerCallResult() 560 InVals.push_back(DAG.getConstant(0, DL, Ins[i].VT)); in LowerCallResult() 561 return DAG.getCopyFromReg(Chain, DL, 1, Ins[0].VT, InFlag).getValue(1); in LowerCallResult() 564 CCInfo.AnalyzeCallResult(Ins, getHasAlu32() ? RetCC_BPF32 : RetCC_BPF64); in LowerCallResult()
|
| H A D | BPFISelLowering.h | 82 const SmallVectorImpl<ISD::InputArg> &Ins, 96 const SmallVectorImpl<ISD::InputArg> &Ins,
|
| /netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/CodeGen/ |
| H A D | CallingConvLower.h | 283 void AnalyzeFormalArguments(const SmallVectorImpl<ISD::InputArg> &Ins, 287 void AnalyzeArguments(const SmallVectorImpl<ISD::InputArg> &Ins, in AnalyzeArguments() argument 289 AnalyzeFormalArguments(Ins, Fn); in AnalyzeArguments() 322 void AnalyzeCallResult(const SmallVectorImpl<ISD::InputArg> &Ins, 525 const SmallVectorImpl<ISD::InputArg> &Ins,
|
| /netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/Transforms/Instrumentation/ |
| H A D | InstrProfiling.h | 88 void computeNumValueSiteCounts(InstrProfValueProfileInst *Ins); 91 void lowerValueProfileInst(InstrProfValueProfileInst *Ins);
|
| /netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/Sparc/ |
| H A D | SparcISelLowering.h | 121 const SmallVectorImpl<ISD::InputArg> &Ins, 126 const SmallVectorImpl<ISD::InputArg> &Ins, 131 const SmallVectorImpl<ISD::InputArg> &Ins,
|
| /netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/XCore/ |
| H A D | XCoreISelLowering.h | 148 const SmallVectorImpl<ISD::InputArg> &Ins, 156 const SmallVectorImpl<ISD::InputArg> &Ins, 212 const SmallVectorImpl<ISD::InputArg> &Ins,
|
| /netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/ARC/ |
| H A D | ARCISelLowering.h | 83 const SmallVectorImpl<ISD::InputArg> &Ins, 97 const SmallVectorImpl<ISD::InputArg> &Ins,
|
| H A D | ARCISelLowering.cpp | 228 SmallVectorImpl<ISD::InputArg> &Ins = CLI.Ins; in LowerCall() local 248 RetCCInfo.AnalyzeCallResult(Ins, RetCC_ARC); in LowerCall() 432 const SmallVectorImpl<ISD::InputArg> &Ins, const SDLoc &dl, in LowerFormalArguments() argument 439 return LowerCallArguments(Chain, CallConv, IsVarArg, Ins, dl, DAG, InVals); in LowerFormalArguments() 447 const SmallVectorImpl<ISD::InputArg> &Ins, SDLoc dl, SelectionDAG &DAG, in LowerCallArguments() argument 459 CCInfo.AnalyzeFormalArguments(Ins, CC_ARC); in LowerCallArguments() 513 const ArgDataPair ADP = {ArgIn, Ins[i].Flags}; in LowerCallArguments()
|
| /netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/M68k/ |
| H A D | M68kISelLowering.h | 223 const SmallVectorImpl<ISD::InputArg> &Ins, 231 const SmallVectorImpl<ISD::InputArg> &Ins, 270 const SmallVectorImpl<ISD::InputArg> &Ins, SelectionDAG &DAG) const;
|
| /netbsd-src/external/apache2/llvm/dist/llvm/lib/TableGen/ |
| H A D | TGParser.h | 114 bool Ins = vars.insert(std::make_pair(std::string(Name), I)).second; in addVar() local 115 (void)Ins; in addVar() 116 assert(Ins && "Local variable already exists"); in addVar()
|
| /netbsd-src/external/apache2/llvm/dist/llvm/utils/TableGen/ |
| H A D | CodeGenRegisters.h | 112 std::pair<CompMap::iterator, bool> Ins = in addComposite() local 123 return (Ins.second || Ins.first->second == B) ? nullptr in addComposite() 124 : Ins.first->second; in addComposite()
|