/external/llvm/include/llvm/Support/ |
H A D | Format.h | 81 T Val; member in class:llvm::format_object1 84 : format_object_base(fmt), Val(val) { 88 return snprintf(Buffer, BufferSize, Fmt, Val); 176 inline format_object1<T> format(const char *Fmt, const T &Val) { argument 177 return format_object1<T>(Fmt, Val);
|
H A D | CommandLine.h | 211 void setNumOccurrencesFlag(enum NumOccurrencesFlag Val) { argument 212 Occurrences = Val; 214 void setValueExpectedFlag(enum ValueExpected Val) { Value = Val; } argument 215 void setHiddenFlag(enum OptionHidden Val) { HiddenFlag = Val; } argument 289 initializer(const Ty &Val) : Init(Val) {} argument 296 initializer<Ty> init(const Ty &Val) { argument 297 return initializer<Ty>(Val); 458 ValuesClass(const char *EnumName, DataType Val, const char *Desc, va_list ValueArgs) argument 482 values(const char *Arg, DataType Val, const char *Desc, ...) argument 1129 typename ParserClass::parser_data_type Val = local 1169 operator =(const T &Val) argument 1306 typename ParserClass::parser_data_type Val = local [all...] |
H A D | YAMLParser.h | 182 ScalarNode(OwningPtr<Document> &D, StringRef Anchor, StringRef Val) argument 184 , Value(Val) { 185 SMLoc Start = SMLoc::getFromPointer(Val.begin()); 186 SMLoc End = SMLoc::getFromPointer(Val.end() - 1); 447 AliasNode(OwningPtr<Document> &D, StringRef Val) argument 448 : Node(NK_Alias, D, StringRef()), Name(Val) {}
|
/external/clang/lib/Basic/ |
H A D | Diagnostic.cpp | 541 unsigned Val = 0; local 543 Val *= 10; 544 Val += *Start - '0'; 547 return Val; 550 /// TestPluralRange - Test if Val is in the parsed range. Modifies Start. 551 static bool TestPluralRange(unsigned Val, const char *&Start, const char *End) { argument 554 return Ref == Val; 564 return Low <= Val && Val <= High; 777 int Val local 796 unsigned Val = getArgUInt(ArgNo); local [all...] |
/external/llvm/include/llvm/CodeGen/ |
H A D | SelectionDAG.h | 365 SDValue getConstant(uint64_t Val, EVT VT, bool isTarget = false); 366 SDValue getConstant(const APInt &Val, EVT VT, bool isTarget = false); 367 SDValue getConstant(const ConstantInt &Val, EVT VT, bool isTarget = false); 368 SDValue getIntPtrConstant(uint64_t Val, bool isTarget = false); 369 SDValue getTargetConstant(uint64_t Val, EVT VT) { argument 370 return getConstant(Val, VT, true); 372 SDValue getTargetConstant(const APInt &Val, EVT VT) { argument 373 return getConstant(Val, VT, true); 375 SDValue getTargetConstant(const ConstantInt &Val, EVT VT) { argument 376 return getConstant(Val, V 383 getTargetConstantFP(double Val, EVT VT) argument 386 getTargetConstantFP(const APFloat& Val, EVT VT) argument 389 getTargetConstantFP(const ConstantFP &Val, EVT VT) argument [all...] |
H A D | SelectionDAGNodes.h | 179 static unsigned getHashValue(const SDValue &Val) { argument 180 return ((unsigned)((uintptr_t)Val.getNode() >> 4) ^ 181 (unsigned)((uintptr_t)Val.getNode() >> 9)) + Val.getResNo(); 194 static SimpleType getSimplifiedValue(const SDValue &Val) { argument 195 return static_cast<SimpleType>(Val.getNode()); 200 static SimpleType getSimplifiedValue(const SDValue &Val) { argument 201 return static_cast<SimpleType>(Val.getNode()); 211 /// Val - The value being used. 212 SDValue Val; member in class:llvm::SDUse 293 getSimplifiedValue(const SDUse &Val) argument 299 getSimplifiedValue(const SDUse &Val) argument 1033 AtomicSDNode(unsigned Opc, DebugLoc dl, SDVTList VTL, EVT MemVT, SDValue Chain, SDValue Ptr, SDValue Val, MachineMemOperand *MMO, AtomicOrdering Ordering, SynchronizationScope SynchScope) argument 1290 } Val; member in class:llvm::SDNode::ConstantPoolSDNode [all...] |
H A D | MachineInstrBuilder.h | 78 const MachineInstrBuilder &addImm(int64_t Val) const { 79 MI->addOperand(MachineOperand::CreateImm(Val)); 83 const MachineInstrBuilder &addCImm(const ConstantInt *Val) const { 84 MI->addOperand(MachineOperand::CreateCImm(Val)); 88 const MachineInstrBuilder &addFPImm(const ConstantFP *Val) const { 89 MI->addOperand(MachineOperand::CreateFPImm(Val));
|
/external/llvm/lib/Analysis/ |
H A D | AliasAnalysisCounter.cpp | 43 void printLine(const char *Desc, unsigned Val, unsigned Sum) { argument 44 errs() << " " << Val << " " << Desc << " responses (" 45 << Val*100/Sum << "%)\n";
|
/external/llvm/lib/CodeGen/ |
H A D | MachineSSAUpdater.cpp | 317 static void AddPHIOperand(MachineInstr *PHI, unsigned Val, argument 319 PHI->addOperand(MachineOperand::CreateReg(Val, false)); 333 static MachineInstr *ValueIsPHI(unsigned Val, MachineSSAUpdater *Updater) { argument 334 return InstrIsPHI(Updater->MRI->getVRegDef(Val)); 339 static MachineInstr *ValueIsNewPHI(unsigned Val, MachineSSAUpdater *Updater) { argument 340 MachineInstr *PHI = ValueIsPHI(Val, Updater);
|
H A D | ShadowStackGC.cpp | 354 Value* Val = B.CreateGEP(BasePtr, Indices, Name); local 356 assert(isa<GetElementPtrInst>(Val) && "Unexpected folded constant"); 358 return dyn_cast<GetElementPtrInst>(Val); 366 Value *Val = B.CreateGEP(BasePtr, Indices, Name); local 368 assert(isa<GetElementPtrInst>(Val) && "Unexpected folded constant"); 370 return dyn_cast<GetElementPtrInst>(Val);
|
/external/llvm/unittests/ADT/ |
H A D | DenseMapTest.cpp | 63 static unsigned getHashValue(const CtorTester &Val) { 64 return Val.getValue() * 37u; 297 static unsigned getHashValue(const unsigned& Val) { return Val * 37U; } argument 298 static unsigned getHashValue(const char* Val) { argument 299 return (unsigned)(Val[0] - 'a') * 37U;
|
/external/clang/lib/Sema/ |
H A D | SemaAttr.cpp | 199 llvm::APSInt Val; local 205 !Alignment->isIntegerConstantExpr(Val, Context) || 206 !(Val == 0 || Val.isPowerOf2()) || 207 Val.getZExtValue() > 16) { 212 AlignmentVal = (unsigned) Val.getZExtValue();
|
/external/llvm/lib/Transforms/Scalar/ |
H A D | GVN.cpp | 514 Value *Val; member in struct:__anon9089::GVN::LeaderTableEntry 547 if (!Curr.Val) { 548 Curr.Val = V; 554 Node->Val = V; 566 while (Curr->Val != I || Curr->BB != BB) { 575 Curr->Val = 0; 579 Curr->Val = Next->Val; 815 Constant *Val = ConstantInt::get(StoredVal->getType(), StoreSize-LoadSize); local 816 StoredVal = BinaryOperator::CreateLShr(StoredVal, Val, "tm 1121 Value *Val = MSI->getValue(); local 1173 PointerIntPair<Value *, 2, ValType> Val; member in struct:__anon9090::AvailableValueInBlock [all...] |
/external/llvm/lib/Target/NVPTX/ |
H A D | NVPTXUtilities.h | 73 while (T Val = va_arg(Args, T)) 74 Result.push_back(Val);
|
/external/llvm/lib/Transforms/Utils/ |
H A D | AddrModeMatcher.cpp | 204 // TODO: We can handle "Or Val, Imm" iff this OR is equivalent to an ADD. 455 /// ValueAlreadyLiveAtInst - Retrn true if Val is already known to be live at 459 bool AddressingModeMatcher::ValueAlreadyLiveAtInst(Value *Val,Value *KnownLive1, argument 461 // If Val is either of the known-live values, we know it is live! 462 if (Val == 0 || Val == KnownLive1 || Val == KnownLive2) 466 if (!isa<Instruction>(Val) && !isa<Argument>(Val)) return true; 468 // If Val i [all...] |
H A D | BypassSlowDivision.cpp | 63 static unsigned getHashValue(const DivOpInfo &Val) { argument 64 return (unsigned)(reinterpret_cast<uintptr_t>(Val.Dividend) ^ 65 reinterpret_cast<uintptr_t>(Val.Divisor)) ^ 66 (unsigned)Val.SignedOp;
|
/external/llvm/lib/AsmParser/ |
H A D | LLParser.cpp | 608 if (GlobalValue *Val = M->getNamedValue(Name)) { 618 if (Val->getType() != GA->getType()) 624 Val->replaceAllUsesWith(GA); 625 Val->eraseFromParent(); 756 GlobalValue *Val = local 761 if (Val == 0) { 765 Val = I->second.first; 769 if (Val) { 770 if (Val->getType() == Ty) return Val; 795 GlobalValue *Val = ID < NumberedVals.size() ? NumberedVals[ID] : 0; local [all...] |
/external/llvm/lib/CodeGen/SelectionDAG/ |
H A D | FunctionLoweringInfo.cpp | 297 APInt Val = CI->getValue().zextOrTrunc(BitWidth); local 298 DestLOI.NumSignBits = Val.getNumSignBits(); 299 DestLOI.KnownZero = ~Val; 300 DestLOI.KnownOne = Val; 332 APInt Val = CI->getValue().zextOrTrunc(BitWidth); local 333 DestLOI.NumSignBits = std::min(DestLOI.NumSignBits, Val.getNumSignBits()); 334 DestLOI.KnownZero &= ~Val; 335 DestLOI.KnownOne &= Val; 469 Value *Val = I.getClause(i - 1); local 472 dyn_cast<GlobalVariable>(Val [all...] |
/external/llvm/lib/Target/Hexagon/ |
H A D | HexagonISelDAGToDAG.cpp | 354 int32_t Val = cast<ConstantSDNode>(OffsetNode)->getSExtValue(); local 360 if (TII->isValidAutoIncImm(LoadedVT, Val)) { 361 SDValue TargetConst = CurDAG->getTargetConstant(Val, MVT::i32); 382 SDValue TargetConstVal = CurDAG->getTargetConstant(Val, MVT::i32); 418 int32_t Val = cast<ConstantSDNode>(OffsetNode)->getSExtValue(); local 424 if (TII->isValidAutoIncImm(LoadedVT, Val)) { 425 SDValue TargetConstVal = CurDAG->getTargetConstant(Val, MVT::i32); 453 SDValue TargetConstVal = CurDAG->getTargetConstant(Val, MVT::i32); 492 int32_t Val = cast<ConstantSDNode>(OffsetNode)->getSExtValue(); local 501 if (TII->isValidAutoIncImm(LoadedVT, Val)) 603 int32_t Val = cast<ConstantSDNode>(OffsetNode)->getSExtValue(); local 1013 SDValue Val = CurDAG->getTargetConstant(ValConst, local 1041 SDValue Val = CurDAG->getTargetConstant(-ValConst, MVT::i32); local 1146 int32_t Val = cast<ConstantSDNode>(Arg)->getSExtValue(); local 1190 int32_t Val = cast<ConstantSDNode>(N)->getSExtValue(); local [all...] |
/external/llvm/include/llvm/Analysis/ |
H A D | ConstantFolding.h | 72 Constant *ConstantFoldInsertValueInstruction(Constant *Agg, Constant *Val,
|
/external/llvm/include/llvm/ |
H A D | Attributes.h | 47 explicit Attributes(uint64_t Val) : Bits(Val) { } argument 48 /*implicit*/ Attributes(Attribute::AttrConst Val) : Bits(Val.v) { } argument
|
H A D | DIBuilder.h | 100 DIEnumerator createEnumerator(StringRef Name, uint64_t Val); 380 /// @param Val llvm::Value of the variable. 383 DIType Ty, bool isLocalToUnit, llvm::Value *Val); 396 /// @param Val llvm::Value of the variable. 400 DIType Ty, bool isLocalToUnit, llvm::Value *Val); 544 /// @param Val llvm::Value of the variable 548 Instruction *insertDbgValueIntrinsic(llvm::Value *Val, uint64_t Offset, 553 /// @param Val llvm::Value of the variable 557 Instruction *insertDbgValueIntrinsic(llvm::Value *Val, uint64_t Offset,
|
/external/llvm/lib/Target/ARM/ |
H A D | Thumb1RegisterInfo.h | 41 unsigned DestReg, unsigned SubIdx, int Val,
|
/external/llvm/utils/TableGen/ |
H A D | DAGISelMatcherEmitter.cpp | 102 static unsigned GetVBRSize(unsigned Val) { argument 103 if (Val <= 127) return 1; 106 while (Val >= 128) { 107 Val >>= 7; 115 static uint64_t EmitVBRValue(uint64_t Val, raw_ostream &OS) { argument 116 if (Val <= 127) { 117 OS << Val << ", "; local 121 uint64_t InVal = Val; 123 while (Val >= 128) { 124 OS << (Val 128 OS << Val; local 420 int64_t Val = cast<EmitIntegerMatcher>(N)->getValue(); local 428 const std::string &Val = cast<EmitStringIntegerMatcher>(N)->getValue(); local [all...] |
/external/llvm/lib/Target/PowerPC/ |
H A D | PPCISelDAGToDAG.cpp | 77 /// isRunOfOnes - Returns true iff Val consists of one contiguous run of 1s 81 static bool isRunOfOnes(unsigned Val, unsigned &MB, unsigned &ME); 326 bool PPCDAGToDAGISel::isRunOfOnes(unsigned Val, unsigned &MB, unsigned &ME) { argument 327 if (isShiftedMask_32(Val)) { 329 MB = CountLeadingZeros_32(Val); 331 ME = CountLeadingZeros_32((Val - 1) ^ Val); 334 Val = ~Val; // invert mask 335 if (isShiftedMask_32(Val)) { 984 SDValue Val = N->getOperand(0).getOperand(0); local 993 SDValue Val = N->getOperand(0); local 1000 SDValue Val = N->getOperand(0); local [all...] |