Home
last modified time | relevance | path

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

/freebsd-13.1/contrib/llvm-project/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()
286 static unsigned getHashValue(const OffsetValue &OVal) { in getHashValue()
291 static bool isEqual(const OffsetValue &LHS, const OffsetValue &RHS) { in isEqual()
328 DenseMap<const Value *, std::vector<OffsetValue>> AliasMap;
[all …]
/freebsd-13.1/contrib/llvm-project/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()
/freebsd-13.1/contrib/llvm-project/clang/lib/CodeGen/
H A DCodeGenFunction.cpp2325 if (OffsetValue && OffsetValue->getType() != IntPtrTy) in emitAlignmentAssumption()
2326 OffsetValue = in emitAlignmentAssumption()
2333 if (OffsetValue) { in emitAlignmentAssumption()
2335 if (const auto *CI = dyn_cast<llvm::ConstantInt>(OffsetValue)) in emitAlignmentAssumption()
2349 CGM.getDataLayout(), PtrValue, Alignment, OffsetValue); in emitAlignmentAssumption()
2354 OffsetValue, TheCheck, Assumption); in emitAlignmentAssumption()
2368 OffsetValue); in emitAlignmentAssumption()
2619 llvm::Value *OffsetValue, llvm::Value *TheCheck, in emitAlignmentAssumptionCheck() argument
2646 if (!OffsetValue) in emitAlignmentAssumptionCheck()
2647 OffsetValue = Builder.getInt1(0); // no offset. in emitAlignmentAssumptionCheck()
[all …]
H A DCGObjCGNU.cpp1853 llvm::Constant *OffsetValue = llvm::ConstantInt::get(IntTy, Offset); in GenerateClass() local
1857 OffsetVar->setInitializer(OffsetValue); in GenerateClass()
1861 OffsetValue, OffsetName); in GenerateClass()
3473 llvm::Constant *OffsetValue = llvm::ConstantInt::get(IntTy, Offset); in GenerateClass() local
3480 OffsetVar->setInitializer(OffsetValue); in GenerateClass()
3488 OffsetValue, OffsetName); in GenerateClass()
3489 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.cpp2853 Value *OffsetValue = in EmitBuiltinExpr() local
2864 AlignmentCI, OffsetValue); in EmitBuiltinExpr()
/freebsd-13.1/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/
H A DCheckPlacementNew.cpp251 int64_t OffsetValue = in checkFieldRegionAlign() local
253 unsigned AddressAlign = OffsetValue % AllocatedTAlign; in checkFieldRegionAlign()
/freebsd-13.1/contrib/llvm-project/llvm/lib/IR/
H A DIRBuilder.cpp1226 Value *OffsetValue) { in CreateAlignmentAssumptionHelper() argument
1228 if (OffsetValue) in CreateAlignmentAssumptionHelper()
1229 Vals.push_back(OffsetValue); in CreateAlignmentAssumptionHelper()
1237 Value *OffsetValue) { in CreateAlignmentAssumption() argument
1244 return CreateAlignmentAssumptionHelper(DL, PtrValue, AlignValue, OffsetValue); in CreateAlignmentAssumption()
1250 Value *OffsetValue) { in CreateAlignmentAssumption() argument
1253 return CreateAlignmentAssumptionHelper(DL, PtrValue, Alignment, OffsetValue); in CreateAlignmentAssumption()
/freebsd-13.1/contrib/llvm-project/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()
/freebsd-13.1/contrib/llvm-project/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()
4404 int64_t FirstOffset = IsLargeOffset ? 0 : OffsetValue; in expandUlh()
4440 int64_t OffsetValue = OffsetImmOp.getImm(); in expandUsh() local
4447 bool IsLargeOffset = !(isInt<16>(OffsetValue + 1) && isInt<16>(OffsetValue)); in expandUsh()
4454 int64_t FirstOffset = IsLargeOffset ? 1 : (OffsetValue + 1); in expandUsh()
4455 int64_t SecondOffset = IsLargeOffset ? 0 : OffsetValue; in expandUsh()
4491 int64_t OffsetValue = OffsetImmOp.getImm(); in expandUxw() local
4494 bool IsLargeOffset = !(isInt<16>(OffsetValue + 3) && isInt<16>(OffsetValue)); in expandUxw()
4495 int64_t LxlOffset = IsLargeOffset ? 0 : OffsetValue; in expandUxw()
[all …]
/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/IR/
H A DIRBuilder.h2600 Value *OffsetValue);
2611 Value *OffsetValue = nullptr);
2624 Value *OffsetValue = nullptr);