| /freebsd-12.1/contrib/llvm/lib/Analysis/ |
| H A D | CFLAndersAliasAnalysis.cpp | 134 struct OffsetValue { struct 139 bool operator==(OffsetValue LHS, OffsetValue RHS) { in operator ==() 142 bool operator<(OffsetValue LHS, OffsetValue RHS) { in operator <() 273 template <> struct DenseMapInfo<OffsetValue> { 274 static OffsetValue getEmptyKey() { in getEmptyKey() 275 return OffsetValue{DenseMapInfo<const Value *>::getEmptyKey(), in getEmptyKey() 279 static OffsetValue getTombstoneKey() { in getTombstoneKey() 284 static unsigned getHashValue(const OffsetValue &OVal) { in getHashValue() 289 static bool isEqual(const OffsetValue &LHS, const OffsetValue &RHS) { in isEqual() 326 DenseMap<const Value *, std::vector<OffsetValue>> AliasMap; [all …]
|
| /freebsd-12.1/contrib/llvm/lib/Target/Lanai/AsmParser/ |
| H A D | LanaiAsmParser.cpp | 62 bool parsePrePost(StringRef Type, int *OffsetValue); 819 bool LanaiAsmParser::parsePrePost(StringRef Type, int *OffsetValue) { in parsePrePost() argument 824 *OffsetValue = -SizeForSuffix(Type); in parsePrePost() 826 *OffsetValue = SizeForSuffix(Type); in parsePrePost() 883 int OffsetValue = 0; in parseMemoryOperand() local 911 PreOp = parsePrePost(Type, &OffsetValue); in parseMemoryOperand() 945 PostOp = parsePrePost(Type, &OffsetValue); in parseMemoryOperand() 955 MCConstantExpr::create(OffsetValue, getContext()); in parseMemoryOperand() 959 if (Offset || OffsetValue != 0) { in parseMemoryOperand()
|
| /freebsd-12.1/contrib/llvm/lib/MC/ |
| H A D | MCObjectStreamer.cpp | 644 int64_t OffsetValue; in EmitRelocDirective() local 645 if (Offset.evaluateAsAbsolute(OffsetValue)) { in EmitRelocDirective() 646 if (OffsetValue < 0) in EmitRelocDirective() 648 DF->getFixups().push_back(MCFixup::create(OffsetValue, Expr, Kind, Loc)); in EmitRelocDirective()
|
| /freebsd-12.1/contrib/llvm/tools/clang/lib/CodeGen/ |
| H A D | CodeGenFunction.cpp | 2214 llvm::Value *OffsetValue) { in EmitAlignmentAssumption() argument 2217 CGM.getDataLayout(), PtrValue, Alignment, OffsetValue, &TheCheck); in EmitAlignmentAssumption() 2220 OffsetValue, TheCheck, Assumption); in EmitAlignmentAssumption() 2228 llvm::Value *OffsetValue) { in EmitAlignmentAssumption() argument 2231 CGM.getDataLayout(), PtrValue, Alignment, OffsetValue, &TheCheck); in EmitAlignmentAssumption() 2235 OffsetValue, TheCheck, Assumption); in EmitAlignmentAssumption() 2250 OffsetValue); in EmitAlignmentAssumption() 2514 llvm::Value *OffsetValue, llvm::Value *TheCheck, in EmitAlignmentAssumptionCheck() argument 2541 if (!OffsetValue) in EmitAlignmentAssumptionCheck() 2542 OffsetValue = Builder.getInt1(0); // no offset. in EmitAlignmentAssumptionCheck() [all …]
|
| H A D | CGObjCGNU.cpp | 1754 llvm::Constant *OffsetValue = llvm::ConstantInt::get(IntTy, Offset); in GenerateClass() local 1758 OffsetVar->setInitializer(OffsetValue); in GenerateClass() 1762 OffsetValue, OffsetName); in GenerateClass() 3342 llvm::Constant *OffsetValue = llvm::ConstantInt::get(IntTy, Offset); in GenerateClass() local 3349 OffsetVar->setInitializer(OffsetValue); in GenerateClass() 3357 OffsetValue, OffsetName); in GenerateClass() 3358 IvarOffsets.push_back(OffsetValue); in GenerateClass()
|
| H A D | CodeGenFunction.h | 2804 llvm::Value *OffsetValue, 2811 llvm::Value *OffsetValue = nullptr); 2816 llvm::Value *OffsetValue = nullptr); 2820 llvm::Value *OffsetValue = nullptr);
|
| H A D | CGCall.cpp | 4535 llvm::Value *OffsetValue = nullptr; in EmitCall() local 4537 OffsetValue = EmitScalarExpr(Offset); in EmitCall() 4542 AlignmentCI->getZExtValue(), OffsetValue); in EmitCall()
|
| H A D | CGBuiltin.cpp | 1909 Value *OffsetValue = in EmitBuiltinExpr() local 1917 Alignment, OffsetValue); in EmitBuiltinExpr()
|
| /freebsd-12.1/contrib/llvm/include/llvm/IR/ |
| H A D | IRBuilder.h | 2241 Type *IntPtrTy, Value *OffsetValue, in CreateAlignmentAssumptionHelper() argument 2245 if (OffsetValue) { in CreateAlignmentAssumptionHelper() 2247 if (const auto *CI = dyn_cast<ConstantInt>(OffsetValue)) in CreateAlignmentAssumptionHelper() 2251 if (OffsetValue->getType() != IntPtrTy) in CreateAlignmentAssumptionHelper() 2252 OffsetValue = CreateIntCast(OffsetValue, IntPtrTy, /*isSigned*/ true, in CreateAlignmentAssumptionHelper() 2254 PtrIntValue = CreateSub(PtrIntValue, OffsetValue, "offsetptr"); in CreateAlignmentAssumptionHelper() 2279 Value *OffsetValue = nullptr, 2288 OffsetValue, TheCheck); 2305 Value *OffsetValue = nullptr, 2324 OffsetValue, TheCheck);
|
| /freebsd-12.1/contrib/llvm/lib/Target/Mips/AsmParser/ |
| H A D | MipsAsmParser.cpp | 4151 int64_t OffsetValue = OffsetImmOp.getImm(); in expandUlh() local 4160 bool IsLargeOffset = !(isInt<16>(OffsetValue + 1) && isInt<16>(OffsetValue)); in expandUlh() 4167 int64_t FirstOffset = IsLargeOffset ? 0 : OffsetValue; in expandUlh() 4203 int64_t OffsetValue = OffsetImmOp.getImm(); in expandUsh() local 4210 bool IsLargeOffset = !(isInt<16>(OffsetValue + 1) && isInt<16>(OffsetValue)); in expandUsh() 4217 int64_t FirstOffset = IsLargeOffset ? 1 : (OffsetValue + 1); in expandUsh() 4218 int64_t SecondOffset = IsLargeOffset ? 0 : OffsetValue; in expandUsh() 4254 int64_t OffsetValue = OffsetImmOp.getImm(); in expandUxw() local 4257 bool IsLargeOffset = !(isInt<16>(OffsetValue + 3) && isInt<16>(OffsetValue)); in expandUxw() 4258 int64_t LxlOffset = IsLargeOffset ? 0 : OffsetValue; in expandUxw() [all …]
|
| /freebsd-12.1/contrib/llvm/lib/MC/MCParser/ |
| H A D | AsmParser.cpp | 2945 int64_t OffsetValue; in parseDirectiveReloc() local 2951 if ((Offset->evaluateAsAbsolute(OffsetValue, in parseDirectiveReloc() 2953 check(OffsetValue < 0, OffsetLoc, "expression is negative")) || in parseDirectiveReloc()
|