/external/clang/test/CodeGen/ |
2003-06-22-UnionCrash.c | 7 } Vals;
|
/external/llvm/lib/Analysis/ |
AliasDebugger.cpp | 38 std::set<const Value*> Vals; 51 Vals.insert(&*I); 54 Vals.insert(*OI); 59 Vals.insert(&*I); 63 Vals.insert(&*AI); 68 Vals.insert(&*BI); 71 Vals.insert(*OI); 98 assert(Vals.find(LocA.Ptr) != Vals.end() && 100 assert(Vals.find(LocB.Ptr) != Vals.end() & [all...] |
/external/llvm/lib/Bitcode/Writer/ |
BitcodeWriter.cpp | 149 SmallVector<unsigned, 64> Vals; 155 Vals.push_back(Str[i]); 159 Stream.EmitRecord(Code, Vals, AbbrevToUse); 544 SmallVector<uint8_t, 64> Vals; 547 Vals.push_back(getEncodedComdatSelectionKind(*C)); 548 Vals.push_back(C->getName().size()); 550 Vals.push_back((unsigned char)Chr); 551 Stream.EmitRecord(bitc::MODULE_CODE_COMDAT, Vals, /*AbbrevToUse=*/0); 552 Vals.clear(); 640 SmallVector<unsigned, 64> Vals; [all...] |
/external/llvm/include/llvm/Bitcode/ |
BitstreamWriter.h | 314 void EmitRecordWithAbbrevImpl(unsigned Abbrev, SmallVectorImpl<uintty> &Vals, 329 assert(RecordIdx < Vals.size() && "Invalid abbrev/record"); 330 EmitAbbreviatedLiteral(Op, Vals[RecordIdx]); 340 assert(RecordIdx == Vals.size() && 353 EmitVBR(static_cast<uint32_t>(Vals.size()-RecordIdx), 6); 356 for (unsigned e = Vals.size(); RecordIdx != e; ++RecordIdx) 357 EmitAbbreviatedField(EltEnc, Vals[RecordIdx]); 366 assert(RecordIdx == Vals.size() && 369 EmitVBR(static_cast<uint32_t>(Vals.size()-RecordIdx), 6); 383 for (unsigned e = Vals.size(); RecordIdx != e; ++RecordIdx) [all...] |
BitstreamReader.h | 526 SmallVectorImpl<uint64_t> &Vals); 528 SmallVectorImpl<uint64_t> &Vals); 543 unsigned readRecord(unsigned AbbrevID, SmallVectorImpl<uint64_t> &Vals,
|
/frameworks/compile/slang/BitWriter_3_2/ |
BitcodeWriter.cpp | 150 SmallVector<unsigned, 64> Vals; 156 Vals.push_back(Str[i]); 160 Stream.EmitRecord(Code, Vals, AbbrevToUse); 472 SmallVector<unsigned, 64> Vals; 480 Vals.push_back(VE.getTypeID(GV->getType())); 481 Vals.push_back(GV->isConstant()); 482 Vals.push_back(GV->isDeclaration() ? 0 : 484 Vals.push_back(getEncodedLinkage(GV)); 485 Vals.push_back(Log2_32(GV->getAlignment())+1); 486 Vals.push_back(GV->hasSection() ? SectionMap[GV->getSection()] : 0) [all...] |
/frameworks/compile/slang/BitWriter_2_9_func/ |
BitcodeWriter.cpp | 145 SmallVector<unsigned, 64> Vals; 151 Vals.push_back(Str[i]); 155 Stream.EmitRecord(Code, Vals, AbbrevToUse); 455 SmallVector<unsigned, 64> Vals; 463 Vals.push_back(VE.getTypeID(GV->getType())); 464 Vals.push_back(GV->isConstant()); 465 Vals.push_back(GV->isDeclaration() ? 0 : 467 Vals.push_back(getEncodedLinkage(GV)); 468 Vals.push_back(Log2_32(GV->getAlignment())+1); 469 Vals.push_back(GV->hasSection() ? SectionMap[GV->getSection()] : 0) [all...] |
/external/clang/lib/CodeGen/ |
CGLoopInfo.cpp | 34 Value *Vals[] = { MDString::get(Ctx, "llvm.loop.vectorize.width"), 37 Args.push_back(MDNode::get(Ctx, Vals)); 42 Value *Vals[] = { MDString::get(Ctx, "llvm.loop.vectorize.unroll"), 45 Args.push_back(MDNode::get(Ctx, Vals)); 50 Value *Vals[] = { MDString::get(Ctx, "llvm.loop.vectorize.enable"), 54 Args.push_back(MDNode::get(Ctx, Vals));
|
/frameworks/compile/slang/BitWriter_2_9/ |
BitcodeWriter.cpp | 122 SmallVector<unsigned, 64> Vals; 128 Vals.push_back(Str[i]); 132 Stream.EmitRecord(Code, Vals, AbbrevToUse); 501 SmallVector<unsigned, 64> Vals; 509 Vals.push_back(VE.getTypeID(GV->getType())); 510 Vals.push_back(GV->isConstant()); 511 Vals.push_back(GV->isDeclaration() ? 0 : 513 Vals.push_back(getEncodedLinkage(GV)); 514 Vals.push_back(Log2_32(GV->getAlignment())+1); 515 Vals.push_back(GV->hasSection() ? SectionMap[GV->getSection()] : 0) [all...] |
/external/llvm/lib/Bitcode/Reader/ |
BitstreamReader.cpp | 86 SmallVectorImpl<uint64_t> &Vals) { 89 Vals.push_back(Op.getLiteralValue()); 93 SmallVectorImpl<uint64_t> &Vals) { 102 Vals.push_back(Read((unsigned)Op.getEncodingData())); 105 Vals.push_back(ReadVBR64((unsigned)Op.getEncodingData())); 108 Vals.push_back(BitCodeAbbrevOp::DecodeChar6(Read(6))); 195 SmallVectorImpl<uint64_t> &Vals, 201 Vals.push_back(ReadVBR64(6)); 211 readAbbreviatedLiteral(CodeOp, Vals); 213 readAbbreviatedField(CodeOp, Vals); [all...] |
/external/clang/test/SemaTemplate/ |
instantiate-expr-1.cpp | 182 template<typename T> class Vals {}; 183 template<> class Vals<int> { public: static const int i = 1; }; 184 template<> class Vals<float> { public: static const double i; }; 186 __asm("addl $1, %0" : "=r" (o) : "0"(Vals<T>::i)); // expected-error {{input with type 'double' matching output with type 'float'}}
|
/external/llvm/utils/PerfectShuffle/ |
PerfectShuffle.cpp | 158 static void PrintOperation(unsigned ValNo, unsigned short Vals[]) { 159 unsigned short ThisOp = Vals[ValNo]; 170 if (Vals[i] == ShufTab[ThisOp].Arg0) { 176 if (!ShufTab[Vals[ValNo]].Op->isOnlyLHSOperator()) { 184 if (Vals[i] == ShufTab[ThisOp].Arg1) { 200 static void EvaluateOps(unsigned short Elt, unsigned short Vals[], 206 if (Vals[i] == Elt) return; 211 EvaluateOps(Arg0, Vals, NumVals); 213 EvaluateOps(Arg1, Vals, NumVals); 215 Vals[NumVals++] = Elt [all...] |
/external/llvm/lib/IR/ |
MDBuilder.cpp | 41 SmallVector<Value *, 4> Vals(Weights.size() + 1); 42 Vals[0] = createString("branch_weights"); 46 Vals[i + 1] = ConstantInt::get(Int32Ty, Weights[i]); 48 return MDNode::get(Context, Vals); 99 SmallVector<Value *, 4> Vals(Fields.size() * 3); 102 Vals[i * 3 + 0] = ConstantInt::get(Int64, Fields[i].Offset); 103 Vals[i * 3 + 1] = ConstantInt::get(Int64, Fields[i].Size); 104 Vals[i * 3 + 2] = Fields[i].TBAA; 106 return MDNode::get(Context, Vals);
|
Metadata.cpp | 114 MDNode::MDNode(LLVMContext &C, ArrayRef<Value*> Vals, bool isFunctionLocal) 116 NumOperands = Vals.size(); 125 new (Op) MDNodeOperand(Vals[i]); 219 MDNode *MDNode::getMDNode(LLVMContext &Context, ArrayRef<Value*> Vals, 228 for (Value *V : Vals) 240 for (Value *V : Vals) { 257 void *Ptr = malloc(sizeof(MDNode) + Vals.size() * sizeof(MDNodeOperand)); 258 N = new (Ptr) MDNode(Context, Vals, isFunctionLocal); 269 MDNode *MDNode::get(LLVMContext &Context, ArrayRef<Value*> Vals) { 270 return getMDNode(Context, Vals, FL_Unknown) [all...] |
/external/llvm/include/llvm/IR/ |
Value.h | 563 inline Value **unwrap(LLVMValueRef *Vals) { 564 return reinterpret_cast<Value**>(Vals); 568 inline T **unwrap(LLVMValueRef *Vals, unsigned Length) { 570 for (LLVMValueRef *I = Vals, *E = Vals + Length; I != E; ++I) 574 return reinterpret_cast<T**>(Vals); 577 inline LLVMValueRef *wrap(const Value **Vals) { 578 return reinterpret_cast<LLVMValueRef*>(const_cast<Value**>(Vals));
|
Metadata.h | 116 MDNode(LLVMContext &C, ArrayRef<Value*> Vals, bool isFunctionLocal); 118 static MDNode *getMDNode(LLVMContext &C, ArrayRef<Value*> Vals, 122 static MDNode *get(LLVMContext &Context, ArrayRef<Value*> Vals); 124 // from isFunctionLocal argument, not by analyzing Vals. 126 ArrayRef<Value*> Vals, 129 static MDNode *getIfExists(LLVMContext &Context, ArrayRef<Value*> Vals); 134 static MDNode *getTemporary(LLVMContext &Context, ArrayRef<Value*> Vals);
|
/external/llvm/utils/TableGen/ |
CodeEmitterGen.cpp | 193 const std::vector<RecordVal> &Vals = R->getValues(); 202 for (unsigned i = 0, e = Vals.size(); i != e; ++i) { 204 if (!CGI.Operands.hasOperandNamed(Vals[i].getName(), OpIdx)) 213 for (unsigned i = 0, e = Vals.size(); i != e; ++i) { 216 if (Vals[i].getPrefix() || Vals[i].getValue()->isComplete()) 219 AddCodeToMergeInOperand(R, BI, Vals[i].getName(), NumberedOp,
|
FixedLenDecoderEmitter.cpp | [all...] |
/external/clang/lib/StaticAnalyzer/Core/ |
BasicValueFactory.cpp | 109 llvm::ImmutableList<SVal> Vals) { 112 CompoundValData::Profile(ID, T, Vals); 119 new (D) CompoundValData(T, Vals);
|
/external/llvm/lib/CodeGen/ |
RegisterCoalescer.cpp | 462 LiveInterval::iterator ValS = 464 if (ValS == IntB.end()) 470 LIS->getInstructionFromIndex(ValS->end.getPrevSlot()); 474 // Okay, we now know that ValS ends in the same block that the CopyMI 477 if (ValS+1 != BS) return false; 481 SlotIndex FillerStart = ValS->end, FillerEnd = BS->start; 488 // [ValS.end, BS.begin) of either value number, then we merge the 493 if (BValNo != ValS->valno) 494 IntB.MergeValueNumberInto(BValNo, ValS->valno); [all...] |
/external/llvm/lib/CodeGen/SelectionDAG/ |
LegalizeTypesGeneric.cpp | 117 SmallVector<SDValue, 8> Vals; 119 Vals.push_back(DAG.getNode(ISD::EXTRACT_VECTOR_ELT, dl, ElemVT, 125 for (unsigned e = Vals.size(); e - Slot > 2; Slot += 2, e += 1) { 128 SDValue LHS = Vals[Slot]; 129 SDValue RHS = Vals[Slot + 1]; 134 Vals.push_back(DAG.getNode(ISD::BUILD_PAIR, dl, 140 Lo = Vals[Slot++]; 141 Hi = Vals[Slot++];
|
/external/clang/lib/Edit/ |
RewriteObjCFoundationAPI.cpp | 566 SmallVector<const Expr *, 8> Vals; 567 if (!getNSArrayObjects(Msg->getArg(0), NS, Vals)) 574 if (Vals.size() != Keys.size()) 577 if (Vals.empty()) { 582 for (unsigned i = 0, n = Vals.size(); i < n; ++i) { 583 objectifyExpr(Vals[i], commit); 586 SourceRange ValRange = Vals[i]->getSourceRange(); 623 SmallVector<const Expr *, 8> Vals; 624 if (!getNSArrayObjects(Msg->getArg(0), NS, Vals)) 631 if (Vals.size() != Keys.size() [all...] |
/external/llvm/lib/TableGen/ |
TGParser.cpp | 151 const std::vector<RecordVal> &Vals = SC->getValues(); 152 for (unsigned i = 0, e = Vals.size(); i != e; ++i) 153 if (AddValue(CurRec, SubClass.RefRange.Start, Vals[i])) [all...] |
Record.cpp | 651 std::vector<Init*> Vals; 655 Vals.push_back(getElement(Elements[i])); 657 return ListInit::get(Vals, getType()); [all...] |
/external/llvm/include/llvm/MC/ |
MCDwarf.h | 433 static MCCFIInstruction createEscape(MCSymbol *L, StringRef Vals) { 434 return MCCFIInstruction(OpEscape, L, 0, 0, Vals);
|