Searched defs:IntVal (Results 1 - 23 of 23) sorted by relevance

/external/llvm/include/llvm/ExecutionEngine/
H A DGenericValue.h38 APInt IntVal; // also used for long doubles. member in struct:llvm::GenericValue
45 GenericValue() : IntVal(1,0) {UIntPairVal.first = 0; UIntPairVal.second = 0;}
46 explicit GenericValue(void *V) : PointerVal(V), IntVal(1,0) { }
/external/clang/lib/StaticAnalyzer/Core/
H A DSimpleConstraintManager.cpp221 const llvm::APSInt &IntVal = Value.castAs<nonloc::ConcreteInt>().getValue(); local
222 bool IsInRange = IntVal >= From && IntVal <= To;
/external/clang/include/clang/AST/
H A DCommentLexer.h79 unsigned IntVal; member in class:clang::comments::Token
102 return StringRef(TextPtr, IntVal);
108 IntVal = Text.size();
113 return StringRef(TextPtr, IntVal);
119 IntVal = Name.size();
124 return IntVal;
129 IntVal = ID;
134 return IntVal;
139 IntVal = ID;
144 return StringRef(TextPtr, IntVal);
[all...]
/external/llvm/lib/CodeGen/MIRParser/
H A DMILexer.cpp75 MIToken &MIToken::setIntegerValue(APSInt IntVal) { argument
76 this->IntVal = std::move(IntVal);
H A DMILexer.h127 APSInt IntVal; member in struct:llvm::MIToken
136 MIToken &setIntegerValue(APSInt IntVal);
174 const APSInt &integerValue() const { return IntVal; }
/external/llvm/lib/TableGen/
H A DTGLexer.h54 IntVal, enumerator in enum:llvm::tgtok::TokKind
108 assert(CurCode == tgtok::IntVal && "This token isn't an integer");
/external/llvm/unittests/ExecutionEngine/MCJIT/
H A DMCJITCAPITest.cpp232 LLVMValueRef IntVal = LLVMBuildLoad(Builder, GlobalVar, "intVal"); local
233 LLVMBuildRet(Builder, IntVal);
/external/llvm/include/llvm/MC/MCParser/
H A DMCAsmLexer.h62 APInt IntVal; member in class:llvm::AsmToken
66 AsmToken(TokenKind Kind, StringRef Str, APInt IntVal) argument
67 : Kind(Kind), Str(Str), IntVal(IntVal) {}
68 AsmToken(TokenKind Kind, StringRef Str, int64_t IntVal = 0)
69 : Kind(Kind), Str(Str), IntVal(64, IntVal, true) {}
107 return IntVal.getZExtValue();
113 return IntVal;
/external/llvm/lib/CodeGen/SelectionDAG/
H A DLegalizeDAG.cpp706 const APInt &IntVal = CFP->getValueAPF().bitcastToAPInt(); local
707 SDValue Lo = DAG.getConstant(IntVal.trunc(32), dl, MVT::i32);
708 SDValue Hi = DAG.getConstant(IntVal.lshr(32).trunc(32), dl, MVT::i32);
/external/llvm/lib/ExecutionEngine/
H A DExecutionEngine.cpp432 GVArgc.IntVal = APInt(32, argv.size());
471 return runFunction(Fn, GVArgs).IntVal.getZExtValue();
610 Result.IntVal = APInt(C->getType()->getPrimitiveSizeInBits(), 0);
620 Result.AggregateVal[i].IntVal =
638 Result.AggregateVal[i].IntVal =
662 GV.IntVal = GV.IntVal.trunc(BitWidth);
668 GV.IntVal = GV.IntVal.zext(BitWidth);
674 GV.IntVal
1024 StoreIntToMemory(const APInt &IntVal, uint8_t *Dst, unsigned StoreBytes) argument
1097 LoadIntFromMemory(APInt &IntVal, uint8_t *Src, unsigned LoadBytes) argument
[all...]
/external/clang/lib/CodeGen/
H A DCGAtomic.cpp192 RValue ConvertIntToValueOrAtomic(llvm::Value *IntVal,
1208 RValue AtomicInfo::ConvertIntToValueOrAtomic(llvm::Value *IntVal, argument
1213 assert(IntVal->getType()->isIntegerTy() && "Expected integer value");
1223 assert(IntVal->getType() == ValTy && "Different integer types.");
1224 return RValue::get(CGF.EmitFromMemory(IntVal, ValueTy));
1226 return RValue::get(CGF.Builder.CreateIntToPtr(IntVal, ValTy));
1227 else if (llvm::CastInst::isBitCastable(IntVal->getType(), ValTy))
1228 return RValue::get(CGF.Builder.CreateBitCast(IntVal, ValTy));
1245 CGF.Builder.CreateStore(IntVal, CastTemp)
/external/llvm/lib/MC/
H A DMCDwarf.cpp75 // This helper routine returns an expression of End - Start + IntVal .
80 int IntVal) {
89 MCConstantExpr::create(IntVal, MCOS.getContext());
77 MakeStartMinusEndExpr(const MCStreamer &MCOS, const MCSymbol &Start, const MCSymbol &End, int IntVal) argument
/external/llvm/lib/Target/AMDGPU/AsmParser/
H A DAMDGPUAsmParser.cpp446 bool parseCnt(int64_t &IntVal);
1124 int64_t IntVal; local
1125 if (getParser().parseAbsoluteExpression(IntVal))
1127 if (!isInt<32>(IntVal) && !isUInt<32>(IntVal)) {
1133 IntVal *= -1;
1134 Operands.push_back(AMDGPUOperand::CreateImm(IntVal, S));
1141 int64_t IntVal; local
1142 if (getParser().parseAbsoluteExpression(IntVal))
1145 APFloat F((float)BitsToDouble(IntVal));
1487 parseCnt(int64_t &IntVal) argument
[all...]
/external/llvm/lib/Target/PowerPC/AsmParser/
H A DPPCAsmParser.cpp257 unsigned &RegNo, int64_t &IntVal);
1231 MatchRegisterName(const AsmToken &Tok, unsigned &RegNo, int64_t &IntVal) { argument
1237 IntVal = 8;
1241 IntVal = 9;
1245 IntVal = 256;
1248 !Name.substr(1).getAsInteger(10, IntVal) && IntVal < 32) {
1249 RegNo = isPPC64()? XRegs[IntVal] : RRegs[IntVal];
1252 !Name.substr(1).getAsInteger(10, IntVal)
1284 int64_t IntVal; local
1516 int64_t IntVal; local
1531 int64_t IntVal; local
1583 int64_t IntVal; local
[all...]
/external/llvm/lib/Transforms/InstCombine/
H A DInstCombineAddSub.cpp42 FAddendCoef() : IsFp(false), BufHasFpVal(false), IntVal(0) {}
47 IsFp = false; IntVal = C;
54 bool isZero() const { return isInt() ? !IntVal : getFpVal().isZero(); }
64 bool isOne() const { return isInt() && IntVal == 1; }
65 bool isTwo() const { return isInt() && IntVal == 2; }
66 bool isMinusOne() const { return isInt() && IntVal == -1; }
67 bool isMinusTwo() const { return isInt() && IntVal == -2; }
105 // two instructions. So the range of <IntVal> falls in [-4, 4]. APInt
107 short IntVal; member in class:__anon12874::FAddendCoef
228 if (IntVal >
1579 APInt IntVal = C->getValue(); local
[all...]
/external/llvm/lib/Transforms/Scalar/
H A DIndVarSimplify.cpp260 static bool ConvertToSInt(const APFloat &APF, int64_t &IntVal) { argument
267 IntVal = UIntVal;
/external/llvm/lib/Target/X86/AsmParser/
H A DX86AsmParser.cpp1239 int64_t IntVal = getTok().getIntVal(); local
1246 getContext().getDirectionalLocalSymbol(IntVal, IDVal == "b");
1256 if (SM.onInteger(IntVal, ErrMsg))
1260 if (SM.onInteger(IntVal, ErrMsg))
/external/clang/lib/Analysis/
H A DCFG.cpp890 llvm::APSInt IntVal; local
891 if (Bop->getLHS()->EvaluateAsInt(IntVal, *Context)) {
892 if (!IntVal.getBoolValue()) {
896 if (Bop->getRHS()->EvaluateAsInt(IntVal, *Context)) {
897 if (!IntVal.getBoolValue()) {
/external/llvm/lib/MC/MCParser/
H A DAsmParser.cpp886 int64_t IntVal = getTok().getIntVal(); local
887 Res = MCConstantExpr::create(IntVal, getContext());
904 Ctx.getDirectionalLocalSymbol(IntVal, IDVal == "b");
916 uint64_t IntVal = RealVal.bitcastToAPInt().getZExtValue(); local
917 Res = MCConstantExpr::create(IntVal, getContext());
/external/llvm/lib/Target/AArch64/AsmParser/
H A DAArch64AsmParser.cpp2241 uint64_t IntVal = RealVal.bitcastToAPInt().getZExtValue(); local
2242 int Val = AArch64_AM::getFP64Imm(APInt(64, IntVal));
2264 uint64_t IntVal = RealVal.bitcastToAPInt().getZExtValue(); local
2266 IntVal ^= (uint64_t)isNegative << 63;
2267 Val = AArch64_AM::getFP64Imm(APInt(64, IntVal));
3241 uint64_t IntVal = RealVal.bitcastToAPInt().getZExtValue(); local
3246 else if (IntVal != 0 || isNegative)
/external/llvm/lib/Target/Mips/AsmParser/
H A DMipsAsmParser.cpp3791 unsigned IntVal; local
3792 if (NumString.getAsInteger(10, IntVal))
3794 if (IntVal > 31) // Maximum index for fpu register.
3796 return IntVal;
3805 unsigned IntVal; local
3806 if (NumString.getAsInteger(10, IntVal))
3808 if (IntVal > 7) // There are only 8 fcc registers.
3810 return IntVal;
3819 unsigned IntVal; local
3820 if (NumString.getAsInteger(10, IntVal))
3830 unsigned IntVal; local
[all...]
/external/llvm/lib/Target/ARM/AsmParser/
H A DARMAsmParser.cpp4995 uint64_t IntVal = RealVal.bitcastToAPInt().getZExtValue(); local
4997 IntVal ^= (uint64_t)isNegative << 31;
5000 MCConstantExpr::create(IntVal, getContext()),
/external/llvm/lib/Target/PowerPC/
H A DPPCISelLowering.cpp7634 SDValue IntVal = DAG.getLoad(MVT::i32, dl, StoreChain, Idx, local
7639 return IntVal;
7641 return DAG.getNode(ISD::TRUNCATE, dl, MVT::i1, IntVal);

Completed in 623 milliseconds