Home
last modified time | relevance | path

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

/llvm-project-15.0.7/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 …]
/llvm-project-15.0.7/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()
/llvm-project-15.0.7/clang/lib/CodeGen/
H A DCodeGenFunction.cpp2392 if (OffsetValue && OffsetValue->getType() != IntPtrTy) in emitAlignmentAssumption()
2393 OffsetValue = in emitAlignmentAssumption()
2400 if (OffsetValue) { in emitAlignmentAssumption()
2402 if (const auto *CI = dyn_cast<llvm::ConstantInt>(OffsetValue)) in emitAlignmentAssumption()
2416 CGM.getDataLayout(), PtrValue, Alignment, OffsetValue); in emitAlignmentAssumption()
2421 OffsetValue, TheCheck, Assumption); in emitAlignmentAssumption()
2435 OffsetValue); in emitAlignmentAssumption()
2685 llvm::Value *OffsetValue, llvm::Value *TheCheck, in emitAlignmentAssumptionCheck() argument
2712 if (!OffsetValue) in emitAlignmentAssumptionCheck()
2713 OffsetValue = Builder.getInt1(false); // no offset. in emitAlignmentAssumptionCheck()
[all …]
H A DCGObjCGNU.cpp1856 llvm::Constant *OffsetValue = llvm::ConstantInt::get(IntTy, Offset); in GenerateClass() local
1860 OffsetVar->setInitializer(OffsetValue); in GenerateClass()
1864 OffsetValue, OffsetName); in GenerateClass()
3555 llvm::Constant *OffsetValue = llvm::ConstantInt::get(IntTy, Offset); in GenerateClass() local
3562 OffsetVar->setInitializer(OffsetValue); in GenerateClass()
3570 OffsetValue, OffsetName); in GenerateClass()
3571 IvarOffsets.push_back(OffsetValue); in GenerateClass()
H A DCodeGenFunction.h3188 llvm::Value *OffsetValue,
3195 llvm::Value *OffsetValue = nullptr);
3200 llvm::Value *OffsetValue = nullptr);
H A DCGBuiltin.cpp2781 Value *OffsetValue = in EmitBuiltinExpr() local
2792 AlignmentCI, OffsetValue); in EmitBuiltinExpr()
/llvm-project-15.0.7/clang/lib/StaticAnalyzer/Checkers/
H A DCheckPlacementNew.cpp251 int64_t OffsetValue = in checkFieldRegionAlign() local
253 unsigned AddressAlign = OffsetValue % AllocatedTAlign; in checkFieldRegionAlign()
/llvm-project-15.0.7/llvm/lib/IR/
H A DIRBuilder.cpp1271 Value *OffsetValue) { in CreateAlignmentAssumptionHelper() argument
1273 if (OffsetValue) in CreateAlignmentAssumptionHelper()
1274 Vals.push_back(OffsetValue); in CreateAlignmentAssumptionHelper()
1282 Value *OffsetValue) { in CreateAlignmentAssumption() argument
1289 return CreateAlignmentAssumptionHelper(DL, PtrValue, AlignValue, OffsetValue); in CreateAlignmentAssumption()
1295 Value *OffsetValue) { in CreateAlignmentAssumption() argument
1298 return CreateAlignmentAssumptionHelper(DL, PtrValue, Alignment, OffsetValue); in CreateAlignmentAssumption()
/llvm-project-15.0.7/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()
/llvm-project-15.0.7/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 …]
/llvm-project-15.0.7/llvm/lib/Target/PowerPC/
H A DPPCLoopInstrFormPrep.cpp608 Value *OffsetValue = SCEVE.expandCodeFor( in rewriteLoadStoresForCommoningChains() local
612 OffsetValue, DeletedPtrs); in rewriteLoadStoresForCommoningChains()
/llvm-project-15.0.7/llvm/include/llvm/IR/
H A DIRBuilder.h2442 Value *OffsetValue);
2453 Value *OffsetValue = nullptr);
2466 Value *OffsetValue = nullptr);
/llvm-project-15.0.7/llvm/lib/Transforms/Scalar/
H A DLoopStrengthReduce.cpp6096 void createOffsetExpr(int64_t Offset, Value *OffsetValue) { in createOffsetExpr()
6097 pushLocation(OffsetValue); in createOffsetExpr()