Home | History | Annotate | Download | only in src

Lines Matching full:strbuf

270         raw_string_ostream StrBuf(Buffer);
271 StrBuf << "Can't define more than " << NaClBcIndexSize_t_Max
273 blockError(StrBuf.str());
414 raw_string_ostream StrBuf(Buffer);
415 StrBuf << Prefix << " alignment greater than 2**" << AlignPowerLimit
417 Parser->Error(StrBuf.str());
535 raw_string_ostream StrBuf(Buffer);
536 StrBuf << Kind << " " << Decl.getName()
539 StrBuf << "\n Use flag -allow-externally-defined-symbols to override";
540 Error(StrBuf.str());
605 raw_string_ostream StrBuf(Buffer);
607 StrBuf << "Can't find extended type for type id: " << ID;
609 StrBuf << "Type id " << ID << " not " << WantedType << ". Found: " << *Ty;
611 blockError(StrBuf.str());
617 raw_string_ostream StrBuf(Buffer);
618 StrBuf << "Function index " << ID
621 blockError(StrBuf.str());
630 raw_string_ostream StrBuf(Buffer);
631 StrBuf << "Global index " << Index
634 blockError(StrBuf.str());
642 raw_string_ostream StrBuf(Buffer);
643 StrBuf << "Invalid LLVM type: " << *LLVMTy;
644 Error(StrBuf.str());
771 raw_string_ostream StrBuf(Buffer);
776 StrBuf << "Invalid " << getBlockName() << " record: <" << Record.GetCode();
778 StrBuf << " " << Val;
780 StrBuf << ">";
782 StrBuf << Message;
785 StrBuf.str());
792 raw_string_ostream StrBuf(Buffer);
795 StrBuf << FirstChar << (BlockName + 1) << " " << RecordName
798 StrBuf << " " << ContextMessage;
799 StrBuf << " " << ExpectedSize << " argument";
801 StrBuf << "s";
802 StrBuf << ". Found: " << Record.GetValues().size();
803 Error(StrBuf.str());
810 raw_string_ostream StrBuf(Buffer);
811 StrBuf << "Don't know how to parse block id: " << BlockID;
812 Error(StrBuf.str());
820 raw_string_ostream StrBuf(Buffer);
821 StrBuf << "Don't know how to process " << getBlockName()
823 Error(StrBuf.str());
840 raw_string_ostream StrBuf(Buffer);
841 StrBuf << "Types block expected " << ExpectedNumTypes
843 Error(StrBuf.str());
875 raw_string_ostream StrBuf(Buffer);
876 StrBuf << "Size to big for count record: " << Size;
877 Error(StrBuf.str());
933 raw_string_ostream StrBuf(Buffer);
934 StrBuf << "Type integer record with invalid bitsize: " << Values[0];
935 Error(StrBuf.str());
989 raw_string_ostream StrBuf(Buffer);
990 StrBuf << "Invalid type vector record: <" << Values[0] << " x " << BaseTy
992 Error(StrBuf.str());
1013 raw_string_ostream StrBuf(Buffer);
1014 StrBuf << "Type for parameter " << (i - 1)
1105 raw_string_ostream StrBuf(Buffer);
1106 StrBuf << getBlockName() << " block expects " << SpecifiedNumberVars
1108 Error(StrBuf.str());
1132 raw_string_ostream StrBuf(Buffer);
1133 StrBuf << "Global variable @g" << NextGlobalID << " expected "
1136 StrBuf << "s";
1137 StrBuf << ". Found: " << NumInits;
1138 Error(StrBuf.str());
1184 raw_string_ostream StrBuf(Buffer);
1185 StrBuf << getBlockName()
1187 Error(StrBuf.str());
1218 raw_string_ostream StrBuf(Buffer);
1219 StrBuf << "Relocation index " << Index << " to big. Expect index < "
1221 Error(StrBuf.str());
1228 raw_string_ostream StrBuf(Buffer);
1229 StrBuf << "Addend of global reloc record too big: " << Offset;
1230 Error(StrBuf.str());
1303 raw_string_ostream StrBuf(Buffer);
1304 StrBuf << getTableKind() << " " << getBlockName() << ": " << Context
1306 Error(StrBuf.str());
1312 raw_string_ostream StrBuf(Buffer);
1313 StrBuf << getTableKind() << " " << getBlockName() << " defines duplicate "
1315 Error(StrBuf.str());
1486 raw_string_ostream StrBuf(Buffer);
1487 StrBuf << "Reference to basic block " << Index
1489 Error(StrBuf.str());
1530 raw_string_ostream StrBuf(Buffer);
1531 StrBuf << "Illegal forward referenced instruction ("
1533 Error(StrBuf.str());
1548 raw_string_ostream StrBuf(Buffer);
1549 StrBuf << "Invalid relative value id: " << Id
1551 Error(StrBuf.str());
1571 raw_string_ostream StrBuf(Buffer);
1572 StrBuf << "Forward reference @" << Index << " too big. Have "
1575 Fatal(StrBuf.str());
1595 raw_string_ostream StrBuf(Buffer);
1596 StrBuf << "Multiple definitions for index " << Index << ": " << *Op
1598 Error(StrBuf.str());
1652 raw_string_ostream StrBuf(Buffer);
1653 StrBuf << InstructionName << " address not " << PtrType
1655 Error(StrBuf.str());
1665 raw_string_ostream StrBuf(Buffer);
1666 StrBuf << InstructionName << " type not allowed: " << Ty << "*";
1667 Error(StrBuf.str());
1680 raw_string_ostream StrBuf(Buffer);
1681 StrBuf << InstructionName << " " << Ty << "*: not allowed for alignment "
1683 Error(StrBuf.str());
1753 raw_string_ostream StrBuf(Buffer);
1754 StrBuf << "Binary opcode " << Opcode << "not understood for type " << Ty;
1755 Error(StrBuf.str());
1921 raw_string_ostream StrBuf(Buffer);
1922 StrBuf << "Cast opcode " << Opcode << " not understood.\n";
1923 Error(StrBuf.str());
1970 raw_string_ostream StrBuf(Buffer);
1971 StrBuf << "Illegal cast: " << Ice::InstCast::getCastName(CastKind) << " "
1973 Error(StrBuf.str());
2096 raw_string_ostream StrBuf(Buffer);
2097 StrBuf << "Value index " << Index << " not defined!";
2098 Error(StrBuf.str());
2109 raw_string_ostream StrBuf(Buffer);
2110 StrBuf << "Argument " << (Index + 1) << " of " << printName(Fcn)
2112 Error(StrBuf.str());
2133 raw_string_ostream StrBuf(Buffer);
2134 StrBuf << "Function declared " << DeclaredNumberBbs
2136 Error(StrBuf.str());
2144 raw_string_ostream StrBuf(Buffer);
2145 StrBuf << "Basic block " << Index << " contains no instructions";
2146 Error(StrBuf.str());
2157 raw_string_ostream StrBuf(Buffer);
2158 StrBuf << "Invalid operator type for " << Ice::InstArithmetic::getOpName(Op)
2160 Error(StrBuf.str());
2191 raw_string_ostream StrBuf(Buffer);
2192 StrBuf << "Function defines " << NumBbs
2195 Error(StrBuf.str());
2225 raw_string_ostream StrBuf(Buffer);
2226 StrBuf << "Binop argument types differ: " << Type1 << " and " << Type2;
2227 Error(StrBuf.str());
2267 raw_string_ostream StrBuf(Buffer);
2268 StrBuf << "Select operands not same type. Found " << ThenType << " and "
2270 Error(StrBuf.str());
2280 raw_string_ostream StrBuf(Buffer);
2281 StrBuf << "Select condition type " << CondType
2283 Error(StrBuf.str());
2289 raw_string_ostream StrBuf(Buffer);
2290 StrBuf << "Select condition " << CondVal
2292 Error(StrBuf.str());
2310 raw_string_ostream StrBuf(Buffer);
2311 dumpVectorIndexCheckValue(StrBuf, IndexCheckValue);
2312 StrBuf << ": extractelement " << VecType << " " << *Vec << ", "
2314 Error(StrBuf.str());
2333 raw_string_ostream StrBuf(Buffer);
2334 dumpVectorIndexCheckValue(StrBuf, IndexCheckValue);
2335 StrBuf << ": insertelement " << VecType << " " << *Vec << ", "
2338 Error(StrBuf.str());
2344 raw_string_ostream StrBuf(Buffer);
2345 StrBuf << "Insertelement: Element type "
2348 Error(StrBuf.str());
2367 raw_string_ostream StrBuf(Buffer);
2368 StrBuf << "Compare argument types differ: " << Op1Type << " and "
2370 Error(StrBuf.str());
2376 raw_string_ostream StrBuf(Buffer);
2377 StrBuf << "Compare not defined for type " << Op1Type;
2378 Error(StrBuf.str());
2386 raw_string_ostream StrBuf(Buffer);
2387 StrBuf << "Compare record contains unknown integer predicate index: "
2389 Error(StrBuf.str());
2398 raw_string_ostream StrBuf(Buffer);
2399 StrBuf << "Compare record contains unknown float predicate index: "
2401 Error(StrBuf.str());
2409 raw_string_ostream StrBuf(Buffer);
2410 StrBuf << "Compare on type not understood: " << Op1Type;
2411 Error(StrBuf.str());
2445 raw_string_ostream StrBuf(Buffer);
2446 StrBuf << "Branch condition " << *Cond
2448 Error(StrBuf.str());
2475 raw_string_ostream StrBuf(Buffer);
2476 StrBuf << "Case condition must be non-wide integer. Found: " << CondTy;
2477 Error(StrBuf.str());
2485 raw_string_ostream StrBuf(Buffer);
2486 StrBuf << "Case condition expects type " << CondTy
2488 Error(StrBuf.str());
2497 raw_string_ostream StrBuf(Buffer);
2498 StrBuf << "Too many cases specified in switch: " << NumCasesRaw;
2499 Error(StrBuf.str());
2514 raw_string_ostream StrBuf(Buffer);
2515 StrBuf << "Sequence [1, 1, value, label] expected for case entry "
2517 Error(StrBuf.str());
2546 raw_string_ostream StrBuf(Buffer);
2547 StrBuf << "function block phi record size not valid: " << Values.size();
2548 Error(StrBuf.str());
2564 raw_string_ostream StrBuf(Buffer);
2565 StrBuf << "Value " << *Op << " not type " << Ty
2567 Error(StrBuf.str());
2585 raw_string_ostream StrBuf(Buffer);
2586 StrBuf << "Alloca on non-i32 value. Found: " << *ByteCount;
2587 Error(StrBuf.str());
2665 raw_string_ostream StrBuf(Buffer);
2666 StrBuf << "Call to " << printName(Fcn) << " has " << NumParams
2668 Error(StrBuf.str());
2678 raw_string_ostream StrBuf(Buffer);
2679 StrBuf << "Call to " << printName(Fcn) << " has " << NumParams
2681 Error(StrBuf.str());
2702 raw_string_ostream StrBuf(Buffer);
2703 StrBuf << "Parameter " << (Index - ParamsStartIndex + 1) << " of "
2705 Error(StrBuf.str());
2716 raw_string_ostream StrBuf(Buffer);
2717 StrBuf << "Return type of " << printName(Fcn)
2719 Error(StrBuf.str());
2732 raw_string_ostream StrBuf(Buffer);
2733 StrBuf << "Argument " << *Op << " of " << printName(Fcn)
2735 Error(StrBuf.str());
2746 raw_string_ostream StrBuf(Buffer);
2747 StrBuf << "Function call calling convention value " << (CCInfo >> 1)
2749 Error(StrBuf.str());
2862 raw_string_ostream StrBuf(Buffer);
2863 StrBuf << "constant block integer record for non-integer type "
2865 Error(StrBuf.str());
2889 raw_string_ostream StrBuf(Buffer);
2890 StrBuf << "constant block float record for non-floating type "
2892 Error(StrBuf.str());
2933 raw_string_ostream StrBuf(Buffer);
2934 StrBuf << "Function-local " << Context << " name '" << Name
2936 Error(StrBuf.str());
3204 raw_string_ostream StrBuf(Buffer);
3205 StrBuf << "Unknown bitstream version: " << Version;
3206 Error(StrBuf.str());
3218 raw_string_ostream StrBuf(Buffer);
3219 StrBuf << "Function address has unknown calling convention: "
3221 Error(StrBuf.str());
3227 raw_string_ostream StrBuf(Buffer);
3228 StrBuf << "Function address has unknown linkage. Found " << Values[3];
3229 Error(StrBuf.str());
3305 raw_string_ostream StrBuf(Buffer);
3306 StrBuf << IRFilename << ": Does not contain a module!";
3307 llvm::report_fatal_error(StrBuf.str());