| /src/external/apache2/llvm/dist/llvm/lib/CodeGen/SelectionDAG/ |
| SDNodeDbgValue.h | 34 CONST = 1, ///< Value is a constant. 38 Kind getKind() const { return kind; } 41 SDNode *getSDNode() const { 47 unsigned getResNo() const { 53 const Value *getConst() const { 54 assert(kind == CONST); 55 return u.Const; 59 unsigned getFrameIx() const { 65 unsigned getVReg() const { [all...] |
| SelectionDAGBuilder.cpp | 152 static const unsigned MaxParallelChains = 64; 154 static SDValue getCopyFromPartsVector(SelectionDAG &DAG, const SDLoc &DL, 155 const SDValue *Parts, unsigned NumParts, 156 MVT PartVT, EVT ValueVT, const Value *V, 164 static SDValue getCopyFromParts(SelectionDAG &DAG, const SDLoc &DL, 165 const SDValue *Parts, unsigned NumParts, 166 MVT PartVT, EVT ValueVT, const Value *V, 170 const TargetLowering &TLI = DAG.getTargetLoweringInfo(); 307 static void diagnosePossiblyInvalidConstraint(LLVMContext &Ctx, const Value *V, 308 const Twine &ErrMsg) [all...] |
| DAGCombiner.cpp | 144 const TargetLowering &TLI; 145 const SelectionDAGTargetInfo *STI; 297 SDValue CombineTo(SDNode *N, const SDValue *To, unsigned NumTo, 312 void CommitTargetLoweringOpt(const TargetLowering::TargetLoweringOpt &TLO); 326 bool SimplifyDemandedBits(SDValue Op, const APInt &DemandedBits) { 352 bool SimplifyDemandedBits(SDValue Op, const APInt &DemandedBits, 353 const APInt &DemandedElts, 355 bool SimplifyDemandedVectorElts(SDValue Op, const APInt &DemandedElts, 525 const SDLoc &DL, SDValue N0, 527 SDValue reassociateOpsCommutative(unsigned Opc, const SDLoc &DL, SDValue N0 [all...] |
| /src/external/apache2/llvm/dist/llvm/lib/Target/AArch64/GISel/ |
| AArch64PostLegalizerCombiner.cpp | 128 const LLT Ty = MRI.getType(LHS); 131 auto Const = getConstantVRegValWithLookThrough(RHS, MRI); 132 if (!Const) 135 const APInt ConstValue = Const->Value.sextOrSelf(Ty.getSizeInBits()); 298 MachineIRBuilder &B) const override; 303 MachineIRBuilder &B) const { 304 const auto *LI = 321 StringRef getPassName() const override { 326 void getAnalysisUsage(AnalysisUsage &AU) const override [all...] |
| /src/external/apache2/llvm/dist/llvm/lib/Target/SystemZ/ |
| SystemZTDC.cpp | 79 void getAnalysisUsage(AnalysisUsage &AU) const override { 132 auto *Const = dyn_cast<ConstantFP>(I.getOperand(1)); 135 if (!Const) 142 // Check if Const is one of our recognized consts. 144 if (Const->isZero()) { 147 } else if (Const->isInfinity()) { 149 WhichConst = Const->isNegative() ? 2 : 1; 150 } else if (Const->isExactlyValue(Smallest)) { 156 } else if (Const->isExactlyValue(NegSmallest)) { 167 static const int Masks[][4] = [all...] |
| /src/external/apache2/llvm/dist/llvm/lib/Transforms/Scalar/ |
| SCCP.cpp | 87 static bool isConstant(const ValueLatticeElement &LV) { 96 static bool isOverdefined(const ValueLatticeElement &LV) { 104 Constant *Const = nullptr; 108 [](const ValueLatticeElement &LV) { return isOverdefined(LV); })) 118 Const = ConstantStruct::get(ST, ConstVals); 120 const ValueLatticeElement &IV = Solver.getLatticeValueFor(V); 124 Const = 127 assert(Const && "Constant is nullptr here!"); 147 LLVM_DEBUG(dbgs() << " Constant: " << *Const << " = " << *V << '\n'); 150 V->replaceAllUsesWith(Const); [all...] |
| MergeICmps.cpp | 29 // bool operator==(const S& o) const { 36 // bool S::operator==(const S& o) const { 70 static bool isSimpleLoadOrStore(const Instruction *I) { 71 if (const LoadInst *LI = dyn_cast<LoadInst>(I)) 73 if (const StoreInst *SI = dyn_cast<StoreInst>(I)) 86 BCEAtom(const BCEAtom &) = delete; 87 BCEAtom &operator=(const BCEAtom &) = delete; 110 bool operator<(const BCEAtom &O) const [all...] |
| /src/external/apache2/llvm/dist/llvm/lib/Analysis/ |
| MemoryBuiltins.cpp | 73 static const std::pair<LibFunc, AllocFnsTy> AllocationFnData[] = { 117 static const Function *getCalledFunction(const Value *V, bool LookThroughBitCast, 126 const auto *CB = dyn_cast<CallBase>(V); 132 if (const Function *Callee = CB->getCalledFunction()) 141 getAllocationDataForFunction(const Function *Callee, AllocType AllocTy, 142 const TargetLibraryInfo *TLI) { 149 const auto *Iter = find_if( 150 AllocationFnData, [TLIFn](const std::pair<LibFunc, AllocFnsTy> &P) { 157 const AllocFnsTy *FnData = &Iter->second [all...] |
| /src/external/apache2/llvm/dist/llvm/lib/CodeGen/GlobalISel/ |
| Utils.cpp | 39 const TargetInstrInfo &TII, 40 const RegisterBankInfo &RBI, Register Reg, 41 const TargetRegisterClass &RegClass) { 49 const MachineFunction &MF, const TargetRegisterInfo &TRI, 50 MachineRegisterInfo &MRI, const TargetInstrInfo &TII, 51 const RegisterBankInfo &RBI, MachineInstr &InsertPt, 52 const TargetRegisterClass &RegClass, MachineOperand &RegMO) { 94 const MachineFunction &MF, const TargetRegisterInfo &TRI [all...] |
| MachineIRBuilder.cpp | 52 MachineIRBuilder::buildDirectDbgValue(Register Reg, const MDNode *Variable, 53 const MDNode *Expr) { 65 MachineIRBuilder::buildIndirectDbgValue(Register Reg, const MDNode *Variable, 66 const MDNode *Expr) { 78 const MDNode *Variable, 79 const MDNode *Expr) { 92 MachineInstrBuilder MachineIRBuilder::buildConstDbgValue(const Constant &C, 93 const MDNode *Variable, 94 const MDNode *Expr) { 117 MachineInstrBuilder MachineIRBuilder::buildDbgLabel(const MDNode *Label) [all...] |
| /src/external/apache2/llvm/dist/llvm/lib/CodeGen/ |
| TypePromotion.cpp | 186 void getAnalysisUsage(AnalysisUsage &AU) const override { 191 StringRef getPassName() const override { return PASS_NAME; } 290 // - Take the absolute value of I's constant, adding this to the icmp const. 359 if (auto *Const = dyn_cast<ConstantInt>(CI->getOperand(0))) 360 ICmpConst = Const; 361 else if (auto *Const = dyn_cast<ConstantInt>(CI->getOperand(1))) 362 ICmpConst = Const; 464 auto Const = cast<ConstantInt>(I->getOperand(1)); 465 auto *NewConst = ConstantInt::get(Ctx, Const->getValue().abs()); 538 if (auto *Const = dyn_cast<ConstantInt>(Op)) [all...] |
| /src/external/apache2/llvm/dist/llvm/lib/Target/ARM/ |
| MVEGatherScatterLowering.cpp | 65 StringRef getPassName() const override { 69 void getAnalysisUsage(AnalysisUsage &AU) const override { 93 Optional<int64_t> getIfConst(const Value *V); 300 Optional<int64_t> MVEGatherScatterLowering::getIfConst(const Value *V) { 301 const Constant *C = dyn_cast<Constant>(V); 307 const Instruction *I = cast<Instruction>(V); 333 Optional<int64_t> Const; 335 if ((Const = getIfConst(Add->getOperand(0)))) 337 else if ((Const = getIfConst(Add->getOperand(1)))) 343 int64_t Immediate = Const.getValue() << TypeScale [all...] |
| ARMISelLowering.cpp | 153 static const MCPhysReg GPRArgRegs[] = { 249 void ARMTargetLowering::addAllExtLoads(const MVT From, const MVT To, 257 const MVT IntTypes[] = { MVT::v16i8, MVT::v8i16, MVT::v4i32 }; 324 const MVT FloatTypes[] = { MVT::v8f16, MVT::v4f32 }; 392 const MVT LongTypes[] = { MVT::v2i64, MVT::v2f64 }; 436 const MVT pTypes[] = {MVT::v16i1, MVT::v8i1, MVT::v4i1}; 455 ARMTargetLowering::ARMTargetLowering(const TargetMachine &TM, 456 const ARMSubtarget &STI) 477 static const struct [all...] |
| /src/external/apache2/llvm/dist/clang/utils/TableGen/ |
| MveEmitter.cpp | 128 // indicating whether it's a pointer to a const or mutable instance of 134 const TypeKind TKind; 140 TypeKind typeKind() const { return TKind; } 142 virtual bool requiresFloat() const = 0; 143 virtual bool requiresMVE() const = 0; 144 virtual unsigned sizeInBits() const = 0; 145 virtual std::string cName() const = 0; 146 virtual std::string llvmName() const { 149 virtual std::string acleSuffix(std::string) const { 181 unsigned sizeInBits() const override { return 0; [all...] |
| /src/external/apache2/llvm/dist/llvm/include/llvm/DebugInfo/CodeView/ |
| CodeView.h | 301 Const = 0x0001, 361 Const = 0x00000400,
|
| /src/external/apache2/llvm/dist/llvm/lib/Target/AMDGPU/ |
| AMDGPURegisterBankInfo.cpp | 99 const AMDGPURegisterBankInfo &RBI; 101 const RegisterBank *NewBank; 105 ApplyRegBankMapping(const AMDGPURegisterBankInfo &RBI_, 106 MachineRegisterInfo &MRI_, const RegisterBank *RB) 116 const unsigned Opc = MI.getOpcode(); 124 const RegisterBank *SrcBank = RBI.getRegBank(SrcReg, MRI, *RBI.TRI); 126 const LLT S32 = LLT::scalar(32); 150 const RegisterBank *DstBank = RBI.getRegBank(DstReg, MRI, *RBI.TRI); 164 const RegisterBank *RB = NewBank; 195 AMDGPURegisterBankInfo::AMDGPURegisterBankInfo(const GCNSubtarget &ST [all...] |
| /src/external/apache2/llvm/dist/llvm/lib/Target/Hexagon/ |
| HexagonConstPropagation.cpp | 77 static uint32_t deduce(const Constant *C); 90 explicit RegisterSubReg(const MachineOperand &MO) 93 void print(const TargetRegisterInfo *TRI = nullptr) const { 97 bool operator== (const RegisterSubReg &R) const { 113 static const unsigned MaxCellSize = 4; 123 const Constant *Value; 124 const Constant *Values[MaxCellSize]; 132 bool meet(const LatticeCell &L) [all...] |
| HexagonISelDAGToDAG.cpp | 66 void HexagonDAGToDAGISel::SelectIndexedLoad(LoadSDNode *LD, const SDLoc &dl) { 131 auto getExt64 = [this,ExtType] (MachineSDNode *N, const SDLoc &dl) 322 const SDLoc &dl(IntN); 325 static const std::map<unsigned, unsigned> LoadBrevMap = { 463 void HexagonDAGToDAGISel::SelectIndexedStore(StoreSDNode *ST, const SDLoc &dl) { 578 // RHS is const. 583 SDValue Mul_1 = Shl_0.getOperand(1); // Const 584 // RHS of mul is const. 599 SDValue Sub_0 = Shl_0.getOperand(0); // Const 0 605 SDValue Shl2_1 = Sub_1.getOperand(1); // Const [all...] |
| /src/external/apache2/llvm/dist/llvm/lib/Target/NVPTX/ |
| NVPTXISelLowering.cpp | 91 int NVPTXTargetLowering::getDivF32Level() const { 104 bool NVPTXTargetLowering::usePrecSqrtF32() const { 114 bool NVPTXTargetLowering::useF32FTZ(const MachineFunction &MF) const { 148 static void ComputePTXValueVTs(const TargetLowering &TLI, const DataLayout &DL, 170 auto const *SL = DL.getStructLayout(STy); 220 unsigned Idx, uint32_t AccessSize, const SmallVectorImpl<EVT> &ValueVTs, 221 const SmallVectorImpl<uint64_t> &Offsets, Align ParamAlignment) { 282 VectorizePTXValueVTs(const SmallVectorImpl<EVT> &ValueVTs [all...] |
| /src/external/apache2/llvm/dist/llvm/lib/CodeGen/AsmPrinter/ |
| CodeViewDebug.cpp | 99 void AddComment(const Twine &T) override { OS->AddComment(T); } 101 void AddRawComment(const Twine &T) override { OS->emitRawComment(T); } 142 StringRef CodeViewDebug::getFullFilepath(const DIFile *File) { 206 unsigned CodeViewDebug::maybeRecordFile(const DIFile *F) { 219 reinterpret_cast<const uint8_t *>(CKMem), Checksum.size()); 241 CodeViewDebug::getInlineSite(const DILocation *InlinedAt, 242 const DISubprogram *Inlinee) { 247 if (const DILocation *OuterIA = InlinedAt->getInlinedAt()) 263 static StringRef getPrettyScopeName(const DIScope *Scope) { 281 const DISubprogram *CodeViewDebug::collectParentScopeNames [all...] |
| /src/external/apache2/llvm/dist/clang/include/clang/AST/ |
| Type.h | 141 /// * C99: const, volatile, and restrict 148 Const = 0x1, 151 CVRMask = Const | Volatile | Restrict 258 unsigned getAsOpaqueValue() const { 262 bool hasConst() const { return Mask & Const; } 263 bool hasOnlyConst() const { return Mask == Const; } 264 void removeConst() { Mask &= ~Const; } 265 void addConst() { Mask |= Const; } [all...] |
| /src/external/apache2/llvm/dist/clang/lib/Sema/ |
| SemaChecking.cpp | 106 SourceLocation Sema::getLocationOfStringLiteralByte(const StringLiteral *SL, 107 unsigned ByteNo) const { 308 // Third argument should be a pointer to a non-const integer. 317 const auto *PtrTy = Ty->getAs<PointerType>(); 332 const auto Arg = TheCall->getArg(I); 368 const Decl *TargetDecl = CE->getCalleeDecl(); 369 if (const FunctionDecl *FD = dyn_cast_or_null<FunctionDecl>(TargetDecl)) 420 bool HandlePrintfSpecifier(const analyze_printf::PrintfSpecifier &FS, 421 const char *, unsigned SpecifierLen) override { 423 const size_t FieldWidth = computeFieldWidth(FS) [all...] |
| /src/external/apache2/llvm/dist/llvm/lib/Target/PowerPC/ |
| PPCISelLowering.cpp | 131 static SDValue widenVec(SelectionDAG &DAG, SDValue Vec, const SDLoc &dl); 136 PPCTargetLowering::PPCTargetLowering(const PPCTargetMachine &TM, 137 const PPCSubtarget &STI) 217 const MVT ScalarIntVTs[] = { MVT::i32, MVT::i64 }; 1545 const DataLayout &DL) const { 1554 bool PPCTargetLowering::useSoftFloat() const { 1558 bool PPCTargetLowering::hasSPE() const { 1562 bool PPCTargetLowering::preferIncOfAddToSubOfNot(EVT VT) const { 1566 const char *PPCTargetLowering::getTargetNodeName(unsigned Opcode) const [all...] |