Home
last modified time | relevance | path

Searched refs:OffsetValue (Results 1 – 12 of 12) sorted by relevance

/freebsd-11-stable/contrib/llvm-project/llvm/lib/Analysis/
HDCFLAndersAliasAnalysis.cpp136 struct OffsetValue { struct
141 bool operator==(OffsetValue LHS, OffsetValue RHS) { in operator ==()
144 bool operator<(OffsetValue LHS, OffsetValue RHS) { in operator <()
275 template <> struct DenseMapInfo<OffsetValue> {
276 static OffsetValue getEmptyKey() { in getEmptyKey()
277 return OffsetValue{DenseMapInfo<const Value *>::getEmptyKey(), in getEmptyKey()
281 static OffsetValue getTombstoneKey() { in getTombstoneKey()
282 return OffsetValue{DenseMapInfo<const Value *>::getTombstoneKey(), in getTombstoneKey()
286 static unsigned getHashValue(const OffsetValue &OVal) { in getHashValue()
291 static bool isEqual(const OffsetValue &LHS, const OffsetValue &RHS) { in isEqual()
[all …]
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/Lanai/AsmParser/
HDLanaiAsmParser.cpp62 bool parsePrePost(StringRef Type, int *OffsetValue);
820 bool LanaiAsmParser::parsePrePost(StringRef Type, int *OffsetValue) { in parsePrePost() argument
825 *OffsetValue = -SizeForSuffix(Type); in parsePrePost()
827 *OffsetValue = SizeForSuffix(Type); in parsePrePost()
884 int OffsetValue = 0; in parseMemoryOperand() local
912 PreOp = parsePrePost(Type, &OffsetValue); in parseMemoryOperand()
946 PostOp = parsePrePost(Type, &OffsetValue); in parseMemoryOperand()
956 MCConstantExpr::create(OffsetValue, getContext()); in parseMemoryOperand()
960 if (Offset || OffsetValue != 0) { in parseMemoryOperand()
/freebsd-11-stable/contrib/llvm-project/llvm/lib/MC/
HDMCObjectStreamer.cpp679 int64_t OffsetValue; in EmitRelocDirective() local
680 if (Offset.evaluateAsAbsolute(OffsetValue)) { in EmitRelocDirective()
681 if (OffsetValue < 0) in EmitRelocDirective()
683 DF->getFixups().push_back(MCFixup::create(OffsetValue, Expr, Kind, Loc)); in EmitRelocDirective()
/freebsd-11-stable/contrib/llvm-project/clang/lib/CodeGen/
HDCodeGenFunction.cpp2153 llvm::Value *OffsetValue) { in EmitAlignmentAssumption() argument
2156 CGM.getDataLayout(), PtrValue, Alignment, OffsetValue, &TheCheck); in EmitAlignmentAssumption()
2159 OffsetValue, TheCheck, Assumption); in EmitAlignmentAssumption()
2167 llvm::Value *OffsetValue) { in EmitAlignmentAssumption() argument
2174 OffsetValue); in EmitAlignmentAssumption()
2443 llvm::Value *OffsetValue, llvm::Value *TheCheck, in EmitAlignmentAssumptionCheck() argument
2470 if (!OffsetValue) in EmitAlignmentAssumptionCheck()
2471 OffsetValue = Builder.getInt1(0); // no offset. in EmitAlignmentAssumptionCheck()
2478 EmitCheckValue(OffsetValue)}; in EmitAlignmentAssumptionCheck()
HDCGObjCGNU.cpp1841 llvm::Constant *OffsetValue = llvm::ConstantInt::get(IntTy, Offset); in GenerateClass() local
1845 OffsetVar->setInitializer(OffsetValue); in GenerateClass()
1849 OffsetValue, OffsetName); in GenerateClass()
3448 llvm::Constant *OffsetValue = llvm::ConstantInt::get(IntTy, Offset); in GenerateClass() local
3455 OffsetVar->setInitializer(OffsetValue); in GenerateClass()
3463 OffsetValue, OffsetName); in GenerateClass()
3464 IvarOffsets.push_back(OffsetValue); in GenerateClass()
HDCodeGenFunction.h2833 llvm::Value *OffsetValue,
2840 llvm::Value *OffsetValue = nullptr);
2844 llvm::Value *OffsetValue = nullptr);
HDCGCall.cpp4624 llvm::Value *OffsetValue = nullptr; in EmitCall() local
4626 OffsetValue = EmitScalarExpr(Offset); in EmitCall()
4631 AlignmentCI, OffsetValue); in EmitCall()
HDCGBuiltin.cpp2158 Value *OffsetValue = in EmitBuiltinExpr() local
2169 AlignmentCI, OffsetValue); in EmitBuiltinExpr()
/freebsd-11-stable/contrib/llvm-project/llvm/include/llvm/IR/
HDIRBuilder.h2798 Type *IntPtrTy, Value *OffsetValue, in CreateAlignmentAssumptionHelper() argument
2802 if (OffsetValue) { in CreateAlignmentAssumptionHelper()
2804 if (const auto *CI = dyn_cast<ConstantInt>(OffsetValue)) in CreateAlignmentAssumptionHelper()
2808 if (OffsetValue->getType() != IntPtrTy) in CreateAlignmentAssumptionHelper()
2809 OffsetValue = CreateIntCast(OffsetValue, IntPtrTy, /*isSigned*/ true, in CreateAlignmentAssumptionHelper()
2811 PtrIntValue = CreateSub(PtrIntValue, OffsetValue, "offsetptr"); in CreateAlignmentAssumptionHelper()
2836 Value *OffsetValue = nullptr,
2846 OffsetValue, TheCheck);
2863 Value *OffsetValue = nullptr,
2877 OffsetValue, TheCheck);
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/Mips/
HDMipsInstructionSelector.cpp424 APInt OffsetValue = Offset->getOperand(1).getCImm()->getValue(); in select() local
425 if (OffsetValue.isSignedIntN(16)) { in select()
427 SignedOffset = OffsetValue.getSExtValue(); in select()
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/Mips/AsmParser/
HDMipsAsmParser.cpp4360 int64_t OffsetValue = OffsetImmOp.getImm(); in expandUlh() local
4369 bool IsLargeOffset = !(isInt<16>(OffsetValue + 1) && isInt<16>(OffsetValue)); in expandUlh()
4371 if (loadImmediate(OffsetValue, ATReg, SrcReg, !ABI.ArePtrs64bit(), true, in expandUlh()
4376 int64_t FirstOffset = IsLargeOffset ? 0 : OffsetValue; in expandUlh()
4377 int64_t SecondOffset = IsLargeOffset ? 1 : (OffsetValue + 1); in expandUlh()
4412 int64_t OffsetValue = OffsetImmOp.getImm(); in expandUsh() local
4419 bool IsLargeOffset = !(isInt<16>(OffsetValue + 1) && isInt<16>(OffsetValue)); in expandUsh()
4421 if (loadImmediate(OffsetValue, ATReg, SrcReg, !ABI.ArePtrs64bit(), true, in expandUsh()
4426 int64_t FirstOffset = IsLargeOffset ? 1 : (OffsetValue + 1); in expandUsh()
4427 int64_t SecondOffset = IsLargeOffset ? 0 : OffsetValue; in expandUsh()
[all …]
/freebsd-11-stable/contrib/llvm-project/llvm/lib/MC/MCParser/
HDAsmParser.cpp2995 int64_t OffsetValue; in parseDirectiveReloc() local
3001 if ((Offset->evaluateAsAbsolute(OffsetValue, in parseDirectiveReloc()
3003 check(OffsetValue < 0, OffsetLoc, "expression is negative")) || in parseDirectiveReloc()