OpenGrok
Home
Sort by:
relevance
|
last modified time
|
path
Full Search
in project(s):
src
xsrc
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:OrigTy
(Results
1 - 25
of
28
) sorted by relevancy
1
2
/src/external/apache2/llvm/dist/clang/lib/StaticAnalyzer/Checkers/
CastToStructChecker.cpp
42
QualType
OrigTy
= Ctx.getCanonicalType(E->getType());
45
const PointerType *OrigPTy = dyn_cast<PointerType>(
OrigTy
.getTypePtr());
/src/external/apache2/llvm/dist/llvm/lib/CodeGen/GlobalISel/
Utils.cpp
759
LLT llvm::getLCMType(LLT
OrigTy
, LLT TargetTy) {
760
const unsigned OrigSize =
OrigTy
.getSizeInBits();
764
return
OrigTy
;
766
if (
OrigTy
.isVector()) {
767
const LLT OrigElt =
OrigTy
.getElementType();
773
int GCDElts = greatestCommonDivisor(
OrigTy
.getNumElements(),
776
int Mul =
OrigTy
.getNumElements() * TargetTy.getNumElements();
777
return LLT::vector(Mul / GCDElts,
OrigTy
.getElementType());
781
return
OrigTy
;
790
return LLT::vector(LCMSize / OrigSize,
OrigTy
);
[
all
...]
CallLowering.cpp
356
LLT
OrigTy
= MRI.getType(OrigRegs[0]);
359
if (SrcSize ==
OrigTy
.getSizeInBits())
641
const LLT
OrigTy
= getLLTForType(*Args[i].Ty, DL);
651
if (NumParts != 1 || NewLLT !=
OrigTy
) {
667
if (!Handler.isIncomingArgumentHandler() &&
OrigTy
!= ValTy) {
669
buildCopyToRegs(MIRBuilder, Args[i].Regs, Args[i].OrigRegs[0],
OrigTy
,
755
buildCopyFromRegs(MIRBuilder, Args[i].OrigRegs, Args[i].Regs,
OrigTy
,
RegisterBankInfo.cpp
475
LLT
OrigTy
= MRI.getType(OrigReg);
477
if (
OrigTy
!= NewTy) {
482
assert(
OrigTy
.getSizeInBits() <= NewTy.getSizeInBits() &&
486
<<
OrigTy
);
487
MRI.setType(NewReg,
OrigTy
);
LegalizerHelper.cpp
36
/// Try to break down \p
OrigTy
into \p NarrowTy sized pieces.
38
/// Returns the number of \p NarrowTy elements needed to reconstruct \p
OrigTy
,
44
getNarrowTypeBreakDown(LLT
OrigTy
, LLT NarrowTy, LLT &LeftoverTy) {
47
unsigned Size =
OrigTy
.getSizeInBits();
57
unsigned EltSize =
OrigTy
.getScalarSizeInBits();
1460
LLT
OrigTy
= MRI.getType(OrigReg);
1461
LLT LCMTy = getLCMType(WideTy,
OrigTy
);
1464
const int NumUnmergeParts = LCMTy.getSizeInBits() /
OrigTy
.getSizeInBits();
1486
UnmergeResults[I] = MRI.createGenericVirtualRegister(
OrigTy
);
1774
LLT
OrigTy
= MRI.getType(MI.getOperand(0).getReg())
[
all
...]
/src/external/apache2/llvm/dist/clang/lib/Edit/
RewriteObjCFoundationAPI.cpp
994
QualType
OrigTy
= OrigArg->getType();
996
uint64_t OrigTySize = Ctx.getTypeSize(
OrigTy
);
1009
if (MK == NSAPI::NSNumberWithBool &&
OrigTy
->isBooleanType())
1016
if (
OrigTy
->getAs<EnumType>() || isEnumConstant(OrigArg))
1018
if ((MK==NSAPI::NSNumberWithInteger) ==
OrigTy
->isSignedIntegerType() &&
1104
Diags.Report(Msg->getExprLoc(), diagID) <<
OrigTy
<< FinalTy
1134
QualType
OrigTy
= OrigArg->getType();
1135
if (
OrigTy
->isArrayType())
1136
OrigTy
= Ctx.getArrayDecayedType(
OrigTy
);
[
all
...]
/src/external/apache2/llvm/dist/llvm/include/llvm/CodeGen/GlobalISel/
Utils.h
279
/// Return the least common multiple type of \p
OrigTy
and \p TargetTy, by changing the
282
/// \p
OrigTy
elements, and unmerged into \p TargetTy
284
LLT getLCMType(LLT
OrigTy
, LLT TargetTy);
287
///
OrigTy
and \p TargetTy. This will try to either change the number of vector
289
/// as the result of a G_UNMERGE_VALUES from \p
OrigTy
, and then some
294
/// a vector with a compatible total size, but the element type of \p
OrigTy
. If
300
LLT getGCDType(LLT
OrigTy
, LLT TargetTy);
/src/external/apache2/llvm/dist/llvm/lib/CodeGen/
TypePromotion.cpp
109
IntegerType *
OrigTy
= nullptr;
134
Ctx(C),
OrigTy
(Ty), PromotedWidth(Width), Visited(visited),
137
assert(
OrigTy
->getPrimitiveSizeInBits().getFixedSize() <
637
Src->getType() ==
OrigTy
) {
679
<<
OrigTy
->getBitWidth() << " to " << PromotedWidth << "-bits\n");
812
Type *
OrigTy
= V->getType();
813
TypeSize =
OrigTy
->getPrimitiveSizeInBits().getFixedSize();
929
IRPromoter Promoter(*Ctx, cast<IntegerType>(
OrigTy
), PromotedWidth,
AtomicExpandPass.cpp
472
Type *
OrigTy
= NewVal->getType();
475
bool NeedBitcast =
OrigTy
->isFloatingPointTy();
477
IntegerType *IntTy = Builder.getIntNTy(
OrigTy
->getPrimitiveSizeInBits());
491
NewLoaded = Builder.CreateBitCast(NewLoaded,
OrigTy
);
CodeGenPrepare.cpp
2839
Type *
OrigTy
;
2844
: TypePromotionAction(Inst),
OrigTy
(Inst->getType()) {
2852
LLVM_DEBUG(dbgs() << "Undo: MutateType: " << *Inst << " with " << *
OrigTy
2854
Inst->mutateType(
OrigTy
);
/src/external/apache2/llvm/dist/llvm/lib/Transforms/Instrumentation/
ThreadSanitizer.cpp
661
Type *
OrigTy
= cast<PointerType>(Addr->getType())->getElementType();
662
const uint32_t TypeSize = DL.getTypeStoreSizeInBits(
OrigTy
);
754
Type *
OrigTy
= cast<PointerType>(Addr->getType())->getElementType();
756
Value *Cast = IRB.CreateBitOrPointerCast(C,
OrigTy
);
836
Type *
OrigTy
= cast<PointerType>(OrigPtrTy)->getElementType();
837
assert(
OrigTy
->isSized());
838
uint32_t TypeSize = DL.getTypeStoreSizeInBits(
OrigTy
);
DataFlowSanitizer.cpp
528
/// Returns a zero constant with the shadow type of
OrigTy
.
536
Constant *getZeroShadow(Type *
OrigTy
);
543
/// Returns the shadow type of
OrigTy
.
551
Type *getShadowTy(Type *
OrigTy
);
938
Constant *DataFlowSanitizer::getZeroShadow(Type *
OrigTy
) {
942
if (!isa<ArrayType>(
OrigTy
) && !isa<StructType>(
OrigTy
))
944
Type *ShadowTy = getShadowTy(
OrigTy
);
1055
Type *DataFlowSanitizer::getShadowTy(Type *
OrigTy
) {
1059
if (!
OrigTy
->isSized()
[
all
...]
MemorySanitizer.cpp
1358
Type *getShadowTy(Type *
OrigTy
) {
1359
if (!
OrigTy
->isSized()) {
1364
if (IntegerType *IT = dyn_cast<IntegerType>(
OrigTy
))
1367
if (VectorType *VT = dyn_cast<VectorType>(
OrigTy
)) {
1372
if (ArrayType *AT = dyn_cast<ArrayType>(
OrigTy
)) {
1376
if (StructType *ST = dyn_cast<StructType>(
OrigTy
)) {
1384
uint32_t TypeSize = DL.getTypeSizeInBits(
OrigTy
);
1599
Constant *getCleanShadow(Type *
OrigTy
) {
1600
Type *ShadowTy = getShadowTy(
OrigTy
);
/src/external/apache2/llvm/dist/llvm/lib/Target/AMDGPU/
AMDGPUTargetTransformInfo.cpp
519
EVT
OrigTy
= TLI->getValueType(DL, Ty);
520
if (!
OrigTy
.isSimple()) {
742
EVT
OrigTy
= TLI->getValueType(DL, RetTy);
743
if (!
OrigTy
.isSimple()) {
851
EVT
OrigTy
= TLI->getValueType(DL, Ty);
857
OrigTy
.getScalarSizeInBits() != 16)
868
EVT
OrigTy
= TLI->getValueType(DL, Ty);
874
OrigTy
.getScalarSizeInBits() != 16)
/src/external/apache2/llvm/dist/clang/lib/Sema/
SemaDecl.cpp
6370
auto
OrigTy
= DT->getOriginalType();
6371
if (!
OrigTy
.hasAddressSpace() &&
OrigTy
->isArrayType()) {
6374
OrigTy
= Context.getAddrSpaceQualType(
OrigTy
, ImplAS);
6375
OrigTy
= QualType(Context.getAsArrayType(
OrigTy
), 0);
6377
Type = Context.getDecayedType(
OrigTy
);
11867
QualType
OrigTy
, SourceLocation OrigLoc,
11869
:
OrigTy
(OrigTy), OrigLoc(OrigLoc), UseContext(UseContext), S(S) {
[
all
...]
/src/external/apache2/llvm/dist/clang/lib/CodeGen/
CGExpr.cpp
2043
llvm::Type *
OrigTy
= CGM.getTypes().ConvertType(LV.getType());
2044
llvm::Type *Ty =
OrigTy
;
2045
if (
OrigTy
->isPointerTy())
2046
Ty = CGM.getTypes().getDataLayout().getIntPtrType(
OrigTy
);
2052
if (
OrigTy
->isPointerTy())
2053
Call = Builder.CreateIntToPtr(Call,
OrigTy
);
2317
llvm::Type *
OrigTy
= CGM.getTypes().ConvertType(Dst.getType());
2318
llvm::Type *Ty =
OrigTy
;
2319
if (
OrigTy
->isPointerTy())
2320
Ty = CGM.getTypes().getDataLayout().getIntPtrType(
OrigTy
);
[
all
...]
CGDecl.cpp
1063
llvm::Type *
OrigTy
= constant->getType();
1064
if (const auto STy = dyn_cast<llvm::StructType>(
OrigTy
))
1066
if (auto *ArrayTy = dyn_cast<llvm::ArrayType>(
OrigTy
)) {
TargetInfo.cpp
8031
QualType
OrigTy
) const {
8032
QualType Ty =
OrigTy
;
8064
Address Temp = CGF.CreateMemTemp(
OrigTy
, "vaarg.promotion-temp");
8068
llvm::Type *IntTy = (
OrigTy
->isIntegerType() ? Temp.getElementType()
8071
if (
OrigTy
->isPointerType())
MicrosoftCXXABI.cpp
2243
auto
OrigTy
= Ret.getType();
2261
return CGF.Builder.CreateBitCast(V,
OrigTy
);
/src/external/apache2/llvm/dist/llvm/lib/Target/Hexagon/
HexagonLoopIdiomRecognition.cpp
1022
Type *
OrigTy
= In->getType();
1023
assert(!
OrigTy
->isVoidTy() && "Invalid instruction to promote");
1056
IntegerType *TruncTy = cast<IntegerType>(
OrigTy
);
HexagonISelLowering.cpp
1063
EVT
OrigTy
= cast<VTSDNode>(Op.getOperand(1))->getVT();
1065
unsigned OrigBW =
OrigTy
.getSizeInBits();
/src/external/apache2/llvm/dist/llvm/lib/CodeGen/SelectionDAG/
LegalizeVectorOps.cpp
981
EVT
OrigTy
= cast<VTSDNode>(Node->getOperand(1))->getVT();
984
unsigned OrigBW =
OrigTy
.getScalarSizeInBits();
/src/external/apache2/llvm/dist/llvm/lib/Target/BPF/
BTFDebug.cpp
694
const DIType *
OrigTy
= Ty;
720
visitTypeEntry(
OrigTy
, TypeId, false, false);
/src/external/apache2/llvm/dist/llvm/lib/Transforms/InstCombine/
InstCombineCasts.cpp
371
Type *
OrigTy
= V->getType();
386
uint32_t OrigBitWidth =
OrigTy
->getScalarSizeInBits();
414
uint32_t OrigBitWidth =
OrigTy
->getScalarSizeInBits();
432
uint32_t OrigBitWidth =
OrigTy
->getScalarSizeInBits();
/src/external/apache2/llvm/dist/llvm/lib/Target/RISCV/
RISCVISelLowering.cpp
6676
bool IsRet, Type *
OrigTy
, const RISCVTargetLowering &TLI,
6738
DL.getTypeAllocSize(
OrigTy
) == TwoXLenInBytes) {
6945
Type *
OrigTy
= CLI ? CLI->getArgs()[Outs[i].OrigArgIndex].Ty : nullptr;
6949
ArgFlags, CCInfo, Outs[i].IsFixed, IsRet,
OrigTy
, *this,
Completed in 89 milliseconds
1
2
Indexes created Mon Sep 21 00:25:25 UTC 2026