Home
last modified time | relevance | path

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

/netbsd-src/external/apache2/llvm/dist/llvm/lib/Analysis/
H A DCFLAndersAliasAnalysis.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 …]
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/Lanai/AsmParser/
H A DLanaiAsmParser.cpp62 bool parsePrePost(StringRef Type, int *OffsetValue);
844 bool LanaiAsmParser::parsePrePost(StringRef Type, int *OffsetValue) { in parsePrePost() argument
849 *OffsetValue = -SizeForSuffix(Type); in parsePrePost()
851 *OffsetValue = SizeForSuffix(Type); in parsePrePost()
908 int OffsetValue = 0; in parseMemoryOperand() local
936 PreOp = parsePrePost(Type, &OffsetValue); in parseMemoryOperand()
970 PostOp = parsePrePost(Type, &OffsetValue); in parseMemoryOperand()
980 MCConstantExpr::create(OffsetValue, getContext()); in parseMemoryOperand()
984 if (Offset || OffsetValue != 0) { in parseMemoryOperand()
/netbsd-src/external/apache2/llvm/dist/clang/lib/CodeGen/
H A DCodeGenFunction.cpp2307 llvm::Value *OffsetValue) { in emitAlignmentAssumption() argument
2311 if (OffsetValue && OffsetValue->getType() != IntPtrTy) in emitAlignmentAssumption()
2312 OffsetValue = in emitAlignmentAssumption()
2313 Builder.CreateIntCast(OffsetValue, IntPtrTy, true, "casted.offset"); in emitAlignmentAssumption()
2319 if (OffsetValue) { in emitAlignmentAssumption()
2321 if (const auto *CI = dyn_cast<llvm::ConstantInt>(OffsetValue)) in emitAlignmentAssumption()
2325 PtrIntValue = Builder.CreateSub(PtrIntValue, OffsetValue, "offsetptr"); in emitAlignmentAssumption()
2335 CGM.getDataLayout(), PtrValue, Alignment, OffsetValue); in emitAlignmentAssumption()
2340 OffsetValue, TheCheck, Assumption); in emitAlignmentAssumption()
2347 llvm::Value *OffsetValue) { in emitAlignmentAssumption() argument
[all …]
H A DCGObjCGNU.cpp1850 llvm::Constant *OffsetValue = llvm::ConstantInt::get(IntTy, Offset); in GenerateClass() local
1854 OffsetVar->setInitializer(OffsetValue); in GenerateClass()
1858 OffsetValue, OffsetName); in GenerateClass()
3470 llvm::Constant *OffsetValue = llvm::ConstantInt::get(IntTy, Offset); in GenerateClass() local
3477 OffsetVar->setInitializer(OffsetValue); in GenerateClass()
3485 OffsetValue, OffsetName); in GenerateClass()
3486 IvarOffsets.push_back(OffsetValue); in GenerateClass()
H A DCodeGenFunction.h3130 llvm::Value *OffsetValue,
3137 llvm::Value *OffsetValue = nullptr);
3142 llvm::Value *OffsetValue = nullptr);
H A DCGBuiltin.cpp2813 Value *OffsetValue = in EmitBuiltinExpr() local
2824 AlignmentCI, OffsetValue); in EmitBuiltinExpr()
/netbsd-src/external/apache2/llvm/dist/clang/lib/StaticAnalyzer/Checkers/
H A DCheckPlacementNew.cpp251 int64_t OffsetValue = in checkFieldRegionAlign() local
253 unsigned AddressAlign = OffsetValue % AllocatedTAlign; in checkFieldRegionAlign()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/IR/
H A DIRBuilder.cpp1178 Value *OffsetValue) { in CreateAlignmentAssumptionHelper() argument
1180 if (OffsetValue) in CreateAlignmentAssumptionHelper()
1181 Vals.push_back(OffsetValue); in CreateAlignmentAssumptionHelper()
1189 Value *OffsetValue) { in CreateAlignmentAssumption() argument
1196 return CreateAlignmentAssumptionHelper(DL, PtrValue, AlignValue, OffsetValue); in CreateAlignmentAssumption()
1202 Value *OffsetValue) { in CreateAlignmentAssumption() argument
1205 return CreateAlignmentAssumptionHelper(DL, PtrValue, Alignment, OffsetValue); in CreateAlignmentAssumption()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/Mips/
H A DMipsInstructionSelector.cpp456 APInt OffsetValue = Offset->getOperand(1).getCImm()->getValue(); in select() local
457 if (OffsetValue.isSignedIntN(16)) { in select()
459 SignedOffset = OffsetValue.getSExtValue(); in select()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/Mips/AsmParser/
H A DMipsAsmParser.cpp4388 int64_t OffsetValue = OffsetImmOp.getImm(); in expandUlh() local
4397 bool IsLargeOffset = !(isInt<16>(OffsetValue + 1) && isInt<16>(OffsetValue)); in expandUlh()
4399 if (loadImmediate(OffsetValue, ATReg, SrcReg, !ABI.ArePtrs64bit(), true, in expandUlh()
4404 int64_t FirstOffset = IsLargeOffset ? 0 : OffsetValue; in expandUlh()
4405 int64_t SecondOffset = IsLargeOffset ? 1 : (OffsetValue + 1); in expandUlh()
4440 int64_t OffsetValue = OffsetImmOp.getImm(); in expandUsh() local
4447 bool IsLargeOffset = !(isInt<16>(OffsetValue + 1) && isInt<16>(OffsetValue)); in expandUsh()
4449 if (loadImmediate(OffsetValue, ATReg, SrcReg, !ABI.ArePtrs64bit(), true, in expandUsh()
4454 int64_t FirstOffset = IsLargeOffset ? 1 : (OffsetValue + 1); in expandUsh()
4455 int64_t SecondOffset = IsLargeOffset ? 0 : OffsetValue; in expandUsh()
[all …]
/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/IR/
H A DIRBuilder.h2553 Value *OffsetValue);
2564 Value *OffsetValue = nullptr);
2577 Value *OffsetValue = nullptr);